From 2d576ab9caa836071805c94d06ee69e76e331b46 Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Sun, 20 Nov 2022 23:06:19 +0530 Subject: [PATCH 01/11] Add codebase level unique license detections - Add a new codebase level attribute `licenses` - Add a new resource level attribute `for_licenses` - Add unique license detections from files and packages in the top level attribute `licenses` and this is the usual `license_expression`, `detection_log` and `matches` and additionally an `occurance_count` and a `identifier` which is an UUID generated from the content of the matches in the detection. Signed-off-by: Ayan Sinha Mahapatra --- src/licensedcode/detection.py | 257 +++++++++++++++++- src/licensedcode/plugin_license.py | 120 +++++++- src/licensedcode/plugin_licenses_reference.py | 56 +--- 3 files changed, 365 insertions(+), 68 deletions(-) diff --git a/src/licensedcode/detection.py b/src/licensedcode/detection.py index 54df2d41ff2..bd81bee14ef 100644 --- a/src/licensedcode/detection.py +++ b/src/licensedcode/detection.py @@ -11,7 +11,10 @@ import sys import os import logging +import hashlib +import uuid from enum import Enum +from collections import Counter import attr from license_expression import combine_expressions @@ -23,6 +26,7 @@ from licensedcode.match import LicenseMatch from licensedcode.match import set_matched_lines from licensedcode.models import Rule +from licensedcode.models import BasicRule from licensedcode.models import compute_relevance from licensedcode.spans import Span from licensedcode.tokenize import query_tokenizer @@ -263,24 +267,39 @@ def identifier(self): """ data = [] for match in self.matches: - tokenized_matched_text = tuple(query_tokenizer(match['matched_text'])) - identifier = ( - match['rule_identifier'], - match['match_coverage'], - tokenized_matched_text, - ) + if isinstance(match, dict): + tokenized_matched_text = tuple(query_tokenizer(match['matched_text'])) + identifier = ( + match['rule_identifier'], + match['score'], + tokenized_matched_text, + ) + else: + tokenized_matched_text = tuple(query_tokenizer(match.matched_text)) + identifier = ( + match.identifier, + match.score(), + tokenized_matched_text, + ) data.append(identifier) - # Return a positive hash value for the tuple - return tuple(data).__hash__() % ((sys.maxsize + 1) * 2) - + # Return a uuid generated from the contents of the matches + identifier_string = repr(tuple(data)) + md_hash = hashlib.md5() + md_hash.update(identifier_string.encode('utf-8')) + return str(uuid.UUID(md_hash.hexdigest())) + def get_start_end_line(self): """ Returns start and end line for a license detection issue, from the license match(es). """ - start_line = min([match['start_line'] for match in self.matches]) - end_line = max([match['end_line'] for match in self.matches]) + if isinstance(self.matches[0], dict): + start_line = min([match['start_line'] for match in self.matches]) + end_line = max([match['end_line'] for match in self.matches]) + else: + start_line = min([match.start_line for match in self.matches]) + end_line = max([match.end_line for match in self.matches]) return start_line, end_line def rules_length(self): @@ -432,6 +451,222 @@ def dict_fields(attr, value): return detection + +@attr.s +class LicenseDetectionFromResult(LicenseDetection): + """ + A LicenseDetection object that is created from a LicenseDetection + mapping, i.e. results mappings. The LicenseMatch objects in the + `matches` will be LicenseMatchFromResult objects too, as these are + created from data mappings and don't have the input text/spans + available. + """ + + @classmethod + def from_license_detection_mapping(cls, license_detection_mapping, file_path): + + matches_from_results = matches_from_license_match_mappings( + license_match_mappings=license_detection_mapping["matches"] + ) + + detection = cls( + license_expression=license_detection_mapping["license_expression"], + detection_log=license_detection_mapping["detection_log"], + matches=matches_from_results, + file_region=None, + ) + detection.file_region = detection.get_file_region(path=file_path) + return detection + + +def detections_from_license_detection_mappings(license_detection_mappings, file_path): + + license_detections = [] + + for license_detection_mapping in license_detection_mappings: + license_detections.append( + LicenseDetectionFromResult.from_license_detection_mapping( + license_detection_mapping=license_detection_mapping, + file_path=file_path, + ) + ) + + return license_detections + + +@attr.s +class LicenseMatchFromResult(LicenseMatch): + + match_score = attr.ib( + default=None, + metadata=dict( + help='License Detection Score') + ) + + matched_length = attr.ib( + default=None, + metadata=dict( + help='License match length') + ) + + match_coverage = attr.ib( + default=None, + metadata=dict( + help='License match coverage') + ) + + text = attr.ib( + default=None, + metadata=dict( + help='Text which was matched') + ) + + def score(self): + return self.match_score + + def len(self): + return self.matched_length + + def coverage(self): + return self.match_coverage + + @property + def matched_text(self): + return self.text + + @property + def identifier(self): + return self.rule.identifier + + @classmethod + def from_license_match_mapping(cls, license_match_mapping): + + rule = RuleFromResult.from_license_match_mapping( + license_match_mapping=license_match_mapping, + ) + + if "matched_text" in license_match_mapping: + matched_text = license_match_mapping["matched_text"] + else: + matched_text = None + + return cls( + start_line=license_match_mapping["start_line"], + end_line=license_match_mapping["end_line"], + match_score=license_match_mapping["score"], + matched_length=license_match_mapping["matched_length"], + match_coverage=license_match_mapping["match_coverage"], + matcher=license_match_mapping["matcher"], + text=matched_text, + rule=rule, + qspan=None, + ispan=None, + ) + + +@attr.s +class RuleFromResult(BasicRule): + + @classmethod + def from_license_match_mapping(cls, license_match_mapping): + return cls( + license_expression=license_match_mapping["license_expression"], + identifier=license_match_mapping["rule_identifier"], + referenced_filenames=license_match_mapping["referenced_filenames"], + is_license_text=license_match_mapping["is_license_text"], + is_license_notice=license_match_mapping["is_license_notice"], + is_license_reference=license_match_mapping["is_license_reference"], + is_license_tag=license_match_mapping["is_license_tag"], + is_license_intro=license_match_mapping["is_license_intro"], + length=license_match_mapping["rule_length"], + relevance=license_match_mapping["rule_relevance"], + ) + +def matches_from_license_match_mappings(license_match_mappings): + + license_matches = [] + + for license_match_mapping in license_match_mappings: + license_matches.append( + LicenseMatchFromResult.from_license_match_mapping( + license_match_mapping=license_match_mapping + ) + ) + + return license_matches + + +@attr.s +class UniqueDetection: + """ + An unique License Detection. + """ + identifier = attr.ib(default=None) + license_expression = attr.ib(default=None) + occurance_count = attr.ib(default=None) + detection_log = attr.ib(default=attr.Factory(list)) + matches = attr.ib(default=attr.Factory(list)) + files = attr.ib(factory=list) + + @classmethod + def get_unique_detections(cls, license_detections): + """ + Get all unique license detections from a list of + LicenseDetections. + """ + identifiers = get_identifiers(license_detections) + unique_detection_counts = dict(Counter(identifiers)) + + unique_license_detections = [] + for detection_identifier in unique_detection_counts.keys(): + file_regions = ( + detection.file_region + for detection in license_detections + if detection_identifier == detection.identifier + ) + all_detections = ( + detection + for detection in license_detections + if detection_identifier == detection.identifier + ) + + detection = next(all_detections) + detection_mapping = detection.to_dict() + files = list(file_regions) + unique_license_detections.append( + cls( + identifier=detection.identifier, + license_expression=detection_mapping["license_expression"], + detection_log=detection_mapping["detection_log"], + matches=detection_mapping["matches"], + occurance_count=len(files), + files=files, + ) + ) + + return unique_license_detections + + def to_dict(self): + def dict_fields(attr, value): + if attr.name == 'files': + return False + + return True + + return attr.asdict(self, filter=dict_fields, dict_factory=dict) + + +def get_identifiers(license_detections): + """ + Get identifiers for all license detections. + """ + identifiers = ( + detection.identifier + for detection in license_detections + ) + return identifiers + + def get_detections_from_mappings(detection_mappings): """ Return a list of LicenseDetection objects from a list of diff --git a/src/licensedcode/plugin_license.py b/src/licensedcode/plugin_license.py index b3b884c0c7c..dc06f2ef778 100644 --- a/src/licensedcode/plugin_license.py +++ b/src/licensedcode/plugin_license.py @@ -25,6 +25,13 @@ from licensedcode.detection import get_matches_from_detection_mappings from licensedcode.detection import get_referenced_filenames from licensedcode.detection import SCANCODE_LICENSEDB_URL +from licensedcode.detection import LicenseDetection +from licensedcode.detection import group_matches +from licensedcode.detection import process_detections +from licensedcode.detection import DetectionCategory +from licensedcode.detection import detections_from_license_detection_mappings +from licensedcode.detection import matches_from_license_match_mappings +from licensedcode.detection import UniqueDetection from packagedcode.utils import combine_expressions from scancode.api import SCANCODE_LICENSEDB_URL @@ -57,8 +64,13 @@ class LicenseScanner(ScanPlugin): ('license_detections', attr.ib(default=attr.Factory(list))), ('license_clues', attr.ib(default=attr.Factory(list))), ('percentage_of_license_text', attr.ib(default=0)), + ('for_licenses', attr.ib(default=attr.Factory(list))), ]) + codebase_attributes = dict( + licenses=attr.ib(default=attr.Factory(list)), + ) + sort_order = 2 options = [ @@ -167,11 +179,21 @@ def process_codebase(self, codebase, **kwargs): if codebase.has_single_resource and not codebase.root.is_file: return + license_detections = collect_license_detections(codebase) + unique_license_detections = UniqueDetection.get_unique_detections(license_detections) + + if TRACE: + logger_debug( + f'process_codebase: codebase license_detections', + f'license_detections: {license_detections}\n', + f'unique_license_detections: {unique_license_detections}', + ) + modified = False for resource in codebase.walk(topdown=False): # follow license references to other files if TRACE: - license_expressions_before = list(resource.license_expressions) + license_expressions_before = resource.detected_license_expression modified = add_referenced_license_matches_for_detections(resource, codebase) @@ -179,7 +201,7 @@ def process_codebase(self, codebase, **kwargs): add_builtin_license_flag(resource, licenses) if TRACE and modified: - license_expressions_after = list(resource.license_expressions) + license_expressions_after = resource.detected_license_expression logger_debug( f'add_referenced_filenames_license_matches: Modfied:', f'{resource.path} with license_expressions:\n' @@ -187,6 +209,100 @@ def process_codebase(self, codebase, **kwargs): f'after : {license_expressions_after}' ) + populate_for_licenses_in_resources( + codebase=codebase, + detections=unique_license_detections, + ) + codebase.attributes.licenses.extend([ + unique_detection.to_dict() + for unique_detection in unique_license_detections + ]) + + +def populate_for_licenses_in_resources(codebase, detections): + + for detection in detections: + if TRACE: + logger_debug( + f'populate_for_licenses_in_resources:', + f'for detection: {detection.license_expression}\n', + f'file paths: {detection.files}', + ) + for file_region in detection.files: + resource = codebase.get_resource(path=file_region.path) + resource.for_licenses.append(detection.identifier) + + +def collect_license_detections(codebase): + + has_packages = False + has_licenses = False + + if hasattr(codebase.root, 'package_data'): + has_packages = True + + if hasattr(codebase.root, 'license_detections'): + has_licenses = True + + all_license_detections = [] + + for resource in codebase.walk(): + + resource_license_detections = [] + if has_licenses: + license_detections = getattr(resource, 'license_detections', []) or [] + license_clues = getattr(resource, 'license_clues', []) or [] + + if license_detections: + license_detection_objects = detections_from_license_detection_mappings( + license_detection_mappings=license_detections, + file_path=resource.path, + ) + resource_license_detections.extend(license_detection_objects) + + if license_clues: + license_match_objects = matches_from_license_match_mappings( + license_match_mappings=license_clues, + ) + + for group_of_matches in group_matches(license_matches=license_match_objects): + detection = LicenseDetection.from_matches(matches=group_of_matches) + detection.file_region = detection.get_file_region(path=resource.path) + resource_license_detections.append(detection) + + all_license_detections.extend( + list(process_detections(detections=resource_license_detections)) + ) + + if TRACE: + logger_debug( + f'before process_detections licenses:', + f'resource_license_detections: {resource_license_detections}\n', + f'all_license_detections: {all_license_detections}', + ) + + if has_packages: + package_data = getattr(resource, 'package_data', []) or [] + + package_license_detection_mappings = [] + for package in package_data: + + if package["license_detections"]: + package_license_detection_mappings.extend(package["license_detections"]) + + if package["other_license_detections"]: + package_license_detection_mappings.extend(package["other_license_detections"]) + + if package_license_detection_mappings: + package_license_detection_objects = detections_from_license_detection_mappings( + license_detection_mappings=package_license_detection_mappings, + file_path=resource.path, + ) + + all_license_detections.extend(package_license_detection_objects) + + return all_license_detections + def add_builtin_license_flag(resource, licenses): """ diff --git a/src/licensedcode/plugin_licenses_reference.py b/src/licensedcode/plugin_licenses_reference.py index 53ab7955c40..704751eb774 100644 --- a/src/licensedcode/plugin_licenses_reference.py +++ b/src/licensedcode/plugin_licenses_reference.py @@ -8,7 +8,6 @@ # import attr -from collections import Counter from commoncode.cliutils import PluggableCommandLineOption from commoncode.cliutils import POST_SCAN_GROUP @@ -17,6 +16,7 @@ from plugincode.post_scan import post_scan_impl from licensedcode.detection import LicenseDetection +from licensedcode.detection import UniqueDetection # Set to True to enable debug tracing TRACE = False @@ -247,57 +247,3 @@ def get_license_detection_references(license_detections_by_path): detection_references = UniqueDetection.get_unique_detections(detection_objects) return detection_references - - -@attr.s -class UniqueDetection: - """ - An unique License Detection. - """ - unique_identifier = attr.ib(type=int) - license_detection = attr.ib() - files = attr.ib(factory=list) - - @classmethod - def get_unique_detections(cls, license_detections): - """ - Get all unique license detections from a list of - LicenseDetections. - """ - identifiers = get_identifiers(license_detections) - unique_detection_counts = dict(Counter(identifiers)) - - unique_license_detections = [] - for detection_identifier in unique_detection_counts.keys(): - file_regions = ( - detection.file_region - for detection in license_detections - if detection_identifier == detection.identifier - ) - all_detections = ( - detection - for detection in license_detections - if detection_identifier == detection.identifier - ) - - detection = next(all_detections) - unique_license_detections.append( - cls( - files=list(file_regions), - license_detection=attr.asdict(detection), - unique_identifier=detection.identifier, - ) - ) - - return unique_license_detections - - -def get_identifiers(license_detections): - """ - Get identifiers for all license detections. - """ - identifiers = ( - detection.identifier - for detection in license_detections - ) - return identifiers From c540cdf1d4d778f41ab29dc2bbea4b90c119a3cd Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Sun, 20 Nov 2022 23:14:40 +0530 Subject: [PATCH 02/11] Update test expectations with top level licenses Signed-off-by: Ayan Sinha Mahapatra --- .../filtered-expected.json | 51 + .../filtered-expected2.json | 51 + .../filtered-expected3.json | 51 + .../data/json/simple-expected.json | 3 + .../data/json/simple-expected.jsonpp | 3 + .../data/yaml/simple-expected.yaml | 9 +- .../license-expression/scan.expected.json | 130 ++ .../spdx-expressions.expected.json | 87 + .../license-ref-see-copying.expected.json | 102 + .../license_reference/scan-ref.expected.json | 102 + ...-unknown-reference-copyright.expected.json | 158 ++ ...unknown-ref-to-key-file-root.expected.json | 346 +++ .../license_url/license_url.expected.json | 52 + .../package/package.expected.json | 98 + .../scan/e2fsprogs-expected.json | 115 + .../scan/ffmpeg-license.expected.json | 709 ++++++ .../sqlite/sqlite.expected.json | 187 ++ .../text/scan-diag.expected.json | 130 ++ .../plugin_license/text/scan.expected.json | 130 ++ .../text_long_lines/scan-diag.expected.json | 130 ++ .../text_long_lines/scan.expected.json | 130 ++ ...n-unknown-intro-dual-license.expected.json | 159 ++ ...tro-eclipse-foundation-tycho.expected.json | 1498 +++++++++++++ ...own-intro-eclipse-foundation.expected.json | 87 + ...nown-intro-long-gaps-between.expected.json | 170 ++ ...intro-with-imperfect-matches.expected.json | 159 ++ .../policy-codebase.expected.json | 249 +++ .../plugin_license_text/scan.expected.json | 236 ++ ...e-reference-works-with-clues.expected.json | 1120 ++++++++++ ...-matched-text-with-reference.expected.json | 216 ++ .../scan-with-reference.expected.json | 216 ++ .../scan-without-reference.expected.json | 216 ++ .../activemq-camel.expected.json | 53 + .../google-built-collection.expected.json | 52 + .../flutter_playtabs_bridge.expected.json | 138 ++ .../nanopb.expected.json | 103 + .../reference-to-package/base.expected.json | 103 + .../fusiondirectory.expected.json | 1901 +++++++++++++++++ .../google_appengine_sdk.expected.json | 349 +++ .../paddlenlp.expected.json | 346 +++ .../physics.expected.json | 747 +++++++ .../reference-to-package/samba.expected.json | 807 +++++++ .../data/info/all.rooted.expected.json | 128 ++ .../scancode/data/license_text/test.expected | 51 + .../unicodepath.expected-linux.json | 5 + .../unicodepath.expected-linux.json--quiet | 5 + .../unicodepath.expected-linux.json--verbose | 5 + .../unicodepath.expected-linux.json-q | 5 + .../unicodepath.expected-linux.json-v | 5 + .../component-package-build-expected.json | 212 ++ .../component-package-expected.json | 210 ++ .../license-holder-rollup-expected.json | 181 ++ ...iple-same-holder-and-license-expected.json | 91 + ...t-counted-in-license-holders-expected.json | 114 + .../package-fileset-expected.json | 107 + .../package-manifest-expected.json | 99 + ...rectory-with-minority-origin-expected.json | 62 + ...return-nested-local-majority-expected.json | 181 ++ 58 files changed, 13157 insertions(+), 3 deletions(-) diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected.json index 50dd8a15234..393aaa2918c 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected.json @@ -1,4 +1,52 @@ { + "licenses": [ + { + "identifier": "81b019ea-ed6c-17e3-1cfc-fad8557f8cac", + "license_expression": "apache-1.1", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 96.07, + "start_line": 7, + "end_line": 70, + "matched_length": 367, + "match_coverage": 100.0, + "matcher": "3-seq", + "license_expression": "apache-1.1", + "rule_identifier": "apache-1.1_63.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.1_63.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 367, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-1.1", + "name": "Apache License 1.1", + "short_name": "Apache 1.1", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://apache.org/licenses/LICENSE-1.1", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-1.1", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.1.LICENSE", + "spdx_license_key": "Apache-1.1", + "spdx_url": "https://spdx.org/licenses/Apache-1.1" + } + ] + } + ] + } + ], "files": [ { "path": "LICENSE", @@ -69,6 +117,9 @@ ], "license_clues": [], "percentage_of_license_text": 92.44, + "for_licenses": [ + "81b019ea-ed6c-17e3-1cfc-fad8557f8cac" + ], "copyrights": [ { "copyright": "Copyright (c) The Eclipse Foundation https://eclipse.org", diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json index fc4d8985829..59d1ac78928 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json @@ -1,4 +1,52 @@ { + "licenses": [ + { + "identifier": "7b7e2330-4841-998b-3287-06b5bc6e5a90", + "license_expression": "pygres-2.2", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 22, + "matched_length": 145, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "pygres-2.2", + "rule_identifier": "pygres-2.2_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pygres-2.2_2.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 145, + "rule_relevance": 100, + "licenses": [ + { + "key": "pygres-2.2", + "name": "PyGres License v2.2", + "short_name": "PyGres License 2.2", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "http://shell.vex.net/viewvc.cgi/pygresql/trunk/module/pgmodule.c?view=markup&pathrev=431", + "reference_url": "https://scancode-licensedb.aboutcode.org/pygres-2.2", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pygres-2.2.LICENSE", + "spdx_license_key": "LicenseRef-scancode-pygres-2.2", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pygres-2.2.LICENSE" + } + ] + } + ] + } + ], "files": [ { "path": "LICENSE2", @@ -69,6 +117,9 @@ ], "license_clues": [], "percentage_of_license_text": 69.38, + "for_licenses": [ + "7b7e2330-4841-998b-3287-06b5bc6e5a90" + ], "copyrights": [ { "copyright": "Copyright (c) 1996, Pascal Andre (andre@avia.ecp.fr)", diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json index 0ead6f483bb..1f5e4ee6c3a 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json @@ -1,4 +1,52 @@ { + "licenses": [ + { + "identifier": "043db187-9376-d7a9-e89b-d027667acb34", + "license_expression": "pcre", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 47, + "matched_length": 303, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "pcre", + "rule_identifier": "pcre.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pcre.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 303, + "rule_relevance": 100, + "licenses": [ + { + "key": "pcre", + "name": "PCRE License", + "short_name": "PCRE License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "University of Cambridge", + "homepage_url": "http://www.pcre.org/licence.txt", + "text_url": "http://www.pcre.org/licence.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/pcre", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pcre.LICENSE", + "spdx_license_key": "LicenseRef-scancode-pcre", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pcre.LICENSE" + } + ] + } + ] + } + ], "files": [ { "path": "LICENSE3", @@ -69,6 +117,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "043db187-9376-d7a9-e89b-d027667acb34" + ], "copyrights": [ { "copyright": "Copyright (c) 1997-2001 University of Cambridge", diff --git a/tests/formattedcode/data/json/simple-expected.json b/tests/formattedcode/data/json/simple-expected.json index 407737625cb..82ecaa5b20a 100644 --- a/tests/formattedcode/data/json/simple-expected.json +++ b/tests/formattedcode/data/json/simple-expected.json @@ -1,4 +1,5 @@ { + "licenses": [], "dependencies": [], "packages": [], "files": [ @@ -26,6 +27,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -60,6 +62,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", diff --git a/tests/formattedcode/data/json/simple-expected.jsonpp b/tests/formattedcode/data/json/simple-expected.jsonpp index 407737625cb..82ecaa5b20a 100644 --- a/tests/formattedcode/data/json/simple-expected.jsonpp +++ b/tests/formattedcode/data/json/simple-expected.jsonpp @@ -1,4 +1,5 @@ { + "licenses": [], "dependencies": [], "packages": [], "files": [ @@ -26,6 +27,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -60,6 +62,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", diff --git a/tests/formattedcode/data/yaml/simple-expected.yaml b/tests/formattedcode/data/yaml/simple-expected.yaml index 4bd3655cf58..28ac1b2b571 100644 --- a/tests/formattedcode/data/yaml/simple-expected.yaml +++ b/tests/formattedcode/data/yaml/simple-expected.yaml @@ -14,7 +14,7 @@ headers: for any legal advice. ScanCode is a free software code scanning tool from nexB Inc. and others. Visit https://github.com/nexB/scancode-toolkit/ for support and download. - output_format_version: 2.0.0 + output_format_version: 3.0.0 message: errors: [] warnings: [] @@ -22,11 +22,12 @@ headers: system_environment: operating_system: linux cpu_architecture: 64 - platform: Linux-5.14.0-1045-oem-x86_64-with-glibc2.29 - platform_version: '#51-Ubuntu SMP Mon Jul 4 06:41:22 UTC 2022' + platform: Linux-5.14.0-1054-oem-x86_64-with-glibc2.29 + platform_version: '#61-Ubuntu SMP Fri Oct 14 13:05:50 UTC 2022' python_version: "3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]" spdx_license_list_version: '3.17' files_count: 1 +licenses: [] dependencies: [] packages: [] files: @@ -53,6 +54,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' + for_licenses: [] copyrights: [] holders: [] authors: [] @@ -85,6 +87,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' + for_licenses: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 diff --git a/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json b/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json index 9ed107259ab..345ff4e478d 100644 --- a/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json @@ -1,4 +1,128 @@ { + "licenses": [ + { + "identifier": "c0668fcd-2d15-caa1-2e29-7df8daec68a5", + "license_expression": "apache-1.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 54, + "matched_length": 368, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-1.0", + "rule_identifier": "apache-1.0.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.0.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 368, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-1.0", + "name": "Apache License 1.0", + "short_name": "Apache 1.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-1.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-1.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", + "spdx_license_key": "Apache-1.0", + "spdx_url": "https://spdx.org/licenses/Apache-1.0" + } + ] + } + ] + }, + { + "identifier": "51fb40ac-0b3a-03c4-2532-40ada1cb7912", + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 13, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 13, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + }, + { + "key": "linux-syscall-exception-gpl", + "name": "Linux Syscall Exception to GPL", + "short_name": "Linux Syscall Exception to GPL", + "category": "Copyleft Limited", + "is_exception": true, + "is_unknown": false, + "owner": "Linux Foundation", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", + "spdx_license_key": "Linux-syscall-note", + "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" + }, + { + "key": "linux-openib", + "name": "Linux-OpenIB", + "short_name": "Linux-OpenIB", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Linux Foundation", + "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", + "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", + "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", + "spdx_license_key": "Linux-OpenIB", + "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" + } + ] + } + ] + } + ], "files": [ { "path": "apache-1.0.txt", @@ -53,6 +177,9 @@ ], "license_clues": [], "percentage_of_license_text": 97.61, + "for_licenses": [ + "c0668fcd-2d15-caa1-2e29-7df8daec68a5" + ], "scan_errors": [] }, { @@ -138,6 +265,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "51fb40ac-0b3a-03c4-2532-40ada1cb7912" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json b/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json index b8ea413eea1..996e3feb797 100644 --- a/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json +++ b/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json @@ -1,4 +1,88 @@ { + "licenses": [ + { + "identifier": "6a62dd92-d687-5046-a149-47edab69491d", + "license_expression": "zlib AND apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "zlib", + "rule_identifier": "spdx-license-identifier: zlib", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "zlib", + "name": "ZLIB License", + "short_name": "ZLIB License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "text_url": "http://www.gzip.org/zlib/zlib_license.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "spdx_license_key": "Zlib", + "spdx_url": "https://spdx.org/licenses/Zlib" + } + ] + }, + { + "score": 100.0, + "start_line": 4, + "end_line": 4, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "apache-2.0", + "rule_identifier": "spdx-license-identifier: apache-2.0", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ], + "occurance_count": 1 + } + ], "files": [ { "path": "spdx-expressions.txt", @@ -91,6 +175,9 @@ ], "license_clues": [], "percentage_of_license_text": 90.91, + "for_licenses": [ + "6a62dd92-d687-5046-a149-47edab69491d" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json b/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json index 0411fd8f318..e42c3b8559e 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json @@ -1,4 +1,100 @@ { + "licenses": [ + { + "identifier": "f76efb47-fed2-ece2-85a7-be5297788421", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "589846e0-5ae8-148c-1e24-c9a3b337f0f6", + "license_expression": "unknown-license-reference", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 8, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_91.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_91.RULE", + "referenced_filenames": [ + "COPYING" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + } + ] + } + ], "files": [ { "path": "COPYING", @@ -54,6 +150,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "f76efb47-fed2-ece2-85a7-be5297788421" + ], "scan_errors": [] }, { @@ -149,6 +248,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "589846e0-5ae8-148c-1e24-c9a3b337f0f6" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json b/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json index 9ad19e9b490..031ed71f6b6 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json @@ -1,4 +1,100 @@ { + "licenses": [ + { + "identifier": "74e8eedf-db6a-01e4-830f-8ac6e27be365", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 10, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "mit", + "rule_identifier": "mit_66.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_66.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ] + }, + { + "identifier": "77d29bdd-8b2e-96ec-6420-8c5107d3eabe", + "license_expression": "unknown-license-reference", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 34, + "end_line": 34, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_25.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_25.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + } + ] + } + ], "files": [ { "path": "LICENSE", @@ -54,6 +150,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "74e8eedf-db6a-01e4-830f-8ac6e27be365" + ], "scan_errors": [] }, { @@ -149,6 +248,9 @@ ], "license_clues": [], "percentage_of_license_text": 0.2, + "for_licenses": [ + "77d29bdd-8b2e-96ec-6420-8c5107d3eabe" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json b/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json index 0d76f209c92..4f2c54e19e0 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json @@ -1,4 +1,148 @@ { + "licenses": [ + { + "identifier": "cb2d1ad5-873d-6301-d317-22a999e29333", + "license_expression": "unknown-license-reference", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 9, + "end_line": 9, + "matched_length": 8, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_30.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_30.RULE", + "referenced_filenames": [ + "Copyright" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + } + ] + }, + { + "identifier": "f8587161-833d-692c-3d76-0d68eb040d40", + "license_expression": "x11-xconsortium-veillard", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 26, + "matched_length": 199, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "x11-xconsortium-veillard", + "rule_identifier": "x11-xconsortium-veillard.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/x11-xconsortium-veillard.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 199, + "rule_relevance": 100, + "licenses": [ + { + "key": "x11-xconsortium-veillard", + "name": "X11-Style (X Consortium Veillard)", + "short_name": "X11-Style (X Consortium Veillard)", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Daniel Veillard", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/x11-xconsortium-veillard", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE", + "spdx_license_key": "LicenseRef-scancode-x11-xconsortium-veillard", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE" + } + ] + } + ] + }, + { + "identifier": "0fca325a-cfc9-3067-2426-a2e81f63954e", + "license_expression": "unknown-license-reference", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 13, + "end_line": 13, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_108.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_108.RULE", + "referenced_filenames": [ + "Copyright" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + } + ] + } + ], "files": [ { "path": "Copyright", @@ -54,6 +198,9 @@ ], "license_clues": [], "percentage_of_license_text": 81.89, + "for_licenses": [ + "f8587161-833d-692c-3d76-0d68eb040d40" + ], "scan_errors": [] }, { @@ -149,6 +296,9 @@ ], "license_clues": [], "percentage_of_license_text": 1.32, + "for_licenses": [ + "cb2d1ad5-873d-6301-d317-22a999e29333" + ], "scan_errors": [] }, { @@ -244,6 +394,9 @@ ], "license_clues": [], "percentage_of_license_text": 0.1, + "for_licenses": [ + "cb2d1ad5-873d-6301-d317-22a999e29333" + ], "scan_errors": [] }, { @@ -254,6 +407,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "scan_errors": [] }, { @@ -264,6 +418,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "scan_errors": [] }, { @@ -359,6 +514,9 @@ ], "license_clues": [], "percentage_of_license_text": 2.47, + "for_licenses": [ + "0fca325a-cfc9-3067-2426-a2e81f63954e" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json b/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json index 3e8935fd877..ec815bf1af5 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json @@ -1,4 +1,322 @@ { + "licenses": [ + { + "identifier": "e7257024-d126-956a-74bb-495572281351", + "license_expression": "unknown-license-reference", + "occurance_count": 4, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see-license_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + } + ] + }, + { + "identifier": "26a4c3aa-d426-9e04-08af-0c92585a1998", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_1114.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1114.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ] + }, + { + "identifier": "a103b5a9-df52-531b-ca52-7c2967858cd9", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_26.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + }, + { + "score": 100.0, + "start_line": 5, + "end_line": 21, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ] + }, + { + "identifier": "a97190f9-e182-1c66-a517-fc3368d5b248", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 5, + "end_line": 5, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ] + }, + { + "identifier": "b0986273-a9c0-9bfc-a7e4-7324f777dfbe", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 219, + "end_line": 222, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_31.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_31.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ] + }, + { + "identifier": "5af45262-306f-3814-a419-bcbdaadfae4d", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_1187.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1187.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ] + } + ], "files": [ { "path": "LICENSE", @@ -91,6 +409,9 @@ ], "license_clues": [], "percentage_of_license_text": 95.38, + "for_licenses": [ + "a103b5a9-df52-531b-ca52-7c2967858cd9" + ], "scan_errors": [] }, { @@ -147,6 +468,9 @@ ], "license_clues": [], "percentage_of_license_text": 0.3, + "for_licenses": [ + "b0986273-a9c0-9bfc-a7e4-7324f777dfbe" + ], "scan_errors": [] }, { @@ -279,6 +603,9 @@ ], "license_clues": [], "percentage_of_license_text": 0.83, + "for_licenses": [ + "e7257024-d126-956a-74bb-495572281351" + ], "scan_errors": [] }, { @@ -411,6 +738,9 @@ ], "license_clues": [], "percentage_of_license_text": 5.71, + "for_licenses": [ + "e7257024-d126-956a-74bb-495572281351" + ], "scan_errors": [] }, { @@ -543,6 +873,9 @@ ], "license_clues": [], "percentage_of_license_text": 1.14, + "for_licenses": [ + "e7257024-d126-956a-74bb-495572281351" + ], "scan_errors": [] }, { @@ -599,6 +932,9 @@ ], "license_clues": [], "percentage_of_license_text": 3.7, + "for_licenses": [ + "26a4c3aa-d426-9e04-08af-0c92585a1998" + ], "scan_errors": [] }, { @@ -655,6 +991,9 @@ ], "license_clues": [], "percentage_of_license_text": 2.67, + "for_licenses": [ + "a97190f9-e182-1c66-a517-fc3368d5b248" + ], "scan_errors": [] }, { @@ -787,6 +1126,9 @@ ], "license_clues": [], "percentage_of_license_text": 2.52, + "for_licenses": [ + "5af45262-306f-3814-a419-bcbdaadfae4d" + ], "scan_errors": [] }, { @@ -797,6 +1139,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "scan_errors": [] }, { @@ -929,6 +1272,9 @@ ], "license_clues": [], "percentage_of_license_text": 4.65, + "for_licenses": [ + "e7257024-d126-956a-74bb-495572281351" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json b/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json index 646cd2d2c68..0ff5e09d9aa 100644 --- a/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json +++ b/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json @@ -1,4 +1,52 @@ { + "licenses": [ + { + "identifier": "c0668fcd-2d15-caa1-2e29-7df8daec68a5", + "license_expression": "apache-1.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 54, + "matched_length": 368, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-1.0", + "rule_identifier": "apache-1.0.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.0.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 368, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-1.0", + "name": "Apache License 1.0", + "short_name": "Apache 1.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-1.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-1.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", + "spdx_license_key": "Apache-1.0", + "spdx_url": "https://spdx.org/licenses/Apache-1.0" + } + ] + } + ] + } + ], "files": [ { "path": "scan", @@ -8,6 +56,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "scan_errors": [] }, { @@ -63,6 +112,9 @@ ], "license_clues": [], "percentage_of_license_text": 97.61, + "for_licenses": [ + "c0668fcd-2d15-caa1-2e29-7df8daec68a5" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/package/package.expected.json b/tests/licensedcode/data/plugin_license/package/package.expected.json index ee753445f09..b91dd50cfa3 100644 --- a/tests/licensedcode/data/plugin_license/package/package.expected.json +++ b/tests/licensedcode/data/plugin_license/package/package.expected.json @@ -1,4 +1,98 @@ { + "licenses": [ + { + "identifier": "a56e6f7d-76c6-b3b6-1dfa-7667ccf44fcc", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 15, + "end_line": 15, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_272.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_272.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ] + }, + { + "identifier": "ef6d2c56-a637-62b0-4f8d-c66f8f2da55b", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ] + } + ], "dependencies": [ { "purl": "pkg:npm/dicer", @@ -189,6 +283,10 @@ ], "license_clues": [], "percentage_of_license_text": 4.05, + "for_licenses": [ + "a56e6f7d-76c6-b3b6-1dfa-7667ccf44fcc", + "ef6d2c56-a637-62b0-4f8d-c66f8f2da55b" + ], "package_data": [ { "type": "npm", diff --git a/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json b/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json index 68778e2a959..7c6e20018cc 100644 --- a/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json +++ b/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json @@ -1,4 +1,113 @@ { + "licenses": [ + { + "identifier": "c356b4b4-d67f-a20e-2b27-6b846b248f17", + "license_expression": null, + "occurance_count": 1, + "detection_log": [ + "license-clues" + ], + "matches": [ + { + "score": 14.39, + "start_line": 19, + "end_line": 20, + "matched_length": 20, + "match_coverage": 14.39, + "matcher": "3-seq", + "license_expression": "lgpl-2.0-plus", + "rule_identifier": "lgpl-2.0-plus_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 139, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-2.0-plus", + "name": "GNU Library General Public License 2.0 or later", + "short_name": "LGPL 2.0 or later", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.0-plus.LICENSE", + "spdx_license_key": "LGPL-2.0-or-later", + "spdx_url": "https://spdx.org/licenses/LGPL-2.0-or-later" + } + ] + } + ] + }, + { + "identifier": "7a8b2654-e2b3-da24-ce96-d08ca2d4d8c3", + "license_expression": "gpl-2.0 AND patent-disclaimer", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 30, + "matched_length": 185, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0 AND patent-disclaimer", + "rule_identifier": "gpl-2.0_and_patent-disclaimer_3.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_and_patent-disclaimer_3.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 185, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + }, + { + "key": "patent-disclaimer", + "name": "Generic patent disclaimer", + "short_name": "Generic patent disclaimer", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/patent-disclaimer", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/patent-disclaimer.LICENSE", + "spdx_license_key": "LicenseRef-scancode-patent-disclaimer", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/patent-disclaimer.LICENSE" + } + ] + } + ] + } + ], "files": [ { "path": "e2fsprogs-copyright", @@ -45,6 +154,9 @@ } ], "percentage_of_license_text": 22.73, + "for_licenses": [ + "c356b4b4-d67f-a20e-2b27-6b846b248f17" + ], "scan_errors": [] }, { @@ -115,6 +227,9 @@ ], "license_clues": [], "percentage_of_license_text": 95.36, + "for_licenses": [ + "7a8b2654-e2b3-da24-ce96-d08ca2d4d8c3" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json b/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json index 7c1079f39d4..e113f57ef08 100644 --- a/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json +++ b/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json @@ -1,4 +1,704 @@ { + "licenses": [ + { + "identifier": "14099f19-eb98-27ed-cc72-38bbf5c0a1e7", + "license_expression": "lgpl-2.1-plus AND other-permissive AND gpl-2.0-plus", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.09, + "start_line": 3, + "end_line": 13, + "matched_length": 109, + "match_coverage": 99.09, + "matcher": "3-seq", + "license_expression": "lgpl-2.1-plus AND other-permissive AND gpl-2.0-plus", + "rule_identifier": "lgpl-2.1-plus_and__other-permissive_and_gpl-2.0-plus_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_and__other-permissive_and_gpl-2.0-plus_1.RULE", + "referenced_filenames": [ + "COPYING.LGPLv2.1", + "COPYING.GPLv2" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 110, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-2.1-plus", + "name": "GNU Lesser General Public License 2.1 or later", + "short_name": "LGPL 2.1 or later", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", + "spdx_license_key": "LGPL-2.1-or-later", + "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" + }, + { + "key": "other-permissive", + "name": "Other Permissive Licenses", + "short_name": "Other Permissive Licenses", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "nexB", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/other-permissive", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE", + "spdx_license_key": "LicenseRef-scancode-other-permissive", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE" + }, + { + "key": "gpl-2.0-plus", + "name": "GNU General Public License 2.0 or later", + "short_name": "GPL 2.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", + "spdx_license_key": "GPL-2.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "b16770da-ae1c-5e72-d72a-ca61d8d81ae9", + "license_expression": "gpl-1.0-plus", + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 50.0, + "start_line": 18, + "end_line": 18, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_bare_word_only.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 50, + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "c47094e3-d257-d183-2320-782b7720ff17", + "license_expression": "lgpl-3.0 AND lgpl-3.0-plus AND (lgpl-3.0 AND gpl-3.0)", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 54, + "end_line": 54, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_134.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_134.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-3.0", + "name": "GNU Lesser General Public License 3.0", + "short_name": "LGPL 3.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", + "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", + "spdx_license_key": "LGPL-3.0-only", + "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" + } + ] + }, + { + "score": 99.0, + "start_line": 55, + "end_line": 55, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_130.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_130.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 99, + "licenses": [ + { + "key": "lgpl-3.0-plus", + "name": "GNU Lesser General Public License 3.0 or later", + "short_name": "LGPL 3.0 or later", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", + "spdx_license_key": "LGPL-3.0-or-later", + "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 56, + "end_line": 57, + "matched_length": 25, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0 AND gpl-3.0", + "rule_identifier": "lgpl-3.0_and_gpl-3.0_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_and_gpl-3.0_2.RULE", + "referenced_filenames": [ + "COPYING.LGPLv3", + "COPYING.GPLv3" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 25, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-3.0", + "name": "GNU Lesser General Public License 3.0", + "short_name": "LGPL 3.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", + "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", + "spdx_license_key": "LGPL-3.0-only", + "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" + }, + { + "key": "gpl-3.0", + "name": "GNU General Public License 3.0", + "short_name": "GPL 3.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", + "spdx_license_key": "GPL-3.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "86d0b13f-7abd-19fb-ddb8-941d97380f00", + "license_expression": "ijg AND mit", + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 59, + "end_line": 59, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_235.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_235.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 62, + "end_line": 63, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "ijg", + "rule_identifier": "ijg_28.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/ijg_28.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "ijg", + "name": "Independent JPEG Group License", + "short_name": "JPEG License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "IJG - Independent JPEG Group", + "homepage_url": "http://fedoraproject.org/wiki/Licensing/IJG", + "text_url": "http://fedoraproject.org/wiki/Licensing/IJG", + "reference_url": "https://scancode-licensedb.aboutcode.org/ijg", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ijg.LICENSE", + "spdx_license_key": "IJG", + "spdx_url": "https://spdx.org/licenses/IJG" + } + ] + }, + { + "score": 100.0, + "start_line": 67, + "end_line": 67, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_576.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_576.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "aeb7da71-ec9e-bc5f-52f3-4e9299af7bb1", + "license_expression": "gpl-1.0-plus", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 90.0, + "start_line": 79, + "end_line": 79, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_70.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_70.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 90, + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "5f2ed903-ee9f-f370-5de1-07fbc6f1e0fd", + "license_expression": "gpl-2.0 AND apache-2.0 AND lgpl-3.0-plus", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 88, + "end_line": 89, + "matched_length": 20, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_870.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_870.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 20, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + } + ] + }, + { + "score": 100.0, + "start_line": 91, + "end_line": 91, + "matched_length": 8, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_411.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_411.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 99.0, + "start_line": 94, + "end_line": 94, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_130.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_130.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 99, + "licenses": [ + { + "key": "lgpl-3.0-plus", + "name": "GNU Lesser General Public License 3.0 or later", + "short_name": "LGPL 3.0 or later", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", + "spdx_license_key": "LGPL-3.0-or-later", + "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "a54d7281-05a0-24e4-ef42-199dd7d49606", + "license_expression": "gpl-2.0 AND lgpl-2.0-plus AND proprietary-license", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 100, + "end_line": 100, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_bare_single_word.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + } + ] + }, + { + "score": 75.0, + "start_line": 101, + "end_line": 101, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.0-plus", + "rule_identifier": "lgpl_bare_single_word.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl_bare_single_word.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 75, + "licenses": [ + { + "key": "lgpl-2.0-plus", + "name": "GNU Library General Public License 2.0 or later", + "short_name": "LGPL 2.0 or later", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.0-plus.LICENSE", + "spdx_license_key": "LGPL-2.0-or-later", + "spdx_url": "https://spdx.org/licenses/LGPL-2.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 102, + "end_line": 102, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "proprietary-license", + "rule_identifier": "proprietary-license_490.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/proprietary-license_490.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "licenses": [ + { + "key": "proprietary-license", + "name": "Proprietary License", + "short_name": "Proprietary License", + "category": "Commercial", + "is_exception": false, + "is_unknown": false, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/proprietary-license", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/proprietary-license.LICENSE", + "spdx_license_key": "LicenseRef-scancode-proprietary-license", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/proprietary-license.LICENSE" + } + ] + }, + { + "score": 75.0, + "start_line": 104, + "end_line": 104, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.0-plus", + "rule_identifier": "lgpl_bare_single_word.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl_bare_single_word.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 75, + "licenses": [ + { + "key": "lgpl-2.0-plus", + "name": "GNU Library General Public License 2.0 or later", + "short_name": "LGPL 2.0 or later", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.0-plus.LICENSE", + "spdx_license_key": "LGPL-2.0-or-later", + "spdx_url": "https://spdx.org/licenses/LGPL-2.0-or-later" + } + ] + } + ], + "occurance_count": 1 + } + ], "files": [ { "path": "ffmpeg-LICENSE.md", @@ -709,6 +1409,15 @@ ], "license_clues": [], "percentage_of_license_text": 34.96, + "for_licenses": [ + "14099f19-eb98-27ed-cc72-38bbf5c0a1e7", + "b16770da-ae1c-5e72-d72a-ca61d8d81ae9", + "c47094e3-d257-d183-2320-782b7720ff17", + "86d0b13f-7abd-19fb-ddb8-941d97380f00", + "aeb7da71-ec9e-bc5f-52f3-4e9299af7bb1", + "5f2ed903-ee9f-f370-5de1-07fbc6f1e0fd", + "a54d7281-05a0-24e4-ef42-199dd7d49606" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json index d227cfcff7b..978b04e149d 100644 --- a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json +++ b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json @@ -1,4 +1,52 @@ { + "licenses": [ + { + "identifier": "d56f762b-a283-5361-23c4-d3935b7e9c75", + "license_expression": "blessing", + "occurance_count": 136, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 30, + "end_line": 35, + "matched_length": 42, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "licenses": [ + { + "key": "blessing", + "name": "SQLite Blessing", + "short_name": "SQLite Blessing", + "category": "Public Domain", + "is_exception": false, + "is_unknown": false, + "owner": "SQLite", + "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "spdx_license_key": "blessing", + "spdx_url": "https://spdx.org/licenses/blessing" + } + ] + } + ] + } + ], "files": [ { "path": "sqlite.tgz", @@ -8,6 +56,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "scan_errors": [] }, { @@ -6139,6 +6188,144 @@ ], "license_clues": [], "percentage_of_license_text": 36.67, + "for_licenses": [ + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75", + "d56f762b-a283-5361-23c4-d3935b7e9c75" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json b/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json index 6c30d1fcf10..acaaac276b9 100644 --- a/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json +++ b/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json @@ -1,4 +1,128 @@ { + "licenses": [ + { + "identifier": "041f32d1-6cb1-f9fa-a580-14f3958007f0", + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 13, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 13, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + }, + { + "key": "linux-syscall-exception-gpl", + "name": "Linux Syscall Exception to GPL", + "short_name": "Linux Syscall Exception to GPL", + "category": "Copyleft Limited", + "is_exception": true, + "is_unknown": false, + "owner": "Linux Foundation", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", + "spdx_license_key": "Linux-syscall-note", + "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" + }, + { + "key": "linux-openib", + "name": "Linux-OpenIB", + "short_name": "Linux-OpenIB", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Linux Foundation", + "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", + "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", + "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", + "spdx_license_key": "Linux-OpenIB", + "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" + } + ] + } + ] + }, + { + "identifier": "6dc1f0cf-64b7-5ad7-e5a7-e5ccd044d866", + "license_expression": "fsf-ap", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 91.43, + "start_line": 1, + "end_line": 3, + "matched_length": 32, + "match_coverage": 91.43, + "matcher": "3-seq", + "license_expression": "fsf-ap", + "rule_identifier": "fsf-ap.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/fsf-ap.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 35, + "rule_relevance": 100, + "licenses": [ + { + "key": "fsf-ap", + "name": "FSF All Permissive License", + "short_name": "FSF All Permissive License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/fsf-ap", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE", + "spdx_license_key": "FSFAP", + "spdx_url": "https://spdx.org/licenses/FSFAP" + } + ] + } + ] + } + ], "files": [ { "path": "gpl-2.0_with_linux-syscall-note_or_linux-openib_SPDX.RULE", @@ -84,6 +208,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "041f32d1-6cb1-f9fa-a580-14f3958007f0" + ], "scan_errors": [] }, { @@ -140,6 +267,9 @@ ], "license_clues": [], "percentage_of_license_text": 91.43, + "for_licenses": [ + "6dc1f0cf-64b7-5ad7-e5a7-e5ccd044d866" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/text/scan.expected.json b/tests/licensedcode/data/plugin_license/text/scan.expected.json index c6681699459..88d6c26e2de 100644 --- a/tests/licensedcode/data/plugin_license/text/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/text/scan.expected.json @@ -1,4 +1,128 @@ { + "licenses": [ + { + "identifier": "041f32d1-6cb1-f9fa-a580-14f3958007f0", + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 13, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 13, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + }, + { + "key": "linux-syscall-exception-gpl", + "name": "Linux Syscall Exception to GPL", + "short_name": "Linux Syscall Exception to GPL", + "category": "Copyleft Limited", + "is_exception": true, + "is_unknown": false, + "owner": "Linux Foundation", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", + "spdx_license_key": "Linux-syscall-note", + "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" + }, + { + "key": "linux-openib", + "name": "Linux-OpenIB", + "short_name": "Linux-OpenIB", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Linux Foundation", + "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", + "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", + "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", + "spdx_license_key": "Linux-OpenIB", + "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" + } + ] + } + ] + }, + { + "identifier": "2bbf00d0-20d9-2d91-6cb6-8f28a4670a5d", + "license_expression": "fsf-ap", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 91.43, + "start_line": 1, + "end_line": 3, + "matched_length": 32, + "match_coverage": 91.43, + "matcher": "3-seq", + "license_expression": "fsf-ap", + "rule_identifier": "fsf-ap.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/fsf-ap.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 35, + "rule_relevance": 100, + "licenses": [ + { + "key": "fsf-ap", + "name": "FSF All Permissive License", + "short_name": "FSF All Permissive License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/fsf-ap", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE", + "spdx_license_key": "FSFAP", + "spdx_url": "https://spdx.org/licenses/FSFAP" + } + ] + } + ] + } + ], "files": [ { "path": "gpl-2.0_with_linux-syscall-note_or_linux-openib_SPDX.RULE", @@ -84,6 +208,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "041f32d1-6cb1-f9fa-a580-14f3958007f0" + ], "scan_errors": [] }, { @@ -140,6 +267,9 @@ ], "license_clues": [], "percentage_of_license_text": 91.43, + "for_licenses": [ + "2bbf00d0-20d9-2d91-6cb6-8f28a4670a5d" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json b/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json index 7ff6c71be08..13a8ea900c5 100644 --- a/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json +++ b/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json @@ -1,4 +1,128 @@ { + "licenses": [ + { + "identifier": "041f32d1-6cb1-f9fa-a580-14f3958007f0", + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 13, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 13, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + }, + { + "key": "linux-syscall-exception-gpl", + "name": "Linux Syscall Exception to GPL", + "short_name": "Linux Syscall Exception to GPL", + "category": "Copyleft Limited", + "is_exception": true, + "is_unknown": false, + "owner": "Linux Foundation", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", + "spdx_license_key": "Linux-syscall-note", + "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" + }, + { + "key": "linux-openib", + "name": "Linux-OpenIB", + "short_name": "Linux-OpenIB", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Linux Foundation", + "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", + "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", + "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", + "spdx_license_key": "Linux-OpenIB", + "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" + } + ] + } + ] + }, + { + "identifier": "df43f663-8e79-9294-efa7-e4438c80cfbd", + "license_expression": "unlicense", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 89, + "end_line": 89, + "matched_length": 198, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unlicense", + "rule_identifier": "unlicense.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unlicense.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 198, + "rule_relevance": 100, + "licenses": [ + { + "key": "unlicense", + "name": "Unlicense", + "short_name": "Unlicense", + "category": "Public Domain", + "is_exception": false, + "is_unknown": false, + "owner": "Unlicense", + "homepage_url": "http://unlicense.org/", + "text_url": "https://unlicense.org/", + "reference_url": "https://scancode-licensedb.aboutcode.org/unlicense", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE", + "spdx_license_key": "Unlicense", + "spdx_url": "https://spdx.org/licenses/Unlicense" + } + ] + } + ] + } + ], "files": [ { "path": "gpl-2.0_with_linux-syscall-note_or_linux-openib_SPDX.RULE", @@ -84,6 +208,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "041f32d1-6cb1-f9fa-a580-14f3958007f0" + ], "scan_errors": [] }, { @@ -140,6 +267,9 @@ ], "license_clues": [], "percentage_of_license_text": 5.25, + "for_licenses": [ + "df43f663-8e79-9294-efa7-e4438c80cfbd" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json b/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json index 7ff6c71be08..13a8ea900c5 100644 --- a/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json @@ -1,4 +1,128 @@ { + "licenses": [ + { + "identifier": "041f32d1-6cb1-f9fa-a580-14f3958007f0", + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 13, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 13, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + }, + { + "key": "linux-syscall-exception-gpl", + "name": "Linux Syscall Exception to GPL", + "short_name": "Linux Syscall Exception to GPL", + "category": "Copyleft Limited", + "is_exception": true, + "is_unknown": false, + "owner": "Linux Foundation", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", + "spdx_license_key": "Linux-syscall-note", + "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" + }, + { + "key": "linux-openib", + "name": "Linux-OpenIB", + "short_name": "Linux-OpenIB", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Linux Foundation", + "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", + "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", + "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", + "spdx_license_key": "Linux-OpenIB", + "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" + } + ] + } + ] + }, + { + "identifier": "df43f663-8e79-9294-efa7-e4438c80cfbd", + "license_expression": "unlicense", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 89, + "end_line": 89, + "matched_length": 198, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unlicense", + "rule_identifier": "unlicense.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unlicense.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 198, + "rule_relevance": 100, + "licenses": [ + { + "key": "unlicense", + "name": "Unlicense", + "short_name": "Unlicense", + "category": "Public Domain", + "is_exception": false, + "is_unknown": false, + "owner": "Unlicense", + "homepage_url": "http://unlicense.org/", + "text_url": "https://unlicense.org/", + "reference_url": "https://scancode-licensedb.aboutcode.org/unlicense", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE", + "spdx_license_key": "Unlicense", + "spdx_url": "https://spdx.org/licenses/Unlicense" + } + ] + } + ] + } + ], "files": [ { "path": "gpl-2.0_with_linux-syscall-note_or_linux-openib_SPDX.RULE", @@ -84,6 +208,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "041f32d1-6cb1-f9fa-a580-14f3958007f0" + ], "scan_errors": [] }, { @@ -140,6 +267,9 @@ ], "license_clues": [], "percentage_of_license_text": 5.25, + "for_licenses": [ + "df43f663-8e79-9294-efa7-e4438c80cfbd" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json index e9dead55da7..18803bb2508 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json @@ -1,4 +1,160 @@ { + "licenses": [ + { + "identifier": "04db1ff4-743d-5e4b-c651-babe28ddd938", + "license_expression": "wtfpl-2.0 AND mit", + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 43, + "end_line": 43, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "lead-in_unknown_30.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lead-in_unknown_30.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 50.0, + "start_line": 43, + "end_line": 43, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "wtfpl-2.0", + "rule_identifier": "spdx_license_id_wtfpl_for_wtfpl-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_wtfpl_for_wtfpl-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 50, + "licenses": [ + { + "key": "wtfpl-2.0", + "name": "WTFPL 2.0", + "short_name": "WTFPL 2.0", + "category": "Public Domain", + "is_exception": false, + "is_unknown": false, + "owner": "Sam Hocevar", + "homepage_url": "http://sam.zoy.org/wtfpl/", + "text_url": "http://sam.zoy.org/wtfpl/COPYING", + "reference_url": "https://scancode-licensedb.aboutcode.org/wtfpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/wtfpl-2.0.LICENSE", + "spdx_license_key": "WTFPL", + "spdx_url": "https://spdx.org/licenses/WTFPL" + } + ] + }, + { + "score": 100.0, + "start_line": 43, + "end_line": 43, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "wtfpl-2.0", + "rule_identifier": "wtfpl-2.0_27.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/wtfpl-2.0_27.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "wtfpl-2.0", + "name": "WTFPL 2.0", + "short_name": "WTFPL 2.0", + "category": "Public Domain", + "is_exception": false, + "is_unknown": false, + "owner": "Sam Hocevar", + "homepage_url": "http://sam.zoy.org/wtfpl/", + "text_url": "http://sam.zoy.org/wtfpl/COPYING", + "reference_url": "https://scancode-licensedb.aboutcode.org/wtfpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/wtfpl-2.0.LICENSE", + "spdx_license_key": "WTFPL", + "spdx_url": "https://spdx.org/licenses/WTFPL" + } + ] + }, + { + "score": 100.0, + "start_line": 43, + "end_line": 43, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_64.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_64.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ], + "occurance_count": 1 + } + ], "files": [ { "path": "README.md", @@ -165,6 +321,9 @@ ], "license_clues": [], "percentage_of_license_text": 8.18, + "for_licenses": [ + "04db1ff4-743d-5e4b-c651-babe28ddd938" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json index 66ece78b872..9e9cb08a2d0 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json @@ -1,4 +1,1478 @@ { + "licenses": [ + { + "identifier": "1867eafe-a258-cbb4-408f-2bd33d02ee23", + "license_expression": "epl-1.0", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.34, + "start_line": 12, + "end_line": 25, + "matched_length": 150, + "match_coverage": 99.34, + "matcher": "3-seq", + "license_expression": "epl-1.0", + "rule_identifier": "epl-1.0_3.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 151, + "rule_relevance": 100, + "licenses": [ + { + "key": "epl-1.0", + "name": "Eclipse Public License 1.0", + "short_name": "EPL 1.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Eclipse Foundation", + "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", + "text_url": "http://www.eclipse.org/legal/epl-v10.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", + "spdx_license_key": "EPL-1.0", + "spdx_url": "https://spdx.org/licenses/EPL-1.0" + } + ] + }, + { + "score": 100.0, + "start_line": 17, + "end_line": 17, + "matched_length": 8, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "epl-1.0", + "rule_identifier": "epl-1.0_7.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "licenses": [ + { + "key": "epl-1.0", + "name": "Eclipse Public License 1.0", + "short_name": "EPL 1.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Eclipse Foundation", + "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", + "text_url": "http://www.eclipse.org/legal/epl-v10.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", + "spdx_license_key": "EPL-1.0", + "spdx_url": "https://spdx.org/licenses/EPL-1.0" + } + ] + } + ] + }, + { + "identifier": "b414489c-d2f7-2207-9e37-ea197f00d317", + "license_expression": "apache-2.0", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 95.0, + "start_line": 37, + "end_line": 37, + "matched_length": 14, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache_no-version_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache_no-version_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 14, + "rule_relevance": 95, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "53c14ef2-2b41-3f63-1dbb-e3a1efbd1e8d", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 44, + "end_line": 44, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_35.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 44, + "end_line": 44, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_322.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 39.47, + "start_line": 45, + "end_line": 45, + "matched_length": 15, + "match_coverage": 39.47, + "matcher": "3-seq", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1112.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 38, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 40.0, + "start_line": 45, + "end_line": 45, + "matched_length": 14, + "match_coverage": 40.0, + "matcher": "3-seq", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_842.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 35, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 33.85, + "start_line": 45, + "end_line": 47, + "matched_length": 22, + "match_coverage": 33.85, + "matcher": "3-seq", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_689.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_689.RULE", + "referenced_filenames": [ + "LICENSE-2.0.txt", + "NOTICE.TXT" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 65, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "b109c41b-dc8b-5301-5c83-09b7b64f5059", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 44, + "end_line": 44, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_35.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 44, + "end_line": 44, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_322.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 39.47, + "start_line": 45, + "end_line": 45, + "matched_length": 15, + "match_coverage": 39.47, + "matcher": "3-seq", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1112.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 38, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 40.0, + "start_line": 45, + "end_line": 45, + "matched_length": 14, + "match_coverage": 40.0, + "matcher": "3-seq", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_842.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 35, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 100.0, + "start_line": 47, + "end_line": 47, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_182.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_182.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "85fd4f2f-af55-4aed-03d9-86d8c06bef05", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 53, + "end_line": 53, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_35.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 53, + "end_line": 53, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_322.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 42.11, + "start_line": 53, + "end_line": 54, + "matched_length": 16, + "match_coverage": 42.11, + "matcher": "3-seq", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1112.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 38, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 100.0, + "start_line": 54, + "end_line": 54, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_20.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_20.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "185ee88a-b361-c631-330a-31ef36f48039", + "license_expression": "apache-2.0", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 92.68, + "start_line": 59, + "end_line": 60, + "matched_length": 38, + "match_coverage": 100.0, + "matcher": "3-seq", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1112.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 38, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 48.57, + "start_line": 59, + "end_line": 60, + "matched_length": 17, + "match_coverage": 48.57, + "matcher": "3-seq", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_842.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 35, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "f1d35b57-fc37-e01b-67c0-ff901ec607b2", + "license_expression": "(epl-2.0 OR apache-2.0) AND apache-2.0 AND epl-2.0", + "occurance_count": 1, + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 71, + "end_line": 71, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_35.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 28.0, + "start_line": 71, + "end_line": 72, + "matched_length": 14, + "match_coverage": 28.0, + "matcher": "3-seq", + "license_expression": "epl-2.0 OR apache-2.0", + "rule_identifier": "epl-2.0_or_apache-2.0_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_or_apache-2.0_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 50, + "rule_relevance": 100, + "licenses": [ + { + "key": "epl-2.0", + "name": "Eclipse Public License 2.0", + "short_name": "EPL 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Eclipse Foundation", + "homepage_url": "https://www.eclipse.org/legal/epl-2.0/", + "text_url": "https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/epl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-2.0.LICENSE", + "spdx_license_key": "EPL-2.0", + "spdx_url": "https://spdx.org/licenses/EPL-2.0" + }, + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 36.84, + "start_line": 71, + "end_line": 72, + "matched_length": 14, + "match_coverage": 36.84, + "matcher": "3-seq", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1112.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 38, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 30.43, + "start_line": 72, + "end_line": 72, + "matched_length": 21, + "match_coverage": 30.43, + "matcher": "3-seq", + "license_expression": "epl-2.0", + "rule_identifier": "epl-2.0_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 69, + "rule_relevance": 100, + "licenses": [ + { + "key": "epl-2.0", + "name": "Eclipse Public License 2.0", + "short_name": "EPL 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Eclipse Foundation", + "homepage_url": "https://www.eclipse.org/legal/epl-2.0/", + "text_url": "https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/epl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-2.0.LICENSE", + "spdx_license_key": "EPL-2.0", + "spdx_url": "https://spdx.org/licenses/EPL-2.0" + } + ] + } + ] + }, + { + "identifier": "7e99df1e-faa6-aea3-5280-d3a36ed87c16", + "license_expression": "epl-1.0", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 96.69, + "start_line": 12, + "end_line": 25, + "matched_length": 146, + "match_coverage": 96.69, + "matcher": "3-seq", + "license_expression": "epl-1.0", + "rule_identifier": "epl-1.0_3.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 151, + "rule_relevance": 100, + "licenses": [ + { + "key": "epl-1.0", + "name": "Eclipse Public License 1.0", + "short_name": "EPL 1.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Eclipse Foundation", + "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", + "text_url": "http://www.eclipse.org/legal/epl-v10.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", + "spdx_license_key": "EPL-1.0", + "spdx_url": "https://spdx.org/licenses/EPL-1.0" + } + ] + }, + { + "score": 100.0, + "start_line": 17, + "end_line": 17, + "matched_length": 8, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "epl-1.0", + "rule_identifier": "epl-1.0_7.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "licenses": [ + { + "key": "epl-1.0", + "name": "Eclipse Public License 1.0", + "short_name": "EPL 1.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Eclipse Foundation", + "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", + "text_url": "http://www.eclipse.org/legal/epl-v10.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", + "spdx_license_key": "EPL-1.0", + "spdx_url": "https://spdx.org/licenses/EPL-1.0" + } + ] + } + ] + }, + { + "identifier": "5502d99b-f332-cf59-5e87-59714bf42486", + "license_expression": "cpl-1.0", + "occurance_count": 1, + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 40, + "end_line": 40, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_35.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 41, + "end_line": 41, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cpl-1.0", + "rule_identifier": "cpl-1.0_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_5.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "cpl-1.0", + "name": "Common Public License 1.0", + "short_name": "CPL 1.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "IBM", + "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", + "text_url": "http://www.eclipse.org/legal/cpl-v10.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cpl-1.0.LICENSE", + "spdx_license_key": "CPL-1.0", + "spdx_url": "https://spdx.org/licenses/CPL-1.0" + } + ] + }, + { + "score": 75.0, + "start_line": 41, + "end_line": 41, + "matched_length": 18, + "match_coverage": 75.0, + "matcher": "3-seq", + "license_expression": "cpl-1.0", + "rule_identifier": "cpl-1.0_14.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_14.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 24, + "rule_relevance": 100, + "licenses": [ + { + "key": "cpl-1.0", + "name": "Common Public License 1.0", + "short_name": "CPL 1.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "IBM", + "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", + "text_url": "http://www.eclipse.org/legal/cpl-v10.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cpl-1.0.LICENSE", + "spdx_license_key": "CPL-1.0", + "spdx_url": "https://spdx.org/licenses/CPL-1.0" + } + ] + } + ] + }, + { + "identifier": "f76d24d8-c42a-51a2-5be0-b1bee6618afc", + "license_expression": "bsd-new", + "occurance_count": 1, + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 53, + "end_line": 53, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_35.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 53, + "end_line": 54, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_119.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_119.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] + }, + { + "score": 100.0, + "start_line": 57, + "end_line": 59, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_103.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_103.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] + }, + { + "score": 99.0, + "start_line": 57, + "end_line": 59, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_172.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_172.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 99, + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] + } + ] + }, + { + "identifier": "fe8a2ed4-ca73-5e9c-1a4c-974a245a78b2", + "license_expression": "bsd-new", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 64, + "end_line": 85, + "matched_length": 211, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_860.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_860.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 211, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] + } + ] + }, + { + "identifier": "f0e5933e-cc7c-4c33-eb43-c0d66389bf17", + "license_expression": "cpl-1.0", + "occurance_count": 1, + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 39, + "end_line": 39, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_35.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 40, + "end_line": 40, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cpl-1.0", + "rule_identifier": "cpl-1.0_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_5.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "cpl-1.0", + "name": "Common Public License 1.0", + "short_name": "CPL 1.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "IBM", + "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", + "text_url": "http://www.eclipse.org/legal/cpl-v10.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cpl-1.0.LICENSE", + "spdx_license_key": "CPL-1.0", + "spdx_url": "https://spdx.org/licenses/CPL-1.0" + } + ] + }, + { + "score": 75.0, + "start_line": 40, + "end_line": 40, + "matched_length": 18, + "match_coverage": 75.0, + "matcher": "3-seq", + "license_expression": "cpl-1.0", + "rule_identifier": "cpl-1.0_14.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_14.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 24, + "rule_relevance": 100, + "licenses": [ + { + "key": "cpl-1.0", + "name": "Common Public License 1.0", + "short_name": "CPL 1.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "IBM", + "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", + "text_url": "http://www.eclipse.org/legal/cpl-v10.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cpl-1.0.LICENSE", + "spdx_license_key": "CPL-1.0", + "spdx_url": "https://spdx.org/licenses/CPL-1.0" + } + ] + }, + { + "score": 100.0, + "start_line": 41, + "end_line": 41, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cpl-1.0", + "rule_identifier": "cpl-1.0_24.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_24.RULE", + "referenced_filenames": [ + "cpl-v10.html" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "cpl-1.0", + "name": "Common Public License 1.0", + "short_name": "CPL 1.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "IBM", + "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", + "text_url": "http://www.eclipse.org/legal/cpl-v10.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cpl-1.0.LICENSE", + "spdx_license_key": "CPL-1.0", + "spdx_url": "https://spdx.org/licenses/CPL-1.0" + } + ] + } + ] + } + ], "files": [ { "path": "about_1.html", @@ -332,6 +1806,11 @@ ], "license_clues": [], "percentage_of_license_text": 52.82, + "for_licenses": [ + "1867eafe-a258-cbb4-408f-2bd33d02ee23", + "b414489c-d2f7-2207-9e37-ea197f00d317", + "53c14ef2-2b41-3f63-1dbb-e3a1efbd1e8d" + ], "scan_errors": [] }, { @@ -1154,6 +2633,15 @@ ], "license_clues": [], "percentage_of_license_text": 42.91, + "for_licenses": [ + "1867eafe-a258-cbb4-408f-2bd33d02ee23", + "b414489c-d2f7-2207-9e37-ea197f00d317", + "b109c41b-dc8b-5301-5c83-09b7b64f5059", + "85fd4f2f-af55-4aed-03d9-86d8c06bef05", + "185ee88a-b361-c631-330a-31ef36f48039", + "185ee88a-b361-c631-330a-31ef36f48039", + "f1d35b57-fc37-e01b-67c0-ff901ec607b2" + ], "scan_errors": [] }, { @@ -1567,6 +3055,12 @@ ], "license_clues": [], "percentage_of_license_text": 50.37, + "for_licenses": [ + "7e99df1e-faa6-aea3-5280-d3a36ed87c16", + "5502d99b-f332-cf59-5e87-59714bf42486", + "f76d24d8-c42a-51a2-5be0-b1bee6618afc", + "fe8a2ed4-ca73-5e9c-1a4c-974a245a78b2" + ], "scan_errors": [] }, { @@ -1818,6 +3312,10 @@ ], "license_clues": [], "percentage_of_license_text": 47.22, + "for_licenses": [ + "7e99df1e-faa6-aea3-5280-d3a36ed87c16", + "f0e5933e-cc7c-4c33-eb43-c0d66389bf17" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json index cea6266e154..7e2b1f88961 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json @@ -1,4 +1,88 @@ { + "licenses": [ + { + "identifier": "269715cc-0554-3f26-8832-1c4eb6145143", + "license_expression": "epl-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 6, + "matched_length": 31, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "epl-2.0", + "rule_identifier": "epl-2.0_56.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_56.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 31, + "rule_relevance": 100, + "licenses": [ + { + "key": "epl-2.0", + "name": "Eclipse Public License 2.0", + "short_name": "EPL 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Eclipse Foundation", + "homepage_url": "https://www.eclipse.org/legal/epl-2.0/", + "text_url": "https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/epl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-2.0.LICENSE", + "spdx_license_key": "EPL-2.0", + "spdx_url": "https://spdx.org/licenses/EPL-2.0" + } + ] + }, + { + "score": 100.0, + "start_line": 8, + "end_line": 8, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "epl-2.0", + "rule_identifier": "spdx-license-identifier: epl-2.0", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "epl-2.0", + "name": "Eclipse Public License 2.0", + "short_name": "EPL 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Eclipse Foundation", + "homepage_url": "https://www.eclipse.org/legal/epl-2.0/", + "text_url": "https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/epl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-2.0.LICENSE", + "spdx_license_key": "EPL-2.0", + "spdx_url": "https://spdx.org/licenses/EPL-2.0" + } + ] + } + ], + "occurance_count": 1 + } + ], "files": [ { "path": "README.md", @@ -91,6 +175,9 @@ ], "license_clues": [], "percentage_of_license_text": 86.05, + "for_licenses": [ + "269715cc-0554-3f26-8832-1c4eb6145143" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json index 8885dd1c59b..99f01e5fb24 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json @@ -1,4 +1,170 @@ { + "licenses": [ + { + "identifier": "3d4ebed6-d6ff-5d71-13d5-9ae3bb5bc485", + "license_expression": "x11-lucent", + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 5, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 8, + "end_line": 14, + "matched_length": 93, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "x11-lucent", + "rule_identifier": "x11-lucent_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/x11-lucent_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 93, + "rule_relevance": 100, + "licenses": [ + { + "key": "x11-lucent", + "name": "X11-Style (Lucent)", + "short_name": "X11-Style (Lucent)", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Alcatel-Lucent", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/x11-lucent", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-lucent.LICENSE", + "spdx_license_key": "LicenseRef-scancode-x11-lucent", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-lucent.LICENSE" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "5537c6e0-e03f-c489-9ac3-243ae2274830", + "license_expression": "bzip2-libbzip-2010", + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 18, + "end_line": 18, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 5, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 25, + "end_line": 54, + "matched_length": 233, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bzip2-libbzip-2010", + "rule_identifier": "bzip2-libbzip-2010.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bzip2-libbzip-2010.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 233, + "rule_relevance": 100, + "licenses": [ + { + "key": "bzip2-libbzip-2010", + "name": "bzip2 License 2010", + "short_name": "bzip2 License 2010", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "bzip", + "homepage_url": "https://github.com/asimonov-im/bzip2/blob/master/LICENSE", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/bzip2-libbzip-2010", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE", + "spdx_license_key": "bzip2-1.0.6", + "spdx_url": "https://spdx.org/licenses/bzip2-1.0.6" + } + ] + } + ], + "occurance_count": 1 + } + ], "files": [ { "path": "LICENSE-dist.txt", @@ -173,6 +339,10 @@ ], "license_clues": [], "percentage_of_license_text": 87.73, + "for_licenses": [ + "3d4ebed6-d6ff-5d71-13d5-9ae3bb5bc485", + "5537c6e0-e03f-c489-9ac3-243ae2274830" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json index 523fd89f5a2..bccad25117b 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json @@ -1,4 +1,160 @@ { + "licenses": [ + { + "identifier": "f48a0b5f-0e8e-aa20-08c9-3b97c3f7f3e8", + "license_expression": "mit", + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 50.0, + "start_line": 9, + "end_line": 9, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 2, + "rule_relevance": 50, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 11, + "end_line": 11, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_21.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_21.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + }, + { + "score": 100.0, + "start_line": 11, + "end_line": 13, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_31.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_31.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + }, + { + "score": 100.0, + "start_line": 16, + "end_line": 20, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ], + "occurance_count": 1 + } + ], "files": [ { "path": "LICENSE.md", @@ -165,6 +321,9 @@ ], "license_clues": [], "percentage_of_license_text": 89.06, + "for_licenses": [ + "f48a0b5f-0e8e-aa20-08c9-3b97c3f7f3e8" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license_policy/policy-codebase.expected.json b/tests/licensedcode/data/plugin_license_policy/policy-codebase.expected.json index d85fc4f565e..ba7e3126f6c 100644 --- a/tests/licensedcode/data/plugin_license_policy/policy-codebase.expected.json +++ b/tests/licensedcode/data/plugin_license_policy/policy-codebase.expected.json @@ -1,4 +1,236 @@ { + "licenses": [ + { + "identifier": "f6c9c367-8633-e084-aa5e-3e7d8487b573", + "license_expression": "broadcom-commercial", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 7, + "matched_length": 42, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "broadcom-commercial", + "rule_identifier": "broadcom-commercial.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/broadcom-commercial.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "licenses": [ + { + "key": "broadcom-commercial", + "name": "Broadcom Commercial Notice", + "short_name": "Broadcom Commercial Notice", + "category": "Commercial", + "is_exception": false, + "is_unknown": false, + "owner": "Broadcom", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/broadcom-commercial", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/broadcom-commercial.LICENSE", + "spdx_license_key": "LicenseRef-scancode-broadcom-commercial", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/broadcom-commercial.LICENSE" + } + ] + } + ] + }, + { + "identifier": "5437b0fa-07f0-4b4c-88c8-7fec0448fcc9", + "license_expression": "bsd-1988", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 14, + "matched_length": 120, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-1988", + "rule_identifier": "bsd-1988.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-1988.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 120, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-1988", + "name": "BSD 1988", + "short_name": "BSD 1988", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-1988", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-1988.LICENSE", + "spdx_license_key": "LicenseRef-scancode-bsd-1988", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-1988.LICENSE" + } + ] + } + ] + }, + { + "identifier": "7dd8a798-09b4-b787-6afc-8b359bc69b38", + "license_expression": "esri-devkit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 10, + "matched_length": 51, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "esri-devkit", + "rule_identifier": "esri-devkit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/esri-devkit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 51, + "rule_relevance": 100, + "licenses": [ + { + "key": "esri-devkit", + "name": "Esri Developer Kit License", + "short_name": "Esri Developer Kit License", + "category": "Proprietary Free", + "is_exception": false, + "is_unknown": false, + "owner": "Esri", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/esri-devkit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/esri-devkit.LICENSE", + "spdx_license_key": "LicenseRef-scancode-esri-devkit", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/esri-devkit.LICENSE" + } + ] + } + ] + }, + { + "identifier": "711aae83-9be3-306c-4691-0af7f33e0017", + "license_expression": "oracle-java-ee-sdk-2010", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 89, + "matched_length": 1668, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "oracle-java-ee-sdk-2010", + "rule_identifier": "oracle-java-ee-sdk-2010.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/oracle-java-ee-sdk-2010.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1668, + "rule_relevance": 100, + "licenses": [ + { + "key": "oracle-java-ee-sdk-2010", + "name": "OTN Developer License for JAVA EE SDK", + "short_name": "OTN Developer License for JAVA EE SDK", + "category": "Proprietary Free", + "is_exception": false, + "is_unknown": false, + "owner": "Oracle Corporation", + "homepage_url": "http://www.oracle.com/technetwork/java/javase/downloads/366879", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/oracle-java-ee-sdk-2010", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/oracle-java-ee-sdk-2010.LICENSE", + "spdx_license_key": "LicenseRef-scancode-oracle-java-ee-sdk-2010", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/oracle-java-ee-sdk-2010.LICENSE" + } + ] + } + ] + }, + { + "identifier": "02fdc73a-b185-679c-4076-be7e361b3a19", + "license_expression": "rh-eula", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 124, + "matched_length": 1283, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "rh-eula", + "rule_identifier": "rh-eula.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/rh-eula.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1283, + "rule_relevance": 100, + "licenses": [ + { + "key": "rh-eula", + "name": "Red Hat EULA for Enterprise Linux and Applications", + "short_name": "Red Hat EULA", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Red Hat", + "homepage_url": "http://www.redhat.com/en/about/red-hat-end-user-license-agreements", + "text_url": "http://www.redhat.com/f/pdf/licenses/GLOBAL_EULA_RHEL_English_20101110.pdf", + "reference_url": "https://scancode-licensedb.aboutcode.org/rh-eula", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/rh-eula.LICENSE", + "spdx_license_key": "LicenseRef-scancode-rh-eula", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/rh-eula.LICENSE" + } + ] + } + ] + } + ], "files": [ { "path": "policy-codebase.tgz", @@ -25,6 +257,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "license_policy": {}, "files_count": 5, "dirs_count": 1, @@ -56,6 +289,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "license_policy": {}, "files_count": 5, "dirs_count": 0, @@ -132,6 +366,9 @@ ], "license_clues": [], "percentage_of_license_text": 84.0, + "for_licenses": [ + "f6c9c367-8633-e084-aa5e-3e7d8487b573" + ], "license_policy": { "license_key": "broadcom-commercial", "label": "Restricted License", @@ -213,6 +450,9 @@ ], "license_clues": [], "percentage_of_license_text": 93.75, + "for_licenses": [ + "5437b0fa-07f0-4b4c-88c8-7fec0448fcc9" + ], "license_policy": { "license_key": "bsd-1988", "label": "Approved License", @@ -294,6 +534,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "7dd8a798-09b4-b787-6afc-8b359bc69b38" + ], "license_policy": { "license_key": "esri-devkit", "label": "Restricted License", @@ -375,6 +618,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "711aae83-9be3-306c-4691-0af7f33e0017" + ], "license_policy": { "license_key": "oracle-java-ee-sdk-2010", "label": "Restricted License", @@ -456,6 +702,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "02fdc73a-b185-679c-4076-be7e361b3a19" + ], "license_policy": { "license_key": "rh-eula", "label": "Restricted License", diff --git a/tests/licensedcode/data/plugin_license_text/scan.expected.json b/tests/licensedcode/data/plugin_license_text/scan.expected.json index ad2ebcccf0c..97fb653f44e 100644 --- a/tests/licensedcode/data/plugin_license_text/scan.expected.json +++ b/tests/licensedcode/data/plugin_license_text/scan.expected.json @@ -1,4 +1,222 @@ { + "licenses": [ + { + "identifier": "467418ea-42a8-45bb-a30e-a9fcb411f2bb", + "license_expression": "apache-1.0", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 8, + "end_line": 58, + "matched_length": 368, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-1.0", + "rule_identifier": "apache-1.0.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.0.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 368, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-1.0", + "name": "Apache License 1.0", + "short_name": "Apache 1.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-1.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-1.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", + "spdx_license_key": "Apache-1.0", + "spdx_url": "https://spdx.org/licenses/Apache-1.0" + } + ] + } + ] + }, + { + "identifier": "303cd8fe-cdb4-d62a-6a7b-306e31fce477", + "license_expression": "ja-sig", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 13, + "matched_length": 212, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "ja-sig", + "rule_identifier": "ja-sig.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/ja-sig.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 212, + "rule_relevance": 100, + "licenses": [ + { + "key": "ja-sig", + "name": "JA-SiG License", + "short_name": "JA-SiG License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "JA-SIG Collaborative", + "homepage_url": "http://web.archive.org/web/20040402030132/http://uportal.org/license.html", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/ja-sig", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ja-sig.LICENSE", + "spdx_license_key": "LicenseRef-scancode-ja-sig", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ja-sig.LICENSE" + } + ] + } + ] + }, + { + "identifier": "c2a02f69-4a86-e4f0-bdc9-55915fe527db", + "license_expression": "apache-2.0", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 18, + "end_line": 31, + "matched_length": 119, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "041f32d1-6cb1-f9fa-a580-14f3958007f0", + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 13, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 13, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + }, + { + "key": "linux-syscall-exception-gpl", + "name": "Linux Syscall Exception to GPL", + "short_name": "Linux Syscall Exception to GPL", + "category": "Copyleft Limited", + "is_exception": true, + "is_unknown": false, + "owner": "Linux Foundation", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", + "spdx_license_key": "Linux-syscall-note", + "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" + }, + { + "key": "linux-openib", + "name": "Linux-OpenIB", + "short_name": "Linux-OpenIB", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Linux Foundation", + "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", + "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", + "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", + "spdx_license_key": "Linux-OpenIB", + "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" + } + ] + } + ] + } + ], "files": [ { "path": "scan", @@ -24,6 +242,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "is_license_text": false, "files_count": 5, "dirs_count": 0, @@ -100,6 +319,9 @@ ], "license_clues": [], "percentage_of_license_text": 96.08, + "for_licenses": [ + "467418ea-42a8-45bb-a30e-a9fcb411f2bb" + ], "is_license_text": true, "files_count": 0, "dirs_count": 0, @@ -176,6 +398,9 @@ ], "license_clues": [], "percentage_of_license_text": 40.98, + "for_licenses": [ + "467418ea-42a8-45bb-a30e-a9fcb411f2bb" + ], "is_license_text": false, "files_count": 0, "dirs_count": 0, @@ -299,6 +524,10 @@ ], "license_clues": [], "percentage_of_license_text": 91.69, + "for_licenses": [ + "303cd8fe-cdb4-d62a-6a7b-306e31fce477", + "c2a02f69-4a86-e4f0-bdc9-55915fe527db" + ], "is_license_text": true, "files_count": 0, "dirs_count": 0, @@ -405,6 +634,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "041f32d1-6cb1-f9fa-a580-14f3958007f0" + ], "is_license_text": true, "files_count": 0, "dirs_count": 0, @@ -528,6 +760,10 @@ ], "license_clues": [], "percentage_of_license_text": 30.71, + "for_licenses": [ + "303cd8fe-cdb4-d62a-6a7b-306e31fce477", + "c2a02f69-4a86-e4f0-bdc9-55915fe527db" + ], "is_license_text": false, "files_count": 0, "dirs_count": 0, diff --git a/tests/licensedcode/data/plugin_licenses_reference/license-reference-works-with-clues.expected.json b/tests/licensedcode/data/plugin_licenses_reference/license-reference-works-with-clues.expected.json index 938936b2908..55aafef8e6a 100644 --- a/tests/licensedcode/data/plugin_licenses_reference/license-reference-works-with-clues.expected.json +++ b/tests/licensedcode/data/plugin_licenses_reference/license-reference-works-with-clues.expected.json @@ -1,4 +1,1109 @@ { + "licenses": [ + { + "identifier": "f9a5ba7d-9d66-5878-a0bd-1afe42fe0bd9", + "license_expression": "python", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 23, + "end_line": 26, + "matched_length": 35, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "python", + "rule_identifier": "python_not_not-a-license_269.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_not_not-a-license_269.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 35, + "rule_relevance": 100, + "licenses": [ + { + "key": "python", + "name": "Python Software Foundation License v2", + "short_name": "Python License 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Python Software Foundation (PSF)", + "homepage_url": "http://docs.python.org/license.html", + "text_url": "http://spdx.org/licenses/Python-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/python", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python.LICENSE", + "spdx_license_key": "Python-2.0", + "spdx_url": "https://spdx.org/licenses/Python-2.0" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "a9ef94dc-a60e-21b6-82b8-77454e7751c0", + "license_expression": "other-copyleft AND gpl-1.0-plus", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 80.0, + "start_line": 62, + "end_line": 62, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "other-copyleft", + "rule_identifier": "other-copyleft_24.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 80, + "licenses": [ + { + "key": "other-copyleft", + "name": "Other Copyleft Licenses", + "short_name": "Other Copyleft Licenses", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "nexB", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/other-copyleft", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE", + "spdx_license_key": "LicenseRef-scancode-other-copyleft", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 62, + "end_line": 63, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_200.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_200.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] + }, + { + "score": 85.0, + "start_line": 63, + "end_line": 63, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_351.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 85, + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] + }, + { + "score": 85.0, + "start_line": 64, + "end_line": 65, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_351.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 85, + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] + }, + { + "score": 80.0, + "start_line": 65, + "end_line": 65, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "other-copyleft", + "rule_identifier": "other-copyleft_24.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 80, + "licenses": [ + { + "key": "other-copyleft", + "name": "Other Copyleft Licenses", + "short_name": "Other Copyleft Licenses", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "nexB", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/other-copyleft", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE", + "spdx_license_key": "LicenseRef-scancode-other-copyleft", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 66, + "end_line": 66, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_194.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_194.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] + }, + { + "score": 80.0, + "start_line": 68, + "end_line": 68, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "other-copyleft", + "rule_identifier": "other-copyleft_24.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 80, + "licenses": [ + { + "key": "other-copyleft", + "name": "Other Copyleft Licenses", + "short_name": "Other Copyleft Licenses", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "nexB", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/other-copyleft", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE", + "spdx_license_key": "LicenseRef-scancode-other-copyleft", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE" + } + ] + }, + { + "score": 85.0, + "start_line": 71, + "end_line": 71, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_351.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 85, + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "3136274a-0a35-5bea-9531-6e328486ea3b", + "license_expression": "python AND python-cwi", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 90.52, + "start_line": 77, + "end_line": 255, + "matched_length": 1385, + "match_coverage": 90.52, + "matcher": "3-seq", + "license_expression": "python", + "rule_identifier": "python_2019.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_2019.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1530, + "rule_relevance": 100, + "licenses": [ + { + "key": "python", + "name": "Python Software Foundation License v2", + "short_name": "Python License 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Python Software Foundation (PSF)", + "homepage_url": "http://docs.python.org/license.html", + "text_url": "http://spdx.org/licenses/Python-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/python", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python.LICENSE", + "spdx_license_key": "Python-2.0", + "spdx_url": "https://spdx.org/licenses/Python-2.0" + } + ] + }, + { + "score": 100.0, + "start_line": 257, + "end_line": 272, + "matched_length": 145, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "python-cwi", + "rule_identifier": "python-cwi.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python-cwi.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 145, + "rule_relevance": 100, + "licenses": [ + { + "key": "python-cwi", + "name": "Python CWI License Agreement", + "short_name": "Python CWI License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Python Software Foundation (PSF)", + "homepage_url": "http://docs.python.org/license.html", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/python-cwi", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python-cwi.LICENSE", + "spdx_license_key": "LicenseRef-scancode-python-cwi", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python-cwi.LICENSE" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "4854df4f-b9f8-1a96-92bd-44873ee7c7c5", + "license_expression": "bzip2-libbzip-2010", + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 274, + "end_line": 274, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 281, + "end_line": 310, + "matched_length": 233, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bzip2-libbzip-2010", + "rule_identifier": "bzip2-libbzip-2010.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bzip2-libbzip-2010.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 233, + "rule_relevance": 100, + "licenses": [ + { + "key": "bzip2-libbzip-2010", + "name": "bzip2 License 2010", + "short_name": "bzip2 License 2010", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "bzip", + "homepage_url": "https://github.com/asimonov-im/bzip2/blob/master/LICENSE", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/bzip2-libbzip-2010", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE", + "spdx_license_key": "bzip2-1.0.6", + "spdx_url": "https://spdx.org/licenses/bzip2-1.0.6" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "82c2d26c-feb1-2257-3b27-0e92e4721958", + "license_expression": "sleepycat", + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 317, + "end_line": 317, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 334, + "end_line": 351, + "matched_length": 174, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "sleepycat", + "rule_identifier": "sleepycat_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/sleepycat_5.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 174, + "rule_relevance": 100, + "licenses": [ + { + "key": "sleepycat", + "name": "Sleepycat License (Berkeley Database License)", + "short_name": "Sleepycat License", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Oracle Corporation", + "homepage_url": "http://opensource.org/licenses/sleepycat.html", + "text_url": "http://www.oracle.com/technology/software/products/berkeley-db/htdocs/oslicense.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/sleepycat", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/sleepycat.LICENSE", + "spdx_license_key": "Sleepycat", + "spdx_url": "https://spdx.org/licenses/Sleepycat" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "d90f717a-d127-c345-d8a9-dc828c2be7e6", + "license_expression": "bsd-simplified", + "detection_log": [ + "license-clues", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 33.71, + "start_line": 358, + "end_line": 363, + "matched_length": 59, + "match_coverage": 33.71, + "matcher": "3-seq", + "license_expression": "bsd-simplified", + "rule_identifier": "bsd-simplified_242.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_242.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 175, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-simplified", + "name": "BSD-2-Clause", + "short_name": "BSD-2-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", + "text_url": "http://opensource.org/licenses/bsd-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", + "spdx_license_key": "BSD-2-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "e65e2324-d4b0-5ad8-3314-a798683d13e3", + "license_expression": "bsd-new", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 369, + "end_line": 391, + "matched_length": 213, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_19.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_19.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 213, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "4c57e726-e851-a66a-1dbe-d6106bcb4751", + "license_expression": "bsd-new", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 397, + "end_line": 419, + "matched_length": 213, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_943.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_943.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 213, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "7a0dc499-dddd-4bf1-2d0d-9a84c910b0bc", + "license_expression": "openssl-ssleay", + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 422, + "end_line": 422, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 428, + "end_line": 432, + "matched_length": 56, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "openssl-ssleay", + "rule_identifier": "openssl-ssleay_43.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_43.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 56, + "rule_relevance": 100, + "licenses": [ + { + "key": "openssl-ssleay", + "name": "OpenSSL/SSLeay License", + "short_name": "OpenSSL/SSLeay License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "OpenSSL", + "homepage_url": "http://www.openssl.org/source/license.html", + "text_url": "http://www.openssl.org/source/license.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/openssl-ssleay", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl-ssleay.LICENSE", + "spdx_license_key": "OpenSSL", + "spdx_url": "https://spdx.org/licenses/OpenSSL" + } + ] + }, + { + "score": 100.0, + "start_line": 434, + "end_line": 434, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "openssl-ssleay", + "rule_identifier": "openssl-ssleay_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "licenses": [ + { + "key": "openssl-ssleay", + "name": "OpenSSL/SSLeay License", + "short_name": "OpenSSL/SSLeay License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "OpenSSL", + "homepage_url": "http://www.openssl.org/source/license.html", + "text_url": "http://www.openssl.org/source/license.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/openssl-ssleay", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl-ssleay.LICENSE", + "spdx_license_key": "OpenSSL", + "spdx_url": "https://spdx.org/licenses/OpenSSL" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "dacfdecf-b752-23a6-37ba-f98e7d93554a", + "license_expression": "openssl", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 440, + "end_line": 487, + "matched_length": 332, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "openssl", + "rule_identifier": "openssl_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 332, + "rule_relevance": 100, + "licenses": [ + { + "key": "openssl", + "name": "OpenSSL License", + "short_name": "OpenSSL License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "OpenSSL", + "homepage_url": "http://openssl.org/source/license.html", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/openssl", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl.LICENSE", + "spdx_license_key": "LicenseRef-scancode-openssl", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl.LICENSE" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "50e05b6f-8602-75e7-7568-c3b4e72fec38", + "license_expression": "ssleay-windows", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 497, + "end_line": 548, + "matched_length": 453, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "ssleay-windows", + "rule_identifier": "ssleay-windows.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/ssleay-windows.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 453, + "rule_relevance": 100, + "licenses": [ + { + "key": "ssleay-windows", + "name": "Original SSLeay License with Windows Clause", + "short_name": "Original SSLeay License with Windows Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "OpenSSL", + "homepage_url": "https://www.openssl.org/source/license.html", + "text_url": "http://www.openssl.org/source/license.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/ssleay-windows", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ssleay-windows.LICENSE", + "spdx_license_key": "LicenseRef-scancode-ssleay-windows", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ssleay-windows.LICENSE" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "d352cc42-40ca-8f87-931e-725ee0a85c3e", + "license_expression": "tcl", + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 552, + "end_line": 552, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 554, + "end_line": 593, + "matched_length": 345, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "tcl", + "rule_identifier": "tcl.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/tcl.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 345, + "rule_relevance": 100, + "licenses": [ + { + "key": "tcl", + "name": "TCL/TK License", + "short_name": "TCL/TK License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Tcl Developer Xchange", + "homepage_url": "http://www.tcl.tk/software/tcltk/license.html", + "text_url": "http://www.tcl.tk/software/tcltk/license.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/tcl", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/tcl.LICENSE", + "spdx_license_key": "TCL", + "spdx_url": "https://spdx.org/licenses/TCL" + } + ] + } + ], + "occurance_count": 1 + }, + { + "identifier": "e49b63d5-028c-f39c-035e-68c9e6c60e34", + "license_expression": "tcl", + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 595, + "end_line": 595, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 597, + "end_line": 635, + "matched_length": 341, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "tcl", + "rule_identifier": "tcl_14.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/tcl_14.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 341, + "rule_relevance": 100, + "licenses": [ + { + "key": "tcl", + "name": "TCL/TK License", + "short_name": "TCL/TK License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Tcl Developer Xchange", + "homepage_url": "http://www.tcl.tk/software/tcltk/license.html", + "text_url": "http://www.tcl.tk/software/tcltk/license.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/tcl", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/tcl.LICENSE", + "spdx_license_key": "TCL", + "spdx_url": "https://spdx.org/licenses/TCL" + } + ] + } + ], + "occurance_count": 1 + } + ], "license_references": [ { "key": "bsd-new", @@ -994,6 +2099,21 @@ ], "license_clues": [], "percentage_of_license_text": 83.64, + "for_licenses": [ + "f9a5ba7d-9d66-5878-a0bd-1afe42fe0bd9", + "a9ef94dc-a60e-21b6-82b8-77454e7751c0", + "3136274a-0a35-5bea-9531-6e328486ea3b", + "4854df4f-b9f8-1a96-92bd-44873ee7c7c5", + "82c2d26c-feb1-2257-3b27-0e92e4721958", + "d90f717a-d127-c345-d8a9-dc828c2be7e6", + "e65e2324-d4b0-5ad8-3314-a798683d13e3", + "4c57e726-e851-a66a-1dbe-d6106bcb4751", + "7a0dc499-dddd-4bf1-2d0d-9a84c910b0bc", + "dacfdecf-b752-23a6-37ba-f98e7d93554a", + "50e05b6f-8602-75e7-7568-c3b4e72fec38", + "d352cc42-40ca-8f87-931e-725ee0a85c3e", + "e49b63d5-028c-f39c-035e-68c9e6c60e34" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_licenses_reference/scan-matched-text-with-reference.expected.json b/tests/licensedcode/data/plugin_licenses_reference/scan-matched-text-with-reference.expected.json index 8cb77449306..8049986915c 100644 --- a/tests/licensedcode/data/plugin_licenses_reference/scan-matched-text-with-reference.expected.json +++ b/tests/licensedcode/data/plugin_licenses_reference/scan-matched-text-with-reference.expected.json @@ -1,4 +1,212 @@ { + "licenses": [ + { + "identifier": "6bc05a2e-db2d-cf02-757a-3805bbf81f2e", + "license_expression": "apache-2.0 AND (mit OR bsd-simplified)", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 16, + "matched_length": 119, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 100.0, + "start_line": 19, + "end_line": 19, + "matched_length": 8, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "mit OR bsd-simplified", + "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + }, + { + "key": "bsd-simplified", + "name": "BSD-2-Clause", + "short_name": "BSD-2-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", + "text_url": "http://opensource.org/licenses/bsd-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", + "spdx_license_key": "BSD-2-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" + } + ] + } + ] + }, + { + "identifier": "c69ba991-eda9-d458-568a-670d821906e2", + "license_expression": "artistic-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 28, + "end_line": 28, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "artistic-2.0", + "name": "Artistic License 2.0", + "short_name": "Artistic 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "text_url": "https://www.perlfoundation.org/artistic_license_2_0", + "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", + "spdx_license_key": "Artistic-2.0", + "spdx_url": "https://spdx.org/licenses/Artistic-2.0" + } + ] + } + ] + }, + { + "identifier": "2bc704cf-ef68-50b0-a7f0-b3a137ac7246", + "license_expression": "artistic-2.0 OR mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "artistic-2.0 OR mit", + "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "licenses": [ + { + "key": "artistic-2.0", + "name": "Artistic License 2.0", + "short_name": "Artistic 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "text_url": "https://www.perlfoundation.org/artistic_license_2_0", + "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", + "spdx_license_key": "Artistic-2.0", + "spdx_url": "https://spdx.org/licenses/Artistic-2.0" + }, + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ] + } + ], "dependencies": [], "packages": [ { @@ -259,6 +467,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -302,6 +511,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "6bc05a2e-db2d-cf02-757a-3805bbf81f2e" + ], "package_data": [], "for_packages": [ "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -336,6 +548,10 @@ ], "license_clues": [], "percentage_of_license_text": 5.0, + "for_licenses": [ + "c69ba991-eda9-d458-568a-670d821906e2", + "2bc704cf-ef68-50b0-a7f0-b3a137ac7246" + ], "package_data": [ { "type": "npm", diff --git a/tests/licensedcode/data/plugin_licenses_reference/scan-with-reference.expected.json b/tests/licensedcode/data/plugin_licenses_reference/scan-with-reference.expected.json index c99d563b8b5..2dfd0bcf45a 100644 --- a/tests/licensedcode/data/plugin_licenses_reference/scan-with-reference.expected.json +++ b/tests/licensedcode/data/plugin_licenses_reference/scan-with-reference.expected.json @@ -1,4 +1,212 @@ { + "licenses": [ + { + "identifier": "43444665-1eb3-02f0-09a9-336b2186d8ce", + "license_expression": "apache-2.0 AND (mit OR bsd-simplified)", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 16, + "matched_length": 119, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 100.0, + "start_line": 19, + "end_line": 19, + "matched_length": 8, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "mit OR bsd-simplified", + "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + }, + { + "key": "bsd-simplified", + "name": "BSD-2-Clause", + "short_name": "BSD-2-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", + "text_url": "http://opensource.org/licenses/bsd-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", + "spdx_license_key": "BSD-2-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" + } + ] + } + ] + }, + { + "identifier": "8755d5fd-6521-04e7-ace1-4344b99647e3", + "license_expression": "artistic-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 28, + "end_line": 28, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "artistic-2.0", + "name": "Artistic License 2.0", + "short_name": "Artistic 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "text_url": "https://www.perlfoundation.org/artistic_license_2_0", + "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", + "spdx_license_key": "Artistic-2.0", + "spdx_url": "https://spdx.org/licenses/Artistic-2.0" + } + ] + } + ] + }, + { + "identifier": "2bc704cf-ef68-50b0-a7f0-b3a137ac7246", + "license_expression": "artistic-2.0 OR mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "artistic-2.0 OR mit", + "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "licenses": [ + { + "key": "artistic-2.0", + "name": "Artistic License 2.0", + "short_name": "Artistic 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "text_url": "https://www.perlfoundation.org/artistic_license_2_0", + "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", + "spdx_license_key": "Artistic-2.0", + "spdx_url": "https://spdx.org/licenses/Artistic-2.0" + }, + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ] + } + ], "dependencies": [], "packages": [ { @@ -256,6 +464,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -299,6 +508,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "43444665-1eb3-02f0-09a9-336b2186d8ce" + ], "package_data": [], "for_packages": [ "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -333,6 +545,10 @@ ], "license_clues": [], "percentage_of_license_text": 5.0, + "for_licenses": [ + "8755d5fd-6521-04e7-ace1-4344b99647e3", + "2bc704cf-ef68-50b0-a7f0-b3a137ac7246" + ], "package_data": [ { "type": "npm", diff --git a/tests/licensedcode/data/plugin_licenses_reference/scan-without-reference.expected.json b/tests/licensedcode/data/plugin_licenses_reference/scan-without-reference.expected.json index 19962965c4b..b801d906434 100644 --- a/tests/licensedcode/data/plugin_licenses_reference/scan-without-reference.expected.json +++ b/tests/licensedcode/data/plugin_licenses_reference/scan-without-reference.expected.json @@ -1,4 +1,212 @@ { + "licenses": [ + { + "identifier": "43444665-1eb3-02f0-09a9-336b2186d8ce", + "license_expression": "apache-2.0 AND (mit OR bsd-simplified)", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 16, + "matched_length": 119, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 100.0, + "start_line": 19, + "end_line": 19, + "matched_length": 8, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "mit OR bsd-simplified", + "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + }, + { + "key": "bsd-simplified", + "name": "BSD-2-Clause", + "short_name": "BSD-2-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", + "text_url": "http://opensource.org/licenses/bsd-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", + "spdx_license_key": "BSD-2-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" + } + ] + } + ] + }, + { + "identifier": "8755d5fd-6521-04e7-ace1-4344b99647e3", + "license_expression": "artistic-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 28, + "end_line": 28, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "artistic-2.0", + "name": "Artistic License 2.0", + "short_name": "Artistic 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "text_url": "https://www.perlfoundation.org/artistic_license_2_0", + "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", + "spdx_license_key": "Artistic-2.0", + "spdx_url": "https://spdx.org/licenses/Artistic-2.0" + } + ] + } + ] + }, + { + "identifier": "2bc704cf-ef68-50b0-a7f0-b3a137ac7246", + "license_expression": "artistic-2.0 OR mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "artistic-2.0 OR mit", + "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "licenses": [ + { + "key": "artistic-2.0", + "name": "Artistic License 2.0", + "short_name": "Artistic 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "text_url": "https://www.perlfoundation.org/artistic_license_2_0", + "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", + "spdx_license_key": "Artistic-2.0", + "spdx_url": "https://spdx.org/licenses/Artistic-2.0" + }, + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ] + } + ], "dependencies": [], "packages": [ { @@ -130,6 +338,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -240,6 +449,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "43444665-1eb3-02f0-09a9-336b2186d8ce" + ], "package_data": [], "for_packages": [ "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -299,6 +511,10 @@ ], "license_clues": [], "percentage_of_license_text": 5.0, + "for_licenses": [ + "8755d5fd-6521-04e7-ace1-4344b99647e3", + "2bc704cf-ef68-50b0-a7f0-b3a137ac7246" + ], "package_data": [ { "type": "npm", diff --git a/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json b/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json index 04f9a1290c1..de5e7b1d67d 100644 --- a/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json +++ b/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json @@ -1,4 +1,54 @@ { + "licenses": [ + { + "identifier": "c2a02f69-4a86-e4f0-bdc9-55915fe527db", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 16, + "matched_length": 119, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + } + ], "dependencies": [ { "purl": "pkg:maven/commons-logging/commons-logging-api", @@ -309,6 +359,9 @@ ], "license_clues": [], "percentage_of_license_text": 22.37, + "for_licenses": [ + "c2a02f69-4a86-e4f0-bdc9-55915fe527db" + ], "package_data": [ { "type": "maven", diff --git a/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json b/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json index f89388cd2f5..6d2a35471e3 100644 --- a/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json +++ b/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json @@ -1,4 +1,52 @@ { + "licenses": [ + { + "identifier": "614261e5-1086-6652-1076-f1a96238a5c3", + "license_expression": "bsd-new", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 28, + "matched_length": 212, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_166.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 212, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] + } + ] + } + ], "dependencies": [ { "purl": "pkg:pubspec/pedantic", @@ -191,6 +239,9 @@ ], "license_clues": [], "percentage_of_license_text": 96.8, + "for_licenses": [ + "614261e5-1086-6652-1076-f1a96238a5c3" + ], "package_data": [], "for_packages": [], "scan_errors": [] @@ -203,6 +254,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [ { "type": "dart", diff --git a/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json b/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json index 74f4aa86cb1..18bbf1c2411 100644 --- a/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json +++ b/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json @@ -1,4 +1,136 @@ { + "licenses": [ + { + "identifier": "3ed7ddff-b77d-c413-8226-a98a1cfe3596", + "license_expression": "unknown-license-reference", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 13, + "end_line": 13, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + } + ] + }, + { + "identifier": "8797b332-08a7-0a37-90da-02f897152150", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_14.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + }, + { + "score": 100.0, + "start_line": 5, + "end_line": 21, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ] + } + ], "dependencies": [], "packages": [ { @@ -269,6 +401,9 @@ ], "license_clues": [], "percentage_of_license_text": 97.6, + "for_licenses": [ + "8797b332-08a7-0a37-90da-02f897152150" + ], "package_data": [], "for_packages": [], "scan_errors": [] @@ -403,6 +538,9 @@ ], "license_clues": [], "percentage_of_license_text": 2.5, + "for_licenses": [ + "3ed7ddff-b77d-c413-8226-a98a1cfe3596" + ], "package_data": [ { "type": "cocoapods", diff --git a/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json b/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json index 50b5d5dac9e..8adba8c0da4 100644 --- a/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json +++ b/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json @@ -1,4 +1,100 @@ { + "licenses": [ + { + "identifier": "fb544817-ac13-5bb2-e219-0e3bba38b9bf", + "license_expression": "zlib", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 20, + "matched_length": 132, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100, + "licenses": [ + { + "key": "zlib", + "name": "ZLIB License", + "short_name": "ZLIB License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "text_url": "http://www.gzip.org/zlib/zlib_license.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "spdx_license_key": "Zlib", + "spdx_url": "https://spdx.org/licenses/Zlib" + } + ] + } + ] + }, + { + "identifier": "750cc90c-1587-3743-f22a-e2ff2e95e077", + "license_expression": "zlib", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 14, + "end_line": 14, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_in_manifest.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE", + "referenced_filenames": [ + "LICENSE.txt" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "licenses": [ + { + "key": "zlib", + "name": "ZLIB License", + "short_name": "ZLIB License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "text_url": "http://www.gzip.org/zlib/zlib_license.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "spdx_license_key": "Zlib", + "spdx_url": "https://spdx.org/licenses/Zlib" + } + ] + } + ] + } + ], "dependencies": [], "packages": [ { @@ -195,6 +291,9 @@ ], "license_clues": [], "percentage_of_license_text": 92.31, + "for_licenses": [ + "fb544817-ac13-5bb2-e219-0e3bba38b9bf" + ], "package_data": [], "for_packages": [], "scan_errors": [] @@ -292,6 +391,10 @@ ], "license_clues": [], "percentage_of_license_text": 2.49, + "for_licenses": [ + "750cc90c-1587-3743-f22a-e2ff2e95e077", + "750cc90c-1587-3743-f22a-e2ff2e95e077" + ], "package_data": [ { "type": "cocoapods", diff --git a/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json index 1a9b83ffdb6..54aca8f99f6 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json @@ -1,4 +1,100 @@ { + "licenses": [ + { + "identifier": "b311c6a4-90ca-420f-ddb7-53c164b9bf65", + "license_expression": "free-unknown", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 11, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 11, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + } + ] + }, + { + "identifier": "8b191dea-30ee-8738-fab1-2c6dbb5d65c2", + "license_expression": "bsd-new", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.0, + "start_line": 16, + "end_line": 16, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99, + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] + } + ] + } + ], "dependencies": [], "packages": [ { @@ -170,6 +266,10 @@ ], "license_clues": [], "percentage_of_license_text": 4.03, + "for_licenses": [ + "8b191dea-30ee-8738-fab1-2c6dbb5d65c2", + "8b191dea-30ee-8738-fab1-2c6dbb5d65c2" + ], "package_data": [ { "type": "pypi", @@ -379,6 +479,9 @@ ], "license_clues": [], "percentage_of_license_text": 0.07, + "for_licenses": [ + "b311c6a4-90ca-420f-ddb7-53c164b9bf65" + ], "package_data": [], "for_packages": [ "pkg:pypi/django@1.2.5?uuid=fixed-uid-done-for-testing-5642512d1758" diff --git a/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json index e498ede0b67..1fe60bdb4bb 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json @@ -1,4 +1,1828 @@ { + "licenses": [ + { + "identifier": "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "license_expression": "gpl-2.0-plus", + "occurance_count": 21, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 297, + "end_line": 297, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0-plus", + "name": "GNU General Public License 2.0 or later", + "short_name": "GPL 2.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", + "spdx_license_key": "GPL-2.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" + } + ] + } + ] + }, + { + "identifier": "0667fcba-0434-a8b0-c381-d21e497f339e", + "license_expression": "gpl-2.0-plus AND free-unknown", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 411, + "end_line": 411, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0-plus", + "name": "GNU General Public License 2.0 or later", + "short_name": "GPL 2.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", + "spdx_license_key": "GPL-2.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 413, + "end_line": 413, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + } + ] + }, + { + "identifier": "5e7cf470-62b4-d7f2-403b-32e360af9959", + "license_expression": "bsd-new", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 441, + "end_line": 441, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_195.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] + } + ] + }, + { + "identifier": "8f13c053-ee2e-fbc9-00bd-94342ccaca54", + "license_expression": "apache-2.0 AND gpl-2.0-plus AND free-unknown", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 20.0, + "start_line": 560, + "end_line": 562, + "matched_length": 6, + "match_coverage": 20.0, + "matcher": "3-seq", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1066.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1066.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 30, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 100.0, + "start_line": 560, + "end_line": 560, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0-plus", + "name": "GNU General Public License 2.0 or later", + "short_name": "GPL 2.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", + "spdx_license_key": "GPL-2.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 562, + "end_line": 562, + "matched_length": 10, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + } + ] + }, + { + "identifier": "436a53e8-cee5-a1a3-1a63-23f72b7ecff8", + "license_expression": "lgpl-3.0-plus", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 968, + "end_line": 968, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_166.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-3.0-plus", + "name": "GNU Lesser General Public License 3.0 or later", + "short_name": "LGPL 3.0 or later", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", + "spdx_license_key": "LGPL-3.0-or-later", + "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" + } + ] + } + ] + }, + { + "identifier": "bd9559dd-d998-d270-8750-8a6673b7e089", + "license_expression": "public-domain", + "occurance_count": 1, + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 99.0, + "start_line": 1094, + "end_line": 1094, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "public-domain", + "rule_identifier": "pypi_public_domain.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 99, + "licenses": [ + { + "key": "public-domain", + "name": "Public Domain", + "short_name": "Public Domain", + "category": "Public Domain", + "is_exception": false, + "is_unknown": false, + "owner": "Unspecified", + "homepage_url": "http://www.linfo.org/publicdomain.html", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE", + "spdx_license_key": "LicenseRef-scancode-public-domain", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE" + } + ] + } + ] + }, + { + "identifier": "5b77229a-4d7f-8d90-8406-e2f0bbefad2f", + "license_expression": "gpl-2.0-plus", + "occurance_count": 1, + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1099, + "end_line": 1099, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_67.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_67.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0-plus", + "name": "GNU General Public License 2.0 or later", + "short_name": "GPL 2.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", + "spdx_license_key": "GPL-2.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" + } + ] + } + ] + }, + { + "identifier": "c653439c-e276-d2c2-c877-f4cf44461425", + "license_expression": "mit", + "occurance_count": 3, + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1429, + "end_line": 1429, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ] + }, + { + "identifier": "98ef120f-3326-ab2a-1549-8e606ef5d913", + "license_expression": "bsd-original", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1501, + "end_line": 1501, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-original", + "rule_identifier": "bsd-original_43.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-original", + "name": "BSD-Original", + "short_name": "BSD-Original", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", + "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", + "spdx_license_key": "BSD-4-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" + } + ] + } + ] + }, + { + "identifier": "3f66e975-1f1b-f709-e7a9-03ce0158276e", + "license_expression": "gpl-2.0-plus AND gpl-3.0-plus AND lgpl-2.1-plus AND lgpl-3.0-plus AND bsd-new AND bsd-original AND mit AND public-domain AND other-permissive", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1521, + "end_line": 1521, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0-plus", + "name": "GNU General Public License 2.0 or later", + "short_name": "GPL 2.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", + "spdx_license_key": "GPL-2.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 1521, + "end_line": 1521, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_89.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_89.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-3.0-plus", + "name": "GNU General Public License 3.0 or later", + "short_name": "GPL 3.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", + "spdx_license_key": "GPL-3.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 1521, + "end_line": 1521, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_64.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_64.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-2.1-plus", + "name": "GNU Lesser General Public License 2.1 or later", + "short_name": "LGPL 2.1 or later", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", + "spdx_license_key": "LGPL-2.1-or-later", + "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 1521, + "end_line": 1521, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_36.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-3.0-plus", + "name": "GNU Lesser General Public License 3.0 or later", + "short_name": "LGPL 3.0 or later", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", + "spdx_license_key": "LGPL-3.0-or-later", + "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 1521, + "end_line": 1521, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_10.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_10.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] + }, + { + "score": 100.0, + "start_line": 1521, + "end_line": 1521, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-original", + "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-original", + "name": "BSD-Original", + "short_name": "BSD-Original", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", + "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", + "spdx_license_key": "BSD-4-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" + } + ] + }, + { + "score": 100.0, + "start_line": 1523, + "end_line": 1523, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0-plus", + "name": "GNU General Public License 2.0 or later", + "short_name": "GPL 2.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", + "spdx_license_key": "GPL-2.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 1524, + "end_line": 1539, + "matched_length": 136, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_1038.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_1038.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/GPL-2" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 136, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0-plus", + "name": "GNU General Public License 2.0 or later", + "short_name": "GPL 2.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", + "spdx_license_key": "GPL-2.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 1541, + "end_line": 1541, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_92.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_92.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-3.0-plus", + "name": "GNU General Public License 3.0 or later", + "short_name": "GPL 3.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", + "spdx_license_key": "GPL-3.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 1542, + "end_line": 1557, + "matched_length": 136, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_512.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_512.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/GPL-3" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 136, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-3.0-plus", + "name": "GNU General Public License 3.0 or later", + "short_name": "GPL 3.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", + "spdx_license_key": "GPL-3.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 1559, + "end_line": 1559, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_108.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_108.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-2.1-plus", + "name": "GNU Lesser General Public License 2.1 or later", + "short_name": "LGPL 2.1 or later", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", + "spdx_license_key": "LGPL-2.1-or-later", + "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 1560, + "end_line": 1577, + "matched_length": 146, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_418.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_418.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/LGPL-2.1" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 146, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-2.1-plus", + "name": "GNU Lesser General Public License 2.1 or later", + "short_name": "LGPL 2.1 or later", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", + "spdx_license_key": "LGPL-2.1-or-later", + "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 1579, + "end_line": 1579, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + }, + { + "score": 100.0, + "start_line": 1580, + "end_line": 1596, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + }, + { + "score": 100.0, + "start_line": 1598, + "end_line": 1598, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_195.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] + }, + { + "score": 100.0, + "start_line": 1599, + "end_line": 1621, + "matched_length": 213, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_577.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_577.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 213, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] + }, + { + "score": 100.0, + "start_line": 1623, + "end_line": 1623, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-original", + "rule_identifier": "bsd-original_43.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-original", + "name": "BSD-Original", + "short_name": "BSD-Original", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", + "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", + "spdx_license_key": "BSD-4-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" + } + ] + }, + { + "score": 100.0, + "start_line": 1624, + "end_line": 1649, + "matched_length": 236, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-original", + "rule_identifier": "bsd-original_71.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_71.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 236, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-original", + "name": "BSD-Original", + "short_name": "BSD-Original", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", + "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", + "spdx_license_key": "BSD-4-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" + } + ] + }, + { + "score": 100.0, + "start_line": 1651, + "end_line": 1651, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_166.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-3.0-plus", + "name": "GNU Lesser General Public License 3.0 or later", + "short_name": "LGPL 3.0 or later", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", + "spdx_license_key": "LGPL-3.0-or-later", + "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 1652, + "end_line": 1663, + "matched_length": 105, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_189.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_189.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/LGPL-3" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 105, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-3.0-plus", + "name": "GNU Lesser General Public License 3.0 or later", + "short_name": "LGPL 3.0 or later", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", + "spdx_license_key": "LGPL-3.0-or-later", + "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" + } + ] + }, + { + "score": 99.0, + "start_line": 1665, + "end_line": 1665, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "public-domain", + "rule_identifier": "pypi_public_domain.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 99, + "licenses": [ + { + "key": "public-domain", + "name": "Public Domain", + "short_name": "Public Domain", + "category": "Public Domain", + "is_exception": false, + "is_unknown": false, + "owner": "Unspecified", + "homepage_url": "http://www.linfo.org/publicdomain.html", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE", + "spdx_license_key": "LicenseRef-scancode-public-domain", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 1666, + "end_line": 1669, + "matched_length": 40, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "other-permissive", + "rule_identifier": "other-permissive_325.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_325.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 40, + "rule_relevance": 100, + "licenses": [ + { + "key": "other-permissive", + "name": "Other Permissive Licenses", + "short_name": "Other Permissive Licenses", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "nexB", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/other-permissive", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE", + "spdx_license_key": "LicenseRef-scancode-other-permissive", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE" + } + ] + } + ] + }, + { + "identifier": "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "license_expression": "gpl-2.0-plus", + "occurance_count": 22, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2692, + "end_line": 2692, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0-plus", + "name": "GNU General Public License 2.0 or later", + "short_name": "GPL 2.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", + "spdx_license_key": "GPL-2.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" + } + ] + } + ] + }, + { + "identifier": "6d9cdb91-f72a-e66d-131a-5df68f4b8dbe", + "license_expression": "bsd-simplified", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2880, + "end_line": 2880, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-simplified", + "rule_identifier": "bsd-simplified_136.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_136.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-simplified", + "name": "BSD-2-Clause", + "short_name": "BSD-2-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", + "text_url": "http://opensource.org/licenses/bsd-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", + "spdx_license_key": "BSD-2-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" + } + ] + } + ] + }, + { + "identifier": "96ffe1b7-0393-b4ce-7307-8ea9f7b6a926", + "license_expression": "lgpl-3.0", + "occurance_count": 1, + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2925, + "end_line": 2925, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_37.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_37.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-3.0", + "name": "GNU Lesser General Public License 3.0", + "short_name": "LGPL 3.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", + "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", + "spdx_license_key": "LGPL-3.0-only", + "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" + } + ] + } + ] + }, + { + "identifier": "2fcd3356-800d-11d7-c648-c983d7089c6f", + "license_expression": "mit AND other-permissive", + "occurance_count": 1, + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 90.0, + "start_line": 3010, + "end_line": 3010, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_221.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_221.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 90, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + }, + { + "score": 100.0, + "start_line": 3010, + "end_line": 3010, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "other-permissive", + "rule_identifier": "other-permissive_16.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_16.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "licenses": [ + { + "key": "other-permissive", + "name": "Other Permissive Licenses", + "short_name": "Other Permissive Licenses", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "nexB", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/other-permissive", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE", + "spdx_license_key": "LicenseRef-scancode-other-permissive", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE" + } + ] + } + ] + }, + { + "identifier": "97b7b447-cbd8-46bc-d573-acd1c32c3e4d", + "license_expression": "public-domain AND bsd-original AND gpl-1.0-plus", + "occurance_count": 1, + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 99.0, + "start_line": 3016, + "end_line": 3016, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "public-domain", + "rule_identifier": "pypi_public_domain.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 99, + "licenses": [ + { + "key": "public-domain", + "name": "Public Domain", + "short_name": "Public Domain", + "category": "Public Domain", + "is_exception": false, + "is_unknown": false, + "owner": "Unspecified", + "homepage_url": "http://www.linfo.org/publicdomain.html", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE", + "spdx_license_key": "LicenseRef-scancode-public-domain", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 3016, + "end_line": 3016, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-original", + "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-original", + "name": "BSD-Original", + "short_name": "BSD-Original", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", + "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", + "spdx_license_key": "BSD-4-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" + } + ] + }, + { + "score": 50.0, + "start_line": 3016, + "end_line": 3016, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_bare_word_only.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 50, + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] + } + ] + }, + { + "identifier": "36666984-5064-88c2-90a6-dc14744d84f0", + "license_expression": null, + "occurance_count": 1, + "detection_log": [ + "license-clues" + ], + "matches": [ + { + "score": 4.71, + "start_line": 1, + "end_line": 3, + "matched_length": 4, + "match_coverage": 4.71, + "matcher": "3-seq", + "license_expression": "borceux", + "rule_identifier": "borceux.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/borceux.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100, + "licenses": [ + { + "key": "borceux", + "name": "Borceux License", + "short_name": "Borceux License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Francis Borceux", + "homepage_url": "https://fedoraproject.org/wiki/Licensing/Borceux", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/borceux", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/borceux.LICENSE", + "spdx_license_key": "Borceux", + "spdx_url": "https://spdx.org/licenses/Borceux" + } + ] + } + ] + }, + { + "identifier": "142f3261-5728-9933-74c7-7e8aa278ff6d", + "license_expression": "free-unknown", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 10, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + } + ] + }, + { + "identifier": "b311c6a4-90ca-420f-ddb7-53c164b9bf65", + "license_expression": "free-unknown", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 11, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 11, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + } + ] + } + ], "dependencies": [], "packages": [ { @@ -4664,6 +6488,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -4776,6 +6601,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -4926,6 +6752,9 @@ } ], "percentage_of_license_text": 10.53, + "for_licenses": [ + "36666984-5064-88c2-90a6-dc14744d84f0" + ], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -5038,6 +6867,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -5150,6 +6980,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [ { "type": "deb", @@ -15573,6 +17404,40 @@ ], "license_clues": [], "percentage_of_license_text": 11.24, + "for_licenses": [ + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "0667fcba-0434-a8b0-c381-d21e497f339e", + "5e7cf470-62b4-d7f2-403b-32e360af9959", + "8f13c053-ee2e-fbc9-00bd-94342ccaca54", + "436a53e8-cee5-a1a3-1a63-23f72b7ecff8", + "bd9559dd-d998-d270-8750-8a6673b7e089", + "5b77229a-4d7f-8d90-8406-e2f0bbefad2f", + "c653439c-e276-d2c2-c877-f4cf44461425", + "c653439c-e276-d2c2-c877-f4cf44461425", + "c653439c-e276-d2c2-c877-f4cf44461425", + "98ef120f-3326-ab2a-1549-8e606ef5d913", + "3f66e975-1f1b-f709-e7a9-03ce0158276e" + ], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -16970,6 +18835,34 @@ ], "license_clues": [], "percentage_of_license_text": 0.66, + "for_licenses": [ + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "6d9cdb91-f72a-e66d-131a-5df68f4b8dbe", + "96ffe1b7-0393-b4ce-7307-8ea9f7b6a926", + "2fcd3356-800d-11d7-c648-c983d7089c6f", + "97b7b447-cbd8-46bc-d573-acd1c32c3e4d" + ], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -17082,6 +18975,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -17242,6 +19136,9 @@ ], "license_clues": [], "percentage_of_license_text": 2.39, + "for_licenses": [ + "142f3261-5728-9933-74c7-7e8aa278ff6d" + ], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -17402,6 +19299,9 @@ ], "license_clues": [], "percentage_of_license_text": 2.48, + "for_licenses": [ + "b311c6a4-90ca-420f-ddb7-53c164b9bf65" + ], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -17514,6 +19414,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", diff --git a/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json index 568c7512a35..15254c2c4e3 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json @@ -1,4 +1,287 @@ { + "licenses": [ + { + "identifier": "b485fded-3ae7-7c49-8be0-c042c4a4747f", + "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 5.88, + "start_line": 7, + "end_line": 9, + "matched_length": 5, + "match_coverage": 5.88, + "matcher": "3-seq", + "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", + "rule_identifier": "apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", + "referenced_filenames": [ + "LICENSE.txt" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + }, + { + "key": "cc-by-nc-nd-3.0", + "name": "Creative Commons Attribution Non-Commercial No Derivatives License 3.0", + "short_name": "CC-BY-NC-ND-3.0", + "category": "Source-available", + "is_exception": false, + "is_unknown": false, + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by-nc-nd/3.0/", + "text_url": "http://creativecommons.org/licenses/by-nc-nd/3.0/legalcode", + "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-nc-nd-3.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-nc-nd-3.0.LICENSE", + "spdx_license_key": "CC-BY-NC-ND-3.0", + "spdx_url": "https://spdx.org/licenses/CC-BY-NC-ND-3.0" + }, + { + "key": "other-permissive", + "name": "Other Permissive Licenses", + "short_name": "Other Permissive Licenses", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "nexB", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/other-permissive", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE", + "spdx_license_key": "LicenseRef-scancode-other-permissive", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE" + }, + { + "key": "proprietary-license", + "name": "Proprietary License", + "short_name": "Proprietary License", + "category": "Commercial", + "is_exception": false, + "is_unknown": false, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/proprietary-license", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/proprietary-license.LICENSE", + "spdx_license_key": "LicenseRef-scancode-proprietary-license", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/proprietary-license.LICENSE" + } + ] + } + ] + }, + { + "identifier": "8b191dea-30ee-8738-fab1-2c6dbb5d65c2", + "license_expression": "bsd-new", + "occurance_count": 3, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.0, + "start_line": 89, + "end_line": 89, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99, + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] + } + ] + }, + { + "identifier": "76b09250-6936-6da3-664b-6d5d81de9c95", + "license_expression": "free-unknown", + "occurance_count": 5, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_3.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + } + ] + }, + { + "identifier": "2d67622f-a7b6-912c-ca85-160b760f0d8b", + "license_expression": "free-unknown", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + } + ] + }, + { + "identifier": "0aac815c-f1e3-cc4b-b498-7a01e6cac393", + "license_expression": "bsd-new", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 27, + "matched_length": 214, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_683.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_683.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 214, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] + } + ] + } + ], "dependencies": [], "packages": [ { @@ -241,6 +524,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -253,6 +537,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -267,6 +552,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -374,6 +660,9 @@ ], "license_clues": [], "percentage_of_license_text": 3.38, + "for_licenses": [ + "b485fded-3ae7-7c49-8be0-c042c4a4747f" + ], "package_data": [], "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -388,6 +677,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -402,6 +692,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -416,6 +707,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -428,6 +720,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -440,6 +733,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -452,6 +746,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -464,6 +759,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -561,6 +857,9 @@ ], "license_clues": [], "percentage_of_license_text": 2.15, + "for_licenses": [ + "76b09250-6936-6da3-664b-6d5d81de9c95" + ], "package_data": [], "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -660,6 +959,9 @@ ], "license_clues": [], "percentage_of_license_text": 5.15, + "for_licenses": [ + "76b09250-6936-6da3-664b-6d5d81de9c95" + ], "package_data": [], "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -674,6 +976,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -686,6 +989,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -783,6 +1087,9 @@ ], "license_clues": [], "percentage_of_license_text": 0.07, + "for_licenses": [ + "2d67622f-a7b6-912c-ca85-160b760f0d8b" + ], "package_data": [], "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -882,6 +1189,9 @@ ], "license_clues": [], "percentage_of_license_text": 2.49, + "for_licenses": [ + "2d67622f-a7b6-912c-ca85-160b760f0d8b" + ], "package_data": [], "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -981,6 +1291,9 @@ ], "license_clues": [], "percentage_of_license_text": 17.91, + "for_licenses": [ + "76b09250-6936-6da3-664b-6d5d81de9c95" + ], "package_data": [], "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -995,6 +1308,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [ { "type": "pypi", @@ -1097,6 +1411,9 @@ ], "license_clues": [], "percentage_of_license_text": 0.99, + "for_licenses": [ + "8b191dea-30ee-8738-fab1-2c6dbb5d65c2" + ], "package_data": [ { "type": "pypi", @@ -1221,6 +1538,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1233,6 +1551,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1247,6 +1566,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1307,6 +1627,9 @@ ], "license_clues": [], "percentage_of_license_text": 95.11, + "for_licenses": [ + "0aac815c-f1e3-cc4b-b498-7a01e6cac393" + ], "package_data": [], "for_packages": [ "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1414,6 +1737,9 @@ ], "license_clues": [], "percentage_of_license_text": 2.73, + "for_licenses": [ + "b485fded-3ae7-7c49-8be0-c042c4a4747f" + ], "package_data": [], "for_packages": [ "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1428,6 +1754,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1488,6 +1815,9 @@ ], "license_clues": [], "percentage_of_license_text": 3.38, + "for_licenses": [ + "8b191dea-30ee-8738-fab1-2c6dbb5d65c2" + ], "package_data": [ { "type": "pypi", @@ -1616,6 +1946,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1630,6 +1961,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1642,6 +1974,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1654,6 +1987,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1666,6 +2000,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1678,6 +2013,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1690,6 +2026,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1787,6 +2124,9 @@ ], "license_clues": [], "percentage_of_license_text": 16.9, + "for_licenses": [ + "76b09250-6936-6da3-664b-6d5d81de9c95" + ], "package_data": [], "for_packages": [ "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1801,6 +2141,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1813,6 +2154,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1910,6 +2252,9 @@ ], "license_clues": [], "percentage_of_license_text": 12.12, + "for_licenses": [ + "76b09250-6936-6da3-664b-6d5d81de9c95" + ], "package_data": [], "for_packages": [ "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1924,6 +2269,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [ { "type": "pypi", @@ -2072,6 +2418,9 @@ ], "license_clues": [], "percentage_of_license_text": 0.95, + "for_licenses": [ + "8b191dea-30ee-8738-fab1-2c6dbb5d65c2" + ], "package_data": [ { "type": "pypi", diff --git a/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json index 6fba7bc8d90..122e926ddc5 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json @@ -1,4 +1,322 @@ { + "licenses": [ + { + "identifier": "00648a46-128f-a6d8-635c-47de0c2c180c", + "license_expression": "apache-2.0", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 13, + "matched_length": 85, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "6c86b8a7-5f8b-ba77-47e2-a116f95ed9d8", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.81, + "start_line": 3, + "end_line": 203, + "matched_length": 1582, + "match_coverage": 100.0, + "matcher": "3-seq", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_164.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1582, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "b93c03b2-6738-df14-dcda-3feca465556c", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 75.0, + "start_line": 307, + "end_line": 307, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_305.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_305.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "87998952-7409-8e1f-30b2-a799511393bf", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 221, + "end_line": 221, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_83.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_83.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "2edb09c4-85a0-cc2a-a20f-451395e08ebb", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 95.0, + "start_line": 75, + "end_line": 75, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "pypi_apache_no-version.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 95, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + }, + { + "score": 100.0, + "start_line": 78, + "end_line": 78, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "142f3261-5728-9933-74c7-7e8aa278ff6d", + "license_expression": "free-unknown", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 10, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + } + ] + } + ], "dependencies": [ { "purl": "pkg:pypi/jieba", @@ -488,6 +806,9 @@ ], "license_clues": [], "percentage_of_license_text": 99.25, + "for_licenses": [ + "6c86b8a7-5f8b-ba77-47e2-a116f95ed9d8" + ], "package_data": [], "for_packages": [ "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -548,6 +869,9 @@ ], "license_clues": [], "percentage_of_license_text": 0.2, + "for_licenses": [ + "b93c03b2-6738-df14-dcda-3feca465556c" + ], "package_data": [], "for_packages": [ "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -647,6 +971,9 @@ ], "license_clues": [], "percentage_of_license_text": 0.73, + "for_licenses": [ + "87998952-7409-8e1f-30b2-a799511393bf" + ], "package_data": [], "for_packages": [ "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -661,6 +988,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -673,6 +1001,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -685,6 +1014,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -697,6 +1027,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -831,6 +1162,9 @@ ], "license_clues": [], "percentage_of_license_text": 3.68, + "for_licenses": [ + "142f3261-5728-9933-74c7-7e8aa278ff6d" + ], "package_data": [], "for_packages": [ "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -967,6 +1301,9 @@ ], "license_clues": [], "percentage_of_license_text": 3.21, + "for_licenses": [ + "142f3261-5728-9933-74c7-7e8aa278ff6d" + ], "package_data": [], "for_packages": [ "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -981,6 +1318,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [ { "type": "pypi", @@ -1231,6 +1569,9 @@ ], "license_clues": [], "percentage_of_license_text": 20.09, + "for_licenses": [ + "00648a46-128f-a6d8-635c-47de0c2c180c" + ], "package_data": [], "for_packages": [ "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1245,6 +1586,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [ { "type": "pypi", @@ -1815,6 +2157,10 @@ ], "license_clues": [], "percentage_of_license_text": 26.1, + "for_licenses": [ + "00648a46-128f-a6d8-635c-47de0c2c180c", + "2edb09c4-85a0-cc2a-a20f-451395e08ebb" + ], "package_data": [ { "type": "pypi", diff --git a/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json index 38bc03ee5af..97f45b18827 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json @@ -1,4 +1,732 @@ { + "licenses": [ + { + "identifier": "bd8d31df-3dc9-daa6-b885-dc10671b4103", + "license_expression": "gpl-3.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 675, + "matched_length": 5514, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_204.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5514, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-3.0", + "name": "GNU General Public License 3.0", + "short_name": "GPL 3.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", + "spdx_license_key": "GPL-3.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" + } + ] + } + ] + }, + { + "identifier": "f70c823f-c2d0-5369-e1d2-3cc1103e518b", + "license_expression": "gpl-3.0-plus", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 10, + "end_line": 21, + "matched_length": 102, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_290.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 102, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-3.0-plus", + "name": "GNU General Public License 3.0 or later", + "short_name": "GPL 3.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", + "spdx_license_key": "GPL-3.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" + } + ] + } + ] + }, + { + "identifier": "056056b0-c2ee-9b4e-8b7e-72a75e700069", + "license_expression": "gpl-3.0 AND unknown-license-reference AND gpl-3.0-plus", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 13, + "end_line": 13, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_203.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_203.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-3.0", + "name": "GNU General Public License 3.0", + "short_name": "GPL 3.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", + "spdx_license_key": "GPL-3.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" + } + ] + }, + { + "score": 100.0, + "start_line": 13, + "end_line": 13, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_367.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_367.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 14, + "end_line": 25, + "matched_length": 102, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_290.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 102, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-3.0-plus", + "name": "GNU General Public License 3.0 or later", + "short_name": "GPL 3.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", + "spdx_license_key": "GPL-3.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" + } + ] + } + ] + }, + { + "identifier": "2c2fcd34-f0d6-5fe4-5457-c8ec02aae688", + "license_expression": "free-unknown", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 7, + "end_line": 7, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 11, + "end_line": 11, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 15, + "end_line": 15, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 19, + "end_line": 19, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 23, + "end_line": 23, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 27, + "end_line": 27, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + } + ] + }, + { + "identifier": "76225990-e8f5-ab08-5ffe-299da9d287e6", + "license_expression": "free-unknown", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 7, + "end_line": 7, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 11, + "end_line": 11, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 15, + "end_line": 15, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 19, + "end_line": 19, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 23, + "end_line": 23, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + } + ] + } + ], "dependencies": [], "packages": [], "files": [ @@ -56,6 +784,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "bd8d31df-3dc9-daa6-b885-dc10671b4103" + ], "package_data": [], "for_packages": [], "scan_errors": [] @@ -68,6 +799,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -80,6 +812,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -214,6 +947,9 @@ ], "license_clues": [], "percentage_of_license_text": 19.1, + "for_licenses": [ + "056056b0-c2ee-9b4e-8b7e-72a75e700069" + ], "package_data": [], "for_packages": [], "scan_errors": [] @@ -272,6 +1008,9 @@ ], "license_clues": [], "percentage_of_license_text": 10.56, + "for_licenses": [ + "f70c823f-c2d0-5369-e1d2-3cc1103e518b" + ], "package_data": [], "for_packages": [], "scan_errors": [] @@ -284,6 +1023,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -615,6 +1355,9 @@ ], "license_clues": [], "percentage_of_license_text": 11.8, + "for_licenses": [ + "2c2fcd34-f0d6-5fe4-5457-c8ec02aae688" + ], "package_data": [], "for_packages": [], "scan_errors": [] @@ -907,6 +1650,9 @@ ], "license_clues": [], "percentage_of_license_text": 12.24, + "for_licenses": [ + "76225990-e8f5-ab08-5ffe-299da9d287e6" + ], "package_data": [], "for_packages": [], "scan_errors": [] @@ -919,6 +1665,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [ { "type": "pypi", diff --git a/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json index b0b37149e4e..d073da62f53 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json @@ -1,4 +1,783 @@ { + "licenses": [ + { + "identifier": "bd8d31df-3dc9-daa6-b885-dc10671b4103", + "license_expression": "gpl-3.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 674, + "matched_length": 5514, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_204.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5514, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-3.0", + "name": "GNU General Public License 3.0", + "short_name": "GPL 3.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", + "spdx_license_key": "GPL-3.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" + } + ] + } + ] + }, + { + "identifier": "c4243fb1-25ad-ea03-c628-65139658a194", + "license_expression": "gpl-3.0 AND lgpl-3.0 AND gpl-2.0", + "occurance_count": 1, + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 100.0, + "start_line": 38, + "end_line": 38, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_32.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-3.0", + "name": "GNU General Public License 3.0", + "short_name": "GPL 3.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", + "spdx_license_key": "GPL-3.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" + } + ] + }, + { + "score": 100.0, + "start_line": 38, + "end_line": 38, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_29.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-3.0", + "name": "GNU Lesser General Public License 3.0", + "short_name": "LGPL 3.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", + "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", + "spdx_license_key": "LGPL-3.0-only", + "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" + } + ] + }, + { + "score": 100.0, + "start_line": 39, + "end_line": 39, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_bare_single_word.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + } + ] + } + ] + }, + { + "identifier": "620bb734-dfc2-e276-11d9-45ed11996799", + "license_expression": "gpl-2.0-plus AND free-unknown AND gpl-1.0-plus", + "occurance_count": 1, + "detection_log": [ + "unknown-match" + ], + "matches": [ + { + "score": 20.0, + "start_line": 57, + "end_line": 57, + "matched_length": 6, + "match_coverage": 20.0, + "matcher": "3-seq", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_627.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 30, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0-plus", + "name": "GNU General Public License 2.0 or later", + "short_name": "GPL 2.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", + "spdx_license_key": "GPL-2.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" + } + ] + }, + { + "score": 50.0, + "start_line": 60, + "end_line": 61, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown_88.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 63, + "end_line": 63, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] + } + ] + }, + { + "identifier": "ba9e27e5-ccbb-ede0-63b3-68adf7d7b978", + "license_expression": "gpl-1.0-plus AND lgpl-3.0-plus AND gpl-3.0 AND lgpl-3.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 76, + "end_line": 76, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_bare_gnu_gpl.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 79, + "end_line": 79, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] + }, + { + "score": 47.22, + "start_line": 79, + "end_line": 81, + "matched_length": 17, + "match_coverage": 47.22, + "matcher": "3-seq", + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_103.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 36, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-3.0-plus", + "name": "GNU Lesser General Public License 3.0 or later", + "short_name": "LGPL 3.0 or later", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", + "spdx_license_key": "LGPL-3.0-or-later", + "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 84, + "end_line": 84, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_12.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-3.0", + "name": "GNU General Public License 3.0", + "short_name": "GPL 3.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", + "spdx_license_key": "GPL-3.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" + } + ] + }, + { + "score": 100.0, + "start_line": 85, + "end_line": 85, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-3.0", + "name": "GNU Lesser General Public License 3.0", + "short_name": "LGPL 3.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", + "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", + "spdx_license_key": "LGPL-3.0-only", + "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" + } + ] + } + ] + }, + { + "identifier": "cacaaecd-cccf-23a9-b725-f10a66d3d665", + "license_expression": "cc-by-sa-3.0 AND cc-by-sa-4.0 AND dco-1.1", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 75.0, + "start_line": 121, + "end_line": 122, + "matched_length": 12, + "match_coverage": 75.0, + "matcher": "3-seq", + "license_expression": "cc-by-sa-3.0", + "rule_identifier": "cc-by-sa-3.0_10.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 16, + "rule_relevance": 100, + "licenses": [ + { + "key": "cc-by-sa-3.0", + "name": "Creative Commons Attribution Share Alike License 3.0", + "short_name": "CC-BY-SA-3.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by-sa/3.0/", + "text_url": "http://creativecommons.org/licenses/by-sa/3.0/legalcode", + "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-sa-3.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-sa-3.0.LICENSE", + "spdx_license_key": "CC-BY-SA-3.0", + "spdx_url": "https://spdx.org/licenses/CC-BY-SA-3.0" + } + ] + }, + { + "score": 100.0, + "start_line": 122, + "end_line": 122, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cc-by-sa-4.0", + "rule_identifier": "cc-by-sa-4.0_71.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100, + "licenses": [ + { + "key": "cc-by-sa-4.0", + "name": "Creative Commons Attribution-ShareAlike 4.0 International Public License", + "short_name": "CC-BY-SA-4.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by-sa/4.0/", + "text_url": "http://creativecommons.org/licenses/by-sa/4.0/legalcode", + "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-sa-4.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-sa-4.0.LICENSE", + "spdx_license_key": "CC-BY-SA-4.0", + "spdx_url": "https://spdx.org/licenses/CC-BY-SA-4.0" + } + ] + }, + { + "score": 100.0, + "start_line": 123, + "end_line": 123, + "matched_length": 7, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "dco-1.1", + "rule_identifier": "dco-1.1_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 7, + "rule_relevance": 100, + "licenses": [ + { + "key": "dco-1.1", + "name": "Developer Certificate of Origin 1.1", + "short_name": "DCO 1.1", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Linux Foundation", + "homepage_url": "https://developercertificate.org/", + "text_url": "https://developercertificate.org/", + "reference_url": "https://scancode-licensedb.aboutcode.org/dco-1.1", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/dco-1.1.LICENSE", + "spdx_license_key": "LicenseRef-scancode-dco-1.1", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/dco-1.1.LICENSE" + } + ] + } + ] + }, + { + "identifier": "0c428ae6-46af-09d9-5863-430e80031878", + "license_expression": "gpl-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 81.82, + "start_line": 6, + "end_line": 6, + "matched_length": 9, + "match_coverage": 81.82, + "matcher": "3-seq", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1142.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 11, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + } + ] + } + ] + }, + { + "identifier": "788966d2-c08e-ab46-1793-44f388305bca", + "license_expression": "gpl-1.0-plus", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 22, + "end_line": 22, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_236.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] + } + ] + }, + { + "identifier": "142f3261-5728-9933-74c7-7e8aa278ff6d", + "license_expression": "free-unknown", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 4, + "matched_length": 10, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100, + "licenses": [ + { + "key": "free-unknown", + "name": "Free unknown license detected but not recognized", + "short_name": "Free unknown", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" + } + ] + } + ] + }, + { + "identifier": "f70c823f-c2d0-5369-e1d2-3cc1103e518b", + "license_expression": "gpl-3.0-plus", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 5, + "end_line": 16, + "matched_length": 102, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_290.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 102, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-3.0-plus", + "name": "GNU General Public License 3.0 or later", + "short_name": "GPL 3.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", + "spdx_license_key": "GPL-3.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" + } + ] + } + ] + } + ], "dependencies": [], "packages": [ { @@ -789,6 +1568,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "bd8d31df-3dc9-daa6-b885-dc10671b4103" + ], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -803,6 +1585,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -817,6 +1600,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -831,6 +1615,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1397,6 +2182,12 @@ ], "license_clues": [], "percentage_of_license_text": 9.84, + "for_licenses": [ + "c4243fb1-25ad-ea03-c628-65139658a194", + "620bb734-dfc2-e276-11d9-45ed11996799", + "ba9e27e5-ccbb-ede0-63b3-68adf7d7b978", + "cacaaecd-cccf-23a9-b725-f10a66d3d665" + ], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1502,6 +2293,10 @@ ], "license_clues": [], "percentage_of_license_text": 1.51, + "for_licenses": [ + "0c428ae6-46af-09d9-5863-430e80031878", + "788966d2-c08e-ab46-1793-44f388305bca" + ], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1516,6 +2311,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [ { "type": "autotools", @@ -2259,6 +3055,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -2273,6 +3070,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [ { "type": "pypi", @@ -3016,6 +3814,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -3030,6 +3829,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -3044,6 +3844,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -3735,6 +4536,9 @@ ], "license_clues": [], "percentage_of_license_text": 0.03, + "for_licenses": [ + "142f3261-5728-9933-74c7-7e8aa278ff6d" + ], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -3795,6 +4599,9 @@ ], "license_clues": [], "percentage_of_license_text": 27.06, + "for_licenses": [ + "f70c823f-c2d0-5369-e1d2-3cc1103e518b" + ], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" diff --git a/tests/scancode/data/info/all.rooted.expected.json b/tests/scancode/data/info/all.rooted.expected.json index f2e2f9d6272..84d704d2708 100644 --- a/tests/scancode/data/info/all.rooted.expected.json +++ b/tests/scancode/data/info/all.rooted.expected.json @@ -1,4 +1,116 @@ { + "licenses": [ + { + "identifier": "20ee927b-fbe0-31a5-1f33-595dd1b2fd13", + "license_expression": "gpl-2.0 OR bsd-new", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 5, + "end_line": 12, + "matched_length": 50, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0 OR bsd-new", + "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_or_bsd-new_aes_1.RULE", + "referenced_filenames": [ + "COPYING", + "README" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 50, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + }, + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] + } + ] + }, + { + "identifier": "b17bc21b-d4a2-9db7-7cef-3d352cc60928", + "license_expression": "bsd-original-uc", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 25, + "end_line": 51, + "matched_length": 243, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-original-uc", + "rule_identifier": "bsd-original-uc_3.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original-uc_3.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 243, + "rule_relevance": 100, + "licenses": [ + { + "key": "bsd-original-uc", + "name": "BSD-Original-UC", + "short_name": "BSD-Original-UC", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change", + "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original-uc", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original-uc.LICENSE", + "spdx_license_key": "BSD-4-Clause-UC", + "spdx_url": "https://spdx.org/licenses/BSD-4-Clause-UC" + } + ] + } + ] + } + ], "files": [ { "path": "basic.tgz", @@ -8,6 +120,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -23,6 +136,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -38,6 +152,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -53,6 +168,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -68,6 +184,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -83,6 +200,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -98,6 +216,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -113,6 +232,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -128,6 +248,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -188,6 +309,9 @@ ], "license_clues": [], "percentage_of_license_text": 4.82, + "for_licenses": [ + "b17bc21b-d4a2-9db7-7cef-3d352cc60928" + ], "copyrights": [ { "copyright": "Copyright (c) 1993 The Regents of the University of California", @@ -233,6 +357,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -317,6 +442,9 @@ ], "license_clues": [], "percentage_of_license_text": 19.01, + "for_licenses": [ + "20ee927b-fbe0-31a5-1f33-595dd1b2fd13" + ], "copyrights": [ { "copyright": "Copyright (c) 2006, Jouni Malinen ", diff --git a/tests/scancode/data/license_text/test.expected b/tests/scancode/data/license_text/test.expected index e03fe76e609..72fa14ccd12 100644 --- a/tests/scancode/data/license_text/test.expected +++ b/tests/scancode/data/license_text/test.expected @@ -1,4 +1,52 @@ { + "licenses": [ + { + "identifier": "8345fa95-5c7a-d7c4-5e2e-b99cb05b976f", + "license_expression": "lgpl-2.1", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1", + "rule_identifier": "lgpl-2.1_38.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_38.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "lgpl-2.1", + "name": "GNU Lesser General Public License 2.1", + "short_name": "LGPL 2.1", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-2.1.html", + "text_url": "http://www.gnu.org/licenses/lgpl-2.1.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1.LICENSE", + "spdx_license_key": "LGPL-2.1-only", + "spdx_url": "https://spdx.org/licenses/LGPL-2.1-only" + } + ] + } + ] + } + ], "files": [ { "path": "test.txt", @@ -54,6 +102,9 @@ ], "license_clues": [], "percentage_of_license_text": 44.44, + "for_licenses": [ + "8345fa95-5c7a-d7c4-5e2e-b99cb05b976f" + ], "scan_errors": [] } ] diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json index 6328813daa3..16b5465ea52 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json @@ -1,4 +1,5 @@ { + "licenses": [], "dependencies": [], "packages": [], "files": [ @@ -26,6 +27,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -62,6 +64,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -98,6 +101,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -134,6 +138,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet index 6328813daa3..16b5465ea52 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet @@ -1,4 +1,5 @@ { + "licenses": [], "dependencies": [], "packages": [], "files": [ @@ -26,6 +27,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -62,6 +64,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -98,6 +101,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -134,6 +138,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose index 6328813daa3..16b5465ea52 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose @@ -1,4 +1,5 @@ { + "licenses": [], "dependencies": [], "packages": [], "files": [ @@ -26,6 +27,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -62,6 +64,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -98,6 +101,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -134,6 +138,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-q b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-q index 6328813daa3..16b5465ea52 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-q +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-q @@ -1,4 +1,5 @@ { + "licenses": [], "dependencies": [], "packages": [], "files": [ @@ -26,6 +27,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -62,6 +64,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -98,6 +101,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -134,6 +138,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-v b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-v index 6328813daa3..16b5465ea52 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-v +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-v @@ -1,4 +1,5 @@ { + "licenses": [], "dependencies": [], "packages": [], "files": [ @@ -26,6 +27,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -62,6 +64,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -98,6 +101,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -134,6 +138,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json b/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json index 98e903bb122..01e0798a5f6 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json @@ -1,4 +1,190 @@ { + "licenses": [ + { + "identifier": "0c954d0c-44a8-826f-8a0e-c82112725467", + "license_expression": "apache-2.0", + "occurance_count": 4, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "f6292b57-ba6c-0a53-2660-505e6745bffa", + "license_expression": "lgpl-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 80.0, + "start_line": 2, + "end_line": 2, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.0", + "rule_identifier": "lgpl-2.0_bare_id.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0_bare_id.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 80, + "licenses": [ + { + "key": "lgpl-2.0", + "name": "GNU Library General Public License 2.0", + "short_name": "LGPL 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.0.LICENSE", + "spdx_license_key": "LGPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/LGPL-2.0-only" + } + ] + } + ] + }, + { + "identifier": "c6739b12-3643-1e85-cc14-1864411bf945", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 5, + "end_line": 5, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "b6b96096-114f-387a-cbbd-855af62441b0", + "license_expression": "gpl-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1336.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1336.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + } + ] + } + ] + } + ], "dependencies": [], "packages": [ { @@ -230,6 +416,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -265,6 +452,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -300,6 +488,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -379,6 +568,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -462,6 +652,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -556,6 +749,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -650,6 +846,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -744,6 +943,9 @@ ], "license_clues": [], "percentage_of_license_text": 42.86, + "for_licenses": [ + "f6292b57-ba6c-0a53-2660-505e6745bffa" + ], "copyrights": [ { "copyright": "Copyright (c) nexB, Inc.", @@ -793,6 +995,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -876,6 +1079,9 @@ ], "license_clues": [], "percentage_of_license_text": 22.22, + "for_licenses": [ + "c6739b12-3643-1e85-cc14-1864411bf945" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software", @@ -1060,6 +1266,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -1154,6 +1363,9 @@ ], "license_clues": [], "percentage_of_license_text": 64.29, + "for_licenses": [ + "b6b96096-114f-387a-cbbd-855af62441b0" + ], "copyrights": [ { "copyright": "copyright (c) 2017 IBM Corp.", diff --git a/tests/summarycode/data/plugin_consolidate/component-package-expected.json b/tests/summarycode/data/plugin_consolidate/component-package-expected.json index ec640093dfc..aa1005f066b 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-expected.json @@ -1,4 +1,190 @@ { + "licenses": [ + { + "identifier": "0c954d0c-44a8-826f-8a0e-c82112725467", + "license_expression": "apache-2.0", + "occurance_count": 4, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "f6292b57-ba6c-0a53-2660-505e6745bffa", + "license_expression": "lgpl-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 80.0, + "start_line": 2, + "end_line": 2, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.0", + "rule_identifier": "lgpl-2.0_bare_id.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0_bare_id.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 80, + "licenses": [ + { + "key": "lgpl-2.0", + "name": "GNU Library General Public License 2.0", + "short_name": "LGPL 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.0.LICENSE", + "spdx_license_key": "LGPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/LGPL-2.0-only" + } + ] + } + ] + }, + { + "identifier": "c6739b12-3643-1e85-cc14-1864411bf945", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 5, + "end_line": 5, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "b6b96096-114f-387a-cbbd-855af62441b0", + "license_expression": "gpl-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1336.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1336.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + } + ] + } + ] + } + ], "dependencies": [], "packages": [ { @@ -185,6 +371,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -220,6 +407,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -303,6 +491,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -397,6 +588,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -491,6 +685,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -585,6 +782,9 @@ ], "license_clues": [], "percentage_of_license_text": 42.86, + "for_licenses": [ + "f6292b57-ba6c-0a53-2660-505e6745bffa" + ], "copyrights": [ { "copyright": "Copyright (c) nexB, Inc.", @@ -634,6 +834,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -717,6 +918,9 @@ ], "license_clues": [], "percentage_of_license_text": 22.22, + "for_licenses": [ + "c6739b12-3643-1e85-cc14-1864411bf945" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software", @@ -901,6 +1105,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -995,6 +1202,9 @@ ], "license_clues": [], "percentage_of_license_text": 64.29, + "for_licenses": [ + "b6b96096-114f-387a-cbbd-855af62441b0" + ], "copyrights": [ { "copyright": "copyright (c) 2017 IBM Corp.", diff --git a/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json b/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json index d3bc906a90f..ccfcda908a3 100644 --- a/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json +++ b/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json @@ -1,4 +1,170 @@ { + "licenses": [ + { + "identifier": "9a723cc7-93ae-aea4-643f-e96a8f92ef96", + "license_expression": "gpl-1.0-plus AND gpl-2.0", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_208.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_840.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + } + ] + } + ] + }, + { + "identifier": "5b91a737-f9ce-eaa1-9284-270cc4460ee2", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 50.0, + "start_line": 2, + "end_line": 2, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 2, + "rule_relevance": 50, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + } + ], "dependencies": [], "packages": [], "consolidated_components": [ @@ -77,6 +243,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -112,6 +279,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -147,6 +315,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -265,6 +434,9 @@ ], "license_clues": [], "percentage_of_license_text": 44.44, + "for_licenses": [ + "9a723cc7-93ae-aea4-643f-e96a8f92ef96" + ], "copyrights": [ { "copyright": "Copyright (c) omega.com", @@ -314,6 +486,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -349,6 +522,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -467,6 +641,9 @@ ], "license_clues": [], "percentage_of_license_text": 44.44, + "for_licenses": [ + "9a723cc7-93ae-aea4-643f-e96a8f92ef96" + ], "copyrights": [ { "copyright": "Copyright (c) IBM Corp.", @@ -516,6 +693,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -634,6 +812,9 @@ ], "license_clues": [], "percentage_of_license_text": 55.56, + "for_licenses": [ + "5b91a737-f9ce-eaa1-9284-270cc4460ee2" + ], "copyrights": [ { "copyright": "Copyright (c) Oracle Corp.", diff --git a/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json b/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json index 401a463177e..19d895c22d0 100644 --- a/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json +++ b/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json @@ -1,4 +1,88 @@ { + "licenses": [ + { + "identifier": "f9043636-8ec8-6bbe-0948-64c2513e8dee", + "license_expression": "gpl-2.0", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 4, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1074.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1074.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + } + ] + }, + { + "score": 100.0, + "start_line": 5, + "end_line": 5, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1074.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1074.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + } + ] + } + ] + } + ], "dependencies": [], "packages": [], "consolidated_components": [ @@ -45,6 +129,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -163,6 +248,9 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "f9043636-8ec8-6bbe-0948-64c2513e8dee" + ], "copyrights": [ { "copyright": "Copyright (c) IBM Corp.", @@ -303,6 +391,9 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "f9043636-8ec8-6bbe-0948-64c2513e8dee" + ], "copyrights": [ { "copyright": "Copyright (c) IBM Corp.", diff --git a/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json b/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json index e34c033f304..0ddeaeecd5b 100644 --- a/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json @@ -1,4 +1,98 @@ { + "licenses": [ + { + "identifier": "0c954d0c-44a8-826f-8a0e-c82112725467", + "license_expression": "apache-2.0", + "occurance_count": 5, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "c6739b12-3643-1e85-cc14-1864411bf945", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 5, + "end_line": 5, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + } + ], "dependencies": [], "packages": [ { @@ -153,6 +247,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -190,6 +285,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -272,6 +368,9 @@ ], "license_clues": [], "percentage_of_license_text": 22.22, + "for_licenses": [ + "c6739b12-3643-1e85-cc14-1864411bf945" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software", @@ -456,6 +555,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -552,6 +654,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -648,6 +753,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -744,6 +852,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -838,6 +949,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", diff --git a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json index 1e8f0cd357e..7ca14959472 100644 --- a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json @@ -1,4 +1,98 @@ { + "licenses": [ + { + "identifier": "c6739b12-3643-1e85-cc14-1864411bf945", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 4, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "0c954d0c-44a8-826f-8a0e-c82112725467", + "license_expression": "apache-2.0", + "occurance_count": 3, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + } + ], "dependencies": [], "packages": [ { @@ -137,6 +231,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -219,6 +314,9 @@ ], "license_clues": [], "percentage_of_license_text": 36.36, + "for_licenses": [ + "c6739b12-3643-1e85-cc14-1864411bf945" + ], "copyrights": [], "holders": [], "authors": [], @@ -389,6 +487,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -485,6 +586,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -581,6 +685,9 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, + "for_licenses": [ + "0c954d0c-44a8-826f-8a0e-c82112725467" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", diff --git a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json index 4e77cfe9292..f383bb41644 100644 --- a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json @@ -1,4 +1,98 @@ { + "licenses": [ + { + "identifier": "c6739b12-3643-1e85-cc14-1864411bf945", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 4, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "d5eb9d8e-3b26-fd74-282d-341e657c08eb", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + } + ], "dependencies": [], "packages": [ { @@ -120,6 +214,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -200,6 +295,10 @@ ], "license_clues": [], "percentage_of_license_text": 36.36, + "for_licenses": [ + "c6739b12-3643-1e85-cc14-1864411bf945", + "d5eb9d8e-3b26-fd74-282d-341e657c08eb" + ], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json b/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json index a6b5ca3346d..becaeb489b6 100644 --- a/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json +++ b/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json @@ -1,4 +1,52 @@ { + "licenses": [ + { + "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "license_expression": "mit", + "occurance_count": 4, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 7, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] + } + ] + } + ], "dependencies": [], "packages": [], "consolidated_components": [ @@ -61,6 +109,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -143,6 +192,9 @@ ], "license_clues": [], "percentage_of_license_text": 97.58, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [ { "copyright": "Copyright (c) IBM Corp.", @@ -237,6 +289,9 @@ ], "license_clues": [], "percentage_of_license_text": 97.58, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [ { "copyright": "Copyright (c) IBM Corp.", @@ -331,6 +386,9 @@ ], "license_clues": [], "percentage_of_license_text": 97.58, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [ { "copyright": "Copyright (c) IBM Corp.", @@ -380,6 +438,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -462,6 +521,9 @@ ], "license_clues": [], "percentage_of_license_text": 97.58, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [ { "copyright": "Copyright (c) Omega Corp.", diff --git a/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json b/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json index 42f4c91824e..a222cde9f3c 100644 --- a/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json +++ b/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json @@ -1,4 +1,170 @@ { + "licenses": [ + { + "identifier": "5b91a737-f9ce-eaa1-9284-270cc4460ee2", + "license_expression": "apache-2.0", + "occurance_count": 3, + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 50.0, + "start_line": 2, + "end_line": 2, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 2, + "rule_relevance": 50, + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] + }, + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] + } + ] + }, + { + "identifier": "9a723cc7-93ae-aea4-643f-e96a8f92ef96", + "license_expression": "gpl-1.0-plus AND gpl-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_208.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] + }, + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_840.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "licenses": [ + { + "key": "gpl-2.0", + "name": "GNU General Public License 2.0", + "short_name": "GPL 2.0", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", + "spdx_license_key": "GPL-2.0-only", + "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" + } + ] + } + ] + } + ], "dependencies": [], "packages": [], "consolidated_components": [ @@ -61,6 +227,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -96,6 +263,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -214,6 +382,9 @@ ], "license_clues": [], "percentage_of_license_text": 45.45, + "for_licenses": [ + "5b91a737-f9ce-eaa1-9284-270cc4460ee2" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -344,6 +515,9 @@ ], "license_clues": [], "percentage_of_license_text": 45.45, + "for_licenses": [ + "5b91a737-f9ce-eaa1-9284-270cc4460ee2" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", @@ -393,6 +567,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -511,6 +686,9 @@ ], "license_clues": [], "percentage_of_license_text": 44.44, + "for_licenses": [ + "9a723cc7-93ae-aea4-643f-e96a8f92ef96" + ], "copyrights": [ { "copyright": "Copyright (c) IBM Corp.", @@ -641,6 +819,9 @@ ], "license_clues": [], "percentage_of_license_text": 45.45, + "for_licenses": [ + "5b91a737-f9ce-eaa1-9284-270cc4460ee2" + ], "copyrights": [ { "copyright": "Copyright (c) The Apache Software Foundation", From 9862f7a9931ec0d6f1454840c2a6bc47d3522eb8 Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Mon, 21 Nov 2022 05:06:24 +0530 Subject: [PATCH 03/11] Make license references default Signed-off-by: Ayan Sinha Mahapatra --- src/formattedcode/output_debian.py | 18 ++-- src/formattedcode/output_spdx.py | 29 ++++-- src/licensedcode/plugin_licenses_reference.py | 88 +++++++++++++------ 3 files changed, 94 insertions(+), 41 deletions(-) diff --git a/src/formattedcode/output_debian.py b/src/formattedcode/output_debian.py index 9bead676da5..afecee98916 100644 --- a/src/formattedcode/output_debian.py +++ b/src/formattedcode/output_debian.py @@ -17,7 +17,7 @@ from plugincode.output import output_impl from plugincode.output import OutputPlugin from licensedcode.detection import get_matches_from_detection_mappings - +from licensedcode.plugin_licenses_reference import get_matched_text_from_reference_data from scancode import notice """ @@ -106,7 +106,7 @@ def build_copyright_paragraphs(codebase, **kwargs): if scanned_file['type'] == 'directory': continue dfiles = scanned_file['path'] - dlicense = build_license(scanned_file) + dlicense = build_license(codebase, scanned_file) dcopyright = build_copyright_field(scanned_file) file_para = CopyrightFilesParagraph.from_dict(dict( @@ -132,7 +132,7 @@ def build_copyright_field(scanned_file): return '\n'.join(statements) -def build_license(scanned_file): +def build_license(codebase, scanned_file): """ Return Debian-like text where the first line is the expression and the remaining lines are the license text from licenses detected in @@ -146,11 +146,11 @@ def build_license(scanned_file): return licenses = scanned_file.get('license_detections', []) - text = '\n'.join(get_texts(licenses)) + text = '\n'.join(get_texts(codebase, licenses)) return f'{expression}\n{text}' -def get_texts(detected_licenses): +def get_texts(codebase, detected_licenses): """ Yield license texts detected in this file. @@ -179,8 +179,12 @@ def get_texts(detected_licenses): # set of (start line, end line, matched_rule identifier) seen = set() for lic in get_matches_from_detection_mappings(detected_licenses): + matched_text = get_matched_text_from_reference_data( + codebase=codebase, + rule_identifier=lic['rule_identifier'] + ) key = lic['start_line'], lic['end_line'], lic['rule_identifier'] if key not in seen: - yield lic['matched_text'] + if matched_text != None: + yield matched_text seen.add(key) - diff --git a/src/formattedcode/output_spdx.py b/src/formattedcode/output_spdx.py index 1824b59cbeb..9ce2921ab31 100644 --- a/src/formattedcode/output_spdx.py +++ b/src/formattedcode/output_spdx.py @@ -23,6 +23,7 @@ from spdx.utils import SPDXNone from spdx.version import Version +from license_expression import Licensing from commoncode.cliutils import OUTPUT_GROUP from commoncode.cliutils import PluggableCommandLineOption from commoncode.fileutils import file_name @@ -30,6 +31,7 @@ from commoncode.text import python_safe_name from formattedcode import FileOptionType from licensedcode.detection import get_matches_from_detection_mappings +from licensedcode.plugin_licenses_reference import get_matched_text_from_reference_data from plugincode.output import output_impl from plugincode.output import OutputPlugin import scancode_config @@ -170,6 +172,7 @@ def _process_codebase( package_name = build_package_name(input_path) write_spdx( + codebase=codebase, output_file=output_file, files=files, tool_name=tool_name, @@ -208,6 +211,7 @@ def check_sha1(codebase): def write_spdx( + codebase, output_file, files, tool_name, @@ -229,6 +233,10 @@ def write_spdx( producing this SPDX document. Use ``package_name`` as a Package name and as a namespace prefix base. """ + from licensedcode import cache + licenses = cache.get_licenses_db() + licensing = Licensing() + as_rdf = not as_tagvalue _patch_license_list() @@ -282,11 +290,20 @@ def write_spdx( if license_matches: all_files_have_no_license = False for match in license_matches: - file_licenses = match["licenses"] - for file_license in file_licenses: - license_key = file_license.get('key') - - spdx_id = file_license.get('spdx_license_key') + file_license_expression = match["license_expression"] + file_license_keys = licensing.license_keys( + expression=file_license_expression, + unique=True + ) + matched_text = get_matched_text_from_reference_data( + codebase=codebase, + rule_identifier=match["rule_identifier"], + ) + for license_key in file_license_keys: + file_license = licenses.get(license_key) + license_key = file_license.key + + spdx_id = file_license.spdx_license_key if not spdx_id: spdx_id = f'LicenseRef-scancode-{license_key}' is_license_ref = spdx_id.lower().startswith('licenseref-') @@ -295,7 +312,7 @@ def write_spdx( spdx_license = License.from_identifier(spdx_id) else: spdx_license = ExtractedLicense(spdx_id) - spdx_license.name = file_license.get('short_name') + spdx_license.name = file_license.short_name # FIXME: replace this with the licensedb URL comment = ( f'See details at https://github.com/nexB/scancode-toolkit' diff --git a/src/licensedcode/plugin_licenses_reference.py b/src/licensedcode/plugin_licenses_reference.py index 704751eb774..d82ccd12963 100644 --- a/src/licensedcode/plugin_licenses_reference.py +++ b/src/licensedcode/plugin_licenses_reference.py @@ -51,17 +51,18 @@ class LicensesReference(PostScanPlugin): sort_order = 500 options = [ - PluggableCommandLineOption(('--licenses-reference',), - is_flag=True, default=False, + PluggableCommandLineOption(('--no-licenses-reference',), + is_flag=True, + default=True, help='Include a reference of all the licenses referenced in this ' 'scan with the data details and full texts.', help_group=POST_SCAN_GROUP) ] - def is_enabled(self, licenses_reference, **kwargs): - return licenses_reference + def is_enabled(self, no_licenses_reference, **kwargs): + return no_licenses_reference - def process_codebase(self, codebase, licenses_reference, **kwargs): + def process_codebase(self, codebase, no_licenses_reference, **kwargs): """ Get unique License and Rule data from all license detections in a codebase-level list and only refer to them in the resource level detections. @@ -69,7 +70,14 @@ def process_codebase(self, codebase, licenses_reference, **kwargs): licexps = [] rules_data = [] + if not hasattr(codebase.attributes, 'licenses'): + return + + has_packages = False if hasattr(codebase.attributes, 'packages'): + has_packages = True + + if has_packages: codebase_packages = codebase.attributes.packages for pkg in codebase_packages: rules_data.extend( @@ -78,6 +86,15 @@ def process_codebase(self, codebase, licenses_reference, **kwargs): ) ) licexps.append(pkg['declared_license_expression']) + + # This license rules reference data is duplicate as `licenses` is a + # top level summary of all unique license detections but this function + # is called as the side effect is removing the reference attributes + # from license matches + try: + _discard = get_license_rules_reference_data(codebase.attributes.licenses) + except KeyError: + pass for resource in codebase.walk(): @@ -85,33 +102,42 @@ def process_codebase(self, codebase, licenses_reference, **kwargs): license_licexp = getattr(resource, 'detected_license_expression') if license_licexp: licexps.append(license_licexp) - package_data = getattr(resource, 'package_data', []) or [] - package_licexps = [ - pkg['declared_license_expression'] - for pkg in package_data - ] - licexps.extend(package_licexps) - - # Get license matches from both package and license detections - package_license_detections = [] - for pkg in package_data: - if not pkg['license_detections']: - continue - - package_license_detections.extend(pkg['license_detections']) - - rules_data.extend( - get_license_rules_reference_data(license_detections=package_license_detections) - ) + + if has_packages: + package_data = getattr(resource, 'package_data', []) or [] + package_licexps = [ + pkg['declared_license_expression'] + for pkg in package_data + ] + licexps.extend(package_licexps) + + # Get license matches from both package and license detections + package_license_detections = [] + for pkg in package_data: + if not pkg['license_detections']: + continue + + package_license_detections.extend(pkg['license_detections']) + + try: + rules_data.extend( + get_license_rules_reference_data(license_detections=package_license_detections) + ) + except KeyError: + pass license_detections = getattr(resource, 'license_detections', []) or [] license_clues = getattr(resource, 'license_clues', []) or [] - rules_data.extend( - get_license_rules_reference_data( - license_detections=license_detections, - license_clues=license_clues, + + try: + rules_data.extend( + get_license_rules_reference_data( + license_detections=license_detections, + license_clues=license_clues, + ) ) - ) + except KeyError: + pass codebase.save_resource(resource) @@ -122,6 +148,12 @@ def process_codebase(self, codebase, licenses_reference, **kwargs): codebase.attributes.rule_references.extend(rule_references) +def get_matched_text_from_reference_data(codebase, rule_identifier): + for rule_reference_data in codebase.attributes.rule_references: + if rule_reference_data["rule_identifier"] == rule_identifier: + matched_text = getattr(rule_reference_data, "matched_text", None) or None + return matched_text + def get_license_references(license_expressions, licensing=Licensing()): """ Get a list of unique License data from a list of `license_expression` strings. From 4825830849a5384320cf3956274bec0896319a07 Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Mon, 21 Nov 2022 05:07:10 +0530 Subject: [PATCH 04/11] Regen test expectations after default license references Signed-off-by: Ayan Sinha Mahapatra --- .../emails-threshold.expected.json | 2 + .../plugin_email_url/emails.expected.json | 2 + .../urls-threshold.expected.json | 2 + .../data/plugin_email_url/urls.expected.json | 2 + .../filtered-expected.json | 91 +- .../filtered-expected2.json | 83 +- .../filtered-expected3.json | 84 +- .../authors.expected.json | 2 + .../holders.expected.json | 2 + .../data/csv/livescan/expected.csv | 38 +- .../data/debian/basic/expected.copyright | 9 - .../debian/multiple_files/expected.copyright | 81 - .../data/json/simple-expected.json | 2 + .../data/json/simple-expected.jsonpp | 2 + .../data/json/tree/expected.json | 11 + .../data/yaml/simple-expected.yaml | 2 + .../data/yaml/tree/expected.yaml | 17 +- .../license-expression/scan.expected.json | 281 +- .../spdx-expressions.expected.json | 192 +- .../license-ref-see-copying.expected.json | 186 +- .../license_reference/scan-ref.expected.json | 181 +- ...-unknown-reference-copyright.expected.json | 334 +- ...unknown-ref-to-key-file-root.expected.json | 869 +- .../license_url/license_url.expected.json | 86 +- .../package/package.expected.json | 201 +- .../scan/e2fsprogs-expected.json | 211 +- .../scan/ffmpeg-license.expected.json | 1535 ++-- .../sqlite/sqlite.expected.json | 5622 ++++-------- .../text/scan-diag.expected.json | 288 +- .../plugin_license/text/scan.expected.json | 288 +- .../text_long_lines/scan-diag.expected.json | 285 +- .../text_long_lines/scan.expected.json | 285 +- ...n-unknown-intro-dual-license.expected.json | 318 +- ...tro-eclipse-foundation-tycho.expected.json | 2970 ++----- ...own-intro-eclipse-foundation.expected.json | 161 +- ...nown-intro-long-gaps-between.expected.json | 313 +- ...intro-with-imperfect-matches.expected.json | 300 +- .../policy-codebase.expected.json | 390 +- .../plugin_license_text/scan.expected.json | 593 +- ...e-reference-works-with-clues.expected.json | 1391 +-- ...-matched-text-with-reference.expected.json | 357 +- .../scan-with-reference.expected.json | 351 +- .../scan-without-reference.expected.json | 491 +- .../test_plugin_licenses_reference.py | 12 +- .../data/about/aboutfiles.expected.json | 2 + ...-container-layer.tar.xz-scan-expected.json | 2 + .../rootfs/alpine-rootfs.tar.xz-expected.json | 2 + .../data/bower/scan-expected.json | 2 + .../data/build/bazel/end2end-expected.json | 2 + .../data/build/buck/end2end-expected.json | 2 + .../end2end/build.gradle-expected.json | 2 + .../data/cargo/scan.expected.json | 2 + .../data/chef/package.scan.expected.json | 2 + .../assemble/many-podspecs-expected.json | 2 + .../assemble/multiple-podspec-expected.json | 2 + .../assemble/single-podspec-expected.json | 2 + .../assemble/solo/Podfile-expected.json | 2 + .../assemble/solo/Podfile.lock-expected.json | 2 + .../solo/RxDataSources.podspec-expected.json | 2 + .../data/debian/basic-rootfs-expected.json | 2 + ...-container-layer.tar.xz.scan-expected.json | 2 + .../data/debian/end-to-end.tgz.expected.json | 2 + .../debian/ubuntu-var-lib-dpkg/expected.json | 2 + ...instance-expected-with-test-manifests.json | 2 + ...n-package-instance-expected-with-uuid.json | 2 + .../python-package-instance-expected.json | 2 + .../activemq-camel.expected.json | 180 +- ...tivemq-camel_without_license.expected.json | 2 + .../google-built-collection.expected.json | 165 +- ...t-collection_without_license.expected.json | 2 + .../flutter_playtabs_bridge.expected.json | 505 +- ...ytabs_bridge_without_license.expected.json | 2 + .../nanopb.expected.json | 326 +- .../nanopb_without_license.expected.json | 2 + .../reference-to-package/base.expected.json | 265 +- .../fusiondirectory.expected.json | 7808 ++++------------- .../google_appengine_sdk.expected.json | 1269 +-- .../paddlenlp.expected.json | 978 +-- .../physics.expected.json | 1267 +-- .../reference-to-package/samba.expected.json | 3665 ++------ .../maven_misc/extracted-jar-expected.json | 2 + .../data/npm/electron/package.expected.json | 2 + .../get_package_resources.scan.expected.json | 2 + .../npm/private-and-yarn/scan.expected.json | 2 + .../data/npm/private/scan.expected.json | 2 + .../data/npm/scan-nested/scan.expected.json | 2 + .../data/plugin/about-package-expected.json | 2 + .../data/plugin/bower-package-expected.json | 2 + .../data/plugin/cargo-package-expected.json | 2 + .../data/plugin/chef-package-expected.json | 2 + .../data/plugin/com-package-expected.json | 2 + .../data/plugin/conda-package-expected.json | 2 + .../data/plugin/cran-package-expected.json | 2 + .../data/plugin/freebsd-package-expected.json | 2 + .../data/plugin/haxe-package-expected.json | 2 + .../data/plugin/maven-package-expected.json | 2 + .../data/plugin/mui-package-expected.json | 2 + .../data/plugin/mum-package-expected.json | 2 + .../data/plugin/mun-package-expected.json | 2 + .../data/plugin/npm-package-expected.json | 2 + .../data/plugin/nuget-package-expected.json | 2 + .../data/plugin/opam-package-expected.json | 2 + .../plugin/phpcomposer-package-expected.json | 2 + .../data/plugin/pubspec-expected.json | 2 + .../data/plugin/pubspec-lock-expected.json | 2 + .../data/plugin/python-package-expected.json | 2 + .../data/plugin/rpm-package-expected.json | 2 + .../plugin/rubygems-package-expected.json | 2 + .../data/plugin/sys-package-expected.json | 2 + .../data/plugin/tlb-package-expected.json | 2 + .../data/plugin/win_pe-package-expected.json | 2 + .../data/plugin/winmd-package-expected.json | 2 + .../site-packages/site-packages-expected.json | 2 + .../data/pypi/solo-metadata/expected.json | 2 + .../data/pypi/solo-setup/expected.json | 2 + .../pip-22.0.4-pypi-package-expected.json | 2 + ...ip-22.0.4-pypi-package-setup-expected.json | 2 + .../celery-expected.json | 2 + .../daglib_wheel_extracted-expected.json | 2 + .../expected-results.json | 2 + .../data/altpath/copyright.expected.json | 2 + .../data/composer/composer.expected.json | 2 + .../data/failing/patchelf.expected.json | 2 + tests/scancode/data/help/help.txt | 4 +- tests/scancode/data/info/all.expected.json | 241 +- .../data/info/all.rooted.expected.json | 254 +- tests/scancode/data/info/basic.expected.json | 2 + .../data/info/basic.rooted.expected.json | 2 + .../data/info/email_url_info.expected.json | 2 + .../scancode/data/license_text/test.expected | 105 +- tests/scancode/data/merge_scans/expected.json | 2 + .../data/non_utf8/expected-linux.json | 2 + .../with_info.expected.json | 2 + .../plugin_only_findings/basic.expected.json | 232 +- .../plugin_only_findings/errors.expected.json | 2 + .../plugin_only_findings/info.expected.json | 2 + ...-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json | 2 + .../data/single/iproute.expected.json | 2 + .../unicodepath.expected-linux.json | 2 + .../unicodepath.expected-linux.json--quiet | 2 + .../unicodepath.expected-linux.json--verbose | 2 + .../unicodepath.expected-linux.json-q | 2 + .../unicodepath.expected-linux.json-v | 2 + .../data/virtual_idempotent/codebase.json | 4473 ++++++---- .../data/weird_file_name/expected-posix.json | 2 + .../data/classify/cli.expected.json | 2 + .../summarycode/data/facet/cli.expected.json | 2 + .../data/generated/cli.expected.json | 2 + .../component-package-build-expected.json | 556 +- .../component-package-expected.json | 556 +- .../e2fsprogs-expected.json | 2 + .../license-holder-rollup-expected.json | 430 +- ...iple-same-holder-and-license-expected.json | 248 +- ...t-counted-in-license-holders-expected.json | 401 +- .../package-fileset-expected.json | 323 +- .../package-manifest-expected.json | 206 +- ...rectory-with-minority-origin-expected.json | 209 +- ...return-nested-local-majority-expected.json | 508 +- .../plugin_consolidate/zlib-expected.json | 2 + .../data/score/basic-expected.json | 197 +- ...consistent_licenses_copyleft-expected.json | 285 +- .../score/no_license_ambiguity-expected.json | 525 +- .../no_license_or_copyright-expected.json | 7 + .../data/score/no_license_text-expected.json | 94 +- ...nflicting_license_categories.expected.json | 558 +- .../summary/end-2-end/bug-1141.expected.json | 191 +- .../holders/clear_holder.expected.json | 504 +- .../holders/combined_holders.expected.json | 504 +- .../license_ambiguity/ambiguous.expected.json | 183 +- .../unambiguous.expected.json | 310 +- .../multiple_package_data.expected.json | 622 +- .../single_file/single_file.expected.json | 86 +- .../summary-without-holder-pypi.expected.json | 837 +- ...holder_from_package_resource.expected.json | 164 +- .../with_package_data.expected.json | 477 +- .../without_package_data.expected.json | 310 +- .../copyright_tallies/tallies.expected.json | 2 + .../copyright_tallies/tallies2.expected.json | 2 + .../tallies_details.expected.json | 2 + .../tallies_details.expected2.json | 2 + .../tallies_key_files.expected.json | 2 + .../tallies/end-2-end/bug-1141.expected.json | 191 +- .../full_tallies/tallies.expected.json | 1553 ++-- .../tallies_by_facet.expected.json | 1553 ++-- .../tallies_details.expected.json | 1553 ++-- ...lies_key_files-details.expected.json-lines | 1479 ++-- .../tallies_key_files.expected.json | 1471 ++-- .../data/tallies/packages/expected.json | 2 + 188 files changed, 22029 insertions(+), 35914 deletions(-) diff --git a/tests/cluecode/data/plugin_email_url/emails-threshold.expected.json b/tests/cluecode/data/plugin_email_url/emails-threshold.expected.json index c5b021e9eb1..4bcf172a9af 100644 --- a/tests/cluecode/data/plugin_email_url/emails-threshold.expected.json +++ b/tests/cluecode/data/plugin_email_url/emails-threshold.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "3w-xxxx.c", diff --git a/tests/cluecode/data/plugin_email_url/emails.expected.json b/tests/cluecode/data/plugin_email_url/emails.expected.json index 36b0033b788..bd9c6882eb6 100644 --- a/tests/cluecode/data/plugin_email_url/emails.expected.json +++ b/tests/cluecode/data/plugin_email_url/emails.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "3w-xxxx.c", diff --git a/tests/cluecode/data/plugin_email_url/urls-threshold.expected.json b/tests/cluecode/data/plugin_email_url/urls-threshold.expected.json index 97de3048fff..6c622759120 100644 --- a/tests/cluecode/data/plugin_email_url/urls-threshold.expected.json +++ b/tests/cluecode/data/plugin_email_url/urls-threshold.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "3w-xxxx.c", diff --git a/tests/cluecode/data/plugin_email_url/urls.expected.json b/tests/cluecode/data/plugin_email_url/urls.expected.json index a729f46b21a..1b26798d0d0 100644 --- a/tests/cluecode/data/plugin_email_url/urls.expected.json +++ b/tests/cluecode/data/plugin_email_url/urls.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "3w-xxxx.c", diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected.json index 393aaa2918c..ec255c9b6bd 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected.json @@ -17,36 +17,48 @@ "matcher": "3-seq", "license_expression": "apache-1.1", "rule_identifier": "apache-1.1_63.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.1_63.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 367, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-1.1", - "name": "Apache License 1.1", - "short_name": "Apache 1.1", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://apache.org/licenses/LICENSE-1.1", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-1.1", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.1.LICENSE", - "spdx_license_key": "Apache-1.1", - "spdx_url": "https://spdx.org/licenses/Apache-1.1" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.1_63.RULE" } ] } ], + "license_references": [ + { + "key": "apache-1.1", + "short_name": "Apache 1.1", + "name": "Apache License 1.1", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this license is OSI certified. This license has been\nsuperseded by Apache 2.0\n", + "is_builtin": true, + "spdx_license_key": "Apache-1.1", + "osi_license_key": "Apache-1.1", + "text_urls": [ + "http://apache.org/licenses/LICENSE-1.1" + ], + "faq_url": "http://www.apache.org/foundation/license-faq.html", + "other_urls": [ + "http://opensource.org/licenses/Apache-1.1", + "https://opensource.org/licenses/Apache-1.1" + ], + "text": "The Apache Software License, Version 1.1\n\nCopyright (c) 2000 The Apache Software Foundation. All rights\nreserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the\ndistribution.\n\n3. The end-user documentation included with the redistribution,\nif any, must include the following acknowledgment:\n\"This product includes software developed by the\nApache Software Foundation (http://www.apache.org/).\"\nAlternately, this acknowledgment may appear in the software itself,\nif and wherever such third-party acknowledgments normally appear.\n\n4. The names \"Apache\" and \"Apache Software Foundation\" must\nnot be used to endorse or promote products derived from this\nsoftware without prior written permission. For written\npermission, please contact apache@apache.org.\n\n5. Products derived from this software may not be called \"Apache\",\nnor may \"Apache\" appear in their name, without prior written\npermission of the Apache Software Foundation.\n\nTHIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED\nWARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR\nITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\nUSE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\nOF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE." + } + ], + "rule_references": [ + { + "license_expression": "apache-1.1", + "rule_identifier": "apache-1.1_63.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 367, + "rule_relevance": 100 + } + ], "files": [ { "path": "LICENSE", @@ -85,32 +97,7 @@ "matcher": "3-seq", "license_expression": "apache-1.1", "rule_identifier": "apache-1.1_63.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.1_63.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 367, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-1.1", - "name": "Apache License 1.1", - "short_name": "Apache 1.1", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://apache.org/licenses/LICENSE-1.1", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-1.1", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.1.LICENSE", - "spdx_license_key": "Apache-1.1", - "spdx_url": "https://spdx.org/licenses/Apache-1.1" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.1_63.RULE" } ] } diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json index 59d1ac78928..7ed36161439 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json @@ -17,36 +17,40 @@ "matcher": "2-aho", "license_expression": "pygres-2.2", "rule_identifier": "pygres-2.2_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pygres-2.2_2.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 145, - "rule_relevance": 100, - "licenses": [ - { - "key": "pygres-2.2", - "name": "PyGres License v2.2", - "short_name": "PyGres License 2.2", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "http://shell.vex.net/viewvc.cgi/pygresql/trunk/module/pgmodule.c?view=markup&pathrev=431", - "reference_url": "https://scancode-licensedb.aboutcode.org/pygres-2.2", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pygres-2.2.LICENSE", - "spdx_license_key": "LicenseRef-scancode-pygres-2.2", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pygres-2.2.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pygres-2.2_2.RULE" } ] } ], + "license_references": [ + { + "key": "pygres-2.2", + "short_name": "PyGres License 2.2", + "name": "PyGres License v2.2", + "category": "Permissive", + "owner": "Unspecified", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-pygres-2.2", + "text_urls": [ + "http://shell.vex.net/viewvc.cgi/pygresql/trunk/module/pgmodule.c?view=markup&pathrev=431" + ], + "text": "PyGres, version 2.2 A Python interface for PostgreSQL database. Written by\nD'Arcy J.M. Cain, (darcy@druid.net). Based heavily on code written by\nPascal Andre, andre@chimay.via.ecp.fr. Copyright (c) 1995, Pascal Andre\n(andre@via.ecp.fr).\n\nPermission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose, without fee, and without a written\nagreement is hereby granted, provided that the above copyright notice and\nthis paragraph and the following two paragraphs appear in all copies or in\nany new file that contains a substantial portion of this file.\n\nIN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,\nSPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,\nARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE\nAUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED\nTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN \"AS IS\" BASIS, AND THE\nAUTHOR HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,\nENHANCEMENTS, OR MODIFICATIONS.\n\nFurther modifications copyright 1997, 1998, 1999 by D'Arcy J.M. Cain\n(darcy@druid.net) subject to the same terms and conditions as above." + } + ], + "rule_references": [ + { + "license_expression": "pygres-2.2", + "rule_identifier": "pygres-2.2_2.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 145, + "rule_relevance": 100 + } + ], "files": [ { "path": "LICENSE2", @@ -85,32 +89,7 @@ "matcher": "2-aho", "license_expression": "pygres-2.2", "rule_identifier": "pygres-2.2_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pygres-2.2_2.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 145, - "rule_relevance": 100, - "licenses": [ - { - "key": "pygres-2.2", - "name": "PyGres License v2.2", - "short_name": "PyGres License 2.2", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "http://shell.vex.net/viewvc.cgi/pygresql/trunk/module/pgmodule.c?view=markup&pathrev=431", - "reference_url": "https://scancode-licensedb.aboutcode.org/pygres-2.2", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pygres-2.2.LICENSE", - "spdx_license_key": "LicenseRef-scancode-pygres-2.2", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pygres-2.2.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pygres-2.2_2.RULE" } ] } diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json index 1f5e4ee6c3a..b05630b46c8 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json @@ -17,36 +17,41 @@ "matcher": "1-hash", "license_expression": "pcre", "rule_identifier": "pcre.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pcre.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 303, - "rule_relevance": 100, - "licenses": [ - { - "key": "pcre", - "name": "PCRE License", - "short_name": "PCRE License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "University of Cambridge", - "homepage_url": "http://www.pcre.org/licence.txt", - "text_url": "http://www.pcre.org/licence.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/pcre", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pcre.LICENSE", - "spdx_license_key": "LicenseRef-scancode-pcre", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pcre.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pcre.LICENSE" } ] } ], + "license_references": [ + { + "key": "pcre", + "short_name": "PCRE License", + "name": "PCRE License", + "category": "Permissive", + "owner": "University of Cambridge", + "homepage_url": "http://www.pcre.org/licence.txt", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-pcre", + "text_urls": [ + "http://www.pcre.org/licence.txt" + ], + "text": "PCRE LICENCE\n------------\n\nPCRE is a library of functions to support regular expressions whose\nsyntax and semantics are as close as possible to those of the Perl 5\nlanguage.\n\nWritten by: Philip Hazel \nUniversity of Cambridge Computing Service, Cambridge, England.\nPhone: +44 1223 334714.\nCopyright (c) 1997-2001 University of Cambridge\n\nPermission is granted to anyone to use this software for any purpose on\nany computer system, and to redistribute it freely, subject to the\nfollowing restrictions:\n\n1. This software is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n2. The origin of this software must not be misrepresented, either by\nexplicit claim or by omission. In practice, this means that if you use\nPCRE in software which you distribute to others, commercially or\notherwise, you must put a sentence like this\n\"Regular expression support is provided by the PCRE library package,\nwhich is open source software, written by Philip Hazel, and copyright by\nthe University of Cambridge, England\"\n\nsomewhere reasonably visible in your documentation and in any relevant\nfiles or online help data or similar.\n\nA reference to the ftp site for the source, that is, to\nftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\nshould also be given in the documentation.\n\n3. Altered versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n4. If PCRE is embedded in any software that is released under the GNU\nGeneral Purpose Licence (GPL), or Lesser General Purpose Licence (LGPL),\nthen the terms of that licence shall supersede any condition above with\nwhich it is incompatible.\n\nThe documentation for PCRE, supplied in the \"doc\" directory, is\ndistributed under the same terms as the software itself.\n\nEnd PCRE LICENCE" + } + ], + "rule_references": [ + { + "license_expression": "pcre", + "rule_identifier": "pcre.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 303, + "rule_relevance": 100 + } + ], "files": [ { "path": "LICENSE3", @@ -85,32 +90,7 @@ "matcher": "1-hash", "license_expression": "pcre", "rule_identifier": "pcre.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pcre.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 303, - "rule_relevance": 100, - "licenses": [ - { - "key": "pcre", - "name": "PCRE License", - "short_name": "PCRE License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "University of Cambridge", - "homepage_url": "http://www.pcre.org/licence.txt", - "text_url": "http://www.pcre.org/licence.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/pcre", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pcre.LICENSE", - "spdx_license_key": "LicenseRef-scancode-pcre", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pcre.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pcre.LICENSE" } ] } diff --git a/tests/cluecode/data/plugin_ignore_copyrights/authors.expected.json b/tests/cluecode/data/plugin_ignore_copyrights/authors.expected.json index eece5f5db84..5bac2a0c030 100644 --- a/tests/cluecode/data/plugin_ignore_copyrights/authors.expected.json +++ b/tests/cluecode/data/plugin_ignore_copyrights/authors.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "basic.tgz", diff --git a/tests/cluecode/data/plugin_ignore_copyrights/holders.expected.json b/tests/cluecode/data/plugin_ignore_copyrights/holders.expected.json index eece5f5db84..5bac2a0c030 100644 --- a/tests/cluecode/data/plugin_ignore_copyrights/holders.expected.json +++ b/tests/cluecode/data/plugin_ignore_copyrights/holders.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "basic.tgz", diff --git a/tests/formattedcode/data/csv/livescan/expected.csv b/tests/formattedcode/data/csv/livescan/expected.csv index f4ce89320dd..0d33b57edff 100644 --- a/tests/formattedcode/data/csv/livescan/expected.csv +++ b/tests/formattedcode/data/csv/livescan/expected.csv @@ -1,19 +1,19 @@ -path,type,name,base_name,extension,size,date,sha1,md5,sha256,mime_type,file_type,programming_language,is_binary,is_text,is_archive,is_media,is_source,is_script,detected_license_expression,detected_license_expression_spdx,percentage_of_license_text,files_count,dirs_count,size_count,scan_errors,license_expression,detection_log,license_match__score,start_line,end_line,license_match__matched_length,license_match__match_coverage,license_match__matcher,license_match__license_expression,license_match__rule_identifier,license_match__rule_url,license_match__referenced_filenames,license_match__is_license_text,license_match__is_license_notice,license_match__is_license_reference,license_match__is_license_tag,license_match__is_license_intro,license_match__rule_length,license_match__rule_relevance,license_match__licenses,copyright,holder,email,url,package__type,package__namespace,package__name,package__version,package__qualifiers,package__subpath,package__primary_language,package__description,package__release_date,package__homepage_url,package__download_url,package__size,package__sha1,package__md5,package__sha256,package__sha512,package__bug_tracking_url,package__code_view_url,package__vcs_url,package__copyright,package__declared_license_expression,package__declared_license_expression_spdx,package__license_detections,package__other_license_expression,package__other_license_expression_spdx,package__other_license_detections,package__extracted_license_statement,package__notice_text,package__file_references,package__extra_data,package__repository_homepage_url,package__repository_download_url,package__api_data_url,package__datasource_id,package__purl -json2csv.rb,file,json2csv.rb,json2csv,.rb,912,2022-09-06,1236469a06a2bacbdd8e172ad718482af5b0a936,1307c281e0b153202e291b217eab85d5,12ba215313981dbe810d9ed696b7cc753d97adfcc26eba1e13f941dc7506aa4e,text/x-script.python,"Python script, ASCII text executable",Ruby,False,True,False,False,True,True,apache-2.0,Apache-2.0,62.04,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,apache-2.0,not-combined,100.00,5,13,85,100.00,2-aho,apache-2.0,apache-2.0_7.RULE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE,[],False,True,False,False,False,85,100.00,apache-2.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3,3,,,,,,,,,,,,,,,,Copyright (c) 2017 nexB Inc. and others,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3,3,,,,,,,,,,,,,,,,,nexB Inc. and others,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,4,,,,,,,,,,,,,,,,,,,http://nexb.com/,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,4,,,,,,,,,,,,,,,,,,,https://github.com/nexB/scancode-toolkit/,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,8,8,,,,,,,,,,,,,,,,,,,http://www.apache.org/licenses/LICENSE-2.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -license,file,license,license,,679,2022-09-06,75c5490a718ddd45e40e0cc7ce0c756abc373123,b965a762efb9421cf1bf4405f336e278,a34098a43e5677495f59dff825a3f9bc0f2b0261d75feb2356919f4c3ce049ab,text/plain,ASCII text,,False,True,False,False,False,False,gpl-2.0-plus,GPL-2.0-or-later,100.0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -license,,,,,,,,,,,,,,,,,,,,,,,,,,gpl-2.0-plus,not-combined,100.00,1,12,113,100.00,1-hash,gpl-2.0-plus,gpl-2.0-plus_420.RULE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_420.RULE,[],False,True,False,False,False,113,100.00,gpl-2.0-plus,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,file,package.json,package,.json,2200,2022-09-06,918376afce796ef90eeda1d6695f2289c90491ac,1f66239a9b850c5e60a9382dbe2162d2,29f6068a1b6c7d06f115a5edc4ed8558edde42c6bbf0145ed77cf1108a0dd529,application/json,JSON data,,False,True,False,False,False,False,mit,MIT,45.72,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,,mit,from-package-file,100.00,24,24,3,100.00,2-aho,mit,mit_27.RULE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_27.RULE,[],False,False,True,False,False,3,100.00,mit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,,mit,from-package-file,84.68,24,24,136,85.53,3-seq,mit,mit_823.RULE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_823.RULE,[],True,False,False,False,False,159,99.00,mit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,24,24,,,,,,,,,,,,,,,,Copyright (c) 2012 LearnBoost ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,24,24,,,,,,,,,,,,,,,,,LearnBoost,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,12,12,,,,,,,,,,,,,,,,,,tj@learnboost.com,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,16,16,,,,,,,,,,,,,,,,,,,https://github.com/visionmedia/node-cookie-signature.git,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,27,27,,,,,,,,,,,,,,,,,,,https://github.com/visionmedia/node-cookie-signature/issues,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,npm,,cookie-signature,v 1.0.3,,,JavaScript,Sign and unsign cookies,,,https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz,,,,,,https://github.com/visionmedia/node-cookie-signature/issues,,git+https://github.com/visionmedia/node-cookie-signature.git,,mit,MIT,"[{'license_expression': 'mit', 'detection_log': ['from-package-file'], 'matches': [{'score': 100.0, 'start_line': 24, 'end_line': 24, 'matched_length': 3, 'match_coverage': 100.0, 'matcher': '2-aho', 'license_expression': 'mit', 'rule_identifier': 'mit_27.RULE', 'rule_url': 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_27.RULE', 'referenced_filenames': [], 'is_license_text': False, 'is_license_notice': False, 'is_license_reference': True, 'is_license_tag': False, 'is_license_intro': False, 'rule_length': 3, 'rule_relevance': 100, 'licenses': [{'key': 'mit', 'name': 'MIT License', 'short_name': 'MIT License', 'category': 'Permissive', 'is_exception': False, 'is_unknown': False, 'owner': 'MIT', 'homepage_url': 'http://opensource.org/licenses/mit-license.php', 'text_url': 'http://opensource.org/licenses/mit-license.php', 'reference_url': 'https://scancode-licensedb.aboutcode.org/mit', 'scancode_url': 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE', 'spdx_license_key': 'MIT', 'spdx_url': 'https://spdx.org/licenses/MIT'}]}, {'score': 84.68, 'start_line': 24, 'end_line': 24, 'matched_length': 136, 'match_coverage': 85.53, 'matcher': '3-seq', 'license_expression': 'mit', 'rule_identifier': 'mit_823.RULE', 'rule_url': 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_823.RULE', 'referenced_filenames': [], 'is_license_text': True, 'is_license_notice': False, 'is_license_reference': False, 'is_license_tag': False, 'is_license_intro': False, 'rule_length': 159, 'rule_relevance': 99, 'licenses': [{'key': 'mit', 'name': 'MIT License', 'short_name': 'MIT License', 'category': 'Permissive', 'is_exception': False, 'is_unknown': False, 'owner': 'MIT', 'homepage_url': 'http://opensource.org/licenses/mit-license.php', 'text_url': 'http://opensource.org/licenses/mit-license.php', 'reference_url': 'https://scancode-licensedb.aboutcode.org/mit', 'scancode_url': 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE', 'spdx_license_key': 'MIT', 'spdx_url': 'https://spdx.org/licenses/MIT'}]}]}]",,,,,,,,https://www.npmjs.com/package/cookie-signature,https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz,https://registry.npmjs.org/cookie-signature/1.0.3,npm_package_json,pkg:npm/cookie-signature@1.0.3 +path,type,name,base_name,extension,size,date,sha1,md5,sha256,mime_type,file_type,programming_language,is_binary,is_text,is_archive,is_media,is_source,is_script,detected_license_expression,detected_license_expression_spdx,percentage_of_license_text,files_count,dirs_count,size_count,scan_errors,license_expression,detection_log,license_match__score,start_line,end_line,license_match__matched_length,license_match__match_coverage,license_match__matcher,license_match__license_expression,license_match__rule_identifier,license_match__rule_url,copyright,holder,email,url,package__type,package__namespace,package__name,package__version,package__qualifiers,package__subpath,package__primary_language,package__description,package__release_date,package__homepage_url,package__download_url,package__size,package__sha1,package__md5,package__sha256,package__sha512,package__bug_tracking_url,package__code_view_url,package__vcs_url,package__copyright,package__declared_license_expression,package__declared_license_expression_spdx,package__license_detections,package__other_license_expression,package__other_license_expression_spdx,package__other_license_detections,package__extracted_license_statement,package__notice_text,package__file_references,package__extra_data,package__repository_homepage_url,package__repository_download_url,package__api_data_url,package__datasource_id,package__purl +json2csv.rb,file,json2csv.rb,json2csv,.rb,912,2022-04-20,1236469a06a2bacbdd8e172ad718482af5b0a936,1307c281e0b153202e291b217eab85d5,12ba215313981dbe810d9ed696b7cc753d97adfcc26eba1e13f941dc7506aa4e,text/x-script.python,"Python script, ASCII text executable",Ruby,False,True,False,False,True,True,apache-2.0,Apache-2.0,62.04,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,apache-2.0,not-combined,100.00,5,13,85,100.00,2-aho,apache-2.0,apache-2.0_7.RULE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3,3,,,,,,,Copyright (c) 2017 nexB Inc. and others,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3,3,,,,,,,,nexB Inc. and others,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,4,,,,,,,,,,http://nexb.com/,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,4,,,,,,,,,,https://github.com/nexB/scancode-toolkit/,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,8,8,,,,,,,,,,http://www.apache.org/licenses/LICENSE-2.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +license,file,license,license,,679,2022-04-20,75c5490a718ddd45e40e0cc7ce0c756abc373123,b965a762efb9421cf1bf4405f336e278,a34098a43e5677495f59dff825a3f9bc0f2b0261d75feb2356919f4c3ce049ab,text/plain,ASCII text,,False,True,False,False,False,False,gpl-2.0-plus,GPL-2.0-or-later,100.0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +license,,,,,,,,,,,,,,,,,,,,,,,,,,gpl-2.0-plus,not-combined,100.00,1,12,113,100.00,1-hash,gpl-2.0-plus,gpl-2.0-plus_420.RULE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_420.RULE,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,file,package.json,package,.json,2200,2022-04-20,918376afce796ef90eeda1d6695f2289c90491ac,1f66239a9b850c5e60a9382dbe2162d2,29f6068a1b6c7d06f115a5edc4ed8558edde42c6bbf0145ed77cf1108a0dd529,application/json,JSON data,,False,True,False,False,False,False,mit,MIT,45.72,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,,mit,from-package-file,100.00,24,24,3,100.00,2-aho,mit,mit_27.RULE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_27.RULE,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,,mit,from-package-file,84.68,24,24,136,85.53,3-seq,mit,mit_823.RULE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_823.RULE,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,24,24,,,,,,,Copyright (c) 2012 LearnBoost ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,24,24,,,,,,,,LearnBoost,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,12,12,,,,,,,,,tj@learnboost.com,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,16,16,,,,,,,,,,https://github.com/visionmedia/node-cookie-signature.git,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,27,27,,,,,,,,,,https://github.com/visionmedia/node-cookie-signature/issues,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,npm,,cookie-signature,v 1.0.3,,,JavaScript,Sign and unsign cookies,,,https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz,,,,,,https://github.com/visionmedia/node-cookie-signature/issues,,git+https://github.com/visionmedia/node-cookie-signature.git,,mit,MIT,"[{'license_expression': 'mit', 'detection_log': ['from-package-file'], 'matches': [{'score': 100.0, 'start_line': 24, 'end_line': 24, 'matched_length': 3, 'match_coverage': 100.0, 'matcher': '2-aho', 'license_expression': 'mit', 'rule_identifier': 'mit_27.RULE', 'rule_url': 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_27.RULE'}, {'score': 84.68, 'start_line': 24, 'end_line': 24, 'matched_length': 136, 'match_coverage': 85.53, 'matcher': '3-seq', 'license_expression': 'mit', 'rule_identifier': 'mit_823.RULE', 'rule_url': 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_823.RULE'}]}]",,,,,,,,https://www.npmjs.com/package/cookie-signature,https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz,https://registry.npmjs.org/cookie-signature/1.0.3,npm_package_json,pkg:npm/cookie-signature@1.0.3 diff --git a/tests/formattedcode/data/debian/basic/expected.copyright b/tests/formattedcode/data/debian/basic/expected.copyright index 6205ce3a9fd..12414f57685 100644 --- a/tests/formattedcode/data/debian/basic/expected.copyright +++ b/tests/formattedcode/data/debian/basic/expected.copyright @@ -10,13 +10,4 @@ Files: scan/copyright_acme_c-c.c Copyright: ACME, Inc. nexB Inc. 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. diff --git a/tests/formattedcode/data/debian/multiple_files/expected.copyright b/tests/formattedcode/data/debian/multiple_files/expected.copyright index e3655c328f7..579ed3b6009 100644 --- a/tests/formattedcode/data/debian/multiple_files/expected.copyright +++ b/tests/formattedcode/data/debian/multiple_files/expected.copyright @@ -12,93 +12,27 @@ Copyright: ACME, Inc. Foobar, Inc. Foobar, Inc. License: apache-2.0 AND lgpl-2.1-plus - 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. - 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 St, Fifth Floor, Boston, MA - 02110-1301 USA Files: scan/copy2.c Copyright: ACME, Inc. Foobar, Inc. Foobar, Inc. License: lgpl-2.1-plus - 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 St, Fifth Floor, Boston, MA - 02110-1301 USA Files: scan/copy3.c Copyright: ACME, Inc. Foobar, Inc. License: lgpl-2.1-plus - 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 St, Fifth Floor, Boston, MA - 02110-1301 USA Files: scan/subdir/copy1.c Copyright: ACME, Inc. Foobar, Inc. License: lgpl-2.1-plus - 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 St, Fifth Floor, Boston, MA - 02110-1301 USA Files: scan/subdir/copy2.c Copyright: ACME, Inc. Foobar, Inc. License: gpl-2.0 OR apache-2.0 - SPDX-License-Identifier: GPL-2.0-only OR Apache-2.0 Files: scan/subdir/copy3.c Copyright: ACME, Inc. @@ -107,22 +41,7 @@ Files: scan/subdir/copy4.c Copyright: ACME, Inc. Foobar, Inc. License: gpl-2.0 - license gpl-2.0 Files: scan/subdir/copy5.c License: lgpl-2.1-plus - 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 St, Fifth Floor, Boston, MA - 02110-1301 USA diff --git a/tests/formattedcode/data/json/simple-expected.json b/tests/formattedcode/data/json/simple-expected.json index 82ecaa5b20a..318b11b887a 100644 --- a/tests/formattedcode/data/json/simple-expected.json +++ b/tests/formattedcode/data/json/simple-expected.json @@ -2,6 +2,8 @@ "licenses": [], "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "simple", diff --git a/tests/formattedcode/data/json/simple-expected.jsonpp b/tests/formattedcode/data/json/simple-expected.jsonpp index 82ecaa5b20a..318b11b887a 100644 --- a/tests/formattedcode/data/json/simple-expected.jsonpp +++ b/tests/formattedcode/data/json/simple-expected.jsonpp @@ -2,6 +2,8 @@ "licenses": [], "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "simple", diff --git a/tests/formattedcode/data/json/tree/expected.json b/tests/formattedcode/data/json/tree/expected.json index ca7e98faf12..1f87c2a53a0 100644 --- a/tests/formattedcode/data/json/tree/expected.json +++ b/tests/formattedcode/data/json/tree/expected.json @@ -1,6 +1,9 @@ { + "licenses": [], "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "copy1.c", @@ -26,6 +29,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", @@ -72,6 +76,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", @@ -118,6 +123,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", @@ -164,6 +170,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -198,6 +205,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", @@ -244,6 +252,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", @@ -290,6 +299,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", @@ -336,6 +346,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", diff --git a/tests/formattedcode/data/yaml/simple-expected.yaml b/tests/formattedcode/data/yaml/simple-expected.yaml index 28ac1b2b571..32aea945cfa 100644 --- a/tests/formattedcode/data/yaml/simple-expected.yaml +++ b/tests/formattedcode/data/yaml/simple-expected.yaml @@ -30,6 +30,8 @@ headers: licenses: [] dependencies: [] packages: [] +license_references: [] +rule_references: [] files: - path: simple type: directory diff --git a/tests/formattedcode/data/yaml/tree/expected.yaml b/tests/formattedcode/data/yaml/tree/expected.yaml index 3f13dd0edb0..cf1a9de8e03 100644 --- a/tests/formattedcode/data/yaml/tree/expected.yaml +++ b/tests/formattedcode/data/yaml/tree/expected.yaml @@ -15,7 +15,7 @@ headers: for any legal advice. ScanCode is a free software code scanning tool from nexB Inc. and others. Visit https://github.com/nexB/scancode-toolkit/ for support and download. - output_format_version: 2.0.0 + output_format_version: 3.0.0 message: errors: [] warnings: [] @@ -23,13 +23,16 @@ headers: system_environment: operating_system: linux cpu_architecture: 64 - platform: Linux-5.14.0-1045-oem-x86_64-with-glibc2.29 - platform_version: '#51-Ubuntu SMP Mon Jul 4 06:41:22 UTC 2022' + platform: Linux-5.14.0-1054-oem-x86_64-with-glibc2.29 + platform_version: '#61-Ubuntu SMP Fri Oct 14 13:05:50 UTC 2022' python_version: "3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]" spdx_license_list_version: '3.17' files_count: 7 +licenses: [] dependencies: [] packages: [] +license_references: [] +rule_references: [] files: - path: copy1.c type: file @@ -54,6 +57,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' + for_licenses: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 @@ -92,6 +96,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' + for_licenses: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 @@ -130,6 +135,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' + for_licenses: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 @@ -168,6 +174,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' + for_licenses: [] copyrights: [] holders: [] authors: [] @@ -200,6 +207,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' + for_licenses: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 @@ -238,6 +246,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' + for_licenses: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 @@ -276,6 +285,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' + for_licenses: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 @@ -314,6 +324,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' + for_licenses: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 diff --git a/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json b/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json index 345ff4e478d..786f7984804 100644 --- a/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json @@ -17,32 +17,7 @@ "matcher": "2-aho", "license_expression": "apache-1.0", "rule_identifier": "apache-1.0.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.0.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 368, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-1.0", - "name": "Apache License 1.0", - "short_name": "Apache 1.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-1.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", - "spdx_license_key": "Apache-1.0", - "spdx_url": "https://spdx.org/licenses/Apache-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.0.LICENSE" } ] }, @@ -63,66 +38,124 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "linux-syscall-exception-gpl", - "name": "Linux Syscall Exception to GPL", - "short_name": "Linux Syscall Exception to GPL", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", - "spdx_license_key": "Linux-syscall-note", - "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" - }, - { - "key": "linux-openib", - "name": "Linux-OpenIB", - "short_name": "Linux-OpenIB", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", - "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", - "spdx_license_key": "Linux-OpenIB", - "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" - } - ] + "rule_url": null } ] } ], + "license_references": [ + { + "key": "apache-1.0", + "short_name": "Apache 1.0", + "name": "Apache License 1.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "is_builtin": true, + "spdx_license_key": "Apache-1.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-1.0" + ], + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "minimum_coverage": 80, + "text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the\ndistribution.\n\n3. All advertising materials mentioning features or use of this\nsoftware must display the following acknowledgment:\n\"This product includes software developed by the Apache Group\nfor use in the Apache HTTP server project (http://www.apache.org/).\"\n\n4. The names \"Apache Server\" and \"Apache Group\" must not be used to\nendorse or promote products derived from this software without\nprior written permission. For written permission, please contact\napache@apache.org.\n\n5. Products derived from this software may not be called \"Apache\"\nnor may \"Apache\" appear in their names without prior written\npermission of the Apache Group.\n\n6. Redistributions of any form whatsoever must retain the following\nacknowledgment:\n\"This product includes software developed by the Apache Group\nfor use in the Apache HTTP server project (http://www.apache.org/).\"\n\nTHIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\nEXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\nITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\nSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\nOF THE POSSIBILITY OF SUCH DAMAGE.\n====================================================================\n\nThis software consists of voluntary contributions made by many\nindividuals on behalf of the Apache Group and was originally based\non public domain software written at the National Center for\nSupercomputing Applications, University of Illinois, Urbana-Champaign.\nFor more information on the Apache Group and the Apache HTTP server\nproject, please see ." + }, + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "linux-openib", + "short_name": "Linux-OpenIB", + "name": "Linux-OpenIB", + "category": "Permissive", + "owner": "Linux Foundation", + "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", + "notes": "This license is a hybrid of two common licenses the BSD-2-Clause (bsd-\nsimplified) and the MIT License (mit).\n", + "is_builtin": true, + "spdx_license_key": "Linux-OpenIB", + "text_urls": [ + "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README" + ], + "other_urls": [ + "https://github.com/spdx/license-list-XML/issues/620", + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h?id=3215b9d57a2c75c4305a3956ca303d7004485200" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n- Redistributions of source code must retain the above copyright notice, this\nlist of conditions and the following disclaimer.\n\n- Redistributions in binary form must reproduce the above copyright notice,\nthis list of conditions and the following disclaimer in the documentation\nand/or other materials provided with the distribution.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + }, + { + "key": "linux-syscall-exception-gpl", + "short_name": "Linux Syscall Exception to GPL", + "name": "Linux Syscall Exception to GPL", + "category": "Copyleft Limited", + "owner": "Linux Foundation", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "Linux-syscall-note", + "other_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/COPYING" + ], + "standard_notice": "NOTE! This copyright does *not* cover user programs that use kernel\nservices by normal system calls - this is merely considered normal use\nof the kernel, and does *not* fall under the heading of \"derived work\".\nAlso note that the GPL below is copyrighted by the Free Software\nFoundation, but the instance of code that it refers to (the Linux\nkernel) is copyrighted by me and others who actually wrote it.\nAlso note that the only valid version of the GPL as far as the kernel\nis concerned is _this_ particular version of the license (ie v2, not\nv2.2 or v3.x or whatever), unless explicitly otherwise stated.\nLinus Torvalds\nThis library is free software; you can redistribute it and/or modify it\nunder the terms of the GNU General Public License version 2 as published by\nthe Free Software Foundation.\nThis library is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\nFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\nmore details.\nYou should have received a copy of the GNU General Public License along\nwith this library; see the file COPYING. If not, write to the Free Software\nFoundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n", + "text": "NOTE! This copyright does *not* cover user programs that use kernel\nservices by normal system calls - this is merely considered normal use\nof the kernel, and does *not* fall under the heading of \"derived work\".\nAlso note that the GPL below is copyrighted by the Free Software\nFoundation, but the instance of code that it refers to (the Linux\nkernel) is copyrighted by me and others who actually wrote it.\n\nAlso note that the only valid version of the GPL as far as the kernel\nis concerned is _this_ particular version of the license (ie v2, not\nv2.2 or v3.x or whatever), unless explicitly otherwise stated.\n\nLinus Torvalds" + } + ], + "rule_references": [ + { + "license_expression": "apache-1.0", + "rule_identifier": "apache-1.0.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 368, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 13, + "rule_relevance": 100 + } + ], "files": [ { "path": "apache-1.0.txt", @@ -145,32 +178,7 @@ "matcher": "2-aho", "license_expression": "apache-1.0", "rule_identifier": "apache-1.0.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 368, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-1.0", - "name": "Apache License 1.0", - "short_name": "Apache 1.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-1.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", - "spdx_license_key": "Apache-1.0", - "spdx_url": "https://spdx.org/licenses/Apache-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE" } ] } @@ -203,62 +211,7 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "linux-syscall-exception-gpl", - "name": "Linux Syscall Exception to GPL", - "short_name": "Linux Syscall Exception to GPL", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", - "spdx_license_key": "Linux-syscall-note", - "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" - }, - { - "key": "linux-openib", - "name": "Linux-OpenIB", - "short_name": "Linux-OpenIB", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", - "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", - "spdx_license_key": "Linux-OpenIB", - "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" - } - ] + "rule_url": null } ] } diff --git a/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json b/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json index 996e3feb797..ad69811b8a7 100644 --- a/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json +++ b/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json @@ -3,6 +3,7 @@ { "identifier": "6a62dd92-d687-5046-a149-47edab69491d", "license_expression": "zlib AND apache-2.0", + "occurance_count": 1, "detection_log": [ "not-combined" ], @@ -16,32 +17,7 @@ "matcher": "1-spdx-id", "license_expression": "zlib", "rule_identifier": "spdx-license-identifier: zlib", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": null }, { "score": 100.0, @@ -52,35 +28,89 @@ "matcher": "1-spdx-id", "license_expression": "apache-2.0", "rule_identifier": "spdx-license-identifier: apache-2.0", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": null } + ] + } + ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" ], - "occurance_count": 1 + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "zlib", + "short_name": "ZLIB License", + "name": "ZLIB License", + "category": "Permissive", + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "notes": "Per SPDX.org, this is OSI certified", + "is_builtin": true, + "spdx_license_key": "Zlib", + "text_urls": [ + "http://www.gzip.org/zlib/zlib_license.html" + ], + "osi_url": "http://www.opensource.org/licenses/zlib-license.php", + "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", + "other_urls": [ + "http://www.opensource.org/licenses/Zlib", + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "minimum_coverage": 50, + "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." + } + ], + "rule_references": [ + { + "license_expression": "zlib", + "rule_identifier": "spdx-license-identifier: zlib", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "matched_text": "https://licenses.nuget.org/Zlib" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx-license-identifier: apache-2.0", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "SPDX-License-Identifier: Apache-2.0" } ], "files": [ @@ -105,33 +135,7 @@ "matcher": "1-spdx-id", "license_expression": "zlib", "rule_identifier": "spdx-license-identifier: zlib", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "https://licenses.nuget.org/Zlib", - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": null }, { "score": 100.0, @@ -142,33 +146,7 @@ "matcher": "1-spdx-id", "license_expression": "apache-2.0", "rule_identifier": "spdx-license-identifier: apache-2.0", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: Apache-2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": null } ] } diff --git a/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json b/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json index e42c3b8559e..52ad2b06a44 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json @@ -17,32 +17,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] }, @@ -63,38 +38,55 @@ "matcher": "1-hash", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_91.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_91.RULE", - "referenced_filenames": [ - "COPYING" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_91.RULE" } ] } ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "matched_text": "license: apache 2.0" + } + ], "files": [ { "path": "COPYING", @@ -117,33 +109,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "license: apache 2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] } @@ -176,35 +142,7 @@ "matcher": "1-hash", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_91.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_91.RULE", - "referenced_filenames": [ - "COPYING" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "matched_text": "This is free software. See COPYING for details.", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_91.RULE" }, { "score": 100.0, @@ -215,33 +153,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "license: apache 2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] } diff --git a/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json b/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json index 031ed71f6b6..38f49d8ab27 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json @@ -17,32 +17,7 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "mit_66.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_66.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_66.RULE" } ] }, @@ -63,38 +38,50 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_25.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_25.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_25.RULE" } ] } ], + "license_references": [ + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "mit", + "rule_identifier": "mit_66.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100, + "matched_text": "that is licensed under [MIT](http://opensource.org/licenses/MIT)." + } + ], "files": [ { "path": "LICENSE", @@ -117,33 +104,7 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "mit_66.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_66.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100, - "matched_text": "that is licensed under [MIT](http://opensource.org/licenses/MIT).", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_66.RULE" } ] } @@ -176,35 +137,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_25.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_25.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "license\": \"SEE LICENSE IN LICENSE.", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_25.RULE" }, { "score": 100.0, @@ -215,33 +148,7 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "mit_66.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_66.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100, - "matched_text": "that is licensed under [MIT](http://opensource.org/licenses/MIT).", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_66.RULE" } ] } diff --git a/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json b/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json index 4f2c54e19e0..d39d17634a7 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json @@ -17,34 +17,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_30.RULE", - "referenced_filenames": [ - "Copyright" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_30.RULE" } ] }, @@ -65,32 +38,7 @@ "matcher": "2-aho", "license_expression": "x11-xconsortium-veillard", "rule_identifier": "x11-xconsortium-veillard.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/x11-xconsortium-veillard.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 199, - "rule_relevance": 100, - "licenses": [ - { - "key": "x11-xconsortium-veillard", - "name": "X11-Style (X Consortium Veillard)", - "short_name": "X11-Style (X Consortium Veillard)", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Daniel Veillard", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/x11-xconsortium-veillard", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE", - "spdx_license_key": "LicenseRef-scancode-x11-xconsortium-veillard", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/x11-xconsortium-veillard.LICENSE" } ] }, @@ -111,38 +59,58 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_108.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_108.RULE", - "referenced_filenames": [ - "Copyright" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_108.RULE" } ] } ], + "license_references": [ + { + "key": "x11-xconsortium-veillard", + "short_name": "X11-Style (X Consortium Veillard)", + "name": "X11-Style (X Consortium Veillard)", + "category": "Permissive", + "owner": "Daniel Veillard", + "notes": "the license key has been renamed from the old x11-xconsortium_veillard", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-x11-xconsortium-veillard", + "other_spdx_license_keys": [ + "LicenseRef-scancode-x11-xconsortium_veillard" + ], + "standard_notice": "Except where otherwise noted in the source code (e.g. the files hash.c,\nlist.c and the trio files, which are covered by a similar licence but\nwith different Copyright notices) all the files are:\nCopyright (C) 1998-2003 Daniel Veillard. All Rights Reserved.\n", + "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 fur- nished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nExcept as contained in this notice, the name of Daniel Veillard 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 him." + } + ], + "rule_references": [ + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_30.RULE", + "referenced_filenames": [ + "Copyright" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "matched_text": "See Copyright for the status of this software." + }, + { + "license_expression": "x11-xconsortium-veillard", + "rule_identifier": "x11-xconsortium-veillard.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 199, + "rule_relevance": 100, + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is fur-\nnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\nNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nDANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-\nNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nExcept as contained in this notice, the name of Daniel Veillard shall not\nbe used in advertising or otherwise to promote the sale, use or other deal-\nings in this Software without prior written authorization from him." + } + ], "files": [ { "path": "Copyright", @@ -165,33 +133,7 @@ "matcher": "2-aho", "license_expression": "x11-xconsortium-veillard", "rule_identifier": "x11-xconsortium-veillard.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 199, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is fur-\nnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\nNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nDANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-\nNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nExcept as contained in this notice, the name of Daniel Veillard shall not\nbe used in advertising or otherwise to promote the sale, use or other deal-\nings in this Software without prior written authorization from him.", - "licenses": [ - { - "key": "x11-xconsortium-veillard", - "name": "X11-Style (X Consortium Veillard)", - "short_name": "X11-Style (X Consortium Veillard)", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Daniel Veillard", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/x11-xconsortium-veillard", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE", - "spdx_license_key": "LicenseRef-scancode-x11-xconsortium-veillard", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE" } ] } @@ -224,35 +166,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_30.RULE", - "referenced_filenames": [ - "Copyright" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "matched_text": "See Copyright for the status of this software.", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_30.RULE" }, { "score": 100.0, @@ -263,33 +177,7 @@ "matcher": "2-aho", "license_expression": "x11-xconsortium-veillard", "rule_identifier": "x11-xconsortium-veillard.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 199, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is fur-\nnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\nNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nDANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-\nNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nExcept as contained in this notice, the name of Daniel Veillard shall not\nbe used in advertising or otherwise to promote the sale, use or other deal-\nings in this Software without prior written authorization from him.", - "licenses": [ - { - "key": "x11-xconsortium-veillard", - "name": "X11-Style (X Consortium Veillard)", - "short_name": "X11-Style (X Consortium Veillard)", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Daniel Veillard", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/x11-xconsortium-veillard", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE", - "spdx_license_key": "LicenseRef-scancode-x11-xconsortium-veillard", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE" } ] } @@ -322,35 +210,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_30.RULE", - "referenced_filenames": [ - "Copyright" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "matched_text": "See Copyright for the status of this software.", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_30.RULE" }, { "score": 100.0, @@ -361,33 +221,7 @@ "matcher": "2-aho", "license_expression": "x11-xconsortium-veillard", "rule_identifier": "x11-xconsortium-veillard.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 199, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is fur-\nnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\nNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nDANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-\nNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nExcept as contained in this notice, the name of Daniel Veillard shall not\nbe used in advertising or otherwise to promote the sale, use or other deal-\nings in this Software without prior written authorization from him.", - "licenses": [ - { - "key": "x11-xconsortium-veillard", - "name": "X11-Style (X Consortium Veillard)", - "short_name": "X11-Style (X Consortium Veillard)", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Daniel Veillard", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/x11-xconsortium-veillard", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE", - "spdx_license_key": "LicenseRef-scancode-x11-xconsortium-veillard", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE" } ] } @@ -442,35 +276,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_108.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_108.RULE", - "referenced_filenames": [ - "Copyright" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "Copy: See Copyright for the status of this software.", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_108.RULE" }, { "score": 100.0, @@ -481,33 +287,7 @@ "matcher": "2-aho", "license_expression": "x11-xconsortium-veillard", "rule_identifier": "x11-xconsortium-veillard.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 199, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is fur-\nnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\nNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nDANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-\nNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nExcept as contained in this notice, the name of Daniel Veillard shall not\nbe used in advertising or otherwise to promote the sale, use or other deal-\nings in this Software without prior written authorization from him.", - "licenses": [ - { - "key": "x11-xconsortium-veillard", - "name": "X11-Style (X Consortium Veillard)", - "short_name": "X11-Style (X Consortium Veillard)", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Daniel Veillard", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/x11-xconsortium-veillard", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE", - "spdx_license_key": "LicenseRef-scancode-x11-xconsortium-veillard", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE" } ] } diff --git a/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json b/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json index ec815bf1af5..2f8ba7aef6b 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json @@ -17,34 +17,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see-license_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE" } ] }, @@ -65,32 +38,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_1114.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1114.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1114.RULE" } ] }, @@ -111,32 +59,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_26.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE" }, { "score": 100.0, @@ -147,32 +70,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" } ] }, @@ -193,32 +91,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" } ] }, @@ -239,32 +112,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_31.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_31.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_31.RULE" } ] }, @@ -285,38 +133,117 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_1187.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1187.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1187.RULE" } ] } ], + "license_references": [ + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see-license_1.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "See LICENSE.)" + }, + { + "license_expression": "mit", + "rule_identifier": "mit_26.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "matched_text": "The MIT License (MIT)" + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100, + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE." + }, + { + "license_expression": "mit", + "rule_identifier": "mit_1114.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "mit\ncopyright:" + }, + { + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "license\": \"MIT\"," + }, + { + "license_expression": "mit", + "rule_identifier": "mit_31.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License\n=======\n\n[MIT](LICENSE)." + } + ], "files": [ { "path": "LICENSE", @@ -339,33 +266,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_26.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "The MIT License (MIT)", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE" }, { "score": 100.0, @@ -376,33 +277,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } @@ -435,33 +310,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_31.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_31.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License\n=======\n\n[MIT](LICENSE).", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_31.RULE" } ] } @@ -494,35 +343,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see-license_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "See LICENSE.)", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE" }, { "score": 100.0, @@ -533,33 +354,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_26.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "The MIT License (MIT)", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE" }, { "score": 100.0, @@ -570,33 +365,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } @@ -629,35 +398,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see-license_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "See LICENSE.)", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE" }, { "score": 100.0, @@ -668,33 +409,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_26.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "The MIT License (MIT)", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE" }, { "score": 100.0, @@ -705,33 +420,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } @@ -764,35 +453,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see-license_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "See LICENSE.)", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE" }, { "score": 100.0, @@ -803,33 +464,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_26.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "The MIT License (MIT)", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE" }, { "score": 100.0, @@ -840,33 +475,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } @@ -899,33 +508,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_1114.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1114.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "mit\ncopyright:", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1114.RULE" } ] } @@ -958,33 +541,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "license\": \"MIT\",", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" } ] } @@ -1017,35 +574,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_1187.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1187.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: MIT. (See LICENSE.)", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1187.RULE" }, { "score": 100.0, @@ -1056,33 +585,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_26.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "The MIT License (MIT)", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE" }, { "score": 100.0, @@ -1093,33 +596,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } @@ -1163,35 +640,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see-license_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "See LICENSE.)", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE" }, { "score": 100.0, @@ -1202,33 +651,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_26.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "The MIT License (MIT)", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE" }, { "score": 100.0, @@ -1239,33 +662,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } diff --git a/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json b/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json index 0ff5e09d9aa..ecd5dfaa474 100644 --- a/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json +++ b/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json @@ -17,36 +17,43 @@ "matcher": "2-aho", "license_expression": "apache-1.0", "rule_identifier": "apache-1.0.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.0.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 368, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-1.0", - "name": "Apache License 1.0", - "short_name": "Apache 1.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-1.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", - "spdx_license_key": "Apache-1.0", - "spdx_url": "https://spdx.org/licenses/Apache-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.0.LICENSE" } ] } ], + "license_references": [ + { + "key": "apache-1.0", + "short_name": "Apache 1.0", + "name": "Apache License 1.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "is_builtin": true, + "spdx_license_key": "Apache-1.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-1.0" + ], + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "minimum_coverage": 80, + "text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the\ndistribution.\n\n3. All advertising materials mentioning features or use of this\nsoftware must display the following acknowledgment:\n\"This product includes software developed by the Apache Group\nfor use in the Apache HTTP server project (http://www.apache.org/).\"\n\n4. The names \"Apache Server\" and \"Apache Group\" must not be used to\nendorse or promote products derived from this software without\nprior written permission. For written permission, please contact\napache@apache.org.\n\n5. Products derived from this software may not be called \"Apache\"\nnor may \"Apache\" appear in their names without prior written\npermission of the Apache Group.\n\n6. Redistributions of any form whatsoever must retain the following\nacknowledgment:\n\"This product includes software developed by the Apache Group\nfor use in the Apache HTTP server project (http://www.apache.org/).\"\n\nTHIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\nEXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\nITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\nSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\nOF THE POSSIBILITY OF SUCH DAMAGE.\n====================================================================\n\nThis software consists of voluntary contributions made by many\nindividuals on behalf of the Apache Group and was originally based\non public domain software written at the National Center for\nSupercomputing Applications, University of Illinois, Urbana-Champaign.\nFor more information on the Apache Group and the Apache HTTP server\nproject, please see ." + } + ], + "rule_references": [ + { + "license_expression": "apache-1.0", + "rule_identifier": "apache-1.0.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 368, + "rule_relevance": 100 + } + ], "files": [ { "path": "scan", @@ -80,32 +87,7 @@ "matcher": "2-aho", "license_expression": "apache-1.0", "rule_identifier": "apache-1.0.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 368, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-1.0", - "name": "Apache License 1.0", - "short_name": "Apache 1.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-1.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", - "spdx_license_key": "Apache-1.0", - "spdx_url": "https://spdx.org/licenses/Apache-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE" } ] } diff --git a/tests/licensedcode/data/plugin_license/package/package.expected.json b/tests/licensedcode/data/plugin_license/package/package.expected.json index b91dd50cfa3..d15b5601a8a 100644 --- a/tests/licensedcode/data/plugin_license/package/package.expected.json +++ b/tests/licensedcode/data/plugin_license/package/package.expected.json @@ -17,32 +17,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_272.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_272.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_272.RULE" } ] }, @@ -63,32 +38,7 @@ "matcher": "1-spdx-id", "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": null } ] } @@ -178,33 +128,7 @@ "matcher": "1-spdx-id", "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "MIT", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": null } ] } @@ -229,6 +153,70 @@ "purl": "pkg:npm/busboy@0.2.14" } ], + "license_references": [ + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "matched_text": "MIT" + }, + { + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "matched_text": "MIT" + }, + { + "license_expression": "mit", + "rule_identifier": "mit_272.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + } + ], "files": [ { "path": "package.json", @@ -251,32 +239,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_272.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_272.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_272.RULE" } ] } @@ -342,33 +305,7 @@ "matcher": "1-spdx-id", "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "MIT", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": null } ] } diff --git a/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json b/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json index 7c6e20018cc..8b71ebd6244 100644 --- a/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json +++ b/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json @@ -17,32 +17,7 @@ "matcher": "3-seq", "license_expression": "lgpl-2.0-plus", "rule_identifier": "lgpl-2.0-plus_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 139, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.0-plus", - "name": "GNU Library General Public License 2.0 or later", - "short_name": "LGPL 2.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.0-plus.LICENSE", - "spdx_license_key": "LGPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_65.RULE" } ] }, @@ -63,51 +38,84 @@ "matcher": "2-aho", "license_expression": "gpl-2.0 AND patent-disclaimer", "rule_identifier": "gpl-2.0_and_patent-disclaimer_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_and_patent-disclaimer_3.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 185, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "patent-disclaimer", - "name": "Generic patent disclaimer", - "short_name": "Generic patent disclaimer", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/patent-disclaimer", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/patent-disclaimer.LICENSE", - "spdx_license_key": "LicenseRef-scancode-patent-disclaimer", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/patent-disclaimer.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_and_patent-disclaimer_3.RULE" } ] } ], + "license_references": [ + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "patent-disclaimer", + "short_name": "Generic patent disclaimer", + "name": "Generic patent disclaimer", + "category": "Permissive", + "owner": "Unspecified", + "is_builtin": true, + "is_generic": true, + "spdx_license_key": "LicenseRef-scancode-patent-disclaimer", + "text": "" + } + ], + "rule_references": [ + { + "license_expression": "lgpl-2.0-plus", + "rule_identifier": "lgpl-2.0-plus_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 139, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0 AND patent-disclaimer", + "rule_identifier": "gpl-2.0_and_patent-disclaimer_3.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 185, + "rule_relevance": 100 + } + ], "files": [ { "path": "e2fsprogs-copyright", @@ -125,32 +133,7 @@ "matcher": "3-seq", "license_expression": "lgpl-2.0-plus", "rule_identifier": "lgpl-2.0-plus_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 139, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.0-plus", - "name": "GNU Library General Public License 2.0 or later", - "short_name": "LGPL 2.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.0-plus.LICENSE", - "spdx_license_key": "LGPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_65.RULE" } ], "percentage_of_license_text": 22.73, @@ -180,47 +163,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0 AND patent-disclaimer", "rule_identifier": "gpl-2.0_and_patent-disclaimer_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_and_patent-disclaimer_3.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 185, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "patent-disclaimer", - "name": "Generic patent disclaimer", - "short_name": "Generic patent disclaimer", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/patent-disclaimer", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/patent-disclaimer.LICENSE", - "spdx_license_key": "LicenseRef-scancode-patent-disclaimer", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/patent-disclaimer.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_and_patent-disclaimer_3.RULE" } ] } diff --git a/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json b/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json index e113f57ef08..98bd02a112a 100644 --- a/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json +++ b/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json @@ -3,6 +3,7 @@ { "identifier": "14099f19-eb98-27ed-cc72-38bbf5c0a1e7", "license_expression": "lgpl-2.1-plus AND other-permissive AND gpl-2.0-plus", + "occurance_count": 1, "detection_log": [ "not-combined" ], @@ -16,72 +17,14 @@ "matcher": "3-seq", "license_expression": "lgpl-2.1-plus AND other-permissive AND gpl-2.0-plus", "rule_identifier": "lgpl-2.1-plus_and__other-permissive_and_gpl-2.0-plus_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_and__other-permissive_and_gpl-2.0-plus_1.RULE", - "referenced_filenames": [ - "COPYING.LGPLv2.1", - "COPYING.GPLv2" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 110, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - }, - { - "key": "other-permissive", - "name": "Other Permissive Licenses", - "short_name": "Other Permissive Licenses", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-permissive", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-permissive", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE" - }, - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_and__other-permissive_and_gpl-2.0-plus_1.RULE" } - ], - "occurance_count": 1 + ] }, { "identifier": "b16770da-ae1c-5e72-d72a-ca61d8d81ae9", "license_expression": "gpl-1.0-plus", + "occurance_count": 1, "detection_log": [ "possible-false-positive", "not-license-clues-as-more-detections-present" @@ -96,39 +39,14 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_word_only.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 50, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE" } - ], - "occurance_count": 1 + ] }, { "identifier": "c47094e3-d257-d183-2320-782b7720ff17", "license_expression": "lgpl-3.0 AND lgpl-3.0-plus AND (lgpl-3.0 AND gpl-3.0)", + "occurance_count": 1, "detection_log": [ "not-combined" ], @@ -142,32 +60,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_134.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_134.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_134.RULE" }, { "score": 99.0, @@ -178,32 +71,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_130.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_130.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 99, - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_130.RULE" }, { "score": 100.0, @@ -214,57 +82,14 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0 AND gpl-3.0", "rule_identifier": "lgpl-3.0_and_gpl-3.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_and_gpl-3.0_2.RULE", - "referenced_filenames": [ - "COPYING.LGPLv3", - "COPYING.GPLv3" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 25, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - }, - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_and_gpl-3.0_2.RULE" } - ], - "occurance_count": 1 + ] }, { "identifier": "86d0b13f-7abd-19fb-ddb8-941d97380f00", "license_expression": "ijg AND mit", + "occurance_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -278,32 +103,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_235.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_235.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_235.RULE" }, { "score": 100.0, @@ -314,32 +114,7 @@ "matcher": "2-aho", "license_expression": "ijg", "rule_identifier": "ijg_28.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/ijg_28.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "ijg", - "name": "Independent JPEG Group License", - "short_name": "JPEG License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "IJG - Independent JPEG Group", - "homepage_url": "http://fedoraproject.org/wiki/Licensing/IJG", - "text_url": "http://fedoraproject.org/wiki/Licensing/IJG", - "reference_url": "https://scancode-licensedb.aboutcode.org/ijg", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ijg.LICENSE", - "spdx_license_key": "IJG", - "spdx_url": "https://spdx.org/licenses/IJG" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/ijg_28.RULE" }, { "score": 100.0, @@ -350,39 +125,14 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_576.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_576.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_576.RULE" } - ], - "occurance_count": 1 + ] }, { "identifier": "aeb7da71-ec9e-bc5f-52f3-4e9299af7bb1", "license_expression": "gpl-1.0-plus", + "occurance_count": 1, "detection_log": [ "not-combined" ], @@ -396,39 +146,14 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_70.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_70.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 90, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_70.RULE" } - ], - "occurance_count": 1 + ] }, { "identifier": "5f2ed903-ee9f-f370-5de1-07fbc6f1e0fd", "license_expression": "gpl-2.0 AND apache-2.0 AND lgpl-3.0-plus", + "occurance_count": 1, "detection_log": [ "not-combined" ], @@ -442,32 +167,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_870.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_870.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 20, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_870.RULE" }, { "score": 100.0, @@ -478,32 +178,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_411.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_411.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_411.RULE" }, { "score": 99.0, @@ -514,39 +189,14 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_130.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_130.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 99, - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_130.RULE" } - ], - "occurance_count": 1 + ] }, { "identifier": "a54d7281-05a0-24e4-ef42-199dd7d49606", "license_expression": "gpl-2.0 AND lgpl-2.0-plus AND proprietary-license", + "occurance_count": 1, "detection_log": [ "not-combined" ], @@ -560,32 +210,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" }, { "score": 75.0, @@ -596,32 +221,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.0-plus", "rule_identifier": "lgpl_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl_bare_single_word.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 75, - "licenses": [ - { - "key": "lgpl-2.0-plus", - "name": "GNU Library General Public License 2.0 or later", - "short_name": "LGPL 2.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.0-plus.LICENSE", - "spdx_license_key": "LGPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl_bare_single_word.RULE" }, { "score": 100.0, @@ -632,32 +232,7 @@ "matcher": "2-aho", "license_expression": "proprietary-license", "rule_identifier": "proprietary-license_490.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/proprietary-license_490.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "proprietary-license", - "name": "Proprietary License", - "short_name": "Proprietary License", - "category": "Commercial", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/proprietary-license", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/proprietary-license.LICENSE", - "spdx_license_key": "LicenseRef-scancode-proprietary-license", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/proprietary-license.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/proprietary-license_490.RULE" }, { "score": 75.0, @@ -668,35 +243,536 @@ "matcher": "2-aho", "license_expression": "lgpl-2.0-plus", "rule_identifier": "lgpl_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl_bare_single_word.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 75, - "licenses": [ - { - "key": "lgpl-2.0-plus", - "name": "GNU Library General Public License 2.0 or later", - "short_name": "LGPL 2.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.0-plus.LICENSE", - "spdx_license_key": "LGPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl_bare_single_word.RULE" } + ] + } + ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "gpl-1.0-plus", + "short_name": "GPL 1.0 or later", + "name": "GNU General Public License 1.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "notes": "Per SPDX.org, this license was released February 1989.", + "is_builtin": true, + "spdx_license_key": "GPL-1.0-or-later", + "other_spdx_license_keys": [ + "GPL-1.0+", + "LicenseRef-GPL" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "other_urls": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 1, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,\nCambridge, MA 02139, USA.\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 1, February 1989\n\nCopyright (C) 1989 Free Software Foundation, Inc.\n51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe license agreements of most software companies try to keep users\nat the mercy of those companies. By contrast, our General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. The\nGeneral Public License applies to the Free Software Foundation's\nsoftware and to any other program whose authors commit to using it.\nYou can use it for your programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Specifically, the General Public License is designed to make\nsure that you have the freedom to give away or sell copies of free\nsoftware, that you receive source code or can get it if you want it,\nthat you can change the software or use pieces of it in new free\nprograms; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of a such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must tell them their rights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any program or other work which\ncontains a notice placed by the copyright holder saying it may be\ndistributed under the terms of this General Public License. The\n\"Program\", below, refers to any such program or work, and a \"work based\non the Program\" means either the Program or any work containing the\nProgram or a portion of it, either verbatim or with modifications. Each\nlicensee is addressed as \"you\".\n\n1. You may copy and distribute verbatim copies of the Program's source\ncode as you receive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice and\ndisclaimer of warranty; keep intact all the notices that refer to this\nGeneral Public License and to the absence of any warranty; and give any\nother recipients of the Program a copy of this General Public License\nalong with the Program. You may charge a fee for the physical act of\ntransferring a copy.\n\n2. You may modify your copy or copies of the Program or any portion of\nit, and copy and distribute such modifications under the terms of Paragraph\n1 above, provided that you also do the following:\n\na) cause the modified files to carry prominent notices stating that\nyou changed the files and the date of any change; and\n\nb) cause the whole of any work that you distribute or publish, that\nin whole or in part contains the Program or any part thereof, either\nwith or without modifications, to be licensed at no charge to all\nthird parties under the terms of this General Public License (except\nthat you may choose to grant warranty protection to some or all\nthird parties, at your option).\n\nc) If the modified program normally reads commands interactively when\nrun, you must cause it, when started running for such interactive use\nin the simplest and most usual way, to print or display an\nannouncement including an appropriate copyright notice and a notice\nthat there is no warranty (or else, saying that you provide a\nwarranty) and that users may redistribute the program under these\nconditions, and telling the user how to view a copy of this General\nPublic License.\n\nd) You may charge a fee for the physical act of transferring a\ncopy, and you may at your option offer warranty protection in\nexchange for a fee.\n\nMere aggregation of another independent work with the Program (or its\nderivative) on a volume of a storage or distribution medium does not bring\nthe other work under the scope of these terms.\n\n\n3. You may copy and distribute the Program (or a portion or derivative of\nit, under Paragraph 2) in object code or executable form under the terms of\nParagraphs 1 and 2 above provided that you also do one of the following:\n\na) accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nb) accompany it with a written offer, valid for at least three\nyears, to give any third party free (except for a nominal charge\nfor the cost of distribution) a complete machine-readable copy of the\ncorresponding source code, to be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nc) accompany it with the information you received as to where the\ncorresponding source code may be obtained. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form alone.)\n\nSource code for a work means the preferred form of the work for making\nmodifications to it. For an executable file, complete source code means\nall the source code for all modules it contains; but, as a special\nexception, it need not include source code for modules which are standard\nlibraries that accompany the operating system on which the executable\nfile runs, or for standard header files or definitions files that\naccompany that operating system.\n\n4. You may not copy, modify, sublicense, distribute or transfer the\nProgram except as expressly provided under this General Public License.\nAny attempt otherwise to copy, modify, sublicense, distribute or transfer\nthe Program is void, and will automatically terminate your rights to use\nthe Program under this License. However, parties who have received\ncopies, or rights to use copies, from you under this General Public\nLicense will not have their licenses terminated so long as such parties\nremain in full compliance.\n\n5. By copying, distributing or modifying the Program (or any work based\non the Program) you indicate your acceptance of this license to do so,\nand all its terms and conditions.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the original\nlicensor to copy, distribute or modify the Program subject to these\nterms and conditions. You may not impose any further restrictions on the\nrecipients' exercise of the rights granted herein.\n\n\n7. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of the license which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthe license, you may choose any version ever published by the Free Software\nFoundation.\n\n8. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nAppendix: How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to humanity, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these\nterms.\n\nTo do so, attach the following notices to the program. It is safest to\nattach them to the start of each source file to most effectively convey\nthe exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) 19yy \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 1, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA\n\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) 19xx name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the\nappropriate parts of the General Public License. Of course, the\ncommands you use may be called something other than `show w' and `show\nc'; they could even be mouse-clicks or menu items--whatever suits your\nprogram.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nprogram `Gnomovision' (a program to direct compilers to make passes\nat assemblers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "gpl-3.0", + "short_name": "GPL 3.0", + "name": "GNU General Public License 3.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", + "notes": "Per SPDX.org, this license was released 29 June 2007 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-3.0-only", + "other_spdx_license_keys": [ + "GPL-3.0", + "LicenseRef-gpl-3.0" + ], + "osi_license_key": "GPL-3.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "http://www.gnu.org/licenses/gpl-3.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-3.0.html", + "faq_url": "http://www.gnu.org/licenses/gpl-faq.html", + "other_urls": [ + "http://www.gnu.org/licenses/quick-guide-gplv3.html", + "http://www.opensource.org/licenses/GPL-3.0", + "https://opensource.org/licenses/GPL-3.0", + "https://www.gnu.org/licenses/gpl-3.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + }, + { + "key": "ijg", + "short_name": "JPEG License", + "name": "Independent JPEG Group License", + "category": "Permissive", + "owner": "IJG - Independent JPEG Group", + "homepage_url": "http://fedoraproject.org/wiki/Licensing/IJG", + "is_builtin": true, + "spdx_license_key": "IJG", + "text_urls": [ + "http://fedoraproject.org/wiki/Licensing/IJG" + ], + "other_urls": [ + "http://dev.w3.org/cvsweb/Amaya/libjpeg/Attic/README?rev=1.2", + "http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses" + ], + "text": "LEGAL ISSUES\n============\n\nIn plain English:\n\n1. We don't promise that this software works. (But if you find any bugs,\nplease let us know!)\n2. You can use this software for whatever you want. You don't have to pay us.\n3. You may not pretend that you wrote this software. If you use it in a\nprogram, you must acknowledge somewhere in your documentation that\nyou've used the IJG code.\n\nIn legalese:\n\nThe authors make NO WARRANTY or representation, either express or implied,\nwith respect to this software, its quality, accuracy, merchantability, or\nfitness for a particular purpose. This software is provided \"AS IS\", and you,\nits user, assume the entire risk as to its quality and accuracy.\n\nThis software is copyright (C) 1991-1998, Thomas G. Lane.\nAll Rights Reserved except as specified below.\n\nPermission is hereby granted to use, copy, modify, and distribute this\nsoftware (or portions thereof) for any purpose, without fee, subject to these\nconditions:\n(1) If any part of the source code for this software is distributed, then this\nREADME file must be included, with this copyright and no-warranty notice\nunaltered; and any additions, deletions, or changes to the original files\nmust be clearly indicated in accompanying documentation.\n(2) If only executable code is distributed, then the accompanying\ndocumentation must state that \"this software is based in part on the work of\nthe Independent JPEG Group\".\n(3) Permission for use of this software is granted only if the user accepts\nfull responsibility for any undesirable consequences; the authors accept\nNO LIABILITY for damages of any kind.\n\nThese conditions apply to any software derived from or based on the IJG code,\nnot just to the unmodified library. If you use our work, you ought to\nacknowledge us.\n\nPermission is NOT granted for the use of any IJG author's name or company name\nin advertising or publicity relating to this software or products derived from\nit. This software may be referred to only as \"the Independent JPEG Group's\nsoftware\".\n\nWe specifically permit and encourage the use of this software as the basis of\ncommercial products, provided that all warranty or liability claims are\nassumed by the product vendor.\n\n\nansi2knr.c is included in this distribution by permission of L. Peter Deutsch,\nsole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA.\nansi2knr.c is NOT covered by the above copyright and conditions, but instead\nby the usual distribution terms of the Free Software Foundation; principally,\nthat you must include source code if you redistribute it. (See the file\nansi2knr.c for full details.) However, since ansi2knr.c is not needed as part\nof any program generated from the IJG code, this does not limit you more than\nthe foregoing paragraphs do.\n\nThe Unix configuration script \"configure\" was produced with GNU Autoconf.\nIt is copyright by the Free Software Foundation but is freely distributable.\nThe same holds for its supporting scripts (config.guess, config.sub,\nltconfig, ltmain.sh). Another support script, install-sh, is copyright\nby M.I.T. but is also freely distributable.\n\nIt appears that the arithmetic coding option of the JPEG spec is covered by\npatents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot\nlegally be used without obtaining one or more licenses. For this reason,\nsupport for arithmetic coding has been removed from the free JPEG software.\n(Since arithmetic coding provides only a marginal gain over the unpatented\nHuffman mode, it is unlikely that very many implementations will support it.)\nSo far as we are aware, there are no patent restrictions on the remaining\ncode.\n\nThe IJG distribution formerly included code to read and write GIF files.\nTo avoid entanglement with the Unisys LZW patent, GIF reading support has\nbeen removed altogether, and the GIF writer has been simplified to produce\n\"uncompressed GIFs\". This technique does not use the LZW algorithm; the\nresulting GIF files are larger than usual, but are readable by all standard\nGIF decoders.\n\nWe are required to state that\n\"The Graphics Interchange Format(c) is the Copyright property of\nCompuServe Incorporated. GIF(sm) is a Service Mark property of\nCompuServe Incorporated.\"" + }, + { + "key": "lgpl-2.0-plus", + "short_name": "LGPL 2.0 or later", + "name": "GNU Library General Public License 2.0 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", + "notes": "Per SPDX.org, this license was released June 1991. This license has been\nsuperseded by LGPL v2.1\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.0-or-later", + "other_spdx_license_keys": [ + "LGPL-2.0+", + "LicenseRef-LGPL" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html" + ], + "other_urls": [ + "https://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Library General Public License as published by the Free\nSoftware Foundation; either version 2 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Library General Public License for more details.\n\nYou should have received a copy of the GNU Library General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin St, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU LIBRARY GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1991 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the library GPL. It is\nnumbered 2 because it goes with version 2 of the ordinary GPL.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Library General Public License, applies to some\nspecially designated Free Software Foundation software, and to any\nother libraries whose authors decide to use it. You can use it for\nyour libraries, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if\nyou distribute copies of the library, or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link a program with the library, you must provide\ncomplete object files to the recipients so that they can relink them\nwith the library, after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nOur method of protecting your rights has two steps: (1) copyright\nthe library, and (2) offer you this license which gives you legal\npermission to copy, distribute and/or modify the library.\n\nAlso, for each distributor's protection, we want to make certain\nthat everyone understands that there is no warranty for this free\nlibrary. If the library is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original\nversion, so that any problems introduced by others will not reflect on\nthe original authors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that companies distributing free\nsoftware will individually obtain patent licenses, thus in effect\ntransforming the program into proprietary software. To prevent this,\nwe have made it clear that any patent must be licensed for everyone's\nfree use or not licensed at all.\n\nMost GNU software, including some libraries, is covered by the ordinary\nGNU General Public License, which was designed for utility programs. This\nlicense, the GNU Library General Public License, applies to certain\ndesignated libraries. This license is quite different from the ordinary\none; be sure to read it in full, and don't assume that anything in it is\nthe same as in the ordinary license.\n\nThe reason we have a separate public license for some libraries is that\nthey blur the distinction we usually make between modifying or adding to a\nprogram and simply using it. Linking a program with a library, without\nchanging the library, is in some sense simply using the library, and is\nanalogous to running a utility program or application program. However, in\na textual and legal sense, the linked executable is a combined work, a\nderivative of the original library, and the ordinary General Public License\ntreats it as such.\n\nBecause of this blurred distinction, using the ordinary General\nPublic License for libraries did not effectively promote software\nsharing, because most developers did not use the libraries. We\nconcluded that weaker conditions might promote sharing better.\n\nHowever, unrestricted linking of non-free programs would deprive the\nusers of those programs of all benefit from the free status of the\nlibraries themselves. This Library General Public License is intended to\npermit developers of non-free programs to use free libraries, while\npreserving your freedom as a user of such programs to change the free\nlibraries that are incorporated in them. (We have not seen how to achieve\nthis as regards changes in header files, but we have achieved it as regards\nchanges in the actual functions of the Library.) The hope is that this\nwill lead to faster development of free libraries.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, while the latter only\nworks together with the library.\n\nNote that it is possible for a library to be covered by the ordinary\nGeneral Public License rather than by this special one.\n\nGNU LIBRARY GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library which\ncontains a notice placed by the copyright holder or other authorized\nparty saying it may be distributed under the terms of this Library\nGeneral Public License (also called \"this License\"). Each licensee is\naddressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n6. As an exception to the Sections above, you may also compile or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nc) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\nd) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe source code distributed need not include anything that is normally\ndistributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Library General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Library General Public\nLicense as published by the Free Software Foundation; either\nversion 2 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLibrary General Public License for more details.\n\nYou should have received a copy of the GNU Library General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" ], - "occurance_count": 1 + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "lgpl-3.0", + "short_name": "LGPL 3.0", + "name": "GNU Lesser General Public License 3.0", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", + "notes": "Per SPDX.org, this license was released 29 June 2007. This license is OSI\nCertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-3.0-only", + "other_spdx_license_keys": [ + "LGPL-3.0" + ], + "osi_license_key": "LGPL-3.0", + "text_urls": [ + "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "http://www.gnu.org/licenses/lgpl-3.0.txt" + ], + "osi_url": "http://www.opensource.org/licenses/lgpl-3.0.html", + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.gnu.org/licenses/why-not-lgpl.html", + "http://www.opensource.org/licenses/LGPL-3.0", + "https://opensource.org/licenses/LGPL-3.0", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html" + ], + "text": "GNU LESSER GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n\nThis version of the GNU Lesser General Public License incorporates\nthe terms and conditions of version 3 of the GNU General Public\nLicense, supplemented by the additional permissions listed below.\n\n0. Additional Definitions.\n\nAs used herein, \"this License\" refers to version 3 of the GNU Lesser\nGeneral Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public License.\n\n\"The Library\" refers to a covered work governed by this License,\nother than an Application or a Combined Work as defined below.\n\nAn \"Application\" is any work that makes use of an interface provided\nby the Library, but which is not otherwise based on the Library.\nDefining a subclass of a class defined by the Library is deemed a mode\nof using an interface provided by the Library.\n\nA \"Combined Work\" is a work produced by combining or linking an\nApplication with the Library. The particular version of the Library\nwith which the Combined Work was made is also called the \"Linked\nVersion\".\n\nThe \"Minimal Corresponding Source\" for a Combined Work means the\nCorresponding Source for the Combined Work, excluding any source code\nfor portions of the Combined Work that, considered in isolation, are\nbased on the Application, and not on the Linked Version.\n\nThe \"Corresponding Application Code\" for a Combined Work means the\nobject code and/or source code for the Application, including any data\nand utility programs needed for reproducing the Combined Work from the\nApplication, but excluding the System Libraries of the Combined Work.\n\n1. Exception to Section 3 of the GNU GPL.\n\nYou may convey a covered work under sections 3 and 4 of this License\nwithout being bound by section 3 of the GNU GPL.\n\n2. Conveying Modified Versions.\n\nIf you modify a copy of the Library, and, in your modifications, a\nfacility refers to a function or data to be supplied by an Application\nthat uses the facility (other than as an argument passed when the\nfacility is invoked), then you may convey a copy of the modified\nversion:\n\na) under this License, provided that you make a good faith effort to\nensure that, in the event an Application does not supply the\nfunction or data, the facility still operates, and performs\nwhatever part of its purpose remains meaningful, or\n\nb) under the GNU GPL, with none of the additional permissions of\nthis License applicable to that copy.\n\n3. Object Code Incorporating Material from Library Header Files.\n\nThe object code form of an Application may incorporate material from\na header file that is part of the Library. You may convey such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial is not limited to numerical parameters, data structure\nlayouts and accessors, or small macros, inline functions and templates\n(ten or fewer lines in length), you do both of the following:\n\na) Give prominent notice with each copy of the object code that the\nLibrary is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the object code with a copy of the GNU GPL and this license\ndocument.\n\n4. Combined Works.\n\nYou may convey a Combined Work under terms of your choice that,\ntaken together, effectively do not restrict modification of the\nportions of the Library contained in the Combined Work and reverse\nengineering for debugging such modifications, if you also do each of\nthe following:\n\na) Give prominent notice with each copy of the Combined Work that\nthe Library is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the Combined Work with a copy of the GNU GPL and this license\ndocument.\n\nc) For a Combined Work that displays copyright notices during\nexecution, include the copyright notice for the Library among\nthese notices, as well as a reference directing the user to the\ncopies of the GNU GPL and this license document.\n\nd) Do one of the following:\n\n0) Convey the Minimal Corresponding Source under the terms of this\nLicense, and the Corresponding Application Code in a form\nsuitable for, and under terms that permit, the user to\nrecombine or relink the Application with a modified version of\nthe Linked Version to produce a modified Combined Work, in the\nmanner specified by section 6 of the GNU GPL for conveying\nCorresponding Source.\n\n1) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (a) uses at run time\na copy of the Library already present on the user's computer\nsystem, and (b) will operate properly with a modified version\nof the Library that is interface-compatible with the Linked\nVersion.\n\ne) Provide Installation Information, but only if you would otherwise\nbe required to provide such information under section 6 of the\nGNU GPL, and only to the extent that such information is\nnecessary to install and execute a modified version of the\nCombined Work produced by recombining or relinking the\nApplication with a modified version of the Linked Version. (If\nyou use option 4d0, the Installation Information must accompany\nthe Minimal Corresponding Source and Corresponding Application\nCode. If you use option 4d1, you must provide the Installation\nInformation in the manner specified by section 6 of the GNU GPL\nfor conveying Corresponding Source.)\n\n5. Combined Libraries.\n\nYou may place library facilities that are a work based on the\nLibrary side by side in a single library together with other library\nfacilities that are not Applications and are not covered by this\nLicense, and convey such a combined library under terms of your\nchoice, if you do both of the following:\n\na) Accompany the combined library with a copy of the same work based\non the Library, uncombined with any other library facilities,\nconveyed under the terms of this License.\n\nb) Give prominent notice with the combined library that part of it\nis a work based on the Library, and explaining where to find the\naccompanying uncombined form of the same work.\n\n6. Revised Versions of the GNU Lesser General Public License.\n\nThe Free Software Foundation may publish revised and/or new versions\nof the GNU Lesser General Public License from time to time. Such new\nversions will be similar in spirit to the present version, but may\ndiffer in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nLibrary as you received it specifies that a certain numbered version\nof the GNU Lesser General Public License \"or any later version\"\napplies to it, you have the option of following the terms and\nconditions either of that published version or of any later version\npublished by the Free Software Foundation. If the Library as you\nreceived it does not specify a version number of the GNU Lesser\nGeneral Public License, you may choose any version of the GNU Lesser\nGeneral Public License ever published by the Free Software Foundation.\n\nIf the Library as you received it specifies that a proxy can decide\nwhether future versions of the GNU Lesser General Public License shall\napply, that proxy's public statement of acceptance of any version is\npermanent authorization for you to choose that version for the\nLibrary." + }, + { + "key": "lgpl-3.0-plus", + "short_name": "LGPL 3.0 or later", + "name": "GNU Lesser General Public License 3.0 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "notes": "Per SPDX.org, this license was released 29 June 2007. This license is OSI\nCertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-3.0-or-later", + "other_spdx_license_keys": [ + "LGPL-3.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/lgpl-3.0-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-3.0", + "https://opensource.org/licenses/LGPL-3.0", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 3.0 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n\nThis version of the GNU Lesser General Public License incorporates\nthe terms and conditions of version 3 of the GNU General Public\nLicense, supplemented by the additional permissions listed below.\n\n0. Additional Definitions.\n\nAs used herein, \"this License\" refers to version 3 of the GNU Lesser\nGeneral Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public License.\n\n\"The Library\" refers to a covered work governed by this License,\nother than an Application or a Combined Work as defined below.\n\nAn \"Application\" is any work that makes use of an interface provided\nby the Library, but which is not otherwise based on the Library.\nDefining a subclass of a class defined by the Library is deemed a mode\nof using an interface provided by the Library.\n\nA \"Combined Work\" is a work produced by combining or linking an\nApplication with the Library. The particular version of the Library\nwith which the Combined Work was made is also called the \"Linked\nVersion\".\n\nThe \"Minimal Corresponding Source\" for a Combined Work means the\nCorresponding Source for the Combined Work, excluding any source code\nfor portions of the Combined Work that, considered in isolation, are\nbased on the Application, and not on the Linked Version.\n\nThe \"Corresponding Application Code\" for a Combined Work means the\nobject code and/or source code for the Application, including any data\nand utility programs needed for reproducing the Combined Work from the\nApplication, but excluding the System Libraries of the Combined Work.\n\n1. Exception to Section 3 of the GNU GPL.\n\nYou may convey a covered work under sections 3 and 4 of this License\nwithout being bound by section 3 of the GNU GPL.\n\n2. Conveying Modified Versions.\n\nIf you modify a copy of the Library, and, in your modifications, a\nfacility refers to a function or data to be supplied by an Application\nthat uses the facility (other than as an argument passed when the\nfacility is invoked), then you may convey a copy of the modified\nversion:\n\na) under this License, provided that you make a good faith effort to\nensure that, in the event an Application does not supply the\nfunction or data, the facility still operates, and performs\nwhatever part of its purpose remains meaningful, or\n\nb) under the GNU GPL, with none of the additional permissions of\nthis License applicable to that copy.\n\n3. Object Code Incorporating Material from Library Header Files.\n\nThe object code form of an Application may incorporate material from\na header file that is part of the Library. You may convey such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial is not limited to numerical parameters, data structure\nlayouts and accessors, or small macros, inline functions and templates\n(ten or fewer lines in length), you do both of the following:\n\na) Give prominent notice with each copy of the object code that the\nLibrary is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the object code with a copy of the GNU GPL and this license\ndocument.\n\n4. Combined Works.\n\nYou may convey a Combined Work under terms of your choice that,\ntaken together, effectively do not restrict modification of the\nportions of the Library contained in the Combined Work and reverse\nengineering for debugging such modifications, if you also do each of\nthe following:\n\na) Give prominent notice with each copy of the Combined Work that\nthe Library is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the Combined Work with a copy of the GNU GPL and this license\ndocument.\n\nc) For a Combined Work that displays copyright notices during\nexecution, include the copyright notice for the Library among\nthese notices, as well as a reference directing the user to the\ncopies of the GNU GPL and this license document.\n\nd) Do one of the following:\n\n0) Convey the Minimal Corresponding Source under the terms of this\nLicense, and the Corresponding Application Code in a form\nsuitable for, and under terms that permit, the user to\nrecombine or relink the Application with a modified version of\nthe Linked Version to produce a modified Combined Work, in the\nmanner specified by section 6 of the GNU GPL for conveying\nCorresponding Source.\n\n1) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (a) uses at run time\na copy of the Library already present on the user's computer\nsystem, and (b) will operate properly with a modified version\nof the Library that is interface-compatible with the Linked\nVersion.\n\ne) Provide Installation Information, but only if you would otherwise\nbe required to provide such information under section 6 of the\nGNU GPL, and only to the extent that such information is\nnecessary to install and execute a modified version of the\nCombined Work produced by recombining or relinking the\nApplication with a modified version of the Linked Version. (If\nyou use option 4d0, the Installation Information must accompany\nthe Minimal Corresponding Source and Corresponding Application\nCode. If you use option 4d1, you must provide the Installation\nInformation in the manner specified by section 6 of the GNU GPL\nfor conveying Corresponding Source.)\n\n5. Combined Libraries.\n\nYou may place library facilities that are a work based on the\nLibrary side by side in a single library together with other library\nfacilities that are not Applications and are not covered by this\nLicense, and convey such a combined library under terms of your\nchoice, if you do both of the following:\n\na) Accompany the combined library with a copy of the same work based\non the Library, uncombined with any other library facilities,\nconveyed under the terms of this License.\n\nb) Give prominent notice with the combined library that part of it\nis a work based on the Library, and explaining where to find the\naccompanying uncombined form of the same work.\n\n6. Revised Versions of the GNU Lesser General Public License.\n\nThe Free Software Foundation may publish revised and/or new versions\nof the GNU Lesser General Public License from time to time. Such new\nversions will be similar in spirit to the present version, but may\ndiffer in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nLibrary as you received it specifies that a certain numbered version\nof the GNU Lesser General Public License \"or any later version\"\napplies to it, you have the option of following the terms and\nconditions either of that published version or of any later version\npublished by the Free Software Foundation. If the Library as you\nreceived it does not specify a version number of the GNU Lesser\nGeneral Public License, you may choose any version of the GNU Lesser\nGeneral Public License ever published by the Free Software Foundation.\n\nIf the Library as you received it specifies that a proxy can decide\nwhether future versions of the GNU Lesser General Public License shall\napply, that proxy's public statement of acceptance of any version is\npermanent authorization for you to choose that version for the\nLibrary." + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + }, + { + "key": "other-permissive", + "short_name": "Other Permissive Licenses", + "name": "Other Permissive Licenses", + "category": "Permissive", + "owner": "nexB", + "notes": "this is a catch all and ellipsis to deal with some cases when a large\nnumber of ancillary yet similar licenses may be reported as one.\n", + "is_builtin": true, + "is_generic": true, + "spdx_license_key": "LicenseRef-scancode-other-permissive", + "text": "This component contains multiple third-party subcomponents licensed\nunder permissive licenses in the style of MIT, BSD, X11, and/or Apache." + }, + { + "key": "proprietary-license", + "short_name": "Proprietary License", + "name": "Proprietary License", + "category": "Commercial", + "owner": "Unspecified", + "notes": "replaces the proprietary key npm before 3.1 recommended this \"If you are using a license that hasn't been assigned an SPDX identifier, or if you are using a custom license, use the following valid SPDX expression \"LicenseRef-LICENSE\"", + "is_builtin": true, + "is_generic": true, + "spdx_license_key": "LicenseRef-scancode-proprietary-license", + "other_spdx_license_keys": [ + "LicenseRef-LICENSE", + "LicenseRef-LICENSE.md" + ], + "text": "This component is normally licensed under a proprietary license agreement with\na supplier that has terms and conditions that restrict the use of the code,\nbut may not require payment to the supplier." + } + ], + "rule_references": [ + { + "license_expression": "lgpl-2.1-plus AND other-permissive AND gpl-2.0-plus", + "rule_identifier": "lgpl-2.1-plus_and__other-permissive_and_gpl-2.0-plus_1.RULE", + "referenced_filenames": [ + "COPYING.LGPLv2.1", + "COPYING.GPLv2" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 110, + "rule_relevance": 100, + "matched_text": "Most files in FFmpeg are under the GNU Lesser General Public License version 2.1\nor later (LGPL v2.1+). Read the file COPYING.LGPLv2.1 for details. Some other\nfiles have MIT/X11/BSD-style licenses. In combination the LGPL v2.1+ applies to\nFFmpeg.\n\nSome optional parts of FFmpeg are licensed under the GNU General Public License\nversion 2 or later (GPL v2+). See the file COPYING.GPLv2 for details. None of\nthese parts are used by default, you have to explicitly pass --enable-gpl to\nconfigure to activate them. In this case, FFmpeg's license changes to GPL v2+.\n\nSpecifically, the GPL parts of FFmpeg are:" + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_bare_word_only.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 50, + "matched_text": " libavcodec/x86/flac_dsp_gpl.asm" + }, + { + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_134.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "Should you, for whatever reason, prefer to use version 3 of the (L)GPL, then" + }, + { + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_130.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 99, + "matched_text": "the configure parameter --enable-version3 will activate this licensing option" + }, + { + "license_expression": "lgpl-3.0 AND gpl-3.0", + "rule_identifier": "lgpl-3.0_and_gpl-3.0_2.RULE", + "referenced_filenames": [ + "COPYING.LGPLv3", + "COPYING.GPLv3" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 25, + "rule_relevance": 100, + "matched_text": "for you. Read the file COPYING.LGPLv3 or, if you have enabled GPL parts,\nCOPYING.GPLv3 to learn the exact legal terms that apply in this case." + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_235.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 4, + "rule_relevance": 100, + "matched_text": "There are a handful of files under other licensing terms, namely:" + }, + { + "license_expression": "ijg", + "rule_identifier": "ijg_28.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "matched_text": " libavcodec/jrevdct.c are taken from libjpeg, see the top of the files for\n licensing details. Specifically note that you must credit the IJG in the" + }, + { + "license_expression": "mit", + "rule_identifier": "mit_576.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": " tests/reference.pnm is under the expat license" + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_70.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 90, + "matched_text": "The following libraries are under GPL:" + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_870.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 20, + "rule_relevance": 100, + "matched_text": "When combining them with FFmpeg, FFmpeg needs to be licensed as GPL as well by\npassing --enable-gpl to configure." + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_411.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "matched_text": "The OpenCORE and VisualOn libraries are under the Apache License 2.0. That" + }, + { + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_130.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 99, + "matched_text": "license version needs to be upgraded by passing --enable-version3 to configure." + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_bare_single_word.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "matched_text": "are incompatible with the GPLv2 and v3. We do not know for certain if their" + }, + { + "license_expression": "lgpl-2.0-plus", + "rule_identifier": "lgpl_bare_single_word.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 75, + "matched_text": "licenses are compatible with the LGPL." + }, + { + "license_expression": "proprietary-license", + "rule_identifier": "proprietary-license_490.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "If you wish to enable these libraries, pass --enable-nonfree to configure." + }, + { + "license_expression": "lgpl-2.0-plus", + "rule_identifier": "lgpl_bare_single_word.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 75, + "matched_text": "be under a complex license mix that is more restrictive than the LGPL and that" } ], "files": [ @@ -721,66 +797,7 @@ "matcher": "3-seq", "license_expression": "lgpl-2.1-plus AND other-permissive AND gpl-2.0-plus", "rule_identifier": "lgpl-2.1-plus_and__other-permissive_and_gpl-2.0-plus_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_and__other-permissive_and_gpl-2.0-plus_1.RULE", - "referenced_filenames": [ - "COPYING.LGPLv2.1", - "COPYING.GPLv2" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 110, - "rule_relevance": 100, - "matched_text": "Most files in FFmpeg are under the GNU Lesser General Public License version 2.1\nor later (LGPL v2.1+). Read the file COPYING.LGPLv2.1 for details. Some other\nfiles have MIT/X11/BSD-style licenses. In combination the LGPL v2.1+ applies to\nFFmpeg.\n\nSome optional parts of FFmpeg are licensed under the GNU General Public License\nversion 2 or later (GPL v2+). See the file COPYING.GPLv2 for details. None of\nthese parts are used by default, you have to explicitly pass --enable-gpl to\nconfigure to activate them. In this case, FFmpeg's license changes to GPL v2+.\n\nSpecifically, the GPL parts of FFmpeg are:", - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - }, - { - "key": "other-permissive", - "name": "Other Permissive Licenses", - "short_name": "Other Permissive Licenses", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-permissive", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-permissive", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE" - }, - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_and__other-permissive_and_gpl-2.0-plus_1.RULE" } ] }, @@ -800,33 +817,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_word_only.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 50, - "matched_text": " libavcodec/x86/flac_dsp_gpl.asm", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE" } ] }, @@ -845,33 +836,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_134.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_134.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "Should you, for whatever reason, prefer to use version 3 of the (L)GPL, then", - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_134.RULE" }, { "score": 99.0, @@ -882,33 +847,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_130.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_130.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 99, - "matched_text": "the configure parameter --enable-version3 will activate this licensing option", - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_130.RULE" }, { "score": 100.0, @@ -919,51 +858,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0 AND gpl-3.0", "rule_identifier": "lgpl-3.0_and_gpl-3.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_and_gpl-3.0_2.RULE", - "referenced_filenames": [ - "COPYING.LGPLv3", - "COPYING.GPLv3" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 25, - "rule_relevance": 100, - "matched_text": "for you. Read the file COPYING.LGPLv3 or, if you have enabled GPL parts,\nCOPYING.GPLv3 to learn the exact legal terms that apply in this case.", - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - }, - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_and_gpl-3.0_2.RULE" } ] }, @@ -982,33 +877,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_235.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_235.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "There are a handful of files under other licensing terms, namely:", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_235.RULE" }, { "score": 100.0, @@ -1019,33 +888,7 @@ "matcher": "2-aho", "license_expression": "ijg", "rule_identifier": "ijg_28.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/ijg_28.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": " libavcodec/jrevdct.c are taken from libjpeg, see the top of the files for\n licensing details. Specifically note that you must credit the IJG in the", - "licenses": [ - { - "key": "ijg", - "name": "Independent JPEG Group License", - "short_name": "JPEG License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "IJG - Independent JPEG Group", - "homepage_url": "http://fedoraproject.org/wiki/Licensing/IJG", - "text_url": "http://fedoraproject.org/wiki/Licensing/IJG", - "reference_url": "https://scancode-licensedb.aboutcode.org/ijg", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ijg.LICENSE", - "spdx_license_key": "IJG", - "spdx_url": "https://spdx.org/licenses/IJG" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/ijg_28.RULE" }, { "score": 100.0, @@ -1056,33 +899,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_576.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_576.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": " tests/reference.pnm is under the expat license", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_576.RULE" } ] }, @@ -1101,33 +918,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_70.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_70.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 90, - "matched_text": "The following libraries are under GPL:", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_70.RULE" } ] }, @@ -1146,33 +937,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_870.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_870.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 20, - "rule_relevance": 100, - "matched_text": "When combining them with FFmpeg, FFmpeg needs to be licensed as GPL as well by\npassing --enable-gpl to configure.", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_870.RULE" }, { "score": 100.0, @@ -1183,33 +948,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_411.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_411.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "matched_text": "The OpenCORE and VisualOn libraries are under the Apache License 2.0. That", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_411.RULE" }, { "score": 99.0, @@ -1220,33 +959,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_130.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_130.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 99, - "matched_text": "license version needs to be upgraded by passing --enable-version3 to configure.", - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_130.RULE" } ] }, @@ -1265,33 +978,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "are incompatible with the GPLv2 and v3. We do not know for certain if their", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" }, { "score": 75.0, @@ -1302,33 +989,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.0-plus", "rule_identifier": "lgpl_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl_bare_single_word.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 75, - "matched_text": "licenses are compatible with the LGPL.", - "licenses": [ - { - "key": "lgpl-2.0-plus", - "name": "GNU Library General Public License 2.0 or later", - "short_name": "LGPL 2.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.0-plus.LICENSE", - "spdx_license_key": "LGPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl_bare_single_word.RULE" }, { "score": 100.0, @@ -1339,33 +1000,7 @@ "matcher": "2-aho", "license_expression": "proprietary-license", "rule_identifier": "proprietary-license_490.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/proprietary-license_490.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "If you wish to enable these libraries, pass --enable-nonfree to configure.", - "licenses": [ - { - "key": "proprietary-license", - "name": "Proprietary License", - "short_name": "Proprietary License", - "category": "Commercial", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/proprietary-license", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/proprietary-license.LICENSE", - "spdx_license_key": "LicenseRef-scancode-proprietary-license", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/proprietary-license.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/proprietary-license_490.RULE" }, { "score": 75.0, @@ -1376,33 +1011,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.0-plus", "rule_identifier": "lgpl_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl_bare_single_word.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 75, - "matched_text": "be under a complex license mix that is more restrictive than the LGPL and that", - "licenses": [ - { - "key": "lgpl-2.0-plus", - "name": "GNU Library General Public License 2.0 or later", - "short_name": "LGPL 2.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.0-plus.LICENSE", - "spdx_license_key": "LGPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl_bare_single_word.RULE" } ] } diff --git a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json index 978b04e149d..b8426bb11bd 100644 --- a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json +++ b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json @@ -17,36 +17,1798 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/blessing.LICENSE" } ] } ], + "license_references": [ + { + "key": "blessing", + "short_name": "SQLite Blessing", + "name": "SQLite Blessing", + "category": "Public Domain", + "owner": "SQLite", + "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", + "is_builtin": true, + "spdx_license_key": "blessing", + "other_urls": [ + "https://www.sqlite.org/src/artifact/e33a4df7e32d742a?ln=4-9", + "https://sqlite.org/src/artifact/df5091916dbb40e6" + ], + "text": "The author disclaims copyright to this source code.\nIn place of a legal notice, here is a blessing:\nMay you do good and not evil.\nMay you find forgiveness for yourself and forgive others.\nMay you share freely, never taking more than you give." + } + ], + "rule_references": [ + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + }, + { + "license_expression": "blessing", + "rule_identifier": "blessing.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 42, + "rule_relevance": 100, + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + } + ], "files": [ { "path": "sqlite.tgz", @@ -80,33 +1842,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -125,33 +1861,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -170,33 +1880,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -215,33 +1899,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -260,33 +1918,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -305,33 +1937,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -350,33 +1956,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -395,33 +1975,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -440,33 +1994,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -485,33 +2013,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -530,33 +2032,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -575,33 +2051,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -620,33 +2070,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -665,33 +2089,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -710,33 +2108,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -755,33 +2127,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -800,33 +2146,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -845,33 +2165,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -890,33 +2184,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -935,33 +2203,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -980,33 +2222,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1025,33 +2241,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1070,33 +2260,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1115,33 +2279,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1160,33 +2298,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1205,33 +2317,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1250,33 +2336,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1295,33 +2355,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1340,33 +2374,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1385,33 +2393,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1430,33 +2412,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1475,33 +2431,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1520,33 +2450,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1565,33 +2469,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1610,33 +2488,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1655,33 +2507,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1700,33 +2526,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1745,33 +2545,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1790,33 +2564,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1835,33 +2583,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1880,33 +2602,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1925,33 +2621,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -1970,33 +2640,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2015,33 +2659,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2060,33 +2678,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2105,33 +2697,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2150,33 +2716,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2195,33 +2735,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2240,33 +2754,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2285,33 +2773,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2330,33 +2792,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2375,33 +2811,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2420,33 +2830,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2465,33 +2849,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2510,33 +2868,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2555,33 +2887,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2600,33 +2906,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2645,33 +2925,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2690,33 +2944,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2735,33 +2963,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2780,33 +2982,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2825,33 +3001,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2870,33 +3020,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2915,33 +3039,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -2960,33 +3058,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3005,33 +3077,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3050,33 +3096,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3095,33 +3115,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3140,33 +3134,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3185,33 +3153,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3230,33 +3172,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3275,33 +3191,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3320,33 +3210,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3365,33 +3229,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3410,33 +3248,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3455,33 +3267,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3500,33 +3286,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3545,33 +3305,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3590,33 +3324,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3635,33 +3343,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3680,33 +3362,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3725,33 +3381,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3770,33 +3400,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3815,33 +3419,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3860,33 +3438,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3905,33 +3457,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3950,33 +3476,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -3995,33 +3495,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4040,33 +3514,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4085,33 +3533,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4130,33 +3552,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4175,33 +3571,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4220,33 +3590,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4265,33 +3609,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4310,33 +3628,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4355,33 +3647,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4400,33 +3666,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4445,33 +3685,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4490,33 +3704,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4535,33 +3723,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4580,33 +3742,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4625,33 +3761,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4670,33 +3780,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4715,33 +3799,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4760,33 +3818,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4805,33 +3837,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4850,33 +3856,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4895,33 +3875,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4940,33 +3894,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -4985,33 +3913,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5030,33 +3932,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5075,33 +3951,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5120,33 +3970,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5165,33 +3989,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5210,33 +4008,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5255,33 +4027,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5300,33 +4046,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5345,33 +4065,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5390,33 +4084,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5435,33 +4103,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5480,33 +4122,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5525,33 +4141,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5570,33 +4160,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5615,33 +4179,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5660,33 +4198,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5705,33 +4217,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5750,33 +4236,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5795,33 +4255,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5840,33 +4274,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5885,33 +4293,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5930,33 +4312,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -5975,33 +4331,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -6020,33 +4350,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -6065,33 +4369,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -6110,33 +4388,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] }, @@ -6155,33 +4407,7 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.", - "licenses": [ - { - "key": "blessing", - "name": "SQLite Blessing", - "short_name": "SQLite Blessing", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "SQLite", - "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/blessing", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", - "spdx_license_key": "blessing", - "spdx_url": "https://spdx.org/licenses/blessing" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" } ] } diff --git a/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json b/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json index acaaac276b9..9616da07560 100644 --- a/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json +++ b/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json @@ -17,62 +17,7 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "linux-syscall-exception-gpl", - "name": "Linux Syscall Exception to GPL", - "short_name": "Linux Syscall Exception to GPL", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", - "spdx_license_key": "Linux-syscall-note", - "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" - }, - { - "key": "linux-openib", - "name": "Linux-OpenIB", - "short_name": "Linux-OpenIB", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", - "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", - "spdx_license_key": "Linux-OpenIB", - "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" - } - ] + "rule_url": null } ] }, @@ -93,36 +38,129 @@ "matcher": "3-seq", "license_expression": "fsf-ap", "rule_identifier": "fsf-ap.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/fsf-ap.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100, - "licenses": [ - { - "key": "fsf-ap", - "name": "FSF All Permissive License", - "short_name": "FSF All Permissive License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/fsf-ap", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE", - "spdx_license_key": "FSFAP", - "spdx_url": "https://spdx.org/licenses/FSFAP" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/fsf-ap.LICENSE" } ] } ], + "license_references": [ + { + "key": "fsf-ap", + "short_name": "FSF All Permissive License", + "name": "FSF All Permissive License", + "category": "Permissive", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", + "notes": "Per Fedora, This is a simple permissive license, created by the FSF. It is\nFree and GPL compatible. The FSF recommends it for \"small supporting files,\nshort manuals (under 300 lines long) and rough documentation (README files,\nINSTALL files, etc.)\".\n", + "is_builtin": true, + "spdx_license_key": "FSFAP", + "other_urls": [ + "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", + "http://www.gnu.org/software/autoconf-archive/ax_lib_readline.html", + "https://fedoraproject.org/wiki/Licensing/FSFAP", + "https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html" + ], + "minimum_coverage": 85, + "text": "Copying and distribution of this file, with or without modification, are\npermitted in any medium without royalty provided the copyright notice\nand this notice are preserved. This file is offered as-is, without any\nwarranty." + }, + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "linux-openib", + "short_name": "Linux-OpenIB", + "name": "Linux-OpenIB", + "category": "Permissive", + "owner": "Linux Foundation", + "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", + "notes": "This license is a hybrid of two common licenses the BSD-2-Clause (bsd-\nsimplified) and the MIT License (mit).\n", + "is_builtin": true, + "spdx_license_key": "Linux-OpenIB", + "text_urls": [ + "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README" + ], + "other_urls": [ + "https://github.com/spdx/license-list-XML/issues/620", + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h?id=3215b9d57a2c75c4305a3956ca303d7004485200" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n- Redistributions of source code must retain the above copyright notice, this\nlist of conditions and the following disclaimer.\n\n- Redistributions in binary form must reproduce the above copyright notice,\nthis list of conditions and the following disclaimer in the documentation\nand/or other materials provided with the distribution.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + }, + { + "key": "linux-syscall-exception-gpl", + "short_name": "Linux Syscall Exception to GPL", + "name": "Linux Syscall Exception to GPL", + "category": "Copyleft Limited", + "owner": "Linux Foundation", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "Linux-syscall-note", + "other_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/COPYING" + ], + "standard_notice": "NOTE! This copyright does *not* cover user programs that use kernel\nservices by normal system calls - this is merely considered normal use\nof the kernel, and does *not* fall under the heading of \"derived work\".\nAlso note that the GPL below is copyrighted by the Free Software\nFoundation, but the instance of code that it refers to (the Linux\nkernel) is copyrighted by me and others who actually wrote it.\nAlso note that the only valid version of the GPL as far as the kernel\nis concerned is _this_ particular version of the license (ie v2, not\nv2.2 or v3.x or whatever), unless explicitly otherwise stated.\nLinus Torvalds\nThis library is free software; you can redistribute it and/or modify it\nunder the terms of the GNU General Public License version 2 as published by\nthe Free Software Foundation.\nThis library is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\nFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\nmore details.\nYou should have received a copy of the GNU General Public License along\nwith this library; see the file COPYING. If not, write to the Free Software\nFoundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n", + "text": "NOTE! This copyright does *not* cover user programs that use kernel\nservices by normal system calls - this is merely considered normal use\nof the kernel, and does *not* fall under the heading of \"derived work\".\nAlso note that the GPL below is copyrighted by the Free Software\nFoundation, but the instance of code that it refers to (the Linux\nkernel) is copyrighted by me and others who actually wrote it.\n\nAlso note that the only valid version of the GPL as far as the kernel\nis concerned is _this_ particular version of the license (ie v2, not\nv2.2 or v3.x or whatever), unless explicitly otherwise stated.\n\nLinus Torvalds" + } + ], + "rule_references": [ + { + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 13, + "rule_relevance": 100, + "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" + }, + { + "license_expression": "fsf-ap", + "rule_identifier": "fsf-ap.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 35, + "rule_relevance": 100, + "matched_text": "and distribution of this file, with or without modification, are\npermitted in any medium without [royalties] provided the copyright notice\nand this notice are preserved. This file is offered as-is, without any" + } + ], "files": [ { "path": "gpl-2.0_with_linux-syscall-note_or_linux-openib_SPDX.RULE", @@ -145,63 +183,7 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "linux-syscall-exception-gpl", - "name": "Linux Syscall Exception to GPL", - "short_name": "Linux Syscall Exception to GPL", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", - "spdx_license_key": "Linux-syscall-note", - "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" - }, - { - "key": "linux-openib", - "name": "Linux-OpenIB", - "short_name": "Linux-OpenIB", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", - "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", - "spdx_license_key": "Linux-OpenIB", - "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" - } - ] + "rule_url": null } ] } @@ -234,33 +216,7 @@ "matcher": "3-seq", "license_expression": "fsf-ap", "rule_identifier": "fsf-ap.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100, - "matched_text": "and distribution of this file, with or without modification, are\npermitted in any medium without [royalties] provided the copyright notice\nand this notice are preserved. This file is offered as-is, without any", - "licenses": [ - { - "key": "fsf-ap", - "name": "FSF All Permissive License", - "short_name": "FSF All Permissive License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/fsf-ap", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE", - "spdx_license_key": "FSFAP", - "spdx_url": "https://spdx.org/licenses/FSFAP" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE" } ] } diff --git a/tests/licensedcode/data/plugin_license/text/scan.expected.json b/tests/licensedcode/data/plugin_license/text/scan.expected.json index 88d6c26e2de..cf5aaa6ad12 100644 --- a/tests/licensedcode/data/plugin_license/text/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/text/scan.expected.json @@ -17,62 +17,7 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "linux-syscall-exception-gpl", - "name": "Linux Syscall Exception to GPL", - "short_name": "Linux Syscall Exception to GPL", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", - "spdx_license_key": "Linux-syscall-note", - "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" - }, - { - "key": "linux-openib", - "name": "Linux-OpenIB", - "short_name": "Linux-OpenIB", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", - "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", - "spdx_license_key": "Linux-OpenIB", - "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" - } - ] + "rule_url": null } ] }, @@ -93,36 +38,129 @@ "matcher": "3-seq", "license_expression": "fsf-ap", "rule_identifier": "fsf-ap.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/fsf-ap.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100, - "licenses": [ - { - "key": "fsf-ap", - "name": "FSF All Permissive License", - "short_name": "FSF All Permissive License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/fsf-ap", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE", - "spdx_license_key": "FSFAP", - "spdx_url": "https://spdx.org/licenses/FSFAP" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/fsf-ap.LICENSE" } ] } ], + "license_references": [ + { + "key": "fsf-ap", + "short_name": "FSF All Permissive License", + "name": "FSF All Permissive License", + "category": "Permissive", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", + "notes": "Per Fedora, This is a simple permissive license, created by the FSF. It is\nFree and GPL compatible. The FSF recommends it for \"small supporting files,\nshort manuals (under 300 lines long) and rough documentation (README files,\nINSTALL files, etc.)\".\n", + "is_builtin": true, + "spdx_license_key": "FSFAP", + "other_urls": [ + "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", + "http://www.gnu.org/software/autoconf-archive/ax_lib_readline.html", + "https://fedoraproject.org/wiki/Licensing/FSFAP", + "https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html" + ], + "minimum_coverage": 85, + "text": "Copying and distribution of this file, with or without modification, are\npermitted in any medium without royalty provided the copyright notice\nand this notice are preserved. This file is offered as-is, without any\nwarranty." + }, + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "linux-openib", + "short_name": "Linux-OpenIB", + "name": "Linux-OpenIB", + "category": "Permissive", + "owner": "Linux Foundation", + "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", + "notes": "This license is a hybrid of two common licenses the BSD-2-Clause (bsd-\nsimplified) and the MIT License (mit).\n", + "is_builtin": true, + "spdx_license_key": "Linux-OpenIB", + "text_urls": [ + "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README" + ], + "other_urls": [ + "https://github.com/spdx/license-list-XML/issues/620", + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h?id=3215b9d57a2c75c4305a3956ca303d7004485200" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n- Redistributions of source code must retain the above copyright notice, this\nlist of conditions and the following disclaimer.\n\n- Redistributions in binary form must reproduce the above copyright notice,\nthis list of conditions and the following disclaimer in the documentation\nand/or other materials provided with the distribution.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + }, + { + "key": "linux-syscall-exception-gpl", + "short_name": "Linux Syscall Exception to GPL", + "name": "Linux Syscall Exception to GPL", + "category": "Copyleft Limited", + "owner": "Linux Foundation", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "Linux-syscall-note", + "other_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/COPYING" + ], + "standard_notice": "NOTE! This copyright does *not* cover user programs that use kernel\nservices by normal system calls - this is merely considered normal use\nof the kernel, and does *not* fall under the heading of \"derived work\".\nAlso note that the GPL below is copyrighted by the Free Software\nFoundation, but the instance of code that it refers to (the Linux\nkernel) is copyrighted by me and others who actually wrote it.\nAlso note that the only valid version of the GPL as far as the kernel\nis concerned is _this_ particular version of the license (ie v2, not\nv2.2 or v3.x or whatever), unless explicitly otherwise stated.\nLinus Torvalds\nThis library is free software; you can redistribute it and/or modify it\nunder the terms of the GNU General Public License version 2 as published by\nthe Free Software Foundation.\nThis library is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\nFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\nmore details.\nYou should have received a copy of the GNU General Public License along\nwith this library; see the file COPYING. If not, write to the Free Software\nFoundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n", + "text": "NOTE! This copyright does *not* cover user programs that use kernel\nservices by normal system calls - this is merely considered normal use\nof the kernel, and does *not* fall under the heading of \"derived work\".\nAlso note that the GPL below is copyrighted by the Free Software\nFoundation, but the instance of code that it refers to (the Linux\nkernel) is copyrighted by me and others who actually wrote it.\n\nAlso note that the only valid version of the GPL as far as the kernel\nis concerned is _this_ particular version of the license (ie v2, not\nv2.2 or v3.x or whatever), unless explicitly otherwise stated.\n\nLinus Torvalds" + } + ], + "rule_references": [ + { + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 13, + "rule_relevance": 100, + "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" + }, + { + "license_expression": "fsf-ap", + "rule_identifier": "fsf-ap.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 35, + "rule_relevance": 100, + "matched_text": "Reproduction and distribution of this file, with or without modification, are\npermitted in any medium without royalties provided the copyright notice\nand this notice are preserved. This file is offered as-is, without any warranties." + } + ], "files": [ { "path": "gpl-2.0_with_linux-syscall-note_or_linux-openib_SPDX.RULE", @@ -145,63 +183,7 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "linux-syscall-exception-gpl", - "name": "Linux Syscall Exception to GPL", - "short_name": "Linux Syscall Exception to GPL", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", - "spdx_license_key": "Linux-syscall-note", - "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" - }, - { - "key": "linux-openib", - "name": "Linux-OpenIB", - "short_name": "Linux-OpenIB", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", - "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", - "spdx_license_key": "Linux-OpenIB", - "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" - } - ] + "rule_url": null } ] } @@ -234,33 +216,7 @@ "matcher": "3-seq", "license_expression": "fsf-ap", "rule_identifier": "fsf-ap.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100, - "matched_text": "Reproduction and distribution of this file, with or without modification, are\npermitted in any medium without royalties provided the copyright notice\nand this notice are preserved. This file is offered as-is, without any warranties.", - "licenses": [ - { - "key": "fsf-ap", - "name": "FSF All Permissive License", - "short_name": "FSF All Permissive License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/fsf-ap", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE", - "spdx_license_key": "FSFAP", - "spdx_url": "https://spdx.org/licenses/FSFAP" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE" } ] } diff --git a/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json b/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json index 13a8ea900c5..241ffa65385 100644 --- a/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json +++ b/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json @@ -17,62 +17,7 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "linux-syscall-exception-gpl", - "name": "Linux Syscall Exception to GPL", - "short_name": "Linux Syscall Exception to GPL", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", - "spdx_license_key": "Linux-syscall-note", - "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" - }, - { - "key": "linux-openib", - "name": "Linux-OpenIB", - "short_name": "Linux-OpenIB", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", - "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", - "spdx_license_key": "Linux-OpenIB", - "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" - } - ] + "rule_url": null } ] }, @@ -93,36 +38,126 @@ "matcher": "2-aho", "license_expression": "unlicense", "rule_identifier": "unlicense.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unlicense.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 198, - "rule_relevance": 100, - "licenses": [ - { - "key": "unlicense", - "name": "Unlicense", - "short_name": "Unlicense", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Unlicense", - "homepage_url": "http://unlicense.org/", - "text_url": "https://unlicense.org/", - "reference_url": "https://scancode-licensedb.aboutcode.org/unlicense", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE", - "spdx_license_key": "Unlicense", - "spdx_url": "https://spdx.org/licenses/Unlicense" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unlicense.LICENSE" } ] } ], + "license_references": [ + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "linux-openib", + "short_name": "Linux-OpenIB", + "name": "Linux-OpenIB", + "category": "Permissive", + "owner": "Linux Foundation", + "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", + "notes": "This license is a hybrid of two common licenses the BSD-2-Clause (bsd-\nsimplified) and the MIT License (mit).\n", + "is_builtin": true, + "spdx_license_key": "Linux-OpenIB", + "text_urls": [ + "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README" + ], + "other_urls": [ + "https://github.com/spdx/license-list-XML/issues/620", + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h?id=3215b9d57a2c75c4305a3956ca303d7004485200" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n- Redistributions of source code must retain the above copyright notice, this\nlist of conditions and the following disclaimer.\n\n- Redistributions in binary form must reproduce the above copyright notice,\nthis list of conditions and the following disclaimer in the documentation\nand/or other materials provided with the distribution.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + }, + { + "key": "linux-syscall-exception-gpl", + "short_name": "Linux Syscall Exception to GPL", + "name": "Linux Syscall Exception to GPL", + "category": "Copyleft Limited", + "owner": "Linux Foundation", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "Linux-syscall-note", + "other_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/COPYING" + ], + "standard_notice": "NOTE! This copyright does *not* cover user programs that use kernel\nservices by normal system calls - this is merely considered normal use\nof the kernel, and does *not* fall under the heading of \"derived work\".\nAlso note that the GPL below is copyrighted by the Free Software\nFoundation, but the instance of code that it refers to (the Linux\nkernel) is copyrighted by me and others who actually wrote it.\nAlso note that the only valid version of the GPL as far as the kernel\nis concerned is _this_ particular version of the license (ie v2, not\nv2.2 or v3.x or whatever), unless explicitly otherwise stated.\nLinus Torvalds\nThis library is free software; you can redistribute it and/or modify it\nunder the terms of the GNU General Public License version 2 as published by\nthe Free Software Foundation.\nThis library is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\nFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\nmore details.\nYou should have received a copy of the GNU General Public License along\nwith this library; see the file COPYING. If not, write to the Free Software\nFoundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n", + "text": "NOTE! This copyright does *not* cover user programs that use kernel\nservices by normal system calls - this is merely considered normal use\nof the kernel, and does *not* fall under the heading of \"derived work\".\nAlso note that the GPL below is copyrighted by the Free Software\nFoundation, but the instance of code that it refers to (the Linux\nkernel) is copyrighted by me and others who actually wrote it.\n\nAlso note that the only valid version of the GPL as far as the kernel\nis concerned is _this_ particular version of the license (ie v2, not\nv2.2 or v3.x or whatever), unless explicitly otherwise stated.\n\nLinus Torvalds" + }, + { + "key": "unlicense", + "short_name": "Unlicense", + "name": "Unlicense", + "category": "Public Domain", + "owner": "Unlicense", + "homepage_url": "http://unlicense.org/", + "notes": "Per SPDX.org, this is a public domain dedication", + "is_builtin": true, + "spdx_license_key": "Unlicense", + "text_urls": [ + "https://unlicense.org/" + ], + "faq_url": "http://unlicense.org/", + "text": "This is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or\ndistribute this software, either in source code form or as a compiled\nbinary, for any purpose, commercial or non-commercial, and by any\nmeans.\n\nIn jurisdictions that recognize copyright laws, the author or authors\nof this software dedicate any and all copyright interest in the\nsoftware to the public domain. We make this dedication for the benefit\nof the public at large and to the detriment of our heirs and\nsuccessors. We intend this dedication to be an overt act of\nrelinquishment in perpetuity of all present and future rights to this\nsoftware under copyright law.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\nOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\nFor more information, please refer to " + } + ], + "rule_references": [ + { + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 13, + "rule_relevance": 100, + "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" + }, + { + "license_expression": "unlicense", + "rule_identifier": "unlicense.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 198, + "rule_relevance": 100, + "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 \\\"\nAS 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. * * For more information, please refer to * */ /*" + } + ], "files": [ { "path": "gpl-2.0_with_linux-syscall-note_or_linux-openib_SPDX.RULE", @@ -145,63 +180,7 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "linux-syscall-exception-gpl", - "name": "Linux Syscall Exception to GPL", - "short_name": "Linux Syscall Exception to GPL", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", - "spdx_license_key": "Linux-syscall-note", - "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" - }, - { - "key": "linux-openib", - "name": "Linux-OpenIB", - "short_name": "Linux-OpenIB", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", - "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", - "spdx_license_key": "Linux-OpenIB", - "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" - } - ] + "rule_url": null } ] } @@ -234,33 +213,7 @@ "matcher": "2-aho", "license_expression": "unlicense", "rule_identifier": "unlicense.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 198, - "rule_relevance": 100, - "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 \\\"\nAS 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. * * For more information, please refer to * */ /*", - "licenses": [ - { - "key": "unlicense", - "name": "Unlicense", - "short_name": "Unlicense", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Unlicense", - "homepage_url": "http://unlicense.org/", - "text_url": "https://unlicense.org/", - "reference_url": "https://scancode-licensedb.aboutcode.org/unlicense", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE", - "spdx_license_key": "Unlicense", - "spdx_url": "https://spdx.org/licenses/Unlicense" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE" } ] } diff --git a/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json b/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json index 13a8ea900c5..241ffa65385 100644 --- a/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json @@ -17,62 +17,7 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "linux-syscall-exception-gpl", - "name": "Linux Syscall Exception to GPL", - "short_name": "Linux Syscall Exception to GPL", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", - "spdx_license_key": "Linux-syscall-note", - "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" - }, - { - "key": "linux-openib", - "name": "Linux-OpenIB", - "short_name": "Linux-OpenIB", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", - "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", - "spdx_license_key": "Linux-OpenIB", - "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" - } - ] + "rule_url": null } ] }, @@ -93,36 +38,126 @@ "matcher": "2-aho", "license_expression": "unlicense", "rule_identifier": "unlicense.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unlicense.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 198, - "rule_relevance": 100, - "licenses": [ - { - "key": "unlicense", - "name": "Unlicense", - "short_name": "Unlicense", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Unlicense", - "homepage_url": "http://unlicense.org/", - "text_url": "https://unlicense.org/", - "reference_url": "https://scancode-licensedb.aboutcode.org/unlicense", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE", - "spdx_license_key": "Unlicense", - "spdx_url": "https://spdx.org/licenses/Unlicense" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unlicense.LICENSE" } ] } ], + "license_references": [ + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "linux-openib", + "short_name": "Linux-OpenIB", + "name": "Linux-OpenIB", + "category": "Permissive", + "owner": "Linux Foundation", + "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", + "notes": "This license is a hybrid of two common licenses the BSD-2-Clause (bsd-\nsimplified) and the MIT License (mit).\n", + "is_builtin": true, + "spdx_license_key": "Linux-OpenIB", + "text_urls": [ + "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README" + ], + "other_urls": [ + "https://github.com/spdx/license-list-XML/issues/620", + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h?id=3215b9d57a2c75c4305a3956ca303d7004485200" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n- Redistributions of source code must retain the above copyright notice, this\nlist of conditions and the following disclaimer.\n\n- Redistributions in binary form must reproduce the above copyright notice,\nthis list of conditions and the following disclaimer in the documentation\nand/or other materials provided with the distribution.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + }, + { + "key": "linux-syscall-exception-gpl", + "short_name": "Linux Syscall Exception to GPL", + "name": "Linux Syscall Exception to GPL", + "category": "Copyleft Limited", + "owner": "Linux Foundation", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "Linux-syscall-note", + "other_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/COPYING" + ], + "standard_notice": "NOTE! This copyright does *not* cover user programs that use kernel\nservices by normal system calls - this is merely considered normal use\nof the kernel, and does *not* fall under the heading of \"derived work\".\nAlso note that the GPL below is copyrighted by the Free Software\nFoundation, but the instance of code that it refers to (the Linux\nkernel) is copyrighted by me and others who actually wrote it.\nAlso note that the only valid version of the GPL as far as the kernel\nis concerned is _this_ particular version of the license (ie v2, not\nv2.2 or v3.x or whatever), unless explicitly otherwise stated.\nLinus Torvalds\nThis library is free software; you can redistribute it and/or modify it\nunder the terms of the GNU General Public License version 2 as published by\nthe Free Software Foundation.\nThis library is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\nFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\nmore details.\nYou should have received a copy of the GNU General Public License along\nwith this library; see the file COPYING. If not, write to the Free Software\nFoundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n", + "text": "NOTE! This copyright does *not* cover user programs that use kernel\nservices by normal system calls - this is merely considered normal use\nof the kernel, and does *not* fall under the heading of \"derived work\".\nAlso note that the GPL below is copyrighted by the Free Software\nFoundation, but the instance of code that it refers to (the Linux\nkernel) is copyrighted by me and others who actually wrote it.\n\nAlso note that the only valid version of the GPL as far as the kernel\nis concerned is _this_ particular version of the license (ie v2, not\nv2.2 or v3.x or whatever), unless explicitly otherwise stated.\n\nLinus Torvalds" + }, + { + "key": "unlicense", + "short_name": "Unlicense", + "name": "Unlicense", + "category": "Public Domain", + "owner": "Unlicense", + "homepage_url": "http://unlicense.org/", + "notes": "Per SPDX.org, this is a public domain dedication", + "is_builtin": true, + "spdx_license_key": "Unlicense", + "text_urls": [ + "https://unlicense.org/" + ], + "faq_url": "http://unlicense.org/", + "text": "This is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or\ndistribute this software, either in source code form or as a compiled\nbinary, for any purpose, commercial or non-commercial, and by any\nmeans.\n\nIn jurisdictions that recognize copyright laws, the author or authors\nof this software dedicate any and all copyright interest in the\nsoftware to the public domain. We make this dedication for the benefit\nof the public at large and to the detriment of our heirs and\nsuccessors. We intend this dedication to be an overt act of\nrelinquishment in perpetuity of all present and future rights to this\nsoftware under copyright law.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\nOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\nFor more information, please refer to " + } + ], + "rule_references": [ + { + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 13, + "rule_relevance": 100, + "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" + }, + { + "license_expression": "unlicense", + "rule_identifier": "unlicense.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 198, + "rule_relevance": 100, + "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 \\\"\nAS 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. * * For more information, please refer to * */ /*" + } + ], "files": [ { "path": "gpl-2.0_with_linux-syscall-note_or_linux-openib_SPDX.RULE", @@ -145,63 +180,7 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "linux-syscall-exception-gpl", - "name": "Linux Syscall Exception to GPL", - "short_name": "Linux Syscall Exception to GPL", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", - "spdx_license_key": "Linux-syscall-note", - "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" - }, - { - "key": "linux-openib", - "name": "Linux-OpenIB", - "short_name": "Linux-OpenIB", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", - "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", - "spdx_license_key": "Linux-OpenIB", - "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" - } - ] + "rule_url": null } ] } @@ -234,33 +213,7 @@ "matcher": "2-aho", "license_expression": "unlicense", "rule_identifier": "unlicense.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 198, - "rule_relevance": 100, - "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 \\\"\nAS 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. * * For more information, please refer to * */ /*", - "licenses": [ - { - "key": "unlicense", - "name": "Unlicense", - "short_name": "Unlicense", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Unlicense", - "homepage_url": "http://unlicense.org/", - "text_url": "https://unlicense.org/", - "reference_url": "https://scancode-licensedb.aboutcode.org/unlicense", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE", - "spdx_license_key": "Unlicense", - "spdx_url": "https://spdx.org/licenses/Unlicense" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE" } ] } diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json index 18803bb2508..48327cd45f6 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json @@ -3,6 +3,7 @@ { "identifier": "04db1ff4-743d-5e4b-c651-babe28ddd938", "license_expression": "wtfpl-2.0 AND mit", + "occurance_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -16,32 +17,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "lead-in_unknown_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lead-in_unknown_30.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lead-in_unknown_30.RULE" }, { "score": 50.0, @@ -52,32 +28,7 @@ "matcher": "2-aho", "license_expression": "wtfpl-2.0", "rule_identifier": "spdx_license_id_wtfpl_for_wtfpl-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_wtfpl_for_wtfpl-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 50, - "licenses": [ - { - "key": "wtfpl-2.0", - "name": "WTFPL 2.0", - "short_name": "WTFPL 2.0", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Sam Hocevar", - "homepage_url": "http://sam.zoy.org/wtfpl/", - "text_url": "http://sam.zoy.org/wtfpl/COPYING", - "reference_url": "https://scancode-licensedb.aboutcode.org/wtfpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/wtfpl-2.0.LICENSE", - "spdx_license_key": "WTFPL", - "spdx_url": "https://spdx.org/licenses/WTFPL" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_wtfpl_for_wtfpl-2.0.RULE" }, { "score": 100.0, @@ -88,32 +39,7 @@ "matcher": "2-aho", "license_expression": "wtfpl-2.0", "rule_identifier": "wtfpl-2.0_27.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/wtfpl-2.0_27.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "wtfpl-2.0", - "name": "WTFPL 2.0", - "short_name": "WTFPL 2.0", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Sam Hocevar", - "homepage_url": "http://sam.zoy.org/wtfpl/", - "text_url": "http://sam.zoy.org/wtfpl/COPYING", - "reference_url": "https://scancode-licensedb.aboutcode.org/wtfpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/wtfpl-2.0.LICENSE", - "spdx_license_key": "WTFPL", - "spdx_url": "https://spdx.org/licenses/WTFPL" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/wtfpl-2.0_27.RULE" }, { "score": 100.0, @@ -124,35 +50,105 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_64.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_64.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_64.RULE" } + ] + } + ], + "license_references": [ + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + }, + { + "key": "wtfpl-2.0", + "short_name": "WTFPL 2.0", + "name": "WTFPL 2.0", + "category": "Public Domain", + "owner": "Sam Hocevar", + "homepage_url": "http://sam.zoy.org/wtfpl/", + "is_builtin": true, + "spdx_license_key": "WTFPL", + "text_urls": [ + "http://sam.zoy.org/wtfpl/COPYING" + ], + "other_urls": [ + "http://fedoraproject.org/wiki/Licensing/WTFPL", + "http://www.wtfpl.net/about/" ], - "occurance_count": 1 + "text": "DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\nVersion 2, December 2004\n\nCopyright (C) 2004 Sam Hocevar\n14 rue de Plaisance, 75014 Paris, France\nEveryone is permitted to copy and distribute verbatim or modified\ncopies of this license document, and changing it is allowed as long\nas the name is changed.\n\nDO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. You just DO WHAT THE FUCK YOU WANT TO." + } + ], + "rule_references": [ + { + "license_expression": "unknown-license-reference", + "rule_identifier": "lead-in_unknown_30.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "dual-licensed under [`" + }, + { + "license_expression": "wtfpl-2.0", + "rule_identifier": "spdx_license_id_wtfpl_for_wtfpl-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 50, + "matched_text": "WTFPL`](" + }, + { + "license_expression": "wtfpl-2.0", + "rule_identifier": "wtfpl-2.0_27.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "www.wtfpl.net/" + }, + { + "license_expression": "mit", + "rule_identifier": "mit_64.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "MIT`](https://opensource.org/licenses/MIT)." } ], "files": [ @@ -177,33 +173,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "lead-in_unknown_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lead-in_unknown_30.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "dual-licensed under [`", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lead-in_unknown_30.RULE" }, { "score": 50.0, @@ -214,33 +184,7 @@ "matcher": "2-aho", "license_expression": "wtfpl-2.0", "rule_identifier": "spdx_license_id_wtfpl_for_wtfpl-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_wtfpl_for_wtfpl-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 50, - "matched_text": "WTFPL`](", - "licenses": [ - { - "key": "wtfpl-2.0", - "name": "WTFPL 2.0", - "short_name": "WTFPL 2.0", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Sam Hocevar", - "homepage_url": "http://sam.zoy.org/wtfpl/", - "text_url": "http://sam.zoy.org/wtfpl/COPYING", - "reference_url": "https://scancode-licensedb.aboutcode.org/wtfpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/wtfpl-2.0.LICENSE", - "spdx_license_key": "WTFPL", - "spdx_url": "https://spdx.org/licenses/WTFPL" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_wtfpl_for_wtfpl-2.0.RULE" }, { "score": 100.0, @@ -251,33 +195,7 @@ "matcher": "2-aho", "license_expression": "wtfpl-2.0", "rule_identifier": "wtfpl-2.0_27.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/wtfpl-2.0_27.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "www.wtfpl.net/", - "licenses": [ - { - "key": "wtfpl-2.0", - "name": "WTFPL 2.0", - "short_name": "WTFPL 2.0", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Sam Hocevar", - "homepage_url": "http://sam.zoy.org/wtfpl/", - "text_url": "http://sam.zoy.org/wtfpl/COPYING", - "reference_url": "https://scancode-licensedb.aboutcode.org/wtfpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/wtfpl-2.0.LICENSE", - "spdx_license_key": "WTFPL", - "spdx_url": "https://spdx.org/licenses/WTFPL" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/wtfpl-2.0_27.RULE" }, { "score": 100.0, @@ -288,33 +206,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_64.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_64.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "MIT`](https://opensource.org/licenses/MIT).", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_64.RULE" } ] } diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json index 9e9cb08a2d0..d5b07f282c2 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json @@ -17,32 +17,7 @@ "matcher": "3-seq", "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 151, - "rule_relevance": 100, - "licenses": [ - { - "key": "epl-1.0", - "name": "Eclipse Public License 1.0", - "short_name": "EPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", - "text_url": "http://www.eclipse.org/legal/epl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", - "spdx_license_key": "EPL-1.0", - "spdx_url": "https://spdx.org/licenses/EPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE" }, { "score": 100.0, @@ -53,32 +28,7 @@ "matcher": "2-aho", "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "licenses": [ - { - "key": "epl-1.0", - "name": "Eclipse Public License 1.0", - "short_name": "EPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", - "text_url": "http://www.eclipse.org/legal/epl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", - "spdx_license_key": "EPL-1.0", - "spdx_url": "https://spdx.org/licenses/EPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE" } ] }, @@ -99,32 +49,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache_no-version_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache_no-version_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 95, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache_no-version_1.RULE" } ] }, @@ -145,32 +70,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" }, { "score": 100.0, @@ -181,32 +81,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_322.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE" }, { "score": 39.47, @@ -217,32 +92,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1112.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 38, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE" }, { "score": 40.0, @@ -253,32 +103,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_842.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE" }, { "score": 33.85, @@ -289,35 +114,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_689.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_689.RULE", - "referenced_filenames": [ - "LICENSE-2.0.txt", - "NOTICE.TXT" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 65, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_689.RULE" } ] }, @@ -338,32 +135,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" }, { "score": 100.0, @@ -374,32 +146,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_322.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE" }, { "score": 39.47, @@ -410,32 +157,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1112.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 38, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE" }, { "score": 40.0, @@ -446,32 +168,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_842.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE" }, { "score": 100.0, @@ -482,32 +179,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_182.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_182.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_182.RULE" } ] }, @@ -528,32 +200,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" }, { "score": 100.0, @@ -564,32 +211,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_322.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE" }, { "score": 42.11, @@ -600,32 +222,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1112.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 38, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE" }, { "score": 100.0, @@ -636,32 +233,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_20.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_20.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_20.RULE" } ] }, @@ -682,32 +254,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1112.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 38, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE" }, { "score": 48.57, @@ -718,32 +265,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_842.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE" } ] }, @@ -764,32 +286,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" }, { "score": 28.0, @@ -800,47 +297,7 @@ "matcher": "3-seq", "license_expression": "epl-2.0 OR apache-2.0", "rule_identifier": "epl-2.0_or_apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_or_apache-2.0_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 50, - "rule_relevance": 100, - "licenses": [ - { - "key": "epl-2.0", - "name": "Eclipse Public License 2.0", - "short_name": "EPL 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "https://www.eclipse.org/legal/epl-2.0/", - "text_url": "https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-2.0.LICENSE", - "spdx_license_key": "EPL-2.0", - "spdx_url": "https://spdx.org/licenses/EPL-2.0" - }, - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_or_apache-2.0_2.RULE" }, { "score": 36.84, @@ -851,32 +308,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1112.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 38, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE" }, { "score": 30.43, @@ -887,32 +319,7 @@ "matcher": "3-seq", "license_expression": "epl-2.0", "rule_identifier": "epl-2.0_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 69, - "rule_relevance": 100, - "licenses": [ - { - "key": "epl-2.0", - "name": "Eclipse Public License 2.0", - "short_name": "EPL 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "https://www.eclipse.org/legal/epl-2.0/", - "text_url": "https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-2.0.LICENSE", - "spdx_license_key": "EPL-2.0", - "spdx_url": "https://spdx.org/licenses/EPL-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_4.RULE" } ] }, @@ -933,32 +340,7 @@ "matcher": "3-seq", "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 151, - "rule_relevance": 100, - "licenses": [ - { - "key": "epl-1.0", - "name": "Eclipse Public License 1.0", - "short_name": "EPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", - "text_url": "http://www.eclipse.org/legal/epl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", - "spdx_license_key": "EPL-1.0", - "spdx_url": "https://spdx.org/licenses/EPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE" }, { "score": 100.0, @@ -969,32 +351,7 @@ "matcher": "2-aho", "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "licenses": [ - { - "key": "epl-1.0", - "name": "Eclipse Public License 1.0", - "short_name": "EPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", - "text_url": "http://www.eclipse.org/legal/epl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", - "spdx_license_key": "EPL-1.0", - "spdx_url": "https://spdx.org/licenses/EPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE" } ] }, @@ -1015,32 +372,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" }, { "score": 100.0, @@ -1051,32 +383,7 @@ "matcher": "2-aho", "license_expression": "cpl-1.0", "rule_identifier": "cpl-1.0_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_5.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "cpl-1.0", - "name": "Common Public License 1.0", - "short_name": "CPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "IBM", - "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", - "text_url": "http://www.eclipse.org/legal/cpl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cpl-1.0.LICENSE", - "spdx_license_key": "CPL-1.0", - "spdx_url": "https://spdx.org/licenses/CPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_5.RULE" }, { "score": 75.0, @@ -1087,32 +394,7 @@ "matcher": "3-seq", "license_expression": "cpl-1.0", "rule_identifier": "cpl-1.0_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_14.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 24, - "rule_relevance": 100, - "licenses": [ - { - "key": "cpl-1.0", - "name": "Common Public License 1.0", - "short_name": "CPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "IBM", - "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", - "text_url": "http://www.eclipse.org/legal/cpl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cpl-1.0.LICENSE", - "spdx_license_key": "CPL-1.0", - "spdx_url": "https://spdx.org/licenses/CPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_14.RULE" } ] }, @@ -1133,32 +415,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" }, { "score": 100.0, @@ -1169,32 +426,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_119.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_119.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_119.RULE" }, { "score": 100.0, @@ -1205,32 +437,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_103.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_103.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_103.RULE" }, { "score": 99.0, @@ -1241,32 +448,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_172.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_172.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99, - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_172.RULE" } ] }, @@ -1287,32 +469,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_860.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_860.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 211, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_860.RULE" } ] }, @@ -1333,32 +490,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" }, { "score": 100.0, @@ -1369,32 +501,7 @@ "matcher": "2-aho", "license_expression": "cpl-1.0", "rule_identifier": "cpl-1.0_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_5.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "cpl-1.0", - "name": "Common Public License 1.0", - "short_name": "CPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "IBM", - "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", - "text_url": "http://www.eclipse.org/legal/cpl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cpl-1.0.LICENSE", - "spdx_license_key": "CPL-1.0", - "spdx_url": "https://spdx.org/licenses/CPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_5.RULE" }, { "score": 75.0, @@ -1405,32 +512,7 @@ "matcher": "3-seq", "license_expression": "cpl-1.0", "rule_identifier": "cpl-1.0_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_14.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 24, - "rule_relevance": 100, - "licenses": [ - { - "key": "cpl-1.0", - "name": "Common Public License 1.0", - "short_name": "CPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "IBM", - "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", - "text_url": "http://www.eclipse.org/legal/cpl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cpl-1.0.LICENSE", - "spdx_license_key": "CPL-1.0", - "spdx_url": "https://spdx.org/licenses/CPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_14.RULE" }, { "score": 100.0, @@ -1441,38 +523,710 @@ "matcher": "2-aho", "license_expression": "cpl-1.0", "rule_identifier": "cpl-1.0_24.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_24.RULE", - "referenced_filenames": [ - "cpl-v10.html" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "cpl-1.0", - "name": "Common Public License 1.0", - "short_name": "CPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "IBM", - "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", - "text_url": "http://www.eclipse.org/legal/cpl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cpl-1.0.LICENSE", - "spdx_license_key": "CPL-1.0", - "spdx_url": "https://spdx.org/licenses/CPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_24.RULE" } ] } ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "bsd-new", + "short_name": "BSD-3-Clause", + "name": "BSD-3-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-3-Clause", + "other_spdx_license_keys": [ + "LicenseRef-scancode-libzip" + ], + "osi_license_key": "BSD-3-Clause", + "text_urls": [ + "http://www.opensource.org/licenses/BSD-3-Clause" + ], + "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "other_urls": [ + "http://framework.zend.com/license/new-bsd", + "https://opensource.org/licenses/BSD-3-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "cpl-1.0", + "short_name": "CPL 1.0", + "name": "Common Public License 1.0", + "category": "Copyleft Limited", + "owner": "IBM", + "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", + "notes": "Per SPDX.org, this license was superseded by Eclipse Public License", + "is_builtin": true, + "spdx_license_key": "CPL-1.0", + "osi_license_key": "CPL-1.0", + "text_urls": [ + "http://www.eclipse.org/legal/cpl-v10.html" + ], + "osi_url": "http://www.opensource.org/licenses/cpl1.0.php", + "faq_url": "http://web.archive.org/web/20101104092121/http://www.ibm.com/developerworks/library/os-cplfaq.html", + "other_urls": [ + "http://dev.eclipse.org/blogs/mike/2009/04/16/one-small-step-towards-reducing-license-proliferation/", + "http://opensource.org/licenses/CPL-1.0", + "http://www.ibm.com/developerworks/library/os-cpl.html", + "http://www.ibm.com/developerworks/library/os-cplfaq.html", + "http://www.padsproj.org/License.html", + "https://opensource.org/licenses/CPL-1.0" + ], + "text": "Common Public License - v 1.0\n\nUpdated 16 Apr 2009\n\nAs of 25 Feb 2009, IBM has assigned the Agreement Steward role for the CPL to the Eclipse Foundation. Eclipse has designated the Eclipse Public License (EPL) as the follow-on version of the CPL.\n\nTHE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE (\"AGREEMENT\"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.\n\n\n1. DEFINITIONS\n\n\"Contribution\" means:\n\na) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and\nb) in the case of each subsequent Contributor:\ni)\t changes to the Program, and\nii)\t additions to the Program;\nwhere such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.\n\n\"Contributor\" means any person or entity that distributes the Program.\n\n\n\"Licensed Patents \" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.\n\n\n\"Program\" means the Contributions distributed in accordance with this Agreement.\n\n\n\"Recipient\" means anyone who receives the Program under this Agreement, including all Contributors.\n\n\n2. GRANT OF RIGHTS\n\na)\tSubject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.\nb) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.\nc)\tRecipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. 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 the Program, it is Recipient's responsibility to acquire that license before distributing the Program.\nd)\tEach Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.\n3. REQUIREMENTS\n\nA Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:\n\na)\tit complies with the terms and conditions of this Agreement; and\nb)\tits license agreement:\ni)\teffectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;\nii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;\niii)\tstates that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and\niv)\tstates that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.\nWhen the Program is made available in source code form:\n\na)\tit must be made available under this Agreement; and\nb)\ta copy of this Agreement must be included with each copy of the Program.\n\nContributors may not remove or alter any copyright notices contained within the Program.\n\n\nEach Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.\n\n\n4. COMMERCIAL DISTRIBUTION\n\nCommercial distributors of software 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 the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor (\"Commercial Contributor\") hereby agrees to defend and indemnify every other 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 Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.\n\n\nFor example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.\n\n\n5. NO WARRANTY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED 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 using and distributing the Program 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.\n\n\n6. DISCLAIMER OF LIABILITY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 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 THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n\n7. GENERAL\n\nIf 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.\n\n\nIf Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.\n\n\nAll Recipient's rights under this Agreement shall terminate if it 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 all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.\n\n\nEveryone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) 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 the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.\n\n\nThis Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation." + }, + { + "key": "epl-1.0", + "short_name": "EPL 1.0", + "name": "Eclipse Public License 1.0", + "category": "Copyleft Limited", + "owner": "Eclipse Foundation", + "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", + "notes": "Per SPDX.org, this license is OSI certifified EPL replaced the CPL on 28\nJune 2005.\n", + "is_builtin": true, + "spdx_license_key": "EPL-1.0", + "osi_license_key": "EPL-1.0", + "text_urls": [ + "http://www.eclipse.org/legal/epl-v10.html" + ], + "osi_url": "http://opensource.org/licenses/eclipse-1.0.php", + "faq_url": "http://eclipse.org/legal/eplfaq.php", + "other_urls": [ + "http://www.opensource.org/licenses/EPL-1.0", + "https://opensource.org/licenses/EPL-1.0" + ], + "text": "Eclipse Public License - v 1.0\n\nTHE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE (\"AGREEMENT\"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.\n\n1. DEFINITIONS\n\n\"Contribution\" means:\n\na) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and\nb) in the case of each subsequent Contributor:\n\ni) changes to the Program, and\n\nii) additions to the Program;\n\nwhere such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.\n\n\"Contributor\" means any person or entity that distributes the Program.\n\n\"Licensed Patents \" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.\n\n\"Program\" means the Contributions distributed in accordance with this Agreement.\n\n\"Recipient\" means anyone who receives the Program under this Agreement, including all Contributors.\n\n2. GRANT OF RIGHTS\n\na) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.\n\nb) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.\n\nc) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. 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 the Program, it is Recipient's responsibility to acquire that license before distributing the Program.\n\nd) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.\n\n3. REQUIREMENTS\n\nA Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:\n\na) it complies with the terms and conditions of this Agreement; and\n\nb) its license agreement:\n\ni) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;\n\nii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;\n\niii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and\n\niv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.\n\nWhen the Program is made available in source code form:\n\na) it must be made available under this Agreement; and\n\nb) a copy of this Agreement must be included with each copy of the Program.\n\nContributors may not remove or alter any copyright notices contained within the Program.\n\nEach Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.\n\n4. COMMERCIAL DISTRIBUTION\n\nCommercial distributors of software 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 the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor (\"Commercial Contributor\") hereby agrees to defend and indemnify every other 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 Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.\n\nFor example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.\n\n5. NO WARRANTY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED 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 using and distributing the Program 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.\n\n6. DISCLAIMER OF LIABILITY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 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 THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n7. GENERAL\n\nIf 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.\n\nIf Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.\n\nAll Recipient's rights under this Agreement shall terminate if it 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 all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.\n\nEveryone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) 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 the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.\n\nThis Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation." + }, + { + "key": "epl-2.0", + "short_name": "EPL 2.0", + "name": "Eclipse Public License 2.0", + "category": "Copyleft Limited", + "owner": "Eclipse Foundation", + "homepage_url": "https://www.eclipse.org/legal/epl-2.0/", + "is_builtin": true, + "spdx_license_key": "EPL-2.0", + "text_urls": [ + "https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt" + ], + "faq_url": "http://www.eclipse.org/legal/eplfaq.php", + "other_urls": [ + "https://www.eclipse.org/legal/epl-2.0", + "https://www.opensource.org/licenses/EPL-2.0" + ], + "text": "Eclipse Public License - v 2.0\n\nTHE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE\nPUBLIC LICENSE (\"AGREEMENT\"). ANY USE, REPRODUCTION OR DISTRIBUTION\nOF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.\n\n1. DEFINITIONS\n\n\"Contribution\" means:\n\na) in the case of the initial Contributor, the initial content\nDistributed under this Agreement, and\n\nb) in the case of each subsequent Contributor:\ni) changes to the Program, and\nii) additions to the Program;\nwhere such changes and/or additions to the Program originate from\nand are Distributed by that particular Contributor. A Contribution\n\"originates\" from a Contributor if it was added to the Program by\nsuch Contributor itself or anyone acting on such Contributor's behalf.\nContributions do not include changes or additions to the Program that\nare not Modified Works.\n\n\"Contributor\" means any person or entity that Distributes the Program.\n\n\"Licensed Patents\" mean patent claims licensable by a Contributor which\nare necessarily infringed by the use or sale of its Contribution alone\nor when combined with the Program.\n\n\"Program\" means the Contributions Distributed in accordance with this\nAgreement.\n\n\"Recipient\" means anyone who receives the Program under this Agreement\nor any Secondary License (as applicable), including Contributors.\n\n\"Derivative Works\" shall mean any work, whether in Source Code or other\nform, that is based on (or derived from) the Program and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship.\n\n\"Modified Works\" shall mean any work in Source Code or other form that\nresults from an addition to, deletion from, or modification of the\ncontents of the Program, including, for purposes of clarity any new file\nin Source Code form that contains any contents of the Program. Modified\nWorks shall not include works that contain only declarations,\ninterfaces, types, classes, structures, or files of the Program solely\nin each case in order to link to, bind by name, or subclass the Program\nor Modified Works thereof.\n\n\"Distribute\" means the acts of a) distributing or b) making available\nin any manner that enables the transfer of a copy.\n\n\"Source Code\" means the form of a Program preferred for making\nmodifications, including but not limited to software source code,\ndocumentation source, and configuration files.\n\n\"Secondary License\" means either the GNU General Public License,\nVersion 2.0, or any later versions of that license, including any\nexceptions or additional permissions as identified by the initial\nContributor.\n\n2. GRANT OF RIGHTS\n\na) Subject to the terms of this Agreement, each Contributor hereby\ngrants Recipient a non-exclusive, worldwide, royalty-free copyright\nlicense to reproduce, prepare Derivative Works of, publicly display,\npublicly perform, Distribute and sublicense the Contribution of such\nContributor, if any, and such Derivative Works.\n\nb) Subject to the terms of this Agreement, each Contributor hereby\ngrants Recipient a non-exclusive, worldwide, royalty-free patent\nlicense under Licensed Patents to make, use, sell, offer to sell,\nimport and otherwise transfer the Contribution of such Contributor,\nif any, in Source Code or other form. This patent license shall\napply to the combination of the Contribution and the Program if, at\nthe time the Contribution is added by the Contributor, such addition\nof the Contribution causes such combination to be covered by the\nLicensed Patents. The patent license shall not apply to any other\ncombinations which include the Contribution. No hardware per se is\nlicensed hereunder.\n\nc) Recipient understands that although each Contributor grants the\nlicenses to its Contributions set forth herein, no assurances are\nprovided by any Contributor that the Program does not infringe the\npatent or other intellectual property rights of any other entity.\nEach Contributor disclaims any liability to Recipient for claims\nbrought by any other entity based on infringement of intellectual\nproperty rights or otherwise. As a condition to exercising the\nrights and licenses granted hereunder, each Recipient hereby\nassumes sole responsibility to secure any other intellectual\nproperty rights needed, if any. For example, if a third party\npatent license is required to allow Recipient to Distribute the\nProgram, it is Recipient's responsibility to acquire that license\nbefore distributing the Program.\n\nd) Each Contributor represents that to its knowledge it has\nsufficient copyright rights in its Contribution, if any, to grant\nthe copyright license set forth in this Agreement.\n\ne) Notwithstanding the terms of any Secondary License, no\nContributor makes additional grants to any Recipient (other than\nthose set forth in this Agreement) as a result of such Recipient's\nreceipt of the Program under the terms of a Secondary License\n(if permitted under the terms of Section 3).\n\n3. REQUIREMENTS\n\n3.1 If a Contributor Distributes the Program in any form, then:\n\na) the Program must also be made available as Source Code, in\naccordance with section 3.2, and the Contributor must accompany\nthe Program with a statement that the Source Code for the Program\nis available under this Agreement, and informs Recipients how to\nobtain it in a reasonable manner on or through a medium customarily\nused for software exchange; and\n\nb) the Contributor may Distribute the Program under a license\ndifferent than this Agreement, provided that such license:\ni) effectively disclaims on behalf of all other Contributors all\nwarranties and conditions, express and implied, including\nwarranties or conditions of title and non-infringement, and\nimplied warranties or conditions of merchantability and fitness\nfor a particular purpose;\n\nii) effectively excludes on behalf of all other Contributors all\nliability for damages, including direct, indirect, special,\nincidental and consequential damages, such as lost profits;\n\niii) does not attempt to limit or alter the recipients' rights\nin the Source Code under section 3.2; and\n\niv) requires any subsequent distribution of the Program by any\nparty to be under a license that satisfies the requirements\nof this section 3.\n\n3.2 When the Program is Distributed as Source Code:\n\na) it must be made available under this Agreement, or if the\nProgram (i) is combined with other material in a separate file or\nfiles made available under a Secondary License, and (ii) the initial\nContributor attached to the Source Code the notice described in\nExhibit A of this Agreement, then the Program may be made available\nunder the terms of such Secondary Licenses, and\n\nb) a copy of this Agreement must be included with each copy of\nthe Program.\n\n3.3 Contributors may not remove or alter any copyright, patent,\ntrademark, attribution notices, disclaimers of warranty, or limitations\nof liability (\"notices\") contained within the Program from any copy of\nthe Program which they Distribute, provided that Contributors may add\ntheir own appropriate notices.\n\n4. COMMERCIAL DISTRIBUTION\n\nCommercial distributors of software may accept certain responsibilities\nwith respect to end users, business partners and the like. While this\nlicense is intended to facilitate the commercial use of the Program,\nthe Contributor who includes the Program in a commercial product\noffering should do so in a manner which does not create potential\nliability for other Contributors. Therefore, if a Contributor includes\nthe Program in a commercial product offering, such Contributor\n(\"Commercial Contributor\") hereby agrees to defend and indemnify every\nother Contributor (\"Indemnified Contributor\") against any losses,\ndamages and costs (collectively \"Losses\") arising from claims, lawsuits\nand other legal actions brought by a third party against the Indemnified\nContributor to the extent caused by the acts or omissions of such\nCommercial Contributor in connection with its distribution of the Program\nin a commercial product offering. The obligations in this section do not\napply to any claims or Losses relating to any actual or alleged\nintellectual property infringement. In order to qualify, an Indemnified\nContributor must: a) promptly notify the Commercial Contributor in\nwriting of such claim, and b) allow the Commercial Contributor to control,\nand cooperate with the Commercial Contributor in, the defense and any\nrelated settlement negotiations. The Indemnified Contributor may\nparticipate in any such claim at its own expense.\n\nFor example, a Contributor might include the Program in a commercial\nproduct offering, Product X. That Contributor is then a Commercial\nContributor. If that Commercial Contributor then makes performance\nclaims, or offers warranties related to Product X, those performance\nclaims and warranties are such Commercial Contributor's responsibility\nalone. Under this section, the Commercial Contributor would have to\ndefend claims against the other Contributors related to those performance\nclaims and warranties, and if a court requires any other Contributor to\npay any damages as a result, the Commercial Contributor must pay\nthose damages.\n\n5. NO WARRANTY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT\nPERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN \"AS IS\"\nBASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR\nIMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF\nTITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR\nPURPOSE. Each Recipient is solely responsible for determining the\nappropriateness of using and distributing the Program and assumes all\nrisks associated with its exercise of rights under this Agreement,\nincluding but not limited to the risks and costs of program errors,\ncompliance with applicable laws, damage to or loss of data, programs\nor equipment, and unavailability or interruption of operations.\n\n6. DISCLAIMER OF LIABILITY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT\nPERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS\nSHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\nEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST\nPROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE\nEXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\n7. GENERAL\n\nIf any provision of this Agreement is invalid or unenforceable under\napplicable law, it shall not affect the validity or enforceability of\nthe remainder of the terms of this Agreement, and without further\naction by the parties hereto, such provision shall be reformed to the\nminimum extent necessary to make such provision valid and enforceable.\n\nIf Recipient institutes patent litigation against any entity\n(including a cross-claim or counterclaim in a lawsuit) alleging that the\nProgram itself (excluding combinations of the Program with other software\nor hardware) infringes such Recipient's patent(s), then such Recipient's\nrights granted under Section 2(b) shall terminate as of the date such\nlitigation is filed.\n\nAll Recipient's rights under this Agreement shall terminate if it\nfails to comply with any of the material terms or conditions of this\nAgreement and does not cure such failure in a reasonable period of\ntime after becoming aware of such noncompliance. If all Recipient's\nrights under this Agreement terminate, Recipient agrees to cease use\nand distribution of the Program as soon as reasonably practicable.\nHowever, Recipient's obligations under this Agreement and any licenses\ngranted by Recipient relating to the Program shall continue and survive.\n\nEveryone is permitted to copy and distribute copies of this Agreement,\nbut in order to avoid inconsistency the Agreement is copyrighted and\nmay only be modified in the following manner. The Agreement Steward\nreserves the right to publish new versions (including revisions) of\nthis Agreement from time to time. No one other than the Agreement\nSteward has the right to modify this Agreement. The Eclipse Foundation\nis the initial Agreement Steward. The Eclipse Foundation may assign the\nresponsibility to serve as the Agreement Steward to a suitable separate\nentity. Each new version of the Agreement will be given a distinguishing\nversion number. The Program (including Contributions) may always be\nDistributed subject to the version of the Agreement under which it was\nreceived. In addition, after a new version of the Agreement is published,\nContributor may elect to Distribute the Program (including its\nContributions) under the new version.\n\nExcept as expressly stated in Sections 2(a) and 2(b) above, Recipient\nreceives no rights or licenses to the intellectual property of any\nContributor under this Agreement, whether expressly, by implication,\nestoppel or otherwise. All rights in the Program not expressly granted\nunder this Agreement are reserved. Nothing in this Agreement is intended\nto be enforceable by any entity that is not a Contributor or Recipient.\nNo third-party beneficiary rights are created under this Agreement.\n\nExhibit A - Form of Secondary Licenses Notice\n\n\"This Source Code is also Distributed under one\nor more Secondary Licenses, as those terms are defined by\nthe Eclipse Public License, v. 2.0: {name license(s),version(s),\nand exceptions or additional permissions here}.\"\n\nSimply including a copy of this Agreement, including this Exhibit A\nis not sufficient to license the Source Code under Secondary Licenses.\n\nIf it is not possible or desirable to put the notice in a particular\nfile, then You may include the notice in a location (such as a LICENSE\nfile in a relevant directory) where a recipient would be likely to\nlook for such a notice.\n\nYou may add additional accurate notices of copyright ownership." + } + ], + "rule_references": [ + { + "license_expression": "epl-1.0", + "rule_identifier": "epl-1.0_3.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 151, + "rule_relevance": 100, + "matched_text": "License\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at " + }, + { + "license_expression": "epl-1.0", + "rule_identifier": "epl-1.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache_no-version_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 14, + "rule_relevance": 95, + "matched_text": "This product includes software developed by the Apache Software Foundation (" + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_35.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "subject to the terms and conditions" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_322.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "Apache Software License 2.0." + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1112.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 38, + "rule_relevance": 100, + "matched_text": "LICENSE and is also available at " + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_842.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 35, + "rule_relevance": 100, + "matched_text": "www.apache.org/licenses/LICENSE-2.0.[html]\">[http]://www.apache.org/licenses/LICENSE-2.0." + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_689.RULE", + "referenced_filenames": [ + "LICENSE-2.0.txt", + "NOTICE.TXT" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 65, + "rule_relevance": 100, + "matched_text": "2.0.html.\n\n

The Apache attribution [NOTICE] [file] is included with the Content in accordance with 4d of the Apache License, Version 2.0.\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at " + }, + { + "license_expression": "epl-1.0", + "rule_identifier": "epl-1.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache_no-version_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 14, + "rule_relevance": 95, + "matched_text": "This product includes software developed by the Apache Software Foundation (" + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_35.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "subject to the terms and conditions" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_322.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "Apache Software License 2.0." + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1112.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 38, + "rule_relevance": 100, + "matched_text": "LICENSE and is also available at " + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_842.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 35, + "rule_relevance": 100, + "matched_text": "www.apache.org/licenses/LICENSE-2.0.[html]\">[http]://www.apache.org/licenses/LICENSE-2.0." + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_182.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "the Apache License, Version 2.0.LICENSE and is also available at " + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_20.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100, + "matched_text": "http://www.apache.org/licenses/LICENSE-2.0.htmlLICENSE and is also available at " + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_842.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 35, + "rule_relevance": 100, + "matched_text": "License [2].[0]. A [copy] [of] [the] license is [contained]\n[in] [the] [file] [LICENSE] [and] [is] [also] [available] [at] [http]://www.apache.org/licenses/LICENSE-2.0." + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1112.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 38, + "rule_relevance": 100, + "matched_text": "is subject to the terms and conditions of the Apache Software License 2.0. A copy of the license is contained\nin the file LICENSE and is also available at " + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_842.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 35, + "rule_relevance": 100, + "matched_text": "License [2].[0]. A [copy] [of] [the] license is [contained]\n[in] [the] [file] [LICENSE] [and] [is] [also] [available] [at] [http]://www.apache.org/licenses/LICENSE-2.0." + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_35.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "subject to the terms and conditions" + }, + { + "license_expression": "epl-2.0 OR apache-2.0", + "rule_identifier": "epl-2.0_or_apache-2.0_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 50, + "rule_relevance": 100, + "matched_text": "of the Eclipse Public License 2.0. A [copy] [of] [the] [license] [is] [contained]\n[in] [the] [file] [LICENSE].[md] [and] [is] [also] [available] [at] " + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1112.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 38, + "rule_relevance": 100, + "matched_text": "License 2.0. A copy of the license is contained\nin the file LICENSE." + }, + { + "license_expression": "epl-2.0", + "rule_identifier": "epl-2.0_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 69, + "rule_relevance": 100, + "matched_text": "and is also available at https://www.eclipse.org/legal/epl-2.0/\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at <" + }, + { + "license_expression": "epl-1.0", + "rule_identifier": "epl-1.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">" + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_35.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "subject to the terms and conditions" + }, + { + "license_expression": "cpl-1.0", + "rule_identifier": "cpl-1.0_5.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "Common Public License Version 1.0 (&" + }, + { + "license_expression": "cpl-1.0", + "rule_identifier": "cpl-1.0_14.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 24, + "rule_relevance": 100, + "matched_text": "available at https://www.eclipse.org/legal/cpl-v10.html\n

\nBSD"
+    },
+    {
+      "license_expression": "bsd-new",
+      "rule_identifier": "bsd-new_172.RULE",
+      "referenced_filenames": [],
+      "is_license_text": false,
+      "is_license_notice": false,
+      "is_license_reference": true,
+      "is_license_tag": false,
+      "is_license_intro": false,
+      "rule_length": 3,
+      "rule_relevance": 99,
+      "matched_text": "License:

\n
\nBSD License"
+    },
+    {
+      "license_expression": "bsd-new",
+      "rule_identifier": "bsd-new_860.RULE",
+      "referenced_filenames": [],
+      "is_license_text": true,
+      "is_license_notice": false,
+      "is_license_reference": false,
+      "is_license_tag": false,
+      "is_license_intro": false,
+      "rule_length": 211,
+      "rule_relevance": 100,
+      "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list of\nconditions and the following disclaimer. Redistributions in binary form must reproduce\nthe above copyright notice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the distribution.\n\nNeither the name of Hamcrest nor the names of its contributors may be used to endorse\nor promote products derived from this software without specific prior written\npermission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT\nSHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\nINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\nTO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\nBUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY\nWAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGE."
+    },
+    {
+      "license_expression": "epl-1.0",
+      "rule_identifier": "epl-1.0_3.RULE",
+      "referenced_filenames": [],
+      "is_license_text": false,
+      "is_license_notice": true,
+      "is_license_reference": false,
+      "is_license_tag": false,
+      "is_license_intro": false,
+      "rule_length": 151,
+      "rule_relevance": 100,
+      "matched_text": "License\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at <" + }, + { + "license_expression": "epl-1.0", + "rule_identifier": "epl-1.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">" + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_35.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "subject to the terms and conditions" + }, + { + "license_expression": "cpl-1.0", + "rule_identifier": "cpl-1.0_5.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "Common Public License Version 1.0 (&" + }, + { + "license_expression": "cpl-1.0", + "rule_identifier": "cpl-1.0_14.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 24, + "rule_relevance": 100, + "matched_text": "available at https://www.eclipse.org/legal/cpl-v10.html" + } + ], "files": [ { "path": "about_1.html", @@ -1495,33 +1249,7 @@ "matcher": "3-seq", "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 151, - "rule_relevance": 100, - "matched_text": "License\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at ", - "licenses": [ - { - "key": "epl-1.0", - "name": "Eclipse Public License 1.0", - "short_name": "EPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", - "text_url": "http://www.eclipse.org/legal/epl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", - "spdx_license_key": "EPL-1.0", - "spdx_url": "https://spdx.org/licenses/EPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE" }, { "score": 100.0, @@ -1532,33 +1260,7 @@ "matcher": "2-aho", "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">", - "licenses": [ - { - "key": "epl-1.0", - "name": "Eclipse Public License 1.0", - "short_name": "EPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", - "text_url": "http://www.eclipse.org/legal/epl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", - "spdx_license_key": "EPL-1.0", - "spdx_url": "https://spdx.org/licenses/EPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE" } ] }, @@ -1577,33 +1279,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache_no-version_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache_no-version_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 95, - "matched_text": "This product includes software developed by the Apache Software Foundation (", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache_no-version_1.RULE" } ] }, @@ -1622,33 +1298,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "subject to the terms and conditions", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" }, { "score": 100.0, @@ -1659,33 +1309,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_322.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Apache Software License 2.0.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE" }, { "score": 39.47, @@ -1696,33 +1320,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1112.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 38, - "rule_relevance": 100, - "matched_text": "LICENSE and is also available at ", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE" }, { "score": 40.0, @@ -1733,33 +1331,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_842.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100, - "matched_text": "www.apache.org/licenses/LICENSE-2.0.[html]\">[http]://www.apache.org/licenses/LICENSE-2.0.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE" }, { "score": 33.85, @@ -1770,36 +1342,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_689.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_689.RULE", - "referenced_filenames": [ - "LICENSE-2.0.txt", - "NOTICE.TXT" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 65, - "rule_relevance": 100, - "matched_text": "2.0.html.\n\n

The Apache attribution [NOTICE] [file] is included with the Content in accordance with 4d of the Apache License, Version 2.0.\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at ", - "licenses": [ - { - "key": "epl-1.0", - "name": "Eclipse Public License 1.0", - "short_name": "EPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", - "text_url": "http://www.eclipse.org/legal/epl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", - "spdx_license_key": "EPL-1.0", - "spdx_url": "https://spdx.org/licenses/EPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE" }, { "score": 100.0, @@ -1871,33 +1388,7 @@ "matcher": "2-aho", "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">", - "licenses": [ - { - "key": "epl-1.0", - "name": "Eclipse Public License 1.0", - "short_name": "EPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", - "text_url": "http://www.eclipse.org/legal/epl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", - "spdx_license_key": "EPL-1.0", - "spdx_url": "https://spdx.org/licenses/EPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE" } ] }, @@ -1916,33 +1407,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache_no-version_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache_no-version_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 95, - "matched_text": "This product includes software developed by the Apache Software Foundation (", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache_no-version_1.RULE" } ] }, @@ -1961,33 +1426,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "subject to the terms and conditions", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" }, { "score": 100.0, @@ -1998,33 +1437,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_322.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Apache Software License 2.0.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE" }, { "score": 39.47, @@ -2035,33 +1448,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1112.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 38, - "rule_relevance": 100, - "matched_text": "LICENSE and is also available at ", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE" }, { "score": 40.0, @@ -2072,33 +1459,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_842.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100, - "matched_text": "www.apache.org/licenses/LICENSE-2.0.[html]\">[http]://www.apache.org/licenses/LICENSE-2.0.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE" }, { "score": 100.0, @@ -2109,33 +1470,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_182.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_182.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "the Apache License, Version 2.0.LICENSE and is also available at ", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE" }, { "score": 100.0, @@ -2265,33 +1522,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_20.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_20.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.apache.org/licenses/LICENSE-2.0.htmlLICENSE and is also available at ", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE" }, { "score": 48.57, @@ -2347,33 +1552,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_842.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100, - "matched_text": "License [2].[0]. A [copy] [of] [the] license is [contained]\n[in] [the] [file] [LICENSE] [and] [is] [also] [available] [at] [http]://www.apache.org/licenses/LICENSE-2.0.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE" } ] }, @@ -2392,33 +1571,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1112.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 38, - "rule_relevance": 100, - "matched_text": "is subject to the terms and conditions of the Apache Software License 2.0. A copy of the license is contained\nin the file LICENSE and is also available at ", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE" }, { "score": 48.57, @@ -2429,33 +1582,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_842.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100, - "matched_text": "License [2].[0]. A [copy] [of] [the] license is [contained]\n[in] [the] [file] [LICENSE] [and] [is] [also] [available] [at] [http]://www.apache.org/licenses/LICENSE-2.0.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE" } ] }, @@ -2474,33 +1601,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "subject to the terms and conditions", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" }, { "score": 28.0, @@ -2511,48 +1612,7 @@ "matcher": "3-seq", "license_expression": "epl-2.0 OR apache-2.0", "rule_identifier": "epl-2.0_or_apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_or_apache-2.0_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 50, - "rule_relevance": 100, - "matched_text": "of the Eclipse Public License 2.0. A [copy] [of] [the] [license] [is] [contained]\n[in] [the] [file] [LICENSE].[md] [and] [is] [also] [available] [at] ", - "licenses": [ - { - "key": "epl-2.0", - "name": "Eclipse Public License 2.0", - "short_name": "EPL 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "https://www.eclipse.org/legal/epl-2.0/", - "text_url": "https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-2.0.LICENSE", - "spdx_license_key": "EPL-2.0", - "spdx_url": "https://spdx.org/licenses/EPL-2.0" - }, - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_or_apache-2.0_2.RULE" }, { "score": 36.84, @@ -2563,33 +1623,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1112.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 38, - "rule_relevance": 100, - "matched_text": "License 2.0. A copy of the license is contained\nin the file LICENSE.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE" }, { "score": 30.43, @@ -2600,33 +1634,7 @@ "matcher": "3-seq", "license_expression": "epl-2.0", "rule_identifier": "epl-2.0_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 69, - "rule_relevance": 100, - "matched_text": "and is also available at https://www.eclipse.org/legal/epl-2.0/\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at <", - "licenses": [ - { - "key": "epl-1.0", - "name": "Eclipse Public License 1.0", - "short_name": "EPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", - "text_url": "http://www.eclipse.org/legal/epl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", - "spdx_license_key": "EPL-1.0", - "spdx_url": "https://spdx.org/licenses/EPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE" }, { "score": 100.0, @@ -2702,33 +1684,7 @@ "matcher": "2-aho", "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">", - "licenses": [ - { - "key": "epl-1.0", - "name": "Eclipse Public License 1.0", - "short_name": "EPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", - "text_url": "http://www.eclipse.org/legal/epl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", - "spdx_license_key": "EPL-1.0", - "spdx_url": "https://spdx.org/licenses/EPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE" } ] }, @@ -2747,33 +1703,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "subject to the terms and conditions", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" }, { "score": 100.0, @@ -2784,33 +1714,7 @@ "matcher": "2-aho", "license_expression": "cpl-1.0", "rule_identifier": "cpl-1.0_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_5.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "Common Public License Version 1.0 (&", - "licenses": [ - { - "key": "cpl-1.0", - "name": "Common Public License 1.0", - "short_name": "CPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "IBM", - "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", - "text_url": "http://www.eclipse.org/legal/cpl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cpl-1.0.LICENSE", - "spdx_license_key": "CPL-1.0", - "spdx_url": "https://spdx.org/licenses/CPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_5.RULE" }, { "score": 75.0, @@ -2821,33 +1725,7 @@ "matcher": "3-seq", "license_expression": "cpl-1.0", "rule_identifier": "cpl-1.0_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_14.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 24, - "rule_relevance": 100, - "matched_text": "available at https://www.eclipse.org/legal/cpl-v10.html\n

\nBSD",
-              "licenses": [
-                {
-                  "key": "bsd-new",
-                  "name": "BSD-3-Clause",
-                  "short_name": "BSD-3-Clause",
-                  "category": "Permissive",
-                  "is_exception": false,
-                  "is_unknown": false,
-                  "owner": "Regents of the University of California",
-                  "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause",
-                  "text_url": "http://www.opensource.org/licenses/BSD-3-Clause",
-                  "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new",
-                  "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE",
-                  "spdx_license_key": "BSD-3-Clause",
-                  "spdx_url": "https://spdx.org/licenses/BSD-3-Clause"
-                }
-              ]
+              "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_103.RULE"
             },
             {
               "score": 99.0,
@@ -2977,33 +1777,7 @@
               "matcher": "2-aho",
               "license_expression": "bsd-new",
               "rule_identifier": "bsd-new_172.RULE",
-              "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_172.RULE",
-              "referenced_filenames": [],
-              "is_license_text": false,
-              "is_license_notice": false,
-              "is_license_reference": true,
-              "is_license_tag": false,
-              "is_license_intro": false,
-              "rule_length": 3,
-              "rule_relevance": 99,
-              "matched_text": "License:

\n
\nBSD License",
-              "licenses": [
-                {
-                  "key": "bsd-new",
-                  "name": "BSD-3-Clause",
-                  "short_name": "BSD-3-Clause",
-                  "category": "Permissive",
-                  "is_exception": false,
-                  "is_unknown": false,
-                  "owner": "Regents of the University of California",
-                  "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause",
-                  "text_url": "http://www.opensource.org/licenses/BSD-3-Clause",
-                  "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new",
-                  "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE",
-                  "spdx_license_key": "BSD-3-Clause",
-                  "spdx_url": "https://spdx.org/licenses/BSD-3-Clause"
-                }
-              ]
+              "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_172.RULE"
             }
           ]
         },
@@ -3022,33 +1796,7 @@
               "matcher": "2-aho",
               "license_expression": "bsd-new",
               "rule_identifier": "bsd-new_860.RULE",
-              "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_860.RULE",
-              "referenced_filenames": [],
-              "is_license_text": true,
-              "is_license_notice": false,
-              "is_license_reference": false,
-              "is_license_tag": false,
-              "is_license_intro": false,
-              "rule_length": 211,
-              "rule_relevance": 100,
-              "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list of\nconditions and the following disclaimer. Redistributions in binary form must reproduce\nthe above copyright notice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the distribution.\n\nNeither the name of Hamcrest nor the names of its contributors may be used to endorse\nor promote products derived from this software without specific prior written\npermission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT\nSHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\nINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\nTO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\nBUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY\nWAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGE.",
-              "licenses": [
-                {
-                  "key": "bsd-new",
-                  "name": "BSD-3-Clause",
-                  "short_name": "BSD-3-Clause",
-                  "category": "Permissive",
-                  "is_exception": false,
-                  "is_unknown": false,
-                  "owner": "Regents of the University of California",
-                  "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause",
-                  "text_url": "http://www.opensource.org/licenses/BSD-3-Clause",
-                  "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new",
-                  "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE",
-                  "spdx_license_key": "BSD-3-Clause",
-                  "spdx_url": "https://spdx.org/licenses/BSD-3-Clause"
-                }
-              ]
+              "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_860.RULE"
             }
           ]
         }
@@ -3084,33 +1832,7 @@
               "matcher": "3-seq",
               "license_expression": "epl-1.0",
               "rule_identifier": "epl-1.0_3.RULE",
-              "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE",
-              "referenced_filenames": [],
-              "is_license_text": false,
-              "is_license_notice": true,
-              "is_license_reference": false,
-              "is_license_tag": false,
-              "is_license_intro": false,
-              "rule_length": 151,
-              "rule_relevance": 100,
-              "matched_text": "License\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at <", - "licenses": [ - { - "key": "epl-1.0", - "name": "Eclipse Public License 1.0", - "short_name": "EPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", - "text_url": "http://www.eclipse.org/legal/epl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", - "spdx_license_key": "EPL-1.0", - "spdx_url": "https://spdx.org/licenses/EPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE" }, { "score": 100.0, @@ -3121,33 +1843,7 @@ "matcher": "2-aho", "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">", - "licenses": [ - { - "key": "epl-1.0", - "name": "Eclipse Public License 1.0", - "short_name": "EPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "http://www.eclipse.org/legal/epl-v10.html", - "text_url": "http://www.eclipse.org/legal/epl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-1.0.LICENSE", - "spdx_license_key": "EPL-1.0", - "spdx_url": "https://spdx.org/licenses/EPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE" } ] }, @@ -3166,33 +1862,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "subject to the terms and conditions", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" }, { "score": 100.0, @@ -3203,33 +1873,7 @@ "matcher": "2-aho", "license_expression": "cpl-1.0", "rule_identifier": "cpl-1.0_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_5.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "Common Public License Version 1.0 (&", - "licenses": [ - { - "key": "cpl-1.0", - "name": "Common Public License 1.0", - "short_name": "CPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "IBM", - "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", - "text_url": "http://www.eclipse.org/legal/cpl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cpl-1.0.LICENSE", - "spdx_license_key": "CPL-1.0", - "spdx_url": "https://spdx.org/licenses/CPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_5.RULE" }, { "score": 75.0, @@ -3240,33 +1884,7 @@ "matcher": "3-seq", "license_expression": "cpl-1.0", "rule_identifier": "cpl-1.0_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_14.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 24, - "rule_relevance": 100, - "matched_text": "available at https://www.eclipse.org/legal/cpl-v10.html", - "licenses": [ - { - "key": "cpl-1.0", - "name": "Common Public License 1.0", - "short_name": "CPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "IBM", - "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", - "text_url": "http://www.eclipse.org/legal/cpl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cpl-1.0.LICENSE", - "spdx_license_key": "CPL-1.0", - "spdx_url": "https://spdx.org/licenses/CPL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_24.RULE" } ] } diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json index 7e2b1f88961..a00821d7bc8 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json @@ -3,6 +3,7 @@ { "identifier": "269715cc-0554-3f26-8832-1c4eb6145143", "license_expression": "epl-2.0", + "occurance_count": 1, "detection_log": [ "not-combined" ], @@ -16,32 +17,7 @@ "matcher": "2-aho", "license_expression": "epl-2.0", "rule_identifier": "epl-2.0_56.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_56.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 31, - "rule_relevance": 100, - "licenses": [ - { - "key": "epl-2.0", - "name": "Eclipse Public License 2.0", - "short_name": "EPL 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "https://www.eclipse.org/legal/epl-2.0/", - "text_url": "https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-2.0.LICENSE", - "spdx_license_key": "EPL-2.0", - "spdx_url": "https://spdx.org/licenses/EPL-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_56.RULE" }, { "score": 100.0, @@ -52,35 +28,58 @@ "matcher": "1-spdx-id", "license_expression": "epl-2.0", "rule_identifier": "spdx-license-identifier: epl-2.0", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "epl-2.0", - "name": "Eclipse Public License 2.0", - "short_name": "EPL 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "https://www.eclipse.org/legal/epl-2.0/", - "text_url": "https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-2.0.LICENSE", - "spdx_license_key": "EPL-2.0", - "spdx_url": "https://spdx.org/licenses/EPL-2.0" - } - ] + "rule_url": null } + ] + } + ], + "license_references": [ + { + "key": "epl-2.0", + "short_name": "EPL 2.0", + "name": "Eclipse Public License 2.0", + "category": "Copyleft Limited", + "owner": "Eclipse Foundation", + "homepage_url": "https://www.eclipse.org/legal/epl-2.0/", + "is_builtin": true, + "spdx_license_key": "EPL-2.0", + "text_urls": [ + "https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt" + ], + "faq_url": "http://www.eclipse.org/legal/eplfaq.php", + "other_urls": [ + "https://www.eclipse.org/legal/epl-2.0", + "https://www.opensource.org/licenses/EPL-2.0" ], - "occurance_count": 1 + "text": "Eclipse Public License - v 2.0\n\nTHE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE\nPUBLIC LICENSE (\"AGREEMENT\"). ANY USE, REPRODUCTION OR DISTRIBUTION\nOF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.\n\n1. DEFINITIONS\n\n\"Contribution\" means:\n\na) in the case of the initial Contributor, the initial content\nDistributed under this Agreement, and\n\nb) in the case of each subsequent Contributor:\ni) changes to the Program, and\nii) additions to the Program;\nwhere such changes and/or additions to the Program originate from\nand are Distributed by that particular Contributor. A Contribution\n\"originates\" from a Contributor if it was added to the Program by\nsuch Contributor itself or anyone acting on such Contributor's behalf.\nContributions do not include changes or additions to the Program that\nare not Modified Works.\n\n\"Contributor\" means any person or entity that Distributes the Program.\n\n\"Licensed Patents\" mean patent claims licensable by a Contributor which\nare necessarily infringed by the use or sale of its Contribution alone\nor when combined with the Program.\n\n\"Program\" means the Contributions Distributed in accordance with this\nAgreement.\n\n\"Recipient\" means anyone who receives the Program under this Agreement\nor any Secondary License (as applicable), including Contributors.\n\n\"Derivative Works\" shall mean any work, whether in Source Code or other\nform, that is based on (or derived from) the Program and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship.\n\n\"Modified Works\" shall mean any work in Source Code or other form that\nresults from an addition to, deletion from, or modification of the\ncontents of the Program, including, for purposes of clarity any new file\nin Source Code form that contains any contents of the Program. Modified\nWorks shall not include works that contain only declarations,\ninterfaces, types, classes, structures, or files of the Program solely\nin each case in order to link to, bind by name, or subclass the Program\nor Modified Works thereof.\n\n\"Distribute\" means the acts of a) distributing or b) making available\nin any manner that enables the transfer of a copy.\n\n\"Source Code\" means the form of a Program preferred for making\nmodifications, including but not limited to software source code,\ndocumentation source, and configuration files.\n\n\"Secondary License\" means either the GNU General Public License,\nVersion 2.0, or any later versions of that license, including any\nexceptions or additional permissions as identified by the initial\nContributor.\n\n2. GRANT OF RIGHTS\n\na) Subject to the terms of this Agreement, each Contributor hereby\ngrants Recipient a non-exclusive, worldwide, royalty-free copyright\nlicense to reproduce, prepare Derivative Works of, publicly display,\npublicly perform, Distribute and sublicense the Contribution of such\nContributor, if any, and such Derivative Works.\n\nb) Subject to the terms of this Agreement, each Contributor hereby\ngrants Recipient a non-exclusive, worldwide, royalty-free patent\nlicense under Licensed Patents to make, use, sell, offer to sell,\nimport and otherwise transfer the Contribution of such Contributor,\nif any, in Source Code or other form. This patent license shall\napply to the combination of the Contribution and the Program if, at\nthe time the Contribution is added by the Contributor, such addition\nof the Contribution causes such combination to be covered by the\nLicensed Patents. The patent license shall not apply to any other\ncombinations which include the Contribution. No hardware per se is\nlicensed hereunder.\n\nc) Recipient understands that although each Contributor grants the\nlicenses to its Contributions set forth herein, no assurances are\nprovided by any Contributor that the Program does not infringe the\npatent or other intellectual property rights of any other entity.\nEach Contributor disclaims any liability to Recipient for claims\nbrought by any other entity based on infringement of intellectual\nproperty rights or otherwise. As a condition to exercising the\nrights and licenses granted hereunder, each Recipient hereby\nassumes sole responsibility to secure any other intellectual\nproperty rights needed, if any. For example, if a third party\npatent license is required to allow Recipient to Distribute the\nProgram, it is Recipient's responsibility to acquire that license\nbefore distributing the Program.\n\nd) Each Contributor represents that to its knowledge it has\nsufficient copyright rights in its Contribution, if any, to grant\nthe copyright license set forth in this Agreement.\n\ne) Notwithstanding the terms of any Secondary License, no\nContributor makes additional grants to any Recipient (other than\nthose set forth in this Agreement) as a result of such Recipient's\nreceipt of the Program under the terms of a Secondary License\n(if permitted under the terms of Section 3).\n\n3. REQUIREMENTS\n\n3.1 If a Contributor Distributes the Program in any form, then:\n\na) the Program must also be made available as Source Code, in\naccordance with section 3.2, and the Contributor must accompany\nthe Program with a statement that the Source Code for the Program\nis available under this Agreement, and informs Recipients how to\nobtain it in a reasonable manner on or through a medium customarily\nused for software exchange; and\n\nb) the Contributor may Distribute the Program under a license\ndifferent than this Agreement, provided that such license:\ni) effectively disclaims on behalf of all other Contributors all\nwarranties and conditions, express and implied, including\nwarranties or conditions of title and non-infringement, and\nimplied warranties or conditions of merchantability and fitness\nfor a particular purpose;\n\nii) effectively excludes on behalf of all other Contributors all\nliability for damages, including direct, indirect, special,\nincidental and consequential damages, such as lost profits;\n\niii) does not attempt to limit or alter the recipients' rights\nin the Source Code under section 3.2; and\n\niv) requires any subsequent distribution of the Program by any\nparty to be under a license that satisfies the requirements\nof this section 3.\n\n3.2 When the Program is Distributed as Source Code:\n\na) it must be made available under this Agreement, or if the\nProgram (i) is combined with other material in a separate file or\nfiles made available under a Secondary License, and (ii) the initial\nContributor attached to the Source Code the notice described in\nExhibit A of this Agreement, then the Program may be made available\nunder the terms of such Secondary Licenses, and\n\nb) a copy of this Agreement must be included with each copy of\nthe Program.\n\n3.3 Contributors may not remove or alter any copyright, patent,\ntrademark, attribution notices, disclaimers of warranty, or limitations\nof liability (\"notices\") contained within the Program from any copy of\nthe Program which they Distribute, provided that Contributors may add\ntheir own appropriate notices.\n\n4. COMMERCIAL DISTRIBUTION\n\nCommercial distributors of software may accept certain responsibilities\nwith respect to end users, business partners and the like. While this\nlicense is intended to facilitate the commercial use of the Program,\nthe Contributor who includes the Program in a commercial product\noffering should do so in a manner which does not create potential\nliability for other Contributors. Therefore, if a Contributor includes\nthe Program in a commercial product offering, such Contributor\n(\"Commercial Contributor\") hereby agrees to defend and indemnify every\nother Contributor (\"Indemnified Contributor\") against any losses,\ndamages and costs (collectively \"Losses\") arising from claims, lawsuits\nand other legal actions brought by a third party against the Indemnified\nContributor to the extent caused by the acts or omissions of such\nCommercial Contributor in connection with its distribution of the Program\nin a commercial product offering. The obligations in this section do not\napply to any claims or Losses relating to any actual or alleged\nintellectual property infringement. In order to qualify, an Indemnified\nContributor must: a) promptly notify the Commercial Contributor in\nwriting of such claim, and b) allow the Commercial Contributor to control,\nand cooperate with the Commercial Contributor in, the defense and any\nrelated settlement negotiations. The Indemnified Contributor may\nparticipate in any such claim at its own expense.\n\nFor example, a Contributor might include the Program in a commercial\nproduct offering, Product X. That Contributor is then a Commercial\nContributor. If that Commercial Contributor then makes performance\nclaims, or offers warranties related to Product X, those performance\nclaims and warranties are such Commercial Contributor's responsibility\nalone. Under this section, the Commercial Contributor would have to\ndefend claims against the other Contributors related to those performance\nclaims and warranties, and if a court requires any other Contributor to\npay any damages as a result, the Commercial Contributor must pay\nthose damages.\n\n5. NO WARRANTY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT\nPERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN \"AS IS\"\nBASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR\nIMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF\nTITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR\nPURPOSE. Each Recipient is solely responsible for determining the\nappropriateness of using and distributing the Program and assumes all\nrisks associated with its exercise of rights under this Agreement,\nincluding but not limited to the risks and costs of program errors,\ncompliance with applicable laws, damage to or loss of data, programs\nor equipment, and unavailability or interruption of operations.\n\n6. DISCLAIMER OF LIABILITY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT\nPERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS\nSHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\nEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST\nPROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE\nEXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\n7. GENERAL\n\nIf any provision of this Agreement is invalid or unenforceable under\napplicable law, it shall not affect the validity or enforceability of\nthe remainder of the terms of this Agreement, and without further\naction by the parties hereto, such provision shall be reformed to the\nminimum extent necessary to make such provision valid and enforceable.\n\nIf Recipient institutes patent litigation against any entity\n(including a cross-claim or counterclaim in a lawsuit) alleging that the\nProgram itself (excluding combinations of the Program with other software\nor hardware) infringes such Recipient's patent(s), then such Recipient's\nrights granted under Section 2(b) shall terminate as of the date such\nlitigation is filed.\n\nAll Recipient's rights under this Agreement shall terminate if it\nfails to comply with any of the material terms or conditions of this\nAgreement and does not cure such failure in a reasonable period of\ntime after becoming aware of such noncompliance. If all Recipient's\nrights under this Agreement terminate, Recipient agrees to cease use\nand distribution of the Program as soon as reasonably practicable.\nHowever, Recipient's obligations under this Agreement and any licenses\ngranted by Recipient relating to the Program shall continue and survive.\n\nEveryone is permitted to copy and distribute copies of this Agreement,\nbut in order to avoid inconsistency the Agreement is copyrighted and\nmay only be modified in the following manner. The Agreement Steward\nreserves the right to publish new versions (including revisions) of\nthis Agreement from time to time. No one other than the Agreement\nSteward has the right to modify this Agreement. The Eclipse Foundation\nis the initial Agreement Steward. The Eclipse Foundation may assign the\nresponsibility to serve as the Agreement Steward to a suitable separate\nentity. Each new version of the Agreement will be given a distinguishing\nversion number. The Program (including Contributions) may always be\nDistributed subject to the version of the Agreement under which it was\nreceived. In addition, after a new version of the Agreement is published,\nContributor may elect to Distribute the Program (including its\nContributions) under the new version.\n\nExcept as expressly stated in Sections 2(a) and 2(b) above, Recipient\nreceives no rights or licenses to the intellectual property of any\nContributor under this Agreement, whether expressly, by implication,\nestoppel or otherwise. All rights in the Program not expressly granted\nunder this Agreement are reserved. Nothing in this Agreement is intended\nto be enforceable by any entity that is not a Contributor or Recipient.\nNo third-party beneficiary rights are created under this Agreement.\n\nExhibit A - Form of Secondary Licenses Notice\n\n\"This Source Code is also Distributed under one\nor more Secondary Licenses, as those terms are defined by\nthe Eclipse Public License, v. 2.0: {name license(s),version(s),\nand exceptions or additional permissions here}.\"\n\nSimply including a copy of this Agreement, including this Exhibit A\nis not sufficient to license the Source Code under Secondary Licenses.\n\nIf it is not possible or desirable to put the notice in a particular\nfile, then You may include the notice in a location (such as a LICENSE\nfile in a relevant directory) where a recipient would be likely to\nlook for such a notice.\n\nYou may add additional accurate notices of copyright ownership." + } + ], + "rule_references": [ + { + "license_expression": "epl-2.0", + "rule_identifier": "epl-2.0_56.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 31, + "rule_relevance": 100, + "matched_text": "This program and the accompanying materials are made\n * available under the terms of the Eclipse Public License 2.0\n * which is available at https://www.eclipse.org/legal/epl-2.0/" + }, + { + "license_expression": "epl-2.0", + "rule_identifier": "spdx-license-identifier: epl-2.0", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "SPDX-License-Identifier: EPL-2.0" } ], "files": [ @@ -105,33 +104,7 @@ "matcher": "2-aho", "license_expression": "epl-2.0", "rule_identifier": "epl-2.0_56.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_56.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 31, - "rule_relevance": 100, - "matched_text": "This program and the accompanying materials are made\n * available under the terms of the Eclipse Public License 2.0\n * which is available at https://www.eclipse.org/legal/epl-2.0/", - "licenses": [ - { - "key": "epl-2.0", - "name": "Eclipse Public License 2.0", - "short_name": "EPL 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "https://www.eclipse.org/legal/epl-2.0/", - "text_url": "https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-2.0.LICENSE", - "spdx_license_key": "EPL-2.0", - "spdx_url": "https://spdx.org/licenses/EPL-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_56.RULE" }, { "score": 100.0, @@ -142,33 +115,7 @@ "matcher": "1-spdx-id", "license_expression": "epl-2.0", "rule_identifier": "spdx-license-identifier: epl-2.0", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: EPL-2.0", - "licenses": [ - { - "key": "epl-2.0", - "name": "Eclipse Public License 2.0", - "short_name": "EPL 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Eclipse Foundation", - "homepage_url": "https://www.eclipse.org/legal/epl-2.0/", - "text_url": "https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/epl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/epl-2.0.LICENSE", - "spdx_license_key": "EPL-2.0", - "spdx_url": "https://spdx.org/licenses/EPL-2.0" - } - ] + "rule_url": null } ] } diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json index 99f01e5fb24..f8624a6388a 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json @@ -3,6 +3,7 @@ { "identifier": "3d4ebed6-d6ff-5d71-13d5-9ae3bb5bc485", "license_expression": "x11-lucent", + "occurance_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -16,32 +17,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_4.RULE" }, { "score": 100.0, @@ -52,39 +28,14 @@ "matcher": "2-aho", "license_expression": "x11-lucent", "rule_identifier": "x11-lucent_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/x11-lucent_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 93, - "rule_relevance": 100, - "licenses": [ - { - "key": "x11-lucent", - "name": "X11-Style (Lucent)", - "short_name": "X11-Style (Lucent)", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Alcatel-Lucent", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/x11-lucent", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-lucent.LICENSE", - "spdx_license_key": "LicenseRef-scancode-x11-lucent", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-lucent.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/x11-lucent_1.RULE" } - ], - "occurance_count": 1 + ] }, { "identifier": "5537c6e0-e03f-c489-9ac3-243ae2274830", "license_expression": "bzip2-libbzip-2010", + "occurance_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -98,32 +49,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_4.RULE" }, { "score": 100.0, @@ -134,35 +60,96 @@ "matcher": "2-aho", "license_expression": "bzip2-libbzip-2010", "rule_identifier": "bzip2-libbzip-2010.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bzip2-libbzip-2010.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 233, - "rule_relevance": 100, - "licenses": [ - { - "key": "bzip2-libbzip-2010", - "name": "bzip2 License 2010", - "short_name": "bzip2 License 2010", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "bzip", - "homepage_url": "https://github.com/asimonov-im/bzip2/blob/master/LICENSE", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/bzip2-libbzip-2010", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE", - "spdx_license_key": "bzip2-1.0.6", - "spdx_url": "https://spdx.org/licenses/bzip2-1.0.6" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bzip2-libbzip-2010.LICENSE" } + ] + } + ], + "license_references": [ + { + "key": "bzip2-libbzip-2010", + "short_name": "bzip2 License 2010", + "name": "bzip2 License 2010", + "category": "Permissive", + "owner": "bzip", + "homepage_url": "https://github.com/asimonov-im/bzip2/blob/master/LICENSE", + "notes": "until bzip2 1.0.6 there is only one license and not two as listed in SPDX. Therefore we only track one such license.", + "is_builtin": true, + "spdx_license_key": "bzip2-1.0.6", + "other_spdx_license_keys": [ + "bzip2-1.0.5" + ], + "other_urls": [ + "http://bzip.org/1.0.5/bzip2-manual-1.0.5.html", + "http://www.bzip.org/", + "https://sourceware.org/git/?p=bzip2.git;a=blob;f=LICENSE;hb=bzip2-1.0.6" ], - "occurance_count": 1 + "text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. The origin of this software must not be misrepresented; you must\nnot claim that you wrote the original software. If you use this\nsoftware in a product, an acknowledgment in the product\ndocumentation would be appreciated but is not required.\n\n3. Altered source versions must be plainly marked as such, and must\nnot be misrepresented as being the original software.\n\n4. The name of the author may not be used to endorse or promote\nproducts derived from this software without specific prior written\npermission.\n\nTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS\nOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\nWHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "x11-lucent", + "short_name": "X11-Style (Lucent)", + "name": "X11-Style (Lucent)", + "category": "Permissive", + "owner": "Alcatel-Lucent", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-x11-lucent", + "minimum_coverage": 80, + "text": "Permission to use, copy, modify, and distribute this software for any\npurpose without fee is hereby granted, provided that this entire notice\nis included in all copies of any software which is or includes a copy\nor modification of this software and in all copies of the supporting\ndocumentation for such software.\n\nTHIS SOFTWARE IS BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\nWARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY\nREPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY\nOF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + } + ], + "rule_references": [ + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "licensed under the following terms:" + }, + { + "license_expression": "x11-lucent", + "rule_identifier": "x11-lucent_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 93, + "rule_relevance": 100, + "matched_text": "Permission to use, copy, modify, and distribute this software for any purpose without\n fee is hereby granted, provided that this entire notice is included in all copies of any\n software which is or includes a copy or modification of this software and in all copies\n of the supporting documentation for such software. THIS SOFTWARE IS BEING PROVIDED \"AS\n IS\", WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. IN PARTICULAR, NEITHER THE AUTHORS NOR\n LUCENT TECHNOLOGIES MAKE ANY REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE\n MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "licensed under the following terms:" + }, + { + "license_expression": "bzip2-libbzip-2010", + "rule_identifier": "bzip2-libbzip-2010.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 233, + "rule_relevance": 100, + "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. The origin of this software must not be misrepresented; you must\n not claim that you wrote the original software. If you use this\n software in a product, an acknowledgment in the product\n documentation would be appreciated but is not required.\n\n 3. Altered source versions must be plainly marked as such, and must\n not be misrepresented as being the original software.\n\n 4. The name of the author 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 AUTHOR ``AS IS'' AND ANY EXPRESS\n OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR 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,\n 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." } ], "files": [ @@ -187,33 +174,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "licensed under the following terms:", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_4.RULE" }, { "score": 100.0, @@ -224,33 +185,7 @@ "matcher": "2-aho", "license_expression": "x11-lucent", "rule_identifier": "x11-lucent_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/x11-lucent_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 93, - "rule_relevance": 100, - "matched_text": "Permission to use, copy, modify, and distribute this software for any purpose without\n fee is hereby granted, provided that this entire notice is included in all copies of any\n software which is or includes a copy or modification of this software and in all copies\n of the supporting documentation for such software. THIS SOFTWARE IS BEING PROVIDED \"AS\n IS\", WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. IN PARTICULAR, NEITHER THE AUTHORS NOR\n LUCENT TECHNOLOGIES MAKE ANY REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE\n MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.", - "licenses": [ - { - "key": "x11-lucent", - "name": "X11-Style (Lucent)", - "short_name": "X11-Style (Lucent)", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Alcatel-Lucent", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/x11-lucent", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-lucent.LICENSE", - "spdx_license_key": "LicenseRef-scancode-x11-lucent", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-lucent.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/x11-lucent_1.RULE" } ] }, @@ -269,33 +204,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "licensed under the following terms:", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_4.RULE" }, { "score": 100.0, @@ -306,33 +215,7 @@ "matcher": "2-aho", "license_expression": "bzip2-libbzip-2010", "rule_identifier": "bzip2-libbzip-2010.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 233, - "rule_relevance": 100, - "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. The origin of this software must not be misrepresented; you must\n not claim that you wrote the original software. If you use this\n software in a product, an acknowledgment in the product\n documentation would be appreciated but is not required.\n\n 3. Altered source versions must be plainly marked as such, and must\n not be misrepresented as being the original software.\n\n 4. The name of the author 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 AUTHOR ``AS IS'' AND ANY EXPRESS\n OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR 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,\n 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.", - "licenses": [ - { - "key": "bzip2-libbzip-2010", - "name": "bzip2 License 2010", - "short_name": "bzip2 License 2010", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "bzip", - "homepage_url": "https://github.com/asimonov-im/bzip2/blob/master/LICENSE", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/bzip2-libbzip-2010", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE", - "spdx_license_key": "bzip2-1.0.6", - "spdx_url": "https://spdx.org/licenses/bzip2-1.0.6" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE" } ] } diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json index bccad25117b..16b697b91f3 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json @@ -3,6 +3,7 @@ { "identifier": "f48a0b5f-0e8e-aa20-08c9-3b97c3f7f3e8", "license_expression": "mit", + "occurance_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -16,32 +17,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 2, - "rule_relevance": 50, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE" }, { "score": 100.0, @@ -52,32 +28,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_21.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_21.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_21.RULE" }, { "score": 100.0, @@ -88,32 +39,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_31.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_31.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_31.RULE" }, { "score": 100.0, @@ -124,35 +50,87 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" } + ] + } + ], + "license_references": [ + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" ], - "occurance_count": 1 + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 2, + "rule_relevance": 50, + "matched_text": "licensed under:" + }, + { + "license_expression": "mit", + "rule_identifier": "mit_21.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "http://spdx.org/licenses/MIT." + }, + { + "license_expression": "mit", + "rule_identifier": "mit_31.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License\n\n

MIT License\n\n

MIT License." + }, + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "ja-sig", + "short_name": "JA-SiG License", + "name": "JA-SiG License", + "category": "Permissive", + "owner": "JA-SIG Collaborative", + "homepage_url": "http://web.archive.org/web/20040402030132/http://uportal.org/license.html", + "notes": "this is an old and rare license, replaced since by an Apache 2.0. This is a\nBSD variant. See original at\nhttp://web.archive.org/web/20040402030132/http://uportal.org/license.html\n", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-ja-sig", + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\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 and/or\nother materials provided with the distribution.\n\n3. Redistributions of any form whatsoever must retain the following\nacknowledgment:\n\"This product includes software developed by the JA-SIG Collaborative\n(http://www.ja-sig.org/).\"\n\nThis software is provided by the JA-SIG collaborative \"as is\" and any expressed\nor implied warranties, including, but not limited to, the implied warranties of\nmerchantability and fitness for a particular purpose are disclaimed. In no event\nshall the JA-SIG collaborative or its contributors be liable for any direct,\nindirect, incidental, special, exemplary, or consequential damages (including,\nbut not limited to, procurement of substitute goods or services; loss of use,\ndata, or 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." + }, + { + "key": "linux-openib", + "short_name": "Linux-OpenIB", + "name": "Linux-OpenIB", + "category": "Permissive", + "owner": "Linux Foundation", + "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", + "notes": "This license is a hybrid of two common licenses the BSD-2-Clause (bsd-\nsimplified) and the MIT License (mit).\n", + "is_builtin": true, + "spdx_license_key": "Linux-OpenIB", + "text_urls": [ + "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README" + ], + "other_urls": [ + "https://github.com/spdx/license-list-XML/issues/620", + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h?id=3215b9d57a2c75c4305a3956ca303d7004485200" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n- Redistributions of source code must retain the above copyright notice, this\nlist of conditions and the following disclaimer.\n\n- Redistributions in binary form must reproduce the above copyright notice,\nthis list of conditions and the following disclaimer in the documentation\nand/or other materials provided with the distribution.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + }, + { + "key": "linux-syscall-exception-gpl", + "short_name": "Linux Syscall Exception to GPL", + "name": "Linux Syscall Exception to GPL", + "category": "Copyleft Limited", + "owner": "Linux Foundation", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "Linux-syscall-note", + "other_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/COPYING" + ], + "standard_notice": "NOTE! This copyright does *not* cover user programs that use kernel\nservices by normal system calls - this is merely considered normal use\nof the kernel, and does *not* fall under the heading of \"derived work\".\nAlso note that the GPL below is copyrighted by the Free Software\nFoundation, but the instance of code that it refers to (the Linux\nkernel) is copyrighted by me and others who actually wrote it.\nAlso note that the only valid version of the GPL as far as the kernel\nis concerned is _this_ particular version of the license (ie v2, not\nv2.2 or v3.x or whatever), unless explicitly otherwise stated.\nLinus Torvalds\nThis library is free software; you can redistribute it and/or modify it\nunder the terms of the GNU General Public License version 2 as published by\nthe Free Software Foundation.\nThis library is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\nFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\nmore details.\nYou should have received a copy of the GNU General Public License along\nwith this library; see the file COPYING. If not, write to the Free Software\nFoundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n", + "text": "NOTE! This copyright does *not* cover user programs that use kernel\nservices by normal system calls - this is merely considered normal use\nof the kernel, and does *not* fall under the heading of \"derived work\".\nAlso note that the GPL below is copyrighted by the Free Software\nFoundation, but the instance of code that it refers to (the Linux\nkernel) is copyrighted by me and others who actually wrote it.\n\nAlso note that the only valid version of the GPL as far as the kernel\nis concerned is _this_ particular version of the license (ie v2, not\nv2.2 or v3.x or whatever), unless explicitly otherwise stated.\n\nLinus Torvalds" + } + ], + "rule_references": [ + { + "license_expression": "apache-1.0", + "rule_identifier": "apache-1.0.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 368, + "rule_relevance": 100, + "matched_text": "Redistribution and use in source and binary forms, with or without\r\nmodification, are permitted provided that the following conditions\r\nare met:\r\n\r\n 1. Redistributions of source code must retain the above copyright\r\n notice, this list of conditions and the following disclaimer. \r\n \r\n 2. Redistributions in binary form must reproduce the above copyright\r\n notice, this list of conditions and the following disclaimer in\r\n the documentation and/or other materials provided with the\r\n distribution.\r\n \r\n 3. All advertising materials mentioning features or use of this\r\n software must display the following acknowledgment:\r\n \"This product includes software developed by the Apache Group\r\n for use in the Apache HTTP server project (http://www.apache.org/).\"\r\n \r\n 4. The names \"Apache Server\" and \"Apache Group\" must not be used to\r\n endorse or promote products derived from this software without\r\n prior written permission. For written permission, please contact\r\n apache@apache.org.\r\n \r\n 5. Products derived from this software may not be called \"Apache\"\r\n nor may \"Apache\" appear in their names without prior written\r\n permission of the Apache Group.\r\n \r\n 6. Redistributions of any form whatsoever must retain the following\r\n acknowledgment:\r\n \"This product includes software developed by the Apache Group\r\n for use in the Apache HTTP server project (http://www.apache.org/).\"\r\n \r\n THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\r\n EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\r\n ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\r\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\r\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\r\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\r\n OF THE POSSIBILITY OF SUCH DAMAGE.\r\n====================================================================\r\n\r\n This software consists of voluntary contributions made by many\r\n individuals on behalf of the Apache Group and was originally based\r\n on public domain software written at the National Center for\r\n Supercomputing Applications, University of Illinois, Urbana-Champaign.\r\n For more information on the Apache Group and the Apache HTTP server\r\n project, please see ." + }, + { + "license_expression": "apache-1.0", + "rule_identifier": "apache-1.0.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 368, + "rule_relevance": 100, + "matched_text": "Redistribution and use in source and binary forms, with or without\r\nmodification, are permitted provided that the following conditions\r\nare met:\r\n\r\n 1. Redistributions of source code must retain the above copyright\r\n notice, this list of conditions and the following disclaimer. \r\n \r\n 2. Redistributions in binary form must reproduce the above copyright\r\n notice, this list of conditions and the following disclaimer in\r\n the documentation and/or other materials provided with the\r\n distribution.\r\n \r\n 3. All advertising materials mentioning features or use of this\r\n software must display the following acknowledgment:\r\n \"This product includes software developed by the Apache Group\r\n for use in the Apache HTTP server project (http://www.apache.org/).\"\r\n \r\n 4. The names \"Apache Server\" and \"Apache Group\" must not be used to\r\n endorse or promote products derived from this software without\r\n prior written permission. For written permission, please contact\r\n apache@apache.org.\r\n \r\n 5. Products derived from this software may not be called \"Apache\"\r\n nor may \"Apache\" appear in their names without prior written\r\n permission of the Apache Group.\r\n \r\n 6. Redistributions of any form whatsoever must retain the following\r\n acknowledgment:\r\n \"This product includes software developed by the Apache Group\r\n for use in the Apache HTTP server project (http://www.apache.org/).\"\r\n \r\n THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\r\n EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\r\n ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\r\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\r\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\r\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\r\n OF THE POSSIBILITY OF SUCH DAMAGE.\r\n====================================================================\r\n\r\n This software consists of voluntary contributions made by many\r\n individuals on behalf of the Apache Group and was originally based\r\n on public domain software written at the National Center for\r\n Supercomputing Applications, University of Illinois, Urbana-Champaign.\r\n For more information on the Apache Group and the Apache HTTP server\r\n project, please see ." + }, + { + "license_expression": "ja-sig", + "rule_identifier": "ja-sig.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 212, + "rule_relevance": 100, + "matched_text": "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n3. Redistributions of any form whatsoever must retain the following acknowledgment:\n\"This product includes software developed by the JA-SIG Collaborative (http://www.ja-sig.org/).\"\n\nThis software is provided by the JA-SIG collaborative \"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 JA-SIG collaborative 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,\n whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage." + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100, + "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License." + }, + { + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 13, + "rule_relevance": 100, + "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" + }, + { + "license_expression": "ja-sig", + "rule_identifier": "ja-sig.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 212, + "rule_relevance": 100, + "matched_text": "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n3. Redistributions of any form whatsoever must retain the following acknowledgment:\n\"This product includes software developed by the JA-SIG Collaborative (http://www.ja-sig.org/).\"\n\nThis software is provided by the JA-SIG collaborative \"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 JA-SIG collaborative 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,\n whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage." + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100, + "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License." + } + ], "files": [ { "path": "scan", @@ -286,33 +377,7 @@ "matcher": "2-aho", "license_expression": "apache-1.0", "rule_identifier": "apache-1.0.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 368, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without\r\nmodification, are permitted provided that the following conditions\r\nare met:\r\n\r\n 1. Redistributions of source code must retain the above copyright\r\n notice, this list of conditions and the following disclaimer. \r\n \r\n 2. Redistributions in binary form must reproduce the above copyright\r\n notice, this list of conditions and the following disclaimer in\r\n the documentation and/or other materials provided with the\r\n distribution.\r\n \r\n 3. All advertising materials mentioning features or use of this\r\n software must display the following acknowledgment:\r\n \"This product includes software developed by the Apache Group\r\n for use in the Apache HTTP server project (http://www.apache.org/).\"\r\n \r\n 4. The names \"Apache Server\" and \"Apache Group\" must not be used to\r\n endorse or promote products derived from this software without\r\n prior written permission. For written permission, please contact\r\n apache@apache.org.\r\n \r\n 5. Products derived from this software may not be called \"Apache\"\r\n nor may \"Apache\" appear in their names without prior written\r\n permission of the Apache Group.\r\n \r\n 6. Redistributions of any form whatsoever must retain the following\r\n acknowledgment:\r\n \"This product includes software developed by the Apache Group\r\n for use in the Apache HTTP server project (http://www.apache.org/).\"\r\n \r\n THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\r\n EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\r\n ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\r\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\r\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\r\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\r\n OF THE POSSIBILITY OF SUCH DAMAGE.\r\n====================================================================\r\n\r\n This software consists of voluntary contributions made by many\r\n individuals on behalf of the Apache Group and was originally based\r\n on public domain software written at the National Center for\r\n Supercomputing Applications, University of Illinois, Urbana-Champaign.\r\n For more information on the Apache Group and the Apache HTTP server\r\n project, please see .", - "licenses": [ - { - "key": "apache-1.0", - "name": "Apache License 1.0", - "short_name": "Apache 1.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-1.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", - "spdx_license_key": "Apache-1.0", - "spdx_url": "https://spdx.org/licenses/Apache-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE" } ] } @@ -365,33 +430,7 @@ "matcher": "2-aho", "license_expression": "apache-1.0", "rule_identifier": "apache-1.0.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 368, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without\r\nmodification, are permitted provided that the following conditions\r\nare met:\r\n\r\n 1. Redistributions of source code must retain the above copyright\r\n notice, this list of conditions and the following disclaimer. \r\n \r\n 2. Redistributions in binary form must reproduce the above copyright\r\n notice, this list of conditions and the following disclaimer in\r\n the documentation and/or other materials provided with the\r\n distribution.\r\n \r\n 3. All advertising materials mentioning features or use of this\r\n software must display the following acknowledgment:\r\n \"This product includes software developed by the Apache Group\r\n for use in the Apache HTTP server project (http://www.apache.org/).\"\r\n \r\n 4. The names \"Apache Server\" and \"Apache Group\" must not be used to\r\n endorse or promote products derived from this software without\r\n prior written permission. For written permission, please contact\r\n apache@apache.org.\r\n \r\n 5. Products derived from this software may not be called \"Apache\"\r\n nor may \"Apache\" appear in their names without prior written\r\n permission of the Apache Group.\r\n \r\n 6. Redistributions of any form whatsoever must retain the following\r\n acknowledgment:\r\n \"This product includes software developed by the Apache Group\r\n for use in the Apache HTTP server project (http://www.apache.org/).\"\r\n \r\n THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\r\n EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\r\n ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\r\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\r\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\r\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\r\n OF THE POSSIBILITY OF SUCH DAMAGE.\r\n====================================================================\r\n\r\n This software consists of voluntary contributions made by many\r\n individuals on behalf of the Apache Group and was originally based\r\n on public domain software written at the National Center for\r\n Supercomputing Applications, University of Illinois, Urbana-Champaign.\r\n For more information on the Apache Group and the Apache HTTP server\r\n project, please see .", - "licenses": [ - { - "key": "apache-1.0", - "name": "Apache License 1.0", - "short_name": "Apache 1.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-1.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", - "spdx_license_key": "Apache-1.0", - "spdx_url": "https://spdx.org/licenses/Apache-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE" } ] } @@ -444,33 +483,7 @@ "matcher": "2-aho", "license_expression": "ja-sig", "rule_identifier": "ja-sig.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ja-sig.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 212, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n3. Redistributions of any form whatsoever must retain the following acknowledgment:\n\"This product includes software developed by the JA-SIG Collaborative (http://www.ja-sig.org/).\"\n\nThis software is provided by the JA-SIG collaborative \"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 JA-SIG collaborative 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,\n whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.", - "licenses": [ - { - "key": "ja-sig", - "name": "JA-SiG License", - "short_name": "JA-SiG License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "JA-SIG Collaborative", - "homepage_url": "http://web.archive.org/web/20040402030132/http://uportal.org/license.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/ja-sig", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ja-sig.LICENSE", - "spdx_license_key": "LicenseRef-scancode-ja-sig", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ja-sig.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ja-sig.LICENSE" } ] }, @@ -489,35 +502,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100, - "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" } ] } @@ -571,63 +556,7 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "linux-syscall-exception-gpl", - "name": "Linux Syscall Exception to GPL", - "short_name": "Linux Syscall Exception to GPL", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-syscall-exception-gpl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-syscall-exception-gpl.LICENSE", - "spdx_license_key": "Linux-syscall-note", - "spdx_url": "https://spdx.org/licenses/Linux-syscall-note" - }, - { - "key": "linux-openib", - "name": "Linux-OpenIB", - "short_name": "Linux-OpenIB", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", - "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", - "reference_url": "https://scancode-licensedb.aboutcode.org/linux-openib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/linux-openib.LICENSE", - "spdx_license_key": "Linux-OpenIB", - "spdx_url": "https://spdx.org/licenses/Linux-OpenIB" - } - ] + "rule_url": null } ] } @@ -680,33 +609,7 @@ "matcher": "2-aho", "license_expression": "ja-sig", "rule_identifier": "ja-sig.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ja-sig.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 212, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n3. Redistributions of any form whatsoever must retain the following acknowledgment:\n\"This product includes software developed by the JA-SIG Collaborative (http://www.ja-sig.org/).\"\n\nThis software is provided by the JA-SIG collaborative \"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 JA-SIG collaborative 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,\n whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.", - "licenses": [ - { - "key": "ja-sig", - "name": "JA-SiG License", - "short_name": "JA-SiG License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "JA-SIG Collaborative", - "homepage_url": "http://web.archive.org/web/20040402030132/http://uportal.org/license.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/ja-sig", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ja-sig.LICENSE", - "spdx_license_key": "LicenseRef-scancode-ja-sig", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ja-sig.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ja-sig.LICENSE" } ] }, @@ -725,35 +628,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100, - "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" } ] } diff --git a/tests/licensedcode/data/plugin_licenses_reference/license-reference-works-with-clues.expected.json b/tests/licensedcode/data/plugin_licenses_reference/license-reference-works-with-clues.expected.json index 55aafef8e6a..863b4cba80e 100644 --- a/tests/licensedcode/data/plugin_licenses_reference/license-reference-works-with-clues.expected.json +++ b/tests/licensedcode/data/plugin_licenses_reference/license-reference-works-with-clues.expected.json @@ -3,6 +3,7 @@ { "identifier": "f9a5ba7d-9d66-5878-a0bd-1afe42fe0bd9", "license_expression": "python", + "occurance_count": 1, "detection_log": [ "not-combined" ], @@ -43,12 +44,12 @@ } ] } - ], - "occurance_count": 1 + ] }, { "identifier": "a9ef94dc-a60e-21b6-82b8-77454e7751c0", "license_expression": "other-copyleft AND gpl-1.0-plus", + "occurance_count": 1, "detection_log": [ "not-combined" ], @@ -341,12 +342,12 @@ } ] } - ], - "occurance_count": 1 + ] }, { "identifier": "3136274a-0a35-5bea-9531-6e328486ea3b", "license_expression": "python AND python-cwi", + "occurance_count": 1, "detection_log": [ "not-combined" ], @@ -423,12 +424,12 @@ } ] } - ], - "occurance_count": 1 + ] }, { "identifier": "4854df4f-b9f8-1a96-92bd-44873ee7c7c5", "license_expression": "bzip2-libbzip-2010", + "occurance_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -505,12 +506,12 @@ } ] } - ], - "occurance_count": 1 + ] }, { "identifier": "82c2d26c-feb1-2257-3b27-0e92e4721958", "license_expression": "sleepycat", + "occurance_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -587,12 +588,12 @@ } ] } - ], - "occurance_count": 1 + ] }, { "identifier": "d90f717a-d127-c345-d8a9-dc828c2be7e6", "license_expression": "bsd-simplified", + "occurance_count": 1, "detection_log": [ "license-clues", "not-license-clues-as-more-detections-present" @@ -634,12 +635,12 @@ } ] } - ], - "occurance_count": 1 + ] }, { "identifier": "e65e2324-d4b0-5ad8-3314-a798683d13e3", "license_expression": "bsd-new", + "occurance_count": 1, "detection_log": [ "not-combined" ], @@ -680,12 +681,12 @@ } ] } - ], - "occurance_count": 1 + ] }, { "identifier": "4c57e726-e851-a66a-1dbe-d6106bcb4751", "license_expression": "bsd-new", + "occurance_count": 1, "detection_log": [ "not-combined" ], @@ -726,12 +727,12 @@ } ] } - ], - "occurance_count": 1 + ] }, { "identifier": "7a0dc499-dddd-4bf1-2d0d-9a84c910b0bc", "license_expression": "openssl-ssleay", + "occurance_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -844,12 +845,12 @@ } ] } - ], - "occurance_count": 1 + ] }, { "identifier": "dacfdecf-b752-23a6-37ba-f98e7d93554a", "license_expression": "openssl", + "occurance_count": 1, "detection_log": [ "not-combined" ], @@ -890,12 +891,12 @@ } ] } - ], - "occurance_count": 1 + ] }, { "identifier": "50e05b6f-8602-75e7-7568-c3b4e72fec38", "license_expression": "ssleay-windows", + "occurance_count": 1, "detection_log": [ "not-combined" ], @@ -936,12 +937,12 @@ } ] } - ], - "occurance_count": 1 + ] }, { "identifier": "d352cc42-40ca-8f87-931e-725ee0a85c3e", "license_expression": "tcl", + "occurance_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -1018,12 +1019,12 @@ } ] } - ], - "occurance_count": 1 + ] }, { "identifier": "e49b63d5-028c-f39c-035e-68c9e6c60e34", "license_expression": "tcl", + "occurance_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -1100,591 +1101,7 @@ } ] } - ], - "occurance_count": 1 - } - ], - "license_references": [ - { - "key": "bsd-new", - "short_name": "BSD-3-Clause", - "name": "BSD-3-Clause", - "category": "Permissive", - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "BSD-3-Clause", - "other_spdx_license_keys": [ - "LicenseRef-scancode-libzip" - ], - "osi_license_key": "BSD-3-Clause", - "text_urls": [ - "http://www.opensource.org/licenses/BSD-3-Clause" - ], - "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "other_urls": [ - "http://framework.zend.com/license/new-bsd", - "https://opensource.org/licenses/BSD-3-Clause" - ], - "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "bsd-simplified", - "short_name": "BSD-2-Clause", - "name": "BSD-2-Clause", - "category": "Permissive", - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "BSD-2-Clause", - "other_spdx_license_keys": [ - "BSD-2-Clause-NetBSD", - "BSD-2" - ], - "text_urls": [ - "http://opensource.org/licenses/bsd-license.php" - ], - "osi_url": "http://opensource.org/licenses/bsd-license.php", - "other_urls": [ - "http://spdx.org/licenses/BSD-2-Clause", - "http://www.freebsd.org/copyright/copyright.html", - "https://opensource.org/licenses/BSD-2-Clause" - ], - "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." - }, - { - "key": "bzip2-libbzip-2010", - "short_name": "bzip2 License 2010", - "name": "bzip2 License 2010", - "category": "Permissive", - "owner": "bzip", - "homepage_url": "https://github.com/asimonov-im/bzip2/blob/master/LICENSE", - "notes": "until bzip2 1.0.6 there is only one license and not two as listed in SPDX. Therefore we only track one such license.", - "is_builtin": true, - "spdx_license_key": "bzip2-1.0.6", - "other_spdx_license_keys": [ - "bzip2-1.0.5" - ], - "other_urls": [ - "http://bzip.org/1.0.5/bzip2-manual-1.0.5.html", - "http://www.bzip.org/", - "https://sourceware.org/git/?p=bzip2.git;a=blob;f=LICENSE;hb=bzip2-1.0.6" - ], - "text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. The origin of this software must not be misrepresented; you must\nnot claim that you wrote the original software. If you use this\nsoftware in a product, an acknowledgment in the product\ndocumentation would be appreciated but is not required.\n\n3. Altered source versions must be plainly marked as such, and must\nnot be misrepresented as being the original software.\n\n4. The name of the author may not be used to endorse or promote\nproducts derived from this software without specific prior written\npermission.\n\nTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS\nOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\nWHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "gpl-1.0-plus", - "short_name": "GPL 1.0 or later", - "name": "GNU General Public License 1.0 or later", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "notes": "Per SPDX.org, this license was released February 1989.", - "is_builtin": true, - "spdx_license_key": "GPL-1.0-or-later", - "other_spdx_license_keys": [ - "GPL-1.0+", - "LicenseRef-GPL" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" - ], - "other_urls": [ - "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" - ], - "minimum_coverage": 99, - "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 1, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,\nCambridge, MA 02139, USA.\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 1, February 1989\n\nCopyright (C) 1989 Free Software Foundation, Inc.\n51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe license agreements of most software companies try to keep users\nat the mercy of those companies. By contrast, our General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. The\nGeneral Public License applies to the Free Software Foundation's\nsoftware and to any other program whose authors commit to using it.\nYou can use it for your programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Specifically, the General Public License is designed to make\nsure that you have the freedom to give away or sell copies of free\nsoftware, that you receive source code or can get it if you want it,\nthat you can change the software or use pieces of it in new free\nprograms; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of a such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must tell them their rights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any program or other work which\ncontains a notice placed by the copyright holder saying it may be\ndistributed under the terms of this General Public License. The\n\"Program\", below, refers to any such program or work, and a \"work based\non the Program\" means either the Program or any work containing the\nProgram or a portion of it, either verbatim or with modifications. Each\nlicensee is addressed as \"you\".\n\n1. You may copy and distribute verbatim copies of the Program's source\ncode as you receive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice and\ndisclaimer of warranty; keep intact all the notices that refer to this\nGeneral Public License and to the absence of any warranty; and give any\nother recipients of the Program a copy of this General Public License\nalong with the Program. You may charge a fee for the physical act of\ntransferring a copy.\n\n2. You may modify your copy or copies of the Program or any portion of\nit, and copy and distribute such modifications under the terms of Paragraph\n1 above, provided that you also do the following:\n\na) cause the modified files to carry prominent notices stating that\nyou changed the files and the date of any change; and\n\nb) cause the whole of any work that you distribute or publish, that\nin whole or in part contains the Program or any part thereof, either\nwith or without modifications, to be licensed at no charge to all\nthird parties under the terms of this General Public License (except\nthat you may choose to grant warranty protection to some or all\nthird parties, at your option).\n\nc) If the modified program normally reads commands interactively when\nrun, you must cause it, when started running for such interactive use\nin the simplest and most usual way, to print or display an\nannouncement including an appropriate copyright notice and a notice\nthat there is no warranty (or else, saying that you provide a\nwarranty) and that users may redistribute the program under these\nconditions, and telling the user how to view a copy of this General\nPublic License.\n\nd) You may charge a fee for the physical act of transferring a\ncopy, and you may at your option offer warranty protection in\nexchange for a fee.\n\nMere aggregation of another independent work with the Program (or its\nderivative) on a volume of a storage or distribution medium does not bring\nthe other work under the scope of these terms.\n\n\n3. You may copy and distribute the Program (or a portion or derivative of\nit, under Paragraph 2) in object code or executable form under the terms of\nParagraphs 1 and 2 above provided that you also do one of the following:\n\na) accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nb) accompany it with a written offer, valid for at least three\nyears, to give any third party free (except for a nominal charge\nfor the cost of distribution) a complete machine-readable copy of the\ncorresponding source code, to be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nc) accompany it with the information you received as to where the\ncorresponding source code may be obtained. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form alone.)\n\nSource code for a work means the preferred form of the work for making\nmodifications to it. For an executable file, complete source code means\nall the source code for all modules it contains; but, as a special\nexception, it need not include source code for modules which are standard\nlibraries that accompany the operating system on which the executable\nfile runs, or for standard header files or definitions files that\naccompany that operating system.\n\n4. You may not copy, modify, sublicense, distribute or transfer the\nProgram except as expressly provided under this General Public License.\nAny attempt otherwise to copy, modify, sublicense, distribute or transfer\nthe Program is void, and will automatically terminate your rights to use\nthe Program under this License. However, parties who have received\ncopies, or rights to use copies, from you under this General Public\nLicense will not have their licenses terminated so long as such parties\nremain in full compliance.\n\n5. By copying, distributing or modifying the Program (or any work based\non the Program) you indicate your acceptance of this license to do so,\nand all its terms and conditions.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the original\nlicensor to copy, distribute or modify the Program subject to these\nterms and conditions. You may not impose any further restrictions on the\nrecipients' exercise of the rights granted herein.\n\n\n7. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of the license which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthe license, you may choose any version ever published by the Free Software\nFoundation.\n\n8. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nAppendix: How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to humanity, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these\nterms.\n\nTo do so, attach the following notices to the program. It is safest to\nattach them to the start of each source file to most effectively convey\nthe exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) 19yy \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 1, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA\n\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) 19xx name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the\nappropriate parts of the General Public License. Of course, the\ncommands you use may be called something other than `show w' and `show\nc'; they could even be mouse-clicks or menu items--whatever suits your\nprogram.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nprogram `Gnomovision' (a program to direct compilers to make passes\nat assemblers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThat's all there is to it!" - }, - { - "key": "openssl", - "short_name": "OpenSSL License", - "name": "OpenSSL License", - "category": "Permissive", - "owner": "OpenSSL", - "homepage_url": "http://openssl.org/source/license.html", - "notes": "This is the OpenSSL license proper, without the SSLEay part. The SPDX\nOpenSSL identifier does not apply here. Instead it matches the openssl-\nssleay license.\n", - "is_builtin": true, - "spdx_license_key": "LicenseRef-scancode-openssl", - "faq_url": "http://www.openssl.org/support/faq.html", - "other_urls": [ - "http://www.openssl.org/source/license.html" - ], - "minimum_coverage": 70, - "text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the\ndistribution.\n\n3. All advertising materials mentioning features or use of this\nsoftware must display the following acknowledgment:\n\"This product includes software developed by the OpenSSL Project\nfor use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)\"\n\n4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to\nendorse or promote products derived from this software without\nprior written permission. For written permission, please contact\nlicensing@OpenSSL.org.\n\n5. Products derived from this software may not be called \"OpenSSL\"\nnor may \"OpenSSL\" appear in their names without prior written\npermission of the OpenSSL Project.\n\n6. Redistributions of any form whatsoever must retain the following\nacknowledgment:\n\"This product includes software developed by the OpenSSL Project\nfor use in the OpenSSL Toolkit (http://www.OpenSSL.org/)\"\n\nTHIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY\nEXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR\nITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\nSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\nOF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "openssl-ssleay", - "short_name": "OpenSSL/SSLeay License", - "name": "OpenSSL/SSLeay License", - "category": "Permissive", - "owner": "OpenSSL", - "homepage_url": "http://www.openssl.org/source/license.html", - "notes": "Per SPDX.org, the OpenSSL toolkit stays under a dual license, i.e. both the\nconditions of the OpenSSL License and the original SSLeay license apply to\nthe toolkit.\n", - "is_builtin": true, - "spdx_license_key": "OpenSSL", - "text_urls": [ - "http://www.openssl.org/source/license.html", - "https://www.openssl.org/source/license-openssl-ssleay.txt" - ], - "faq_url": "http://www.openssl.org/support/faq.html", - "minimum_coverage": 70, - "text": "LICENSE ISSUES\n==============\n\nThe OpenSSL toolkit stays under a dual license, i.e. both the conditions of\nthe OpenSSL License and the original SSLeay license apply to the toolkit.\nSee below for the actual license texts. Actually both licenses are BSD-style\nOpen Source licenses. In case of any license issues related to OpenSSL\nplease contact openssl-core@openssl.org.\n\nOpenSSL License\n---------------\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the\ndistribution.\n\n3. All advertising materials mentioning features or use of this\nsoftware must display the following acknowledgment:\n\"This product includes software developed by the OpenSSL Project\nfor use in the OpenSSL Toolkit. (http://www.openssl.org/)\"\n\n4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to\nendorse or promote products derived from this software without\nprior written permission. For written permission, please contact\nopenssl-core@openssl.org.\n\n5. Products derived from this software may not be called \"OpenSSL\"\nnor may \"OpenSSL\" appear in their names without prior written\npermission of the OpenSSL Project.\n\n6. Redistributions of any form whatsoever must retain the following\nacknowledgment:\n\"This product includes software developed by the OpenSSL Project\nfor use in the OpenSSL Toolkit (http://www.openssl.org/)\"\n\nTHIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY\nEXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR\nITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\nSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\nOF THE POSSIBILITY OF SUCH DAMAGE.\n\n\nThis product includes cryptographic software written by Eric Young\n(eay@cryptsoft.com). This product includes software written by Tim\nHudson (tjh@cryptsoft.com).\n\n\nOriginal SSLeay License\n-----------------------\n\nCopyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)\nAll rights reserved.\n\nThis package is an SSL implementation written\nby Eric Young (eay@cryptsoft.com).\nThe implementation was written so as to conform with Netscapes SSL.\n\nThis library is free for commercial and non-commercial use as long as\nthe following conditions are aheared to. The following conditions\napply to all code found in this distribution, be it the RC4, RSA,\nlhash, DES, etc., code; not just the SSL code. The SSL documentation\nincluded with this distribution is covered by the same copyright terms\nexcept that the holder is Tim Hudson (tjh@cryptsoft.com).\n\nCopyright remains Eric Young's, and as such any Copyright notices in\nthe code are not to be removed.\nIf this package is used in a product, Eric Young should be given attribution\nas the author of the parts of the library used.\nThis can be in the form of a textual message at program startup or\nin documentation (online or textual) provided with the package.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n1. Redistributions of source code must retain the copyright\nnotice, this list of conditions and the following disclaimer.\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in the\ndocumentation and/or other materials provided with the distribution.\n3. All advertising materials mentioning features or use of this software\nmust display the following acknowledgement:\n\"This product includes cryptographic software written by\nEric Young (eay@cryptsoft.com)\"\nThe word 'cryptographic' can be left out if the rouines from the library\nbeing used are not cryptographic related :-).\n4. If you include any Windows specific code (or a derivative thereof) from\nthe apps directory (application code) you must include an acknowledgement:\n\"This product includes software written by Tim Hudson (tjh@cryptsoft.com)\"\n\nTHIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\nOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\nOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE.\n\nThe licence and distribution terms for any publically available version or\nderivative of this code cannot be changed. i.e. this code cannot simply be\ncopied and put under another distribution licence\n[including the GNU Public Licence.]" - }, - { - "key": "other-copyleft", - "short_name": "Other Copyleft Licenses", - "name": "Other Copyleft Licenses", - "category": "Copyleft", - "owner": "nexB", - "notes": "this is a catch all and ellipsis to deal with some cases when a large\nnumber of ancillary yet similar licenses may be reported as one.\n", - "is_builtin": true, - "is_generic": true, - "spdx_license_key": "LicenseRef-scancode-other-copyleft", - "text": "This component contains third-party subcomponents licensed under\none or more copyleft licenses in the style of GPL, LGPL, MPL or EPL.\nThe license obligations of these subcomponents may apply when a subcomponent\ndepending on how the subcomponent is used and/or redistributed." - }, - { - "key": "python", - "short_name": "Python License 2.0", - "name": "Python Software Foundation License v2", - "category": "Permissive", - "owner": "Python Software Foundation (PSF)", - "homepage_url": "http://docs.python.org/license.html", - "is_builtin": true, - "spdx_license_key": "Python-2.0", - "text_urls": [ - "http://spdx.org/licenses/Python-2.0" - ], - "osi_url": "http://www.opensource.org/licenses/Python-2.0", - "other_urls": [ - "http://opensource.org/licenses/PythonSoftFoundation.php", - "http://www.gnu.org/licenses/license-list.html#PythonOld", - "https://opensource.org/licenses/Python-2.0" - ], - "text": "PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2\n--------------------------------------------\n\n1. This LICENSE AGREEMENT is between the Python Software Foundation\n(\"PSF\"), and the Individual or Organization (\"Licensee\") accessing and\notherwise using this software (\"Python\") in source or binary form and\nits associated documentation.\n\n2. Subject to the terms and conditions of this License Agreement, PSF hereby\ngrants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,\nanalyze, test, perform and/or display publicly, prepare derivative works,\ndistribute, and otherwise use Python alone or in any derivative version,\nprovided, however, that PSF's License Agreement and PSF's notice of copyright,\ni.e., \"Copyright (c) Python Software Foundation;\nAll Rights Reserved\" are retained in Python alone or in any derivative version\nprepared by Licensee.\n\n3. In the event Licensee prepares a derivative work that is based on\nor incorporates Python or any part thereof, and wants to make\nthe derivative work available to others as provided herein, then\nLicensee hereby agrees to include in any such work a brief summary of\nthe changes made to Python.\n\n4. PSF is making Python available to Licensee on an \"AS IS\"\nbasis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\nFOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS\nA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,\nOR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n6. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n7. Nothing in this License Agreement shall be deemed to create any\nrelationship of agency, partnership, or joint venture between PSF and\nLicensee. This License Agreement does not grant permission to use PSF\ntrademarks or trade name in a trademark sense to endorse or promote\nproducts or services of Licensee, or any third party.\n\n8. By copying, installing or otherwise using Python, Licensee\nagrees to be bound by the terms and conditions of this License\nAgreement.\n\n\nBEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0\n-------------------------------------------\n\nBEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1\n\n1. This LICENSE AGREEMENT is between BeOpen.com (\"BeOpen\"), having an\noffice at 160 Saratoga Avenue, Santa Clara, CA 95051, and the\nIndividual or Organization (\"Licensee\") accessing and otherwise using\nthis software in source or binary form and its associated\ndocumentation (\"the Software\").\n\n2. Subject to the terms and conditions of this BeOpen Python License\nAgreement, BeOpen hereby grants Licensee a non-exclusive,\nroyalty-free, world-wide license to reproduce, analyze, test, perform\nand/or display publicly, prepare derivative works, distribute, and\notherwise use the Software alone or in any derivative version,\nprovided, however, that the BeOpen Python License is retained in the\nSoftware, alone or in any derivative version prepared by Licensee.\n\n3. BeOpen is making the Software available to Licensee on an \"AS IS\"\nbasis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE\nSOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS\nAS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY\nDERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n5. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n6. This License Agreement shall be governed by and interpreted in all\nrespects by the law of the State of California, excluding conflict of\nlaw provisions. Nothing in this License Agreement shall be deemed to\ncreate any relationship of agency, partnership, or joint venture\nbetween BeOpen and Licensee. This License Agreement does not grant\npermission to use BeOpen trademarks or trade names in a trademark\nsense to endorse or promote products or services of Licensee, or any\nthird party. As an exception, the \"BeOpen Python\" logos available at\nhttp://www.pythonlabs.com/logos.html may be used according to the\npermissions granted on that web page.\n\n7. By copying, installing or otherwise using the software, Licensee\nagrees to be bound by the terms and conditions of this License\nAgreement.\n\n\nCNRI LICENSE AGREEMENT FOR PYTHON 1.6.1\n---------------------------------------\n\n1. This LICENSE AGREEMENT is between the Corporation for National\nResearch Initiatives, having an office at 1895 Preston White Drive,\nReston, VA 20191 (\"CNRI\"), and the Individual or Organization\n(\"Licensee\") accessing and otherwise using Python 1.6.1 software in\nsource or binary form and its associated documentation.\n\n2. Subject to the terms and conditions of this License Agreement, CNRI\nhereby grants Licensee a nonexclusive, royalty-free, world-wide\nlicense to reproduce, analyze, test, perform and/or display publicly,\nprepare derivative works, distribute, and otherwise use Python 1.6.1\nalone or in any derivative version, provided, however, that CNRI's\nLicense Agreement and CNRI's notice of copyright, i.e., \"Copyright (c)\n1995-2001 Corporation for National Research Initiatives; All Rights\nReserved\" are retained in Python 1.6.1 alone or in any derivative\nversion prepared by Licensee. Alternately, in lieu of CNRI's License\nAgreement, Licensee may substitute the following text (omitting the\nquotes): \"Python 1.6.1 is made available subject to the terms and\nconditions in CNRI's License Agreement. This Agreement together with\nPython 1.6.1 may be located on the Internet using the following\nunique, persistent identifier (known as a handle): 1895.22/1013. This\nAgreement may also be obtained from a proxy server on the Internet\nusing the following URL: http://hdl.handle.net/1895.22/1013\".\n\n3. In the event Licensee prepares a derivative work that is based on\nor incorporates Python 1.6.1 or any part thereof, and wants to make\nthe derivative work available to others as provided herein, then\nLicensee hereby agrees to include in any such work a brief summary of\nthe changes made to Python 1.6.1.\n\n4. CNRI is making Python 1.6.1 available to Licensee on an \"AS IS\"\nbasis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\n1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS\nA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,\nOR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n6. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n7. This License Agreement shall be governed by the federal\nintellectual property law of the United States, including without\nlimitation the federal copyright law, and, to the extent such\nU.S. federal law does not apply, by the law of the Commonwealth of\nVirginia, excluding Virginia's conflict of law provisions.\nNotwithstanding the foregoing, with regard to derivative works based\non Python 1.6.1 that incorporate non-separable material that was\npreviously distributed under the GNU General Public License (GPL), the\nlaw of the Commonwealth of Virginia shall govern this License\nAgreement only as to issues arising under or with respect to\nParagraphs 4, 5, and 7 of this License Agreement. Nothing in this\nLicense Agreement shall be deemed to create any relationship of\nagency, partnership, or joint venture between CNRI and Licensee. This\nLicense Agreement does not grant permission to use CNRI trademarks or\ntrade name in a trademark sense to endorse or promote products or\nservices of Licensee, or any third party.\n\n8. By clicking on the \"ACCEPT\" button where indicated, or by copying,\ninstalling or otherwise using Python 1.6.1, Licensee agrees to be\nbound by the terms and conditions of this License Agreement.\n\nACCEPT\n\n\nCWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2\n--------------------------------------------------\n\nCopyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,\nThe Netherlands. All rights reserved.\n\nPermission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose and without fee is hereby granted,\nprovided that the above copyright notice appear in all copies and that\nboth that copyright notice and this permission notice appear in\nsupporting documentation, and that the name of Stichting Mathematisch\nCentrum or CWI not be used in advertising or publicity pertaining to\ndistribution of the software without specific, written prior\npermission.\n\nSTICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO\nTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE\nFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\nOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." - }, - { - "key": "python-cwi", - "short_name": "Python CWI License", - "name": "Python CWI License Agreement", - "category": "Permissive", - "owner": "Python Software Foundation (PSF)", - "homepage_url": "http://docs.python.org/license.html", - "notes": "This is the old license of Python as used from inception from 0.9.0 thru\n1.2 versions. This is a MIT/BSD-style license that is rather rare these\ndays but also unique. It is also found at the bottom of the current Python\nlicense text.\n", - "is_builtin": true, - "spdx_license_key": "LicenseRef-scancode-python-cwi", - "text": "Permission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose and without fee is hereby granted,\nprovided that the above copyright notice appear in all copies and that\nboth that copyright notice and this permission notice appear in\nsupporting documentation, and that the name of Stichting Mathematisch\nCentrum or CWI not be used in advertising or publicity pertaining to\ndistribution of the software without specific, written prior\npermission.\n\nSTICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO\nTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE\nFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\nOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." - }, - { - "key": "sleepycat", - "short_name": "Sleepycat License", - "name": "Sleepycat License (Berkeley Database License)", - "category": "Copyleft", - "owner": "Oracle Corporation", - "homepage_url": "http://opensource.org/licenses/sleepycat.html", - "notes": "Per SPDX.org, this license is OSI certified", - "is_builtin": true, - "spdx_license_key": "Sleepycat", - "text_urls": [ - "http://www.oracle.com/technology/software/products/berkeley-db/htdocs/oslicense.html" - ], - "osi_url": "http://opensource.org/licenses/sleepycat.html", - "faq_url": "https://docs.oracle.com/cd/E17076_05/html/license/license_db.html", - "other_urls": [ - "http://www.opensource.org/licenses/Sleepycat", - "http://www.opensource.org/licenses/sleepycat.php", - "https://opensource.org/licenses/Sleepycat" - ], - "text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in the\ndocumentation and/or other materials provided with the distribution.\n3. Redistributions in any form must be accompanied by information on\nhow to obtain complete source code for the DB software and any\naccompanying software that uses the DB software. The source code\nmust either be included in the distribution or be available for no\nmore than the cost of distribution plus a nominal fee, and must be\nfreely redistributable under reasonable conditions. For an\nexecutable file, complete source code means the source code for all\nmodules it contains. It does not include source code for modules or\nfiles that typically accompany the major components of the operating\nsystem on which the executable file runs.\n\nTHIS SOFTWARE IS PROVIDED BY ORACLE CORPORATION ``AS IS'' AND ANY EXPRESS\nOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL ORACLE CORPORATION\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\nTHE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "ssleay-windows", - "short_name": "Original SSLeay License with Windows Clause", - "name": "Original SSLeay License with Windows Clause", - "category": "Permissive", - "owner": "OpenSSL", - "homepage_url": "https://www.openssl.org/source/license.html", - "is_builtin": true, - "spdx_license_key": "LicenseRef-scancode-ssleay-windows", - "text_urls": [ - "http://www.openssl.org/source/license.html" - ], - "other_urls": [ - "http://h71000.www7.hp.com/doc/83final/ba554_90007/apcs02.html" - ], - "text": "This package is an SSL implementation written by Eric Young (eay@cryptsoft.com).\nThe implementation was written so as to conform with Netscapes SSL.\n\nThis library is free for commercial and non-commercial use as long as\nthe following conditions are aheared to. The following conditions\napply to all code found in this distribution, be it the RC4, RSA,\nlhash, DES, etc., code; not just the SSL code. The SSL documentation\nincluded with this distribution is covered by the same copyright terms\nexcept that the holder is Tim Hudson (tjh@cryptsoft.com).\n\nCopyright remains Eric Young's, and as such any Copyright notices in\nthe code are not to be removed.\nIf this package is used in a product, Eric Young should be given attribution\nas the author of the parts of the library used.\nThis can be in the form of a textual message at program startup or\nin documentation (online or textual) provided with the package.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n1. Redistributions of source code must retain the copyright\nnotice, this list of conditions and the following disclaimer.\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in the\ndocumentation and/or other materials provided with the distribution.\n3. All advertising materials mentioning features or use of this software\nmust display the following acknowledgement:\n\"This product includes cryptographic software written by\nEric Young (eay@cryptsoft.com)\"\nThe word 'cryptographic' can be left out if the rouines from the library\nbeing used are not cryptographic related :-).\n4. If you include any Windows specific code (or a derivative thereof) from\nthe apps directory (application code) you must include an acknowledgement:\n\"This product includes software written by Tim Hudson (tjh@cryptsoft.com)\"\n\nTHIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\nOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\nOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE.\n\nThe licence and distribution terms for any publically available version or\nderivative of this code cannot be changed. i.e. this code cannot simply be\ncopied and put under another distribution licence\n[including the GNU Public Licence.]" - }, - { - "key": "tcl", - "short_name": "TCL/TK License", - "name": "TCL/TK License", - "category": "Permissive", - "owner": "Tcl Developer Xchange", - "homepage_url": "http://www.tcl.tk/software/tcltk/license.html", - "is_builtin": true, - "spdx_license_key": "TCL", - "text_urls": [ - "http://www.tcl.tk/software/tcltk/license.html" - ], - "other_urls": [ - "http://fedoraproject.org/wiki/Licensing/TCL", - "https://fedoraproject.org/wiki/Licensing/TCL" - ], - "text": "This software is copyrighted by the Regents of the University of\nCalifornia, Sun Microsystems, Inc., Scriptics Corporation, ActiveState\nCorporation and other parties. The following terms apply to all files\nassociated with the software unless explicitly disclaimed in\nindividual files.\n\nThe authors hereby grant permission to use, copy, modify, distribute,\nand license this software and its documentation for any purpose, provided\nthat existing copyright notices are retained in all copies and that this\nnotice is included verbatim in any distributions. No written agreement,\nlicense, or royalty fee is required for any of the authorized uses.\nModifications to this software may be copyrighted by their authors\nand need not follow the licensing terms described here, provided that\nthe new terms are clearly indicated on the first page of each file where\nthey apply.\n\nIN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY\nFOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES\nARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY\nDERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,\nINCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.\nTHIS SOFTWARE IS PROVIDED ON AN \"AS IS\" BASIS, AND THE AUTHORS AND\nDISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT,\nUPDATES, ENHANCEMENTS, OR MODIFICATIONS.\n\nGOVERNMENT USE: If you are acquiring this software on behalf of the\nU.S. government, the Government shall have only \"Restricted Rights\"\nin the software and related documentation as defined in the Federal\nAcquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you\nare acquiring the software on behalf of the Department of Defense, the\nsoftware shall be classified as \"Commercial Computer Software\" and the\nGovernment shall have only \"Restricted Rights\" as defined in Clause\n252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the\nauthors grant the U.S. Government and others acting in its behalf\npermission to use and distribute the software in accordance with the\nterms specified in this license." - } - ], - "rule_references": [ - { - "license_expression": "python", - "rule_identifier": "python_not_not-a-license_269.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100, - "matched_text": "All Python releases are Open Source (see http://www.opensource.org for\nthe Open Source Definition). Historically, most, but not all, Python\nreleases have also been GPL-compatible; the table below summarizes\nthe various releases." - }, - { - "license_expression": "other-copyleft", - "rule_identifier": "other-copyleft_24.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 80, - "matched_text": "(1) GPL-compatible doesn't mean that we're distributing Python under" - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_200.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "(1) GPL-compatible doesn't mean that we're distributing Python under\n the GPL. All Python licenses, unlike the GPL, let you distribute" - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_351.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 85, - "matched_text": " the GPL. All Python licenses, unlike the GPL, let you distribute" - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_351.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 85, - "matched_text": " a modified version without making your changes open source. The\n GPL-compatible licenses make it possible to combine Python with" - }, - { - "license_expression": "other-copyleft", - "rule_identifier": "other-copyleft_24.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 80, - "matched_text": " GPL-compatible licenses make it possible to combine Python with" - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_194.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": " other software that is released under the GPL; the others don't." - }, - { - "license_expression": "other-copyleft", - "rule_identifier": "other-copyleft_24.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 80, - "matched_text": "(2) According to Richard Stallman, 1.6.1 is not GPL-compatible," - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_351.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 85, - "matched_text": " is \"not incompatible\" with the GPL." - }, - { - "license_expression": "python", - "rule_identifier": "python_2019.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1530, - "rule_relevance": 100, - "matched_text": "B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON\n===============================================================\n\nPYTHON SOFTWARE FOUNDATION LICENSE VERSION 2\n--------------------------------------------\n\n1. This LICENSE AGREEMENT is between the Python Software Foundation\n(\"PSF\"), and the Individual or Organization (\"Licensee\") accessing and\notherwise using this software (\"Python\") in source or binary form and\nits associated documentation.\n\n2. Subject to the terms and conditions of this License Agreement, PSF\nhereby grants Licensee a nonexclusive, royalty-free, world-wide\nlicense to reproduce, analyze, test, perform and/or display publicly,\nprepare derivative works, distribute, and otherwise use Python\nalone or in any derivative version, provided, however, that PSF's\nLicense Agreement and PSF's notice of copyright, i.e., \"Copyright (c)\n2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Python Software Foundation; \nAll Rights Reserved\" are retained in Python alone or in any derivative \nversion prepared by Licensee.\n\n3. In the event Licensee prepares a derivative work that is based on\nor incorporates Python or any part thereof, and wants to make\nthe derivative work available to others as provided herein, then\nLicensee hereby agrees to include in any such work a brief summary of\nthe changes made to Python.\n\n4. PSF is making Python available to Licensee on an \"AS IS\"\nbasis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\nFOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS\nA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,\nOR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n6. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n7. Nothing in this License Agreement shall be deemed to create any\nrelationship of agency, partnership, or joint venture between PSF and\nLicensee. This License Agreement does not grant permission to use PSF\ntrademarks or trade name in a trademark sense to endorse or promote\nproducts or services of Licensee, or any third party.\n\n8. By copying, installing or otherwise using Python, Licensee\nagrees to be bound by the terms and conditions of this License\nAgreement.\n\n\nBEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0\n-------------------------------------------\n\nBEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1\n\n1. This LICENSE AGREEMENT is between BeOpen.com (\"BeOpen\"), having an\noffice at 160 Saratoga Avenue, Santa Clara, CA 95051, and the\nIndividual or Organization (\"Licensee\") accessing and otherwise using\nthis software in source or binary form and its associated\ndocumentation (\"the Software\").\n\n2. Subject to the terms and conditions of this BeOpen Python License\nAgreement, BeOpen hereby grants Licensee a non-exclusive,\nroyalty-free, world-wide license to reproduce, analyze, test, perform\nand/or display publicly, prepare derivative works, distribute, and\notherwise use the Software alone or in any derivative version,\nprovided, however, that the BeOpen Python License is retained in the\nSoftware, alone or in any derivative version prepared by Licensee.\n\n3. BeOpen is making the Software available to Licensee on an \"AS IS\"\nbasis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE\nSOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS\nAS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY\nDERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n5. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n6. This License Agreement shall be governed by and interpreted in all\nrespects by the law of the State of California, excluding conflict of\nlaw provisions. Nothing in this License Agreement shall be deemed to\ncreate any relationship of agency, partnership, or joint venture\nbetween BeOpen and Licensee. This License Agreement does not grant\npermission to use BeOpen trademarks or trade names in a trademark\nsense to endorse or promote products or services of Licensee, or any\nthird party. As an exception, the \"BeOpen Python\" logos available at\nhttp://www.pythonlabs.com/logos.html may be used according to the\npermissions granted on that web page.\n\n7. By copying, installing or otherwise using the software, Licensee\nagrees to be bound by the terms and conditions of this License\nAgreement.\n\n\nCNRI LICENSE AGREEMENT FOR PYTHON 1.6.1\n---------------------------------------\n\n1. This LICENSE AGREEMENT is between the Corporation for National\nResearch Initiatives, having an office at 1895 Preston White Drive,\nReston, VA 20191 (\"CNRI\"), and the Individual or Organization\n(\"Licensee\") accessing and otherwise using Python 1.6.1 software in\nsource or binary form and its associated documentation.\n\n2. Subject to the terms and conditions of this License Agreement, CNRI\nhereby grants Licensee a nonexclusive, royalty-free, world-wide\nlicense to reproduce, analyze, test, perform and/or display publicly,\nprepare derivative works, distribute, and otherwise use Python 1.6.1\nalone or in any derivative version, provided, however, that CNRI's\nLicense Agreement and CNRI's notice of copyright, i.e., \"Copyright (c)\n1995-2001 Corporation for National Research Initiatives; All Rights\nReserved\" are retained in Python 1.6.1 alone or in any derivative\nversion prepared by Licensee. Alternately, in lieu of CNRI's License\nAgreement, Licensee may substitute the following text (omitting the\nquotes): \"Python 1.6.1 is made available subject to the terms and\nconditions in CNRI's License Agreement. This Agreement together with\nPython 1.6.1 may be located on the Internet using the following\nunique, persistent identifier (known as a handle): 1895.22/1013. This\nAgreement may also be obtained from a proxy server on the Internet\nusing the following URL: http://hdl.handle.net/1895.22/1013\".\n\n3. In the event Licensee prepares a derivative work that is based on\nor incorporates Python 1.6.1 or any part thereof, and wants to make\nthe derivative work available to others as provided herein, then\nLicensee hereby agrees to include in any such work a brief summary of\nthe changes made to Python 1.6.1.\n\n4. CNRI is making Python 1.6.1 available to Licensee on an \"AS IS\"\nbasis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\n1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS\nA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,\nOR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n6. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n7. This License Agreement shall be governed by the federal\nintellectual property law of the United States, including without\nlimitation the federal copyright law, and, to the extent such\nU.S. federal law does not apply, by the law of the Commonwealth of\nVirginia, excluding Virginia's conflict of law provisions.\nNotwithstanding the foregoing, with regard to derivative works based\non Python 1.6.1 that incorporate non-separable material that was\npreviously distributed under the GNU General Public License (GPL), the\nlaw of the Commonwealth of Virginia shall govern this License\nAgreement only as to issues arising under or with respect to\nParagraphs 4, 5, and 7 of this License Agreement. Nothing in this\nLicense Agreement shall be deemed to create any relationship of\nagency, partnership, or joint venture between CNRI and Licensee. This\nLicense Agreement does not grant permission to use CNRI trademarks or\ntrade name in a trademark sense to endorse or promote products or\nservices of Licensee, or any third party.\n\n8. By clicking on the \"ACCEPT\" button where indicated, or by copying,\ninstalling or otherwise using Python 1.6.1, Licensee agrees to be\nbound by the terms and conditions of this License Agreement.\n\n ACCEPT\n\n\nCWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2\n--------------------------------------------------\n\nCopyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,\nThe Netherlands. All rights reserved." - }, - { - "license_expression": "python-cwi", - "rule_identifier": "python-cwi.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 145, - "rule_relevance": 100, - "matched_text": "Permission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose and without fee is hereby granted,\nprovided that the above copyright notice appear in all copies and that\nboth that copyright notice and this permission notice appear in\nsupporting documentation, and that the name of Stichting Mathematisch\nCentrum or CWI not be used in advertising or publicity pertaining to\ndistribution of the software without specific, written prior\npermission.\n\nSTICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO\nTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE\nFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\nOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "This copy of Python includes a copy of bzip2, which is licensed under the following terms:" - }, - { - "license_expression": "bzip2-libbzip-2010", - "rule_identifier": "bzip2-libbzip-2010.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 233, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n2. The origin of this software must not be misrepresented; you must \n not claim that you wrote the original software. If you use this \n software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n3. Altered source versions must be plainly marked as such, and must\n not be misrepresented as being the original software.\n\n4. The name of the author may not be used to endorse or promote \n products derived from this software without specific prior written \n permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS\nOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\nWHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "This copy of Python includes a copy of db, which is licensed under the following terms:" - }, - { - "license_expression": "sleepycat", - "rule_identifier": "sleepycat_5.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 174, - "rule_relevance": 100, - "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. Redistributions in any form must be accompanied by information on\n * how to obtain complete source code for the DB software and any\n * accompanying software that uses the DB software. The source code\n * must either be included in the distribution or be available for no\n * more than the cost of distribution plus a nominal fee, and must be\n * freely redistributable under reasonable conditions. For an\n * executable file, complete source code means the source code for all\n * modules it contains. It does not include source code for modules or\n * files that typically accompany the major components of the operating\n * system on which the executable file runs." - }, - { - "license_expression": "bsd-simplified", - "rule_identifier": "bsd-simplified_242.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 175, - "rule_relevance": 100, - "matched_text": " * 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\n * THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_19.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 213, - "rule_relevance": 100, - "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." - }, - { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_943.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 213, - "rule_relevance": 100, - "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 HARVARD AND ITS 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 HARVARD OR ITS 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." - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "This copy of Python includes a copy of openssl, which is licensed under the following terms:" - }, - { - "license_expression": "openssl-ssleay", - "rule_identifier": "openssl-ssleay_43.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 56, - "rule_relevance": 100, - "matched_text": " 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." - }, - { - "license_expression": "openssl-ssleay", - "rule_identifier": "openssl-ssleay_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": " OpenSSL License" - }, - { - "license_expression": "openssl", - "rule_identifier": "openssl_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 332, - "rule_relevance": 100, - "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)." - }, - { - "license_expression": "ssleay-windows", - "rule_identifier": "ssleay-windows.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 453, - "rule_relevance": 100, - "matched_text": " * 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.]" - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "This copy of Python includes a copy of tcl, which is licensed under the following terms:" - }, - { - "license_expression": "tcl", - "rule_identifier": "tcl.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 345, - "rule_relevance": 100, - "matched_text": "This software is copyrighted by the Regents of the University of\nCalifornia, Sun Microsystems, Inc., Scriptics Corporation, ActiveState\nCorporation and other parties. The following terms apply to all files\nassociated with the software unless explicitly disclaimed in\nindividual files.\n\nThe authors hereby grant permission to use, copy, modify, distribute,\nand license this software and its documentation for any purpose, provided\nthat existing copyright notices are retained in all copies and that this\nnotice is included verbatim in any distributions. No written agreement,\nlicense, or royalty fee is required for any of the authorized uses.\nModifications to this software may be copyrighted by their authors\nand need not follow the licensing terms described here, provided that\nthe new terms are clearly indicated on the first page of each file where\nthey apply.\n\nIN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY\nFOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES\nARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY\nDERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,\nINCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE\nIS PROVIDED ON AN \"AS IS\" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE\nNO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR\nMODIFICATIONS.\n\nGOVERNMENT USE: If you are acquiring this software on behalf of the\nU.S. government, the Government shall have only \"Restricted Rights\"\nin the software and related documentation as defined in the Federal \nAcquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you\nare acquiring the software on behalf of the Department of Defense, the\nsoftware shall be classified as \"Commercial Computer Software\" and the\nGovernment shall have only \"Restricted Rights\" as defined in Clause\n252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the\nauthors grant the U.S. Government and others acting in its behalf\npermission to use and distribute the software in accordance with the\nterms specified in this license." - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "This copy of Python includes a copy of tk, which is licensed under the following terms:" - }, - { - "license_expression": "tcl", - "rule_identifier": "tcl_14.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 341, - "rule_relevance": 100, - "matched_text": "This software is copyrighted by the Regents of the University of\nCalifornia, Sun Microsystems, Inc., and other parties. The following\nterms apply to all files associated with the software unless explicitly\ndisclaimed in individual files.\n\nThe authors hereby grant permission to use, copy, modify, distribute,\nand license this software and its documentation for any purpose, provided\nthat existing copyright notices are retained in all copies and that this\nnotice is included verbatim in any distributions. No written agreement,\nlicense, or royalty fee is required for any of the authorized uses.\nModifications to this software may be copyrighted by their authors\nand need not follow the licensing terms described here, provided that\nthe new terms are clearly indicated on the first page of each file where\nthey apply.\n\nIN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY\nFOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES\nARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY\nDERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,\nINCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE\nIS PROVIDED ON AN \"AS IS\" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE\nNO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR\nMODIFICATIONS.\n\nGOVERNMENT USE: If you are acquiring this software on behalf of the\nU.S. government, the Government shall have only \"Restricted Rights\"\nin the software and related documentation as defined in the Federal \nAcquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you\nare acquiring the software on behalf of the Department of Defense, the\nsoftware shall be classified as \"Commercial Computer Software\" and the\nGovernment shall have only \"Restricted Rights\" as defined in Clause\n252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the\nauthors grant the U.S. Government and others acting in its behalf\npermission to use and distribute the software in accordance with the\nterms specified in this license." + ] } ], "files": [ @@ -1709,7 +1126,33 @@ "matcher": "2-aho", "license_expression": "python", "rule_identifier": "python_not_not-a-license_269.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_not_not-a-license_269.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_not_not-a-license_269.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 35, + "rule_relevance": 100, + "matched_text": "All Python releases are Open Source (see http://www.opensource.org for\nthe Open Source Definition). Historically, most, but not all, Python\nreleases have also been GPL-compatible; the table below summarizes\nthe various releases.", + "licenses": [ + { + "key": "python", + "name": "Python Software Foundation License v2", + "short_name": "Python License 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Python Software Foundation (PSF)", + "homepage_url": "http://docs.python.org/license.html", + "text_url": "http://spdx.org/licenses/Python-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/python", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python.LICENSE", + "spdx_license_key": "Python-2.0", + "spdx_url": "https://spdx.org/licenses/Python-2.0" + } + ] } ] }, @@ -1728,7 +1171,33 @@ "matcher": "2-aho", "license_expression": "other-copyleft", "rule_identifier": "other-copyleft_24.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 80, + "matched_text": "(1) GPL-compatible doesn't mean that we're distributing Python under", + "licenses": [ + { + "key": "other-copyleft", + "name": "Other Copyleft Licenses", + "short_name": "Other Copyleft Licenses", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "nexB", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/other-copyleft", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE", + "spdx_license_key": "LicenseRef-scancode-other-copyleft", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE" + } + ] }, { "score": 100.0, @@ -1739,7 +1208,33 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_200.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_200.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_200.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "(1) GPL-compatible doesn't mean that we're distributing Python under\n the GPL. All Python licenses, unlike the GPL, let you distribute", + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] }, { "score": 85.0, @@ -1750,7 +1245,33 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_351.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 85, + "matched_text": " the GPL. All Python licenses, unlike the GPL, let you distribute", + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] }, { "score": 85.0, @@ -1761,7 +1282,33 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_351.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 85, + "matched_text": " a modified version without making your changes open source. The\n GPL-compatible licenses make it possible to combine Python with", + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] }, { "score": 80.0, @@ -1772,7 +1319,33 @@ "matcher": "2-aho", "license_expression": "other-copyleft", "rule_identifier": "other-copyleft_24.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 80, + "matched_text": " GPL-compatible licenses make it possible to combine Python with", + "licenses": [ + { + "key": "other-copyleft", + "name": "Other Copyleft Licenses", + "short_name": "Other Copyleft Licenses", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "nexB", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/other-copyleft", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE", + "spdx_license_key": "LicenseRef-scancode-other-copyleft", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE" + } + ] }, { "score": 100.0, @@ -1783,7 +1356,33 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_194.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_194.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_194.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "matched_text": " other software that is released under the GPL; the others don't.", + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] }, { "score": 80.0, @@ -1794,7 +1393,33 @@ "matcher": "2-aho", "license_expression": "other-copyleft", "rule_identifier": "other-copyleft_24.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 80, + "matched_text": "(2) According to Richard Stallman, 1.6.1 is not GPL-compatible,", + "licenses": [ + { + "key": "other-copyleft", + "name": "Other Copyleft Licenses", + "short_name": "Other Copyleft Licenses", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "nexB", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/other-copyleft", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE", + "spdx_license_key": "LicenseRef-scancode-other-copyleft", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE" + } + ] }, { "score": 85.0, @@ -1805,7 +1430,33 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_351.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 85, + "matched_text": " is \"not incompatible\" with the GPL.", + "licenses": [ + { + "key": "gpl-1.0-plus", + "name": "GNU General Public License 1.0 or later", + "short_name": "GPL 1.0 or later", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", + "spdx_license_key": "GPL-1.0-or-later", + "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" + } + ] } ] }, @@ -1824,7 +1475,33 @@ "matcher": "3-seq", "license_expression": "python", "rule_identifier": "python_2019.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_2019.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_2019.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1530, + "rule_relevance": 100, + "matched_text": "B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON\n===============================================================\n\nPYTHON SOFTWARE FOUNDATION LICENSE VERSION 2\n--------------------------------------------\n\n1. This LICENSE AGREEMENT is between the Python Software Foundation\n(\"PSF\"), and the Individual or Organization (\"Licensee\") accessing and\notherwise using this software (\"Python\") in source or binary form and\nits associated documentation.\n\n2. Subject to the terms and conditions of this License Agreement, PSF\nhereby grants Licensee a nonexclusive, royalty-free, world-wide\nlicense to reproduce, analyze, test, perform and/or display publicly,\nprepare derivative works, distribute, and otherwise use Python\nalone or in any derivative version, provided, however, that PSF's\nLicense Agreement and PSF's notice of copyright, i.e., \"Copyright (c)\n2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Python Software Foundation; \nAll Rights Reserved\" are retained in Python alone or in any derivative \nversion prepared by Licensee.\n\n3. In the event Licensee prepares a derivative work that is based on\nor incorporates Python or any part thereof, and wants to make\nthe derivative work available to others as provided herein, then\nLicensee hereby agrees to include in any such work a brief summary of\nthe changes made to Python.\n\n4. PSF is making Python available to Licensee on an \"AS IS\"\nbasis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\nFOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS\nA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,\nOR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n6. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n7. Nothing in this License Agreement shall be deemed to create any\nrelationship of agency, partnership, or joint venture between PSF and\nLicensee. This License Agreement does not grant permission to use PSF\ntrademarks or trade name in a trademark sense to endorse or promote\nproducts or services of Licensee, or any third party.\n\n8. By copying, installing or otherwise using Python, Licensee\nagrees to be bound by the terms and conditions of this License\nAgreement.\n\n\nBEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0\n-------------------------------------------\n\nBEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1\n\n1. This LICENSE AGREEMENT is between BeOpen.com (\"BeOpen\"), having an\noffice at 160 Saratoga Avenue, Santa Clara, CA 95051, and the\nIndividual or Organization (\"Licensee\") accessing and otherwise using\nthis software in source or binary form and its associated\ndocumentation (\"the Software\").\n\n2. Subject to the terms and conditions of this BeOpen Python License\nAgreement, BeOpen hereby grants Licensee a non-exclusive,\nroyalty-free, world-wide license to reproduce, analyze, test, perform\nand/or display publicly, prepare derivative works, distribute, and\notherwise use the Software alone or in any derivative version,\nprovided, however, that the BeOpen Python License is retained in the\nSoftware, alone or in any derivative version prepared by Licensee.\n\n3. BeOpen is making the Software available to Licensee on an \"AS IS\"\nbasis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE\nSOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS\nAS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY\nDERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n5. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n6. This License Agreement shall be governed by and interpreted in all\nrespects by the law of the State of California, excluding conflict of\nlaw provisions. Nothing in this License Agreement shall be deemed to\ncreate any relationship of agency, partnership, or joint venture\nbetween BeOpen and Licensee. This License Agreement does not grant\npermission to use BeOpen trademarks or trade names in a trademark\nsense to endorse or promote products or services of Licensee, or any\nthird party. As an exception, the \"BeOpen Python\" logos available at\nhttp://www.pythonlabs.com/logos.html may be used according to the\npermissions granted on that web page.\n\n7. By copying, installing or otherwise using the software, Licensee\nagrees to be bound by the terms and conditions of this License\nAgreement.\n\n\nCNRI LICENSE AGREEMENT FOR PYTHON 1.6.1\n---------------------------------------\n\n1. This LICENSE AGREEMENT is between the Corporation for National\nResearch Initiatives, having an office at 1895 Preston White Drive,\nReston, VA 20191 (\"CNRI\"), and the Individual or Organization\n(\"Licensee\") accessing and otherwise using Python 1.6.1 software in\nsource or binary form and its associated documentation.\n\n2. Subject to the terms and conditions of this License Agreement, CNRI\nhereby grants Licensee a nonexclusive, royalty-free, world-wide\nlicense to reproduce, analyze, test, perform and/or display publicly,\nprepare derivative works, distribute, and otherwise use Python 1.6.1\nalone or in any derivative version, provided, however, that CNRI's\nLicense Agreement and CNRI's notice of copyright, i.e., \"Copyright (c)\n1995-2001 Corporation for National Research Initiatives; All Rights\nReserved\" are retained in Python 1.6.1 alone or in any derivative\nversion prepared by Licensee. Alternately, in lieu of CNRI's License\nAgreement, Licensee may substitute the following text (omitting the\nquotes): \"Python 1.6.1 is made available subject to the terms and\nconditions in CNRI's License Agreement. This Agreement together with\nPython 1.6.1 may be located on the Internet using the following\nunique, persistent identifier (known as a handle): 1895.22/1013. This\nAgreement may also be obtained from a proxy server on the Internet\nusing the following URL: http://hdl.handle.net/1895.22/1013\".\n\n3. In the event Licensee prepares a derivative work that is based on\nor incorporates Python 1.6.1 or any part thereof, and wants to make\nthe derivative work available to others as provided herein, then\nLicensee hereby agrees to include in any such work a brief summary of\nthe changes made to Python 1.6.1.\n\n4. CNRI is making Python 1.6.1 available to Licensee on an \"AS IS\"\nbasis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\n1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS\nA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,\nOR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n6. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n7. This License Agreement shall be governed by the federal\nintellectual property law of the United States, including without\nlimitation the federal copyright law, and, to the extent such\nU.S. federal law does not apply, by the law of the Commonwealth of\nVirginia, excluding Virginia's conflict of law provisions.\nNotwithstanding the foregoing, with regard to derivative works based\non Python 1.6.1 that incorporate non-separable material that was\npreviously distributed under the GNU General Public License (GPL), the\nlaw of the Commonwealth of Virginia shall govern this License\nAgreement only as to issues arising under or with respect to\nParagraphs 4, 5, and 7 of this License Agreement. Nothing in this\nLicense Agreement shall be deemed to create any relationship of\nagency, partnership, or joint venture between CNRI and Licensee. This\nLicense Agreement does not grant permission to use CNRI trademarks or\ntrade name in a trademark sense to endorse or promote products or\nservices of Licensee, or any third party.\n\n8. By clicking on the \"ACCEPT\" button where indicated, or by copying,\ninstalling or otherwise using Python 1.6.1, Licensee agrees to be\nbound by the terms and conditions of this License Agreement.\n\n ACCEPT\n\n\nCWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2\n--------------------------------------------------\n\nCopyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,\nThe Netherlands. All rights reserved.", + "licenses": [ + { + "key": "python", + "name": "Python Software Foundation License v2", + "short_name": "Python License 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Python Software Foundation (PSF)", + "homepage_url": "http://docs.python.org/license.html", + "text_url": "http://spdx.org/licenses/Python-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/python", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python.LICENSE", + "spdx_license_key": "Python-2.0", + "spdx_url": "https://spdx.org/licenses/Python-2.0" + } + ] }, { "score": 100.0, @@ -1835,7 +1512,33 @@ "matcher": "2-aho", "license_expression": "python-cwi", "rule_identifier": "python-cwi.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python-cwi.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python-cwi.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 145, + "rule_relevance": 100, + "matched_text": "Permission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose and without fee is hereby granted,\nprovided that the above copyright notice appear in all copies and that\nboth that copyright notice and this permission notice appear in\nsupporting documentation, and that the name of Stichting Mathematisch\nCentrum or CWI not be used in advertising or publicity pertaining to\ndistribution of the software without specific, written prior\npermission.\n\nSTICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO\nTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE\nFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\nOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.", + "licenses": [ + { + "key": "python-cwi", + "name": "Python CWI License Agreement", + "short_name": "Python CWI License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Python Software Foundation (PSF)", + "homepage_url": "http://docs.python.org/license.html", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/python-cwi", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python-cwi.LICENSE", + "spdx_license_key": "LicenseRef-scancode-python-cwi", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python-cwi.LICENSE" + } + ] } ] }, @@ -1854,7 +1557,33 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_50.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "This copy of Python includes a copy of bzip2, which is licensed under the following terms:", + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] }, { "score": 100.0, @@ -1865,7 +1594,33 @@ "matcher": "2-aho", "license_expression": "bzip2-libbzip-2010", "rule_identifier": "bzip2-libbzip-2010.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 233, + "rule_relevance": 100, + "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n2. The origin of this software must not be misrepresented; you must \n not claim that you wrote the original software. If you use this \n software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n3. Altered source versions must be plainly marked as such, and must\n not be misrepresented as being the original software.\n\n4. The name of the author may not be used to endorse or promote \n products derived from this software without specific prior written \n permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS\nOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\nWHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", + "licenses": [ + { + "key": "bzip2-libbzip-2010", + "name": "bzip2 License 2010", + "short_name": "bzip2 License 2010", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "bzip", + "homepage_url": "https://github.com/asimonov-im/bzip2/blob/master/LICENSE", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/bzip2-libbzip-2010", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE", + "spdx_license_key": "bzip2-1.0.6", + "spdx_url": "https://spdx.org/licenses/bzip2-1.0.6" + } + ] } ] }, @@ -1884,7 +1639,33 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_50.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "This copy of Python includes a copy of db, which is licensed under the following terms:", + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] }, { "score": 100.0, @@ -1895,7 +1676,33 @@ "matcher": "2-aho", "license_expression": "sleepycat", "rule_identifier": "sleepycat_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/sleepycat_5.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/sleepycat_5.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 174, + "rule_relevance": 100, + "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. Redistributions in any form must be accompanied by information on\n * how to obtain complete source code for the DB software and any\n * accompanying software that uses the DB software. The source code\n * must either be included in the distribution or be available for no\n * more than the cost of distribution plus a nominal fee, and must be\n * freely redistributable under reasonable conditions. For an\n * executable file, complete source code means the source code for all\n * modules it contains. It does not include source code for modules or\n * files that typically accompany the major components of the operating\n * system on which the executable file runs.", + "licenses": [ + { + "key": "sleepycat", + "name": "Sleepycat License (Berkeley Database License)", + "short_name": "Sleepycat License", + "category": "Copyleft", + "is_exception": false, + "is_unknown": false, + "owner": "Oracle Corporation", + "homepage_url": "http://opensource.org/licenses/sleepycat.html", + "text_url": "http://www.oracle.com/technology/software/products/berkeley-db/htdocs/oslicense.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/sleepycat", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/sleepycat.LICENSE", + "spdx_license_key": "Sleepycat", + "spdx_url": "https://spdx.org/licenses/Sleepycat" + } + ] } ] }, @@ -1915,7 +1722,33 @@ "matcher": "3-seq", "license_expression": "bsd-simplified", "rule_identifier": "bsd-simplified_242.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_242.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_242.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 175, + "rule_relevance": 100, + "matched_text": " * 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\n * THE POSSIBILITY OF SUCH DAMAGE.", + "licenses": [ + { + "key": "bsd-simplified", + "name": "BSD-2-Clause", + "short_name": "BSD-2-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", + "text_url": "http://opensource.org/licenses/bsd-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", + "spdx_license_key": "BSD-2-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" + } + ] } ] }, @@ -1934,7 +1767,33 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_19.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_19.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_19.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 213, + "rule_relevance": 100, + "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.", + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] } ] }, @@ -1953,7 +1812,33 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_943.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_943.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_943.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 213, + "rule_relevance": 100, + "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 HARVARD AND ITS 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 HARVARD OR ITS 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.", + "licenses": [ + { + "key": "bsd-new", + "name": "BSD-3-Clause", + "short_name": "BSD-3-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", + "spdx_license_key": "BSD-3-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" + } + ] } ] }, @@ -1972,7 +1857,33 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_50.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "This copy of Python includes a copy of openssl, which is licensed under the following terms:", + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] }, { "score": 100.0, @@ -1983,7 +1894,33 @@ "matcher": "2-aho", "license_expression": "openssl-ssleay", "rule_identifier": "openssl-ssleay_43.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_43.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_43.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 56, + "rule_relevance": 100, + "matched_text": " 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.", + "licenses": [ + { + "key": "openssl-ssleay", + "name": "OpenSSL/SSLeay License", + "short_name": "OpenSSL/SSLeay License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "OpenSSL", + "homepage_url": "http://www.openssl.org/source/license.html", + "text_url": "http://www.openssl.org/source/license.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/openssl-ssleay", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl-ssleay.LICENSE", + "spdx_license_key": "OpenSSL", + "spdx_url": "https://spdx.org/licenses/OpenSSL" + } + ] }, { "score": 100.0, @@ -1994,7 +1931,33 @@ "matcher": "2-aho", "license_expression": "openssl-ssleay", "rule_identifier": "openssl-ssleay_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": " OpenSSL License", + "licenses": [ + { + "key": "openssl-ssleay", + "name": "OpenSSL/SSLeay License", + "short_name": "OpenSSL/SSLeay License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "OpenSSL", + "homepage_url": "http://www.openssl.org/source/license.html", + "text_url": "http://www.openssl.org/source/license.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/openssl-ssleay", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl-ssleay.LICENSE", + "spdx_license_key": "OpenSSL", + "spdx_url": "https://spdx.org/licenses/OpenSSL" + } + ] } ] }, @@ -2013,7 +1976,33 @@ "matcher": "2-aho", "license_expression": "openssl", "rule_identifier": "openssl_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 332, + "rule_relevance": 100, + "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).", + "licenses": [ + { + "key": "openssl", + "name": "OpenSSL License", + "short_name": "OpenSSL License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "OpenSSL", + "homepage_url": "http://openssl.org/source/license.html", + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/openssl", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl.LICENSE", + "spdx_license_key": "LicenseRef-scancode-openssl", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl.LICENSE" + } + ] } ] }, @@ -2032,7 +2021,33 @@ "matcher": "2-aho", "license_expression": "ssleay-windows", "rule_identifier": "ssleay-windows.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ssleay-windows.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ssleay-windows.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 453, + "rule_relevance": 100, + "matched_text": " * 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.]", + "licenses": [ + { + "key": "ssleay-windows", + "name": "Original SSLeay License with Windows Clause", + "short_name": "Original SSLeay License with Windows Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "OpenSSL", + "homepage_url": "https://www.openssl.org/source/license.html", + "text_url": "http://www.openssl.org/source/license.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/ssleay-windows", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ssleay-windows.LICENSE", + "spdx_license_key": "LicenseRef-scancode-ssleay-windows", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ssleay-windows.LICENSE" + } + ] } ] }, @@ -2051,7 +2066,33 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_50.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "This copy of Python includes a copy of tcl, which is licensed under the following terms:", + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] }, { "score": 100.0, @@ -2062,7 +2103,33 @@ "matcher": "2-aho", "license_expression": "tcl", "rule_identifier": "tcl.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/tcl.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/tcl.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 345, + "rule_relevance": 100, + "matched_text": "This software is copyrighted by the Regents of the University of\nCalifornia, Sun Microsystems, Inc., Scriptics Corporation, ActiveState\nCorporation and other parties. The following terms apply to all files\nassociated with the software unless explicitly disclaimed in\nindividual files.\n\nThe authors hereby grant permission to use, copy, modify, distribute,\nand license this software and its documentation for any purpose, provided\nthat existing copyright notices are retained in all copies and that this\nnotice is included verbatim in any distributions. No written agreement,\nlicense, or royalty fee is required for any of the authorized uses.\nModifications to this software may be copyrighted by their authors\nand need not follow the licensing terms described here, provided that\nthe new terms are clearly indicated on the first page of each file where\nthey apply.\n\nIN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY\nFOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES\nARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY\nDERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,\nINCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE\nIS PROVIDED ON AN \"AS IS\" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE\nNO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR\nMODIFICATIONS.\n\nGOVERNMENT USE: If you are acquiring this software on behalf of the\nU.S. government, the Government shall have only \"Restricted Rights\"\nin the software and related documentation as defined in the Federal \nAcquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you\nare acquiring the software on behalf of the Department of Defense, the\nsoftware shall be classified as \"Commercial Computer Software\" and the\nGovernment shall have only \"Restricted Rights\" as defined in Clause\n252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the\nauthors grant the U.S. Government and others acting in its behalf\npermission to use and distribute the software in accordance with the\nterms specified in this license.", + "licenses": [ + { + "key": "tcl", + "name": "TCL/TK License", + "short_name": "TCL/TK License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Tcl Developer Xchange", + "homepage_url": "http://www.tcl.tk/software/tcltk/license.html", + "text_url": "http://www.tcl.tk/software/tcltk/license.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/tcl", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/tcl.LICENSE", + "spdx_license_key": "TCL", + "spdx_url": "https://spdx.org/licenses/TCL" + } + ] } ] }, @@ -2081,7 +2148,33 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_50.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "This copy of Python includes a copy of tk, which is licensed under the following terms:", + "licenses": [ + { + "key": "unknown-license-reference", + "name": "Unknown License file reference", + "short_name": "Unknown License reference", + "category": "Unstated License", + "is_exception": false, + "is_unknown": true, + "owner": "Unspecified", + "homepage_url": null, + "text_url": "", + "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" + } + ] }, { "score": 100.0, @@ -2092,7 +2185,33 @@ "matcher": "2-aho", "license_expression": "tcl", "rule_identifier": "tcl_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/tcl_14.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/tcl_14.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 341, + "rule_relevance": 100, + "matched_text": "This software is copyrighted by the Regents of the University of\nCalifornia, Sun Microsystems, Inc., and other parties. The following\nterms apply to all files associated with the software unless explicitly\ndisclaimed in individual files.\n\nThe authors hereby grant permission to use, copy, modify, distribute,\nand license this software and its documentation for any purpose, provided\nthat existing copyright notices are retained in all copies and that this\nnotice is included verbatim in any distributions. No written agreement,\nlicense, or royalty fee is required for any of the authorized uses.\nModifications to this software may be copyrighted by their authors\nand need not follow the licensing terms described here, provided that\nthe new terms are clearly indicated on the first page of each file where\nthey apply.\n\nIN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY\nFOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES\nARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY\nDERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,\nINCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE\nIS PROVIDED ON AN \"AS IS\" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE\nNO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR\nMODIFICATIONS.\n\nGOVERNMENT USE: If you are acquiring this software on behalf of the\nU.S. government, the Government shall have only \"Restricted Rights\"\nin the software and related documentation as defined in the Federal \nAcquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you\nare acquiring the software on behalf of the Department of Defense, the\nsoftware shall be classified as \"Commercial Computer Software\" and the\nGovernment shall have only \"Restricted Rights\" as defined in Clause\n252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the\nauthors grant the U.S. Government and others acting in its behalf\npermission to use and distribute the software in accordance with the\nterms specified in this license.", + "licenses": [ + { + "key": "tcl", + "name": "TCL/TK License", + "short_name": "TCL/TK License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Tcl Developer Xchange", + "homepage_url": "http://www.tcl.tk/software/tcltk/license.html", + "text_url": "http://www.tcl.tk/software/tcltk/license.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/tcl", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/tcl.LICENSE", + "spdx_license_key": "TCL", + "spdx_url": "https://spdx.org/licenses/TCL" + } + ] } ] } diff --git a/tests/licensedcode/data/plugin_licenses_reference/scan-matched-text-with-reference.expected.json b/tests/licensedcode/data/plugin_licenses_reference/scan-matched-text-with-reference.expected.json index 8049986915c..02333df50f8 100644 --- a/tests/licensedcode/data/plugin_licenses_reference/scan-matched-text-with-reference.expected.json +++ b/tests/licensedcode/data/plugin_licenses_reference/scan-matched-text-with-reference.expected.json @@ -263,7 +263,48 @@ "matcher": "1-spdx-id", "license_expression": "artistic-2.0 OR mit", "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "Artistic-2.0 OR MIT", + "licenses": [ + { + "key": "artistic-2.0", + "name": "Artistic License 2.0", + "short_name": "Artistic 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "text_url": "https://www.perlfoundation.org/artistic_license_2_0", + "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", + "spdx_license_key": "Artistic-2.0", + "spdx_url": "https://spdx.org/licenses/Artistic-2.0" + }, + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] } ] } @@ -288,176 +329,6 @@ "purl": "pkg:npm/npm@2.13.5" } ], - "license_references": [ - { - "key": "apache-2.0", - "short_name": "Apache 2.0", - "name": "Apache License 2.0", - "category": "Permissive", - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", - "is_builtin": true, - "spdx_license_key": "Apache-2.0", - "other_spdx_license_keys": [ - "LicenseRef-Apache", - "LicenseRef-Apache-2.0" - ], - "osi_license_key": "Apache-2.0", - "text_urls": [ - "http://www.apache.org/licenses/LICENSE-2.0" - ], - "osi_url": "http://opensource.org/licenses/apache2.0.php", - "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", - "other_urls": [ - "http://www.opensource.org/licenses/Apache-2.0", - "https://opensource.org/licenses/Apache-2.0", - "https://www.apache.org/licenses/LICENSE-2.0" - ], - "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." - }, - { - "key": "artistic-2.0", - "short_name": "Artistic 2.0", - "name": "Artistic License 2.0", - "category": "Copyleft Limited", - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", - "is_builtin": true, - "spdx_license_key": "Artistic-2.0", - "osi_license_key": "Artistic-2.0", - "text_urls": [ - "https://www.perlfoundation.org/artistic_license_2_0", - "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" - ], - "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", - "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", - "other_urls": [ - "http://www.perlfoundation.org/artistic_license_2_0", - "https://opensource.org/licenses/artistic-license-2.0", - "https://www.opensource.org/licenses/artistic-license-2.0", - "https://www.perlfoundation.org/artistic-license-20.html" - ], - "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "bsd-simplified", - "short_name": "BSD-2-Clause", - "name": "BSD-2-Clause", - "category": "Permissive", - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "BSD-2-Clause", - "other_spdx_license_keys": [ - "BSD-2-Clause-NetBSD", - "BSD-2" - ], - "text_urls": [ - "http://opensource.org/licenses/bsd-license.php" - ], - "osi_url": "http://opensource.org/licenses/bsd-license.php", - "other_urls": [ - "http://spdx.org/licenses/BSD-2-Clause", - "http://www.freebsd.org/copyright/copyright.html", - "https://opensource.org/licenses/BSD-2-Clause" - ], - "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." - }, - { - "key": "mit", - "short_name": "MIT License", - "name": "MIT License", - "category": "Permissive", - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "MIT", - "text_urls": [ - "http://opensource.org/licenses/mit-license.php" - ], - "osi_url": "http://www.opensource.org/licenses/MIT", - "faq_url": "https://ieeexplore.ieee.org/document/9263265", - "other_urls": [ - "https://opensource.com/article/18/3/patent-grant-mit-license", - "https://opensource.com/article/19/4/history-mit-license", - "https://opensource.org/licenses/MIT" - ], - "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." - } - ], - "rule_references": [ - { - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Artistic-2.0 OR MIT" - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100, - "matched_text": " * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License." - }, - { - "license_expression": "mit OR bsd-simplified", - "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: MIT or BSD-2-Clause" - }, - { - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Artistic-2.0 OR MIT" - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": " \"license\": \"Artistic-2.0 OR MIT\"," - } - ], "files": [ { "path": "scan", @@ -493,7 +364,35 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100, + "matched_text": " * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.", + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] }, { "score": 100.0, @@ -504,7 +403,48 @@ "matcher": "1-spdx-id", "license_expression": "mit OR bsd-simplified", "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", - "rule_url": null + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "matched_text": "SPDX-License-Identifier: MIT or BSD-2-Clause", + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + }, + { + "key": "bsd-simplified", + "name": "BSD-2-Clause", + "short_name": "BSD-2-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", + "text_url": "http://opensource.org/licenses/bsd-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", + "spdx_license_key": "BSD-2-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" + } + ] } ] } @@ -541,7 +481,33 @@ "matcher": "2-aho", "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "matched_text": " \"license\": \"Artistic-2.0 OR MIT\",", + "licenses": [ + { + "key": "artistic-2.0", + "name": "Artistic License 2.0", + "short_name": "Artistic 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "text_url": "https://www.perlfoundation.org/artistic_license_2_0", + "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", + "spdx_license_key": "Artistic-2.0", + "spdx_url": "https://spdx.org/licenses/Artistic-2.0" + } + ] } ] } @@ -607,7 +573,48 @@ "matcher": "1-spdx-id", "license_expression": "artistic-2.0 OR mit", "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "Artistic-2.0 OR MIT", + "licenses": [ + { + "key": "artistic-2.0", + "name": "Artistic License 2.0", + "short_name": "Artistic 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "text_url": "https://www.perlfoundation.org/artistic_license_2_0", + "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", + "spdx_license_key": "Artistic-2.0", + "spdx_url": "https://spdx.org/licenses/Artistic-2.0" + }, + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] } ] } diff --git a/tests/licensedcode/data/plugin_licenses_reference/scan-with-reference.expected.json b/tests/licensedcode/data/plugin_licenses_reference/scan-with-reference.expected.json index 2dfd0bcf45a..b801d906434 100644 --- a/tests/licensedcode/data/plugin_licenses_reference/scan-with-reference.expected.json +++ b/tests/licensedcode/data/plugin_licenses_reference/scan-with-reference.expected.json @@ -263,7 +263,48 @@ "matcher": "1-spdx-id", "license_expression": "artistic-2.0 OR mit", "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "Artistic-2.0 OR MIT", + "licenses": [ + { + "key": "artistic-2.0", + "name": "Artistic License 2.0", + "short_name": "Artistic 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "text_url": "https://www.perlfoundation.org/artistic_license_2_0", + "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", + "spdx_license_key": "Artistic-2.0", + "spdx_url": "https://spdx.org/licenses/Artistic-2.0" + }, + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] } ] } @@ -288,173 +329,6 @@ "purl": "pkg:npm/npm@2.13.5" } ], - "license_references": [ - { - "key": "apache-2.0", - "short_name": "Apache 2.0", - "name": "Apache License 2.0", - "category": "Permissive", - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", - "is_builtin": true, - "spdx_license_key": "Apache-2.0", - "other_spdx_license_keys": [ - "LicenseRef-Apache", - "LicenseRef-Apache-2.0" - ], - "osi_license_key": "Apache-2.0", - "text_urls": [ - "http://www.apache.org/licenses/LICENSE-2.0" - ], - "osi_url": "http://opensource.org/licenses/apache2.0.php", - "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", - "other_urls": [ - "http://www.opensource.org/licenses/Apache-2.0", - "https://opensource.org/licenses/Apache-2.0", - "https://www.apache.org/licenses/LICENSE-2.0" - ], - "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." - }, - { - "key": "artistic-2.0", - "short_name": "Artistic 2.0", - "name": "Artistic License 2.0", - "category": "Copyleft Limited", - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", - "is_builtin": true, - "spdx_license_key": "Artistic-2.0", - "osi_license_key": "Artistic-2.0", - "text_urls": [ - "https://www.perlfoundation.org/artistic_license_2_0", - "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" - ], - "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", - "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", - "other_urls": [ - "http://www.perlfoundation.org/artistic_license_2_0", - "https://opensource.org/licenses/artistic-license-2.0", - "https://www.opensource.org/licenses/artistic-license-2.0", - "https://www.perlfoundation.org/artistic-license-20.html" - ], - "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "bsd-simplified", - "short_name": "BSD-2-Clause", - "name": "BSD-2-Clause", - "category": "Permissive", - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "BSD-2-Clause", - "other_spdx_license_keys": [ - "BSD-2-Clause-NetBSD", - "BSD-2" - ], - "text_urls": [ - "http://opensource.org/licenses/bsd-license.php" - ], - "osi_url": "http://opensource.org/licenses/bsd-license.php", - "other_urls": [ - "http://spdx.org/licenses/BSD-2-Clause", - "http://www.freebsd.org/copyright/copyright.html", - "https://opensource.org/licenses/BSD-2-Clause" - ], - "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." - }, - { - "key": "mit", - "short_name": "MIT License", - "name": "MIT License", - "category": "Permissive", - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "MIT", - "text_urls": [ - "http://opensource.org/licenses/mit-license.php" - ], - "osi_url": "http://www.opensource.org/licenses/MIT", - "faq_url": "https://ieeexplore.ieee.org/document/9263265", - "other_urls": [ - "https://opensource.com/article/18/3/patent-grant-mit-license", - "https://opensource.com/article/19/4/history-mit-license", - "https://opensource.org/licenses/MIT" - ], - "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." - } - ], - "rule_references": [ - { - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Artistic-2.0 OR MIT" - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100 - }, - { - "license_expression": "mit OR bsd-simplified", - "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100 - }, - { - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Artistic-2.0 OR MIT" - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - } - ], "files": [ { "path": "scan", @@ -490,7 +364,34 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100, + "licenses": [ + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "short_name": "Apache 2.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "text_url": "http://www.apache.org/licenses/LICENSE-2.0", + "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", + "spdx_license_key": "Apache-2.0", + "spdx_url": "https://spdx.org/licenses/Apache-2.0" + } + ] }, { "score": 100.0, @@ -501,7 +402,47 @@ "matcher": "1-spdx-id", "license_expression": "mit OR bsd-simplified", "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", - "rule_url": null + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100, + "licenses": [ + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + }, + { + "key": "bsd-simplified", + "name": "BSD-2-Clause", + "short_name": "BSD-2-Clause", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", + "text_url": "http://opensource.org/licenses/bsd-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", + "spdx_license_key": "BSD-2-Clause", + "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" + } + ] } ] } @@ -538,7 +479,32 @@ "matcher": "2-aho", "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "licenses": [ + { + "key": "artistic-2.0", + "name": "Artistic License 2.0", + "short_name": "Artistic 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "text_url": "https://www.perlfoundation.org/artistic_license_2_0", + "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", + "spdx_license_key": "Artistic-2.0", + "spdx_url": "https://spdx.org/licenses/Artistic-2.0" + } + ] } ] } @@ -604,7 +570,48 @@ "matcher": "1-spdx-id", "license_expression": "artistic-2.0 OR mit", "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null + "rule_url": null, + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "Artistic-2.0 OR MIT", + "licenses": [ + { + "key": "artistic-2.0", + "name": "Artistic License 2.0", + "short_name": "Artistic 2.0", + "category": "Copyleft Limited", + "is_exception": false, + "is_unknown": false, + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "text_url": "https://www.perlfoundation.org/artistic_license_2_0", + "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", + "spdx_license_key": "Artistic-2.0", + "spdx_url": "https://spdx.org/licenses/Artistic-2.0" + }, + { + "key": "mit", + "name": "MIT License", + "short_name": "MIT License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "text_url": "http://opensource.org/licenses/mit-license.php", + "reference_url": "https://scancode-licensedb.aboutcode.org/mit", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "spdx_license_key": "MIT", + "spdx_url": "https://spdx.org/licenses/MIT" + } + ] } ] } diff --git a/tests/licensedcode/data/plugin_licenses_reference/scan-without-reference.expected.json b/tests/licensedcode/data/plugin_licenses_reference/scan-without-reference.expected.json index b801d906434..d4cebc0dda5 100644 --- a/tests/licensedcode/data/plugin_licenses_reference/scan-without-reference.expected.json +++ b/tests/licensedcode/data/plugin_licenses_reference/scan-without-reference.expected.json @@ -17,34 +17,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" }, { "score": 100.0, @@ -55,47 +28,7 @@ "matcher": "1-spdx-id", "license_expression": "mit OR bsd-simplified", "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - }, - { - "key": "bsd-simplified", - "name": "BSD-2-Clause", - "short_name": "BSD-2-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "text_url": "http://opensource.org/licenses/bsd-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", - "spdx_license_key": "BSD-2-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" - } - ] + "rule_url": null } ] }, @@ -116,32 +49,7 @@ "matcher": "2-aho", "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" } ] }, @@ -162,47 +70,7 @@ "matcher": "1-spdx-id", "license_expression": "artistic-2.0 OR mit", "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": null } ] } @@ -263,48 +131,7 @@ "matcher": "1-spdx-id", "license_expression": "artistic-2.0 OR mit", "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Artistic-2.0 OR MIT", - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": null } ] } @@ -329,6 +156,173 @@ "purl": "pkg:npm/npm@2.13.5" } ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "artistic-2.0", + "short_name": "Artistic 2.0", + "name": "Artistic License 2.0", + "category": "Copyleft Limited", + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "Artistic-2.0", + "osi_license_key": "Artistic-2.0", + "text_urls": [ + "https://www.perlfoundation.org/artistic_license_2_0", + "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" + ], + "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", + "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", + "other_urls": [ + "http://www.perlfoundation.org/artistic_license_2_0", + "https://opensource.org/licenses/artistic-license-2.0", + "https://www.opensource.org/licenses/artistic-license-2.0", + "https://www.perlfoundation.org/artistic-license-20.html" + ], + "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "bsd-simplified", + "short_name": "BSD-2-Clause", + "name": "BSD-2-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-2-Clause", + "other_spdx_license_keys": [ + "BSD-2-Clause-NetBSD", + "BSD-2" + ], + "text_urls": [ + "http://opensource.org/licenses/bsd-license.php" + ], + "osi_url": "http://opensource.org/licenses/bsd-license.php", + "other_urls": [ + "http://spdx.org/licenses/BSD-2-Clause", + "http://www.freebsd.org/copyright/copyright.html", + "https://opensource.org/licenses/BSD-2-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "artistic-2.0 OR mit", + "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "Artistic-2.0 OR MIT" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100 + }, + { + "license_expression": "mit OR bsd-simplified", + "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100 + }, + { + "license_expression": "artistic-2.0 OR mit", + "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "Artistic-2.0 OR MIT" + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + } + ], "files": [ { "path": "scan", @@ -364,34 +358,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" }, { "score": 100.0, @@ -402,47 +369,7 @@ "matcher": "1-spdx-id", "license_expression": "mit OR bsd-simplified", "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - }, - { - "key": "bsd-simplified", - "name": "BSD-2-Clause", - "short_name": "BSD-2-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "text_url": "http://opensource.org/licenses/bsd-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", - "spdx_license_key": "BSD-2-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" - } - ] + "rule_url": null } ] } @@ -479,32 +406,7 @@ "matcher": "2-aho", "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" } ] } @@ -570,48 +472,7 @@ "matcher": "1-spdx-id", "license_expression": "artistic-2.0 OR mit", "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Artistic-2.0 OR MIT", - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": null } ] } diff --git a/tests/licensedcode/test_plugin_licenses_reference.py b/tests/licensedcode/test_plugin_licenses_reference.py index 267de959b3d..672330a4dbe 100644 --- a/tests/licensedcode/test_plugin_licenses_reference.py +++ b/tests/licensedcode/test_plugin_licenses_reference.py @@ -20,7 +20,7 @@ test_env.test_data_dir = os.path.join(os.path.dirname(__file__), 'data') -def test_license_scans_without_reference(): +def test_license_scans_without_no_reference(): test_dir = test_env.get_test_loc('plugin_licenses_reference/scan', copy=True) result_file = test_env.get_temp_file('json') args = ['--license', '--package', test_dir, '--json-pp', result_file, '--verbose'] @@ -31,11 +31,11 @@ def test_license_scans_without_reference(): ) -def test_licenses_reference_works(): +def test_no_licenses_reference_works(): test_dir = test_env.get_test_loc('plugin_licenses_reference/scan', copy=True) result_file = test_env.get_temp_file('json') args = [ - '--license', '--package', '--licenses-reference', + '--license', '--package', '--no-licenses-reference', test_dir, '--json-pp', result_file, '--verbose' ] run_scan_click(args) @@ -44,11 +44,11 @@ def test_licenses_reference_works(): result_file, remove_file_date=True, remove_uuid=True, regen=REGEN_TEST_FIXTURES, ) -def test_licenses_reference_works_with_matched_text(): +def test_no_licenses_reference_works_with_matched_text(): test_dir = test_env.get_test_loc('plugin_licenses_reference/scan', copy=True) result_file = test_env.get_temp_file('json') args = [ - '--license', '--package', '--licenses-reference', '--license-text', + '--license', '--package', '--no-licenses-reference', '--license-text', test_dir, '--json-pp', result_file, '--verbose' ] run_scan_click(args) @@ -61,7 +61,7 @@ def test_licenses_reference_works_with_license_clues(): test_dir = test_env.get_test_loc('plugin_licenses_reference/python.LICENSE', copy=True) result_file = test_env.get_temp_file('json') args = [ - '--license', '--licenses-reference', '--license-text', + '--license', '--no-licenses-reference', '--license-text', test_dir, '--json-pp', result_file, '--verbose' ] run_scan_click(args) diff --git a/tests/packagedcode/data/about/aboutfiles.expected.json b/tests/packagedcode/data/about/aboutfiles.expected.json index d14d78c5104..3341d934406 100644 --- a/tests/packagedcode/data/about/aboutfiles.expected.json +++ b/tests/packagedcode/data/about/aboutfiles.expected.json @@ -212,6 +212,8 @@ "purl": "pkg:about/appdirs@1.4.3" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "aboutfiles", diff --git a/tests/packagedcode/data/alpine/alpine-container-layer.tar.xz-scan-expected.json b/tests/packagedcode/data/alpine/alpine-container-layer.tar.xz-scan-expected.json index 2efd5bbd4a9..01be439a7c4 100644 --- a/tests/packagedcode/data/alpine/alpine-container-layer.tar.xz-scan-expected.json +++ b/tests/packagedcode/data/alpine/alpine-container-layer.tar.xz-scan-expected.json @@ -1872,6 +1872,8 @@ "purl": "pkg:alpine/libc-utils@0.7.2-r3?arch=x86_64" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "alpine-container-layer.tar.xz", diff --git a/tests/packagedcode/data/alpine/rootfs/alpine-rootfs.tar.xz-expected.json b/tests/packagedcode/data/alpine/rootfs/alpine-rootfs.tar.xz-expected.json index 2069153b634..3c219f187d4 100644 --- a/tests/packagedcode/data/alpine/rootfs/alpine-rootfs.tar.xz-expected.json +++ b/tests/packagedcode/data/alpine/rootfs/alpine-rootfs.tar.xz-expected.json @@ -1929,6 +1929,8 @@ "purl": "pkg:alpine/libc-utils@0.7.2-r3?arch=x86_64" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "alpine-rootfs", diff --git a/tests/packagedcode/data/bower/scan-expected.json b/tests/packagedcode/data/bower/scan-expected.json index bf5ad647ffa..0bbed75e801 100644 --- a/tests/packagedcode/data/bower/scan-expected.json +++ b/tests/packagedcode/data/bower/scan-expected.json @@ -245,6 +245,8 @@ "purl": "pkg:bower/John%20Doe" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "scan", diff --git a/tests/packagedcode/data/build/bazel/end2end-expected.json b/tests/packagedcode/data/build/bazel/end2end-expected.json index e89ecb752be..aa946066a5d 100644 --- a/tests/packagedcode/data/build/bazel/end2end-expected.json +++ b/tests/packagedcode/data/build/bazel/end2end-expected.json @@ -92,6 +92,8 @@ "purl": "pkg:bazel/subdir2" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "end2end", diff --git a/tests/packagedcode/data/build/buck/end2end-expected.json b/tests/packagedcode/data/build/buck/end2end-expected.json index f8cf73d1b8c..c18b7add162 100644 --- a/tests/packagedcode/data/build/buck/end2end-expected.json +++ b/tests/packagedcode/data/build/buck/end2end-expected.json @@ -138,6 +138,8 @@ "purl": "pkg:buck/bin" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "end2end", diff --git a/tests/packagedcode/data/build_gradle/end2end/build.gradle-expected.json b/tests/packagedcode/data/build_gradle/end2end/build.gradle-expected.json index dc3b248e5ec..f337795d111 100644 --- a/tests/packagedcode/data/build_gradle/end2end/build.gradle-expected.json +++ b/tests/packagedcode/data/build_gradle/end2end/build.gradle-expected.json @@ -58,6 +58,8 @@ } ], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "build.gradle", diff --git a/tests/packagedcode/data/cargo/scan.expected.json b/tests/packagedcode/data/cargo/scan.expected.json index 4c7d966cf28..bc18b2cbbdf 100644 --- a/tests/packagedcode/data/cargo/scan.expected.json +++ b/tests/packagedcode/data/cargo/scan.expected.json @@ -517,6 +517,8 @@ "purl": "pkg:cargo/daachorse@0.4.1" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "scan", diff --git a/tests/packagedcode/data/chef/package.scan.expected.json b/tests/packagedcode/data/chef/package.scan.expected.json index 9f5b1738ae5..3f1b3fb7ffc 100644 --- a/tests/packagedcode/data/chef/package.scan.expected.json +++ b/tests/packagedcode/data/chef/package.scan.expected.json @@ -132,6 +132,8 @@ "purl": "pkg:chef/301@0.1.0" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "package", diff --git a/tests/packagedcode/data/cocoapods/assemble/many-podspecs-expected.json b/tests/packagedcode/data/cocoapods/assemble/many-podspecs-expected.json index 6c10408728b..dd9f33161d4 100644 --- a/tests/packagedcode/data/cocoapods/assemble/many-podspecs-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/many-podspecs-expected.json @@ -709,6 +709,8 @@ "purl": "pkg:cocoapods/AWSPredictionsPlugin@%24AMPLIFY_VERSION" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "many-podspecs", diff --git a/tests/packagedcode/data/cocoapods/assemble/multiple-podspec-expected.json b/tests/packagedcode/data/cocoapods/assemble/multiple-podspec-expected.json index 0ddaeb1890b..41bc2390513 100644 --- a/tests/packagedcode/data/cocoapods/assemble/multiple-podspec-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/multiple-podspec-expected.json @@ -243,6 +243,8 @@ "purl": "pkg:cocoapods/Differentiator@4.0.1" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "multiple-podspec", diff --git a/tests/packagedcode/data/cocoapods/assemble/single-podspec-expected.json b/tests/packagedcode/data/cocoapods/assemble/single-podspec-expected.json index 9fa928eaed5..4470d5ce09b 100644 --- a/tests/packagedcode/data/cocoapods/assemble/single-podspec-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/single-podspec-expected.json @@ -144,6 +144,8 @@ "purl": "pkg:cocoapods/RxDataSources@4.0.1" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "single-podspec", diff --git a/tests/packagedcode/data/cocoapods/assemble/solo/Podfile-expected.json b/tests/packagedcode/data/cocoapods/assemble/solo/Podfile-expected.json index 6f5964d416d..1901e67746b 100644 --- a/tests/packagedcode/data/cocoapods/assemble/solo/Podfile-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/solo/Podfile-expected.json @@ -1,6 +1,8 @@ { "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "Podfile", diff --git a/tests/packagedcode/data/cocoapods/assemble/solo/Podfile.lock-expected.json b/tests/packagedcode/data/cocoapods/assemble/solo/Podfile.lock-expected.json index 3eda1cba4fa..e18c046861b 100644 --- a/tests/packagedcode/data/cocoapods/assemble/solo/Podfile.lock-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/solo/Podfile.lock-expected.json @@ -44,6 +44,8 @@ } ], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "Podfile.lock", diff --git a/tests/packagedcode/data/cocoapods/assemble/solo/RxDataSources.podspec-expected.json b/tests/packagedcode/data/cocoapods/assemble/solo/RxDataSources.podspec-expected.json index 3a953bd7e19..ed72edb87d0 100644 --- a/tests/packagedcode/data/cocoapods/assemble/solo/RxDataSources.podspec-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/solo/RxDataSources.podspec-expected.json @@ -101,6 +101,8 @@ "purl": "pkg:cocoapods/RxDataSources@4.0.1" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "RxDataSources.podspec", diff --git a/tests/packagedcode/data/debian/basic-rootfs-expected.json b/tests/packagedcode/data/debian/basic-rootfs-expected.json index 039e07ed097..a1df1f61123 100644 --- a/tests/packagedcode/data/debian/basic-rootfs-expected.json +++ b/tests/packagedcode/data/debian/basic-rootfs-expected.json @@ -689,6 +689,8 @@ "purl": "pkg:deb/libndp0@1.4-2ubuntu0.16.04.1?architecture=amd64" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "basic-rootfs.tar.gz", diff --git a/tests/packagedcode/data/debian/debian-container-layer.tar.xz.scan-expected.json b/tests/packagedcode/data/debian/debian-container-layer.tar.xz.scan-expected.json index 36d56a86348..6a4155b7e66 100644 --- a/tests/packagedcode/data/debian/debian-container-layer.tar.xz.scan-expected.json +++ b/tests/packagedcode/data/debian/debian-container-layer.tar.xz.scan-expected.json @@ -689,6 +689,8 @@ "purl": "pkg:deb/libndp0@1.4-2ubuntu0.16.04.1?architecture=amd64" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "debian-container-layer.tar.xz", diff --git a/tests/packagedcode/data/debian/end-to-end.tgz.expected.json b/tests/packagedcode/data/debian/end-to-end.tgz.expected.json index 81f8227b7b3..211fec425ac 100644 --- a/tests/packagedcode/data/debian/end-to-end.tgz.expected.json +++ b/tests/packagedcode/data/debian/end-to-end.tgz.expected.json @@ -65,6 +65,8 @@ "purl": "pkg:deb/libncurses5@6.1-1ubuntu1?architecture=amd64" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "end-to-end.tgz", diff --git a/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json b/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json index 19f162729c3..cd2149d01b5 100644 --- a/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json +++ b/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json @@ -1270,6 +1270,8 @@ "purl": "pkg:deb/tar@1.30%2Bdfsg-7?architecture=amd64" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "ubuntu-var-lib-dpkg", diff --git a/tests/packagedcode/data/instance/python-package-instance-expected-with-test-manifests.json b/tests/packagedcode/data/instance/python-package-instance-expected-with-test-manifests.json index 675eedcf0e6..bd50bb27eaf 100644 --- a/tests/packagedcode/data/instance/python-package-instance-expected-with-test-manifests.json +++ b/tests/packagedcode/data/instance/python-package-instance-expected-with-test-manifests.json @@ -113,6 +113,8 @@ "purl": "pkg:pypi/setuptools@58.2.0" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "LICENSE", diff --git a/tests/packagedcode/data/instance/python-package-instance-expected-with-uuid.json b/tests/packagedcode/data/instance/python-package-instance-expected-with-uuid.json index a21328ba1f0..92c2378bce8 100644 --- a/tests/packagedcode/data/instance/python-package-instance-expected-with-uuid.json +++ b/tests/packagedcode/data/instance/python-package-instance-expected-with-uuid.json @@ -243,6 +243,8 @@ "purl": "pkg:pypi/click@attr:%20click.__version__" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "MANIFEST.in", diff --git a/tests/packagedcode/data/instance/python-package-instance-expected.json b/tests/packagedcode/data/instance/python-package-instance-expected.json index a21328ba1f0..92c2378bce8 100644 --- a/tests/packagedcode/data/instance/python-package-instance-expected.json +++ b/tests/packagedcode/data/instance/python-package-instance-expected.json @@ -243,6 +243,8 @@ "purl": "pkg:pypi/click@attr:%20click.__version__" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "MANIFEST.in", diff --git a/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json b/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json index de5e7b1d67d..5f9094b09bb 100644 --- a/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json +++ b/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json @@ -17,34 +17,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" } ] } @@ -247,35 +220,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100, - "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n contributor license agreements. See the NOTICE file distributed with\n this work for additional information regarding copyright ownership.\n The ASF licenses this file to You under the Apache License, Version 2.0\n (the \"License\"); you may not use this file except in compliance with\n the License. You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" } ] } @@ -302,6 +247,67 @@ "purl": "pkg:maven/org.apache.activemq/activemq-camel@5.4.2" } ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100, + "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n contributor license agreements. See the NOTICE file distributed with\n this work for additional information regarding copyright ownership.\n The ASF licenses this file to You under the Apache License, Version 2.0\n (the \"License\"); you may not use this file except in compliance with\n the License. You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100, + "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n contributor license agreements. See the NOTICE file distributed with\n this work for additional information regarding copyright ownership.\n The ASF licenses this file to You under the Apache License, Version 2.0\n (the \"License\"); you may not use this file except in compliance with\n the License. You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." + } + ], "files": [ { "path": "activemq-camel-pom.xml", @@ -324,35 +330,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100, - "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n contributor license agreements. See the NOTICE file distributed with\n this work for additional information regarding copyright ownership.\n The ASF licenses this file to You under the Apache License, Version 2.0\n (the \"License\"); you may not use this file except in compliance with\n the License. You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" } ] } @@ -404,35 +382,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100, - "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n contributor license agreements. See the NOTICE file distributed with\n this work for additional information regarding copyright ownership.\n The ASF licenses this file to You under the Apache License, Version 2.0\n (the \"License\"); you may not use this file except in compliance with\n the License. You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" } ] } diff --git a/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel_without_license.expected.json b/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel_without_license.expected.json index 949e654401e..81d6ca4d03f 100644 --- a/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel_without_license.expected.json +++ b/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel_without_license.expected.json @@ -252,6 +252,8 @@ "purl": "pkg:maven/org.apache.activemq/activemq-camel@5.4.2" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "activemq-camel-pom.xml", diff --git a/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json b/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json index 6d2a35471e3..04c1949cac0 100644 --- a/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json +++ b/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json @@ -17,32 +17,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 212, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE" } ] } @@ -133,33 +108,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 212, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n\n * Neither the name of Google Inc. nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE" } ] } @@ -184,6 +133,60 @@ "purl": "pkg:dart/built_collection@5.1.1" } ], + "license_references": [ + { + "key": "bsd-new", + "short_name": "BSD-3-Clause", + "name": "BSD-3-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-3-Clause", + "other_spdx_license_keys": [ + "LicenseRef-scancode-libzip" + ], + "osi_license_key": "BSD-3-Clause", + "text_urls": [ + "http://www.opensource.org/licenses/BSD-3-Clause" + ], + "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "other_urls": [ + "http://framework.zend.com/license/new-bsd", + "https://opensource.org/licenses/BSD-3-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + } + ], + "rule_references": [ + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_166.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 212, + "rule_relevance": 100, + "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n\n * Neither the name of Google Inc. nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_166.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 212, + "rule_relevance": 100, + "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n\n * Neither the name of Google Inc. nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + } + ], "files": [ { "path": "LICENSE", @@ -206,33 +209,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 212, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n\n * Neither the name of Google Inc. nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE" } ] } @@ -297,33 +274,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 212, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n\n * Neither the name of Google Inc. nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE" } ] } diff --git a/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection_without_license.expected.json b/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection_without_license.expected.json index 3a631b4d131..2f99dfe4d14 100644 --- a/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection_without_license.expected.json +++ b/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection_without_license.expected.json @@ -136,6 +136,8 @@ "purl": "pkg:dart/built_collection@5.1.1" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "LICENSE", diff --git a/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json b/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json index 18bbf1c2411..5436f87a733 100644 --- a/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json +++ b/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json @@ -17,34 +17,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE" } ] }, @@ -65,32 +38,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE" }, { "score": 100.0, @@ -101,32 +49,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" } ] } @@ -182,35 +105,7 @@ "matcher": "1-hash", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "license :file = ../LICENSE", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE" }, { "score": 100.0, @@ -221,33 +116,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "MIT License", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE" }, { "score": 100.0, @@ -258,33 +127,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } @@ -309,6 +152,114 @@ "purl": "pkg:cocoapods/flutter_paytabs_bridge@2.2.5" } ], + "license_references": [ + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "license :file = ../LICENSE" + }, + { + "license_expression": "mit", + "rule_identifier": "mit_14.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "MIT License" + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100, + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE." + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "license :file = ../LICENSE" + }, + { + "license_expression": "mit", + "rule_identifier": "mit_14.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "MIT License" + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100, + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE." + } + ], "files": [ { "path": "LICENSE", @@ -331,33 +282,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "MIT License", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE" }, { "score": 100.0, @@ -368,33 +293,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } @@ -429,35 +328,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "license = { :file => '../LICENSE' }", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE" }, { "score": 100.0, @@ -468,33 +339,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "MIT License", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE" }, { "score": 100.0, @@ -505,33 +350,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } @@ -591,35 +410,7 @@ "matcher": "1-hash", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "license :file = ../LICENSE", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE" }, { "score": 100.0, @@ -630,33 +421,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "MIT License", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE" }, { "score": 100.0, @@ -667,33 +432,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } diff --git a/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge_without_license.expected.json b/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge_without_license.expected.json index 7cd4c3bbabe..fdd6387433e 100644 --- a/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge_without_license.expected.json +++ b/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge_without_license.expected.json @@ -177,6 +177,8 @@ "purl": "pkg:cocoapods/flutter_paytabs_bridge@2.2.5" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "LICENSE", diff --git a/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json b/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json index 8adba8c0da4..3307a6b9b8b 100644 --- a/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json +++ b/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json @@ -17,32 +17,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE" } ] }, @@ -63,34 +38,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_in_manifest.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE" } ] } @@ -146,35 +94,7 @@ "matcher": "1-hash", "license_expression": "zlib", "rule_identifier": "zlib_in_manifest.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": ":type = zlib, :file = LICENSE.txt", - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE" }, { "score": 100.0, @@ -185,33 +105,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100, - "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution.", - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE" } ] } @@ -236,6 +130,74 @@ "purl": "pkg:cocoapods/nanopb@1.30905.0" } ], + "license_references": [ + { + "key": "zlib", + "short_name": "ZLIB License", + "name": "ZLIB License", + "category": "Permissive", + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "notes": "Per SPDX.org, this is OSI certified", + "is_builtin": true, + "spdx_license_key": "Zlib", + "text_urls": [ + "http://www.gzip.org/zlib/zlib_license.html" + ], + "osi_url": "http://www.opensource.org/licenses/zlib-license.php", + "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", + "other_urls": [ + "http://www.opensource.org/licenses/Zlib", + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "minimum_coverage": 50, + "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." + } + ], + "rule_references": [ + { + "license_expression": "zlib", + "rule_identifier": "zlib_in_manifest.RULE", + "referenced_filenames": [ + "LICENSE.txt" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": ":type = zlib, :file = LICENSE.txt" + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100, + "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution." + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100, + "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution." + } + ], "files": [ { "path": "LICENSE.txt", @@ -258,33 +220,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100, - "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution.", - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE" } ] } @@ -319,35 +255,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_in_manifest.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "type => 'zlib', :file => 'LICENSE.txt' }", - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE" }, { "score": 100.0, @@ -358,33 +266,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100, - "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution.", - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE" } ] } @@ -445,35 +327,7 @@ "matcher": "1-hash", "license_expression": "zlib", "rule_identifier": "zlib_in_manifest.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": ":type = zlib, :file = LICENSE.txt", - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE" }, { "score": 100.0, @@ -484,33 +338,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100, - "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution.", - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE" } ] } diff --git a/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb_without_license.expected.json b/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb_without_license.expected.json index 407a006d19a..dd25abbbe14 100644 --- a/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb_without_license.expected.json +++ b/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb_without_license.expected.json @@ -140,6 +140,8 @@ "purl": "pkg:cocoapods/nanopb@1.30905.0" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "LICENSE.txt", diff --git a/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json index 54aca8f99f6..bd2aae067c3 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json @@ -17,34 +17,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE" } ] }, @@ -65,32 +38,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -158,33 +106,7 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -211,6 +133,73 @@ "purl": "pkg:pypi/django@1.2.5" } ], + "license_references": [ + { + "key": "bsd-new", + "short_name": "BSD-3-Clause", + "name": "BSD-3-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-3-Clause", + "other_spdx_license_keys": [ + "LicenseRef-scancode-libzip" + ], + "osi_license_key": "BSD-3-Clause", + "text_urls": [ + "http://www.opensource.org/licenses/BSD-3-Clause" + ], + "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "other_urls": [ + "http://framework.zend.com/license/new-bsd", + "https://opensource.org/licenses/BSD-3-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + } + ], + "rule_references": [ + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99, + "matched_text": "['License :: OSI Approved :: BSD License']" + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99, + "matched_text": "['License :: OSI Approved :: BSD License']" + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99, + "matched_text": "License :: OSI Approved :: BSD License" + } + ], "files": [ { "path": "PKG-INFO", @@ -233,33 +222,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "License :: OSI Approved :: BSD License", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -332,33 +295,7 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -407,35 +344,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE" }, { "score": 99.0, @@ -446,33 +355,7 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } diff --git a/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json index 1fe60bdb4bb..77be3a48425 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json @@ -17,32 +17,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -63,32 +38,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" }, { "score": 100.0, @@ -99,34 +49,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" } ] }, @@ -147,32 +70,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_195.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE" } ] }, @@ -193,32 +91,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1066.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1066.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 30, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1066.RULE" }, { "score": 100.0, @@ -229,32 +102,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" }, { "score": 100.0, @@ -265,34 +113,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" } ] }, @@ -313,32 +134,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE" } ] }, @@ -360,32 +156,7 @@ "matcher": "2-aho", "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99, - "licenses": [ - { - "key": "public-domain", - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE", - "spdx_license_key": "LicenseRef-scancode-public-domain", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" } ] }, @@ -407,32 +178,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_67.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_67.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_67.RULE" } ] }, @@ -454,32 +200,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" } ] }, @@ -500,32 +221,7 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "bsd-original_43.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-original", - "name": "BSD-Original", - "short_name": "BSD-Original", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", - "spdx_license_key": "BSD-4-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE" } ] }, @@ -546,32 +242,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" }, { "score": 100.0, @@ -582,32 +253,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_89.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_89.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_89.RULE" }, { "score": 100.0, @@ -618,32 +264,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_64.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_64.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_64.RULE" }, { "score": 100.0, @@ -654,32 +275,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_36.RULE" }, { "score": 100.0, @@ -690,32 +286,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_10.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_10.RULE" }, { "score": 100.0, @@ -726,32 +297,7 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-original", - "name": "BSD-Original", - "short_name": "BSD-Original", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", - "spdx_license_key": "BSD-4-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE" }, { "score": 100.0, @@ -762,32 +308,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" }, { "score": 100.0, @@ -798,34 +319,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_1038.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_1038.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/GPL-2" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 136, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_1038.RULE" }, { "score": 100.0, @@ -836,32 +330,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_92.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_92.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_92.RULE" }, { "score": 100.0, @@ -872,34 +341,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_512.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_512.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/GPL-3" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 136, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_512.RULE" }, { "score": 100.0, @@ -910,32 +352,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_108.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_108.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_108.RULE" }, { "score": 100.0, @@ -946,34 +363,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_418.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_418.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/LGPL-2.1" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 146, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_418.RULE" }, { "score": 100.0, @@ -984,32 +374,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" }, { "score": 100.0, @@ -1020,32 +385,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" }, { "score": 100.0, @@ -1056,32 +396,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_195.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE" }, { "score": 100.0, @@ -1092,32 +407,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_577.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_577.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 213, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_577.RULE" }, { "score": 100.0, @@ -1128,32 +418,7 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "bsd-original_43.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-original", - "name": "BSD-Original", - "short_name": "BSD-Original", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", - "spdx_license_key": "BSD-4-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE" }, { "score": 100.0, @@ -1164,32 +429,7 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "bsd-original_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_71.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 236, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-original", - "name": "BSD-Original", - "short_name": "BSD-Original", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", - "spdx_license_key": "BSD-4-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_71.RULE" }, { "score": 100.0, @@ -1200,32 +440,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE" }, { "score": 100.0, @@ -1236,34 +451,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_189.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_189.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/LGPL-3" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 105, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_189.RULE" }, { "score": 99.0, @@ -1274,32 +462,7 @@ "matcher": "2-aho", "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99, - "licenses": [ - { - "key": "public-domain", - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE", - "spdx_license_key": "LicenseRef-scancode-public-domain", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" }, { "score": 100.0, @@ -1310,32 +473,7 @@ "matcher": "2-aho", "license_expression": "other-permissive", "rule_identifier": "other-permissive_325.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_325.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 40, - "rule_relevance": 100, - "licenses": [ - { - "key": "other-permissive", - "name": "Other Permissive Licenses", - "short_name": "Other Permissive Licenses", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-permissive", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-permissive", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_325.RULE" } ] }, @@ -1356,32 +494,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -1402,32 +515,7 @@ "matcher": "2-aho", "license_expression": "bsd-simplified", "rule_identifier": "bsd-simplified_136.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_136.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-simplified", - "name": "BSD-2-Clause", - "short_name": "BSD-2-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "text_url": "http://opensource.org/licenses/bsd-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", - "spdx_license_key": "BSD-2-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_136.RULE" } ] }, @@ -1449,32 +537,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_37.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_37.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_37.RULE" } ] }, @@ -1496,32 +559,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_221.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_221.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 90, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_221.RULE" }, { "score": 100.0, @@ -1532,32 +570,7 @@ "matcher": "2-aho", "license_expression": "other-permissive", "rule_identifier": "other-permissive_16.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_16.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "other-permissive", - "name": "Other Permissive Licenses", - "short_name": "Other Permissive Licenses", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-permissive", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-permissive", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_16.RULE" } ] }, @@ -1579,32 +592,7 @@ "matcher": "2-aho", "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99, - "licenses": [ - { - "key": "public-domain", - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE", - "spdx_license_key": "LicenseRef-scancode-public-domain", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" }, { "score": 100.0, @@ -1615,32 +603,7 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-original", - "name": "BSD-Original", - "short_name": "BSD-Original", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", - "spdx_license_key": "BSD-4-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE" }, { "score": 50.0, @@ -1651,32 +614,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_word_only.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 50, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE" } ] }, @@ -1697,32 +635,7 @@ "matcher": "3-seq", "license_expression": "borceux", "rule_identifier": "borceux.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/borceux.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100, - "licenses": [ - { - "key": "borceux", - "name": "Borceux License", - "short_name": "Borceux License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Francis Borceux", - "homepage_url": "https://fedoraproject.org/wiki/Licensing/Borceux", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/borceux", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/borceux.LICENSE", - "spdx_license_key": "Borceux", - "spdx_url": "https://spdx.org/licenses/Borceux" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/borceux.LICENSE" } ] }, @@ -1743,34 +656,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" } ] }, @@ -1791,34 +677,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE" } ] } @@ -6479,119 +5338,1600 @@ "purl": "pkg:deb/fusiondirectory-webservice-shell?architecture=all" } ], - "files": [ + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, { - "path": "debian", - "type": "directory", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_licenses": [], - "package_data": [], - "for_packages": [ - "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-alias?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-alias-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-applications?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-applications-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-argonaut?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-argonaut-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-audit?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-audit-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-autofs?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-autofs-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-certificates?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-community?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-community-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-cyrus?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-cyrus-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-debconf?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-debconf-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-developers?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dhcp?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dhcp-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dns?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dns-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dovecot?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dovecot-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dsa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dsa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ejbca?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ejbca-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-fai?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-fai-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-freeradius?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-freeradius-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-fusioninventory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-fusioninventory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-gpg?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-gpg-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ipmi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ipmi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ldapdump?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ldapmanager?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-mail?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-mail-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-mixedgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-nagios?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-nagios-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-netgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-netgroups-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-newsletter?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-newsletter-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-opsi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-opsi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-personal?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-personal-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-posix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-postfix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-postfix-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ppolicy?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ppolicy-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-puppet?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-puppet-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-pureftpd?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-pureftpd-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-quota?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-quota-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-renater-partage?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-renater-partage-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-repository?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-repository-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-samba?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-samba-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-sogo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-sogo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-spamassassin?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-spamassassin-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-squid?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-squid-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ssh?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ssh-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-subcontracting?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-subcontracting-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-sudo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-sudo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-supann?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-supann-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-sympa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-sympa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-systems?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-systems-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-user-reminder?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-user-reminder-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-weblink?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-weblink-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-webservice?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-webservice-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-smarty3-acl-render?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758" - ], - "scan_errors": [] + "key": "bsd-new", + "short_name": "BSD-3-Clause", + "name": "BSD-3-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-3-Clause", + "other_spdx_license_keys": [ + "LicenseRef-scancode-libzip" + ], + "osi_license_key": "BSD-3-Clause", + "text_urls": [ + "http://www.opensource.org/licenses/BSD-3-Clause" + ], + "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "other_urls": [ + "http://framework.zend.com/license/new-bsd", + "https://opensource.org/licenses/BSD-3-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "bsd-original", + "short_name": "BSD-Original", + "name": "BSD-Original", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", + "notes": "Per SPDX.org, this license was rescinded by the author on 22 July 1999.", + "is_builtin": true, + "spdx_license_key": "BSD-4-Clause", + "text_urls": [ + "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6" + ], + "osi_url": "http://www.opensource.org/licenses/bsd-license.php", + "other_urls": [ + "http://directory.fsf.org/wiki/License:BSD_4Clause", + "http://www.fsf.org/licensing/essays/bsd.html", + "http://www.gnu.org/philosophy/bsd.html" + ], + "text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice,\nthis list 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\nand/or other materials provided with the distribution.\n\n3. All advertising materials mentioning features or use of this software\nmust display the following acknowledgement: This product includes software\ndeveloped by the .\n\n4. Neither the name of the nor the names of its contributors\nmay be used to endorse or promote products derived from this software\nwithout specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY ''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 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,\nOR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\nEVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "bsd-simplified", + "short_name": "BSD-2-Clause", + "name": "BSD-2-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-2-Clause", + "other_spdx_license_keys": [ + "BSD-2-Clause-NetBSD", + "BSD-2" + ], + "text_urls": [ + "http://opensource.org/licenses/bsd-license.php" + ], + "osi_url": "http://opensource.org/licenses/bsd-license.php", + "other_urls": [ + "http://spdx.org/licenses/BSD-2-Clause", + "http://www.freebsd.org/copyright/copyright.html", + "https://opensource.org/licenses/BSD-2-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." + }, + { + "key": "free-unknown", + "short_name": "Free unknown", + "name": "Free unknown license detected but not recognized", + "category": "Unstated License", + "owner": "Unspecified", + "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", + "is_builtin": true, + "is_unknown": true, + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "text": "" + }, + { + "key": "gpl-1.0-plus", + "short_name": "GPL 1.0 or later", + "name": "GNU General Public License 1.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "notes": "Per SPDX.org, this license was released February 1989.", + "is_builtin": true, + "spdx_license_key": "GPL-1.0-or-later", + "other_spdx_license_keys": [ + "GPL-1.0+", + "LicenseRef-GPL" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "other_urls": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 1, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,\nCambridge, MA 02139, USA.\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 1, February 1989\n\nCopyright (C) 1989 Free Software Foundation, Inc.\n51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe license agreements of most software companies try to keep users\nat the mercy of those companies. By contrast, our General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. The\nGeneral Public License applies to the Free Software Foundation's\nsoftware and to any other program whose authors commit to using it.\nYou can use it for your programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Specifically, the General Public License is designed to make\nsure that you have the freedom to give away or sell copies of free\nsoftware, that you receive source code or can get it if you want it,\nthat you can change the software or use pieces of it in new free\nprograms; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of a such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must tell them their rights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any program or other work which\ncontains a notice placed by the copyright holder saying it may be\ndistributed under the terms of this General Public License. The\n\"Program\", below, refers to any such program or work, and a \"work based\non the Program\" means either the Program or any work containing the\nProgram or a portion of it, either verbatim or with modifications. Each\nlicensee is addressed as \"you\".\n\n1. You may copy and distribute verbatim copies of the Program's source\ncode as you receive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice and\ndisclaimer of warranty; keep intact all the notices that refer to this\nGeneral Public License and to the absence of any warranty; and give any\nother recipients of the Program a copy of this General Public License\nalong with the Program. You may charge a fee for the physical act of\ntransferring a copy.\n\n2. You may modify your copy or copies of the Program or any portion of\nit, and copy and distribute such modifications under the terms of Paragraph\n1 above, provided that you also do the following:\n\na) cause the modified files to carry prominent notices stating that\nyou changed the files and the date of any change; and\n\nb) cause the whole of any work that you distribute or publish, that\nin whole or in part contains the Program or any part thereof, either\nwith or without modifications, to be licensed at no charge to all\nthird parties under the terms of this General Public License (except\nthat you may choose to grant warranty protection to some or all\nthird parties, at your option).\n\nc) If the modified program normally reads commands interactively when\nrun, you must cause it, when started running for such interactive use\nin the simplest and most usual way, to print or display an\nannouncement including an appropriate copyright notice and a notice\nthat there is no warranty (or else, saying that you provide a\nwarranty) and that users may redistribute the program under these\nconditions, and telling the user how to view a copy of this General\nPublic License.\n\nd) You may charge a fee for the physical act of transferring a\ncopy, and you may at your option offer warranty protection in\nexchange for a fee.\n\nMere aggregation of another independent work with the Program (or its\nderivative) on a volume of a storage or distribution medium does not bring\nthe other work under the scope of these terms.\n\n\n3. You may copy and distribute the Program (or a portion or derivative of\nit, under Paragraph 2) in object code or executable form under the terms of\nParagraphs 1 and 2 above provided that you also do one of the following:\n\na) accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nb) accompany it with a written offer, valid for at least three\nyears, to give any third party free (except for a nominal charge\nfor the cost of distribution) a complete machine-readable copy of the\ncorresponding source code, to be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nc) accompany it with the information you received as to where the\ncorresponding source code may be obtained. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form alone.)\n\nSource code for a work means the preferred form of the work for making\nmodifications to it. For an executable file, complete source code means\nall the source code for all modules it contains; but, as a special\nexception, it need not include source code for modules which are standard\nlibraries that accompany the operating system on which the executable\nfile runs, or for standard header files or definitions files that\naccompany that operating system.\n\n4. You may not copy, modify, sublicense, distribute or transfer the\nProgram except as expressly provided under this General Public License.\nAny attempt otherwise to copy, modify, sublicense, distribute or transfer\nthe Program is void, and will automatically terminate your rights to use\nthe Program under this License. However, parties who have received\ncopies, or rights to use copies, from you under this General Public\nLicense will not have their licenses terminated so long as such parties\nremain in full compliance.\n\n5. By copying, distributing or modifying the Program (or any work based\non the Program) you indicate your acceptance of this license to do so,\nand all its terms and conditions.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the original\nlicensor to copy, distribute or modify the Program subject to these\nterms and conditions. You may not impose any further restrictions on the\nrecipients' exercise of the rights granted herein.\n\n\n7. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of the license which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthe license, you may choose any version ever published by the Free Software\nFoundation.\n\n8. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nAppendix: How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to humanity, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these\nterms.\n\nTo do so, attach the following notices to the program. It is safest to\nattach them to the start of each source file to most effectively convey\nthe exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) 19yy \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 1, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA\n\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) 19xx name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the\nappropriate parts of the General Public License. Of course, the\ncommands you use may be called something other than `show w' and `show\nc'; they could even be mouse-clicks or menu items--whatever suits your\nprogram.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nprogram `Gnomovision' (a program to direct compilers to make passes\nat assemblers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "gpl-3.0-plus", + "short_name": "GPL 3.0 or later", + "name": "GNU General Public License 3.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "notes": "Per SPDX.org, this license was released 29 June 2007 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-3.0-or-later", + "other_spdx_license_keys": [ + "GPL-3.0+", + "LicenseRef-GPL-3.0-or-later" + ], + "text_urls": [ + "http://www.gnu.org/licenses/gpl-3.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-3.0", + "https://opensource.org/licenses/GPL-3.0", + "https://www.gnu.org/licenses/gpl-3.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + }, + { + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "lgpl-3.0", + "short_name": "LGPL 3.0", + "name": "GNU Lesser General Public License 3.0", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", + "notes": "Per SPDX.org, this license was released 29 June 2007. This license is OSI\nCertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-3.0-only", + "other_spdx_license_keys": [ + "LGPL-3.0" + ], + "osi_license_key": "LGPL-3.0", + "text_urls": [ + "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "http://www.gnu.org/licenses/lgpl-3.0.txt" + ], + "osi_url": "http://www.opensource.org/licenses/lgpl-3.0.html", + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.gnu.org/licenses/why-not-lgpl.html", + "http://www.opensource.org/licenses/LGPL-3.0", + "https://opensource.org/licenses/LGPL-3.0", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html" + ], + "text": "GNU LESSER GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n\nThis version of the GNU Lesser General Public License incorporates\nthe terms and conditions of version 3 of the GNU General Public\nLicense, supplemented by the additional permissions listed below.\n\n0. Additional Definitions.\n\nAs used herein, \"this License\" refers to version 3 of the GNU Lesser\nGeneral Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public License.\n\n\"The Library\" refers to a covered work governed by this License,\nother than an Application or a Combined Work as defined below.\n\nAn \"Application\" is any work that makes use of an interface provided\nby the Library, but which is not otherwise based on the Library.\nDefining a subclass of a class defined by the Library is deemed a mode\nof using an interface provided by the Library.\n\nA \"Combined Work\" is a work produced by combining or linking an\nApplication with the Library. The particular version of the Library\nwith which the Combined Work was made is also called the \"Linked\nVersion\".\n\nThe \"Minimal Corresponding Source\" for a Combined Work means the\nCorresponding Source for the Combined Work, excluding any source code\nfor portions of the Combined Work that, considered in isolation, are\nbased on the Application, and not on the Linked Version.\n\nThe \"Corresponding Application Code\" for a Combined Work means the\nobject code and/or source code for the Application, including any data\nand utility programs needed for reproducing the Combined Work from the\nApplication, but excluding the System Libraries of the Combined Work.\n\n1. Exception to Section 3 of the GNU GPL.\n\nYou may convey a covered work under sections 3 and 4 of this License\nwithout being bound by section 3 of the GNU GPL.\n\n2. Conveying Modified Versions.\n\nIf you modify a copy of the Library, and, in your modifications, a\nfacility refers to a function or data to be supplied by an Application\nthat uses the facility (other than as an argument passed when the\nfacility is invoked), then you may convey a copy of the modified\nversion:\n\na) under this License, provided that you make a good faith effort to\nensure that, in the event an Application does not supply the\nfunction or data, the facility still operates, and performs\nwhatever part of its purpose remains meaningful, or\n\nb) under the GNU GPL, with none of the additional permissions of\nthis License applicable to that copy.\n\n3. Object Code Incorporating Material from Library Header Files.\n\nThe object code form of an Application may incorporate material from\na header file that is part of the Library. You may convey such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial is not limited to numerical parameters, data structure\nlayouts and accessors, or small macros, inline functions and templates\n(ten or fewer lines in length), you do both of the following:\n\na) Give prominent notice with each copy of the object code that the\nLibrary is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the object code with a copy of the GNU GPL and this license\ndocument.\n\n4. Combined Works.\n\nYou may convey a Combined Work under terms of your choice that,\ntaken together, effectively do not restrict modification of the\nportions of the Library contained in the Combined Work and reverse\nengineering for debugging such modifications, if you also do each of\nthe following:\n\na) Give prominent notice with each copy of the Combined Work that\nthe Library is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the Combined Work with a copy of the GNU GPL and this license\ndocument.\n\nc) For a Combined Work that displays copyright notices during\nexecution, include the copyright notice for the Library among\nthese notices, as well as a reference directing the user to the\ncopies of the GNU GPL and this license document.\n\nd) Do one of the following:\n\n0) Convey the Minimal Corresponding Source under the terms of this\nLicense, and the Corresponding Application Code in a form\nsuitable for, and under terms that permit, the user to\nrecombine or relink the Application with a modified version of\nthe Linked Version to produce a modified Combined Work, in the\nmanner specified by section 6 of the GNU GPL for conveying\nCorresponding Source.\n\n1) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (a) uses at run time\na copy of the Library already present on the user's computer\nsystem, and (b) will operate properly with a modified version\nof the Library that is interface-compatible with the Linked\nVersion.\n\ne) Provide Installation Information, but only if you would otherwise\nbe required to provide such information under section 6 of the\nGNU GPL, and only to the extent that such information is\nnecessary to install and execute a modified version of the\nCombined Work produced by recombining or relinking the\nApplication with a modified version of the Linked Version. (If\nyou use option 4d0, the Installation Information must accompany\nthe Minimal Corresponding Source and Corresponding Application\nCode. If you use option 4d1, you must provide the Installation\nInformation in the manner specified by section 6 of the GNU GPL\nfor conveying Corresponding Source.)\n\n5. Combined Libraries.\n\nYou may place library facilities that are a work based on the\nLibrary side by side in a single library together with other library\nfacilities that are not Applications and are not covered by this\nLicense, and convey such a combined library under terms of your\nchoice, if you do both of the following:\n\na) Accompany the combined library with a copy of the same work based\non the Library, uncombined with any other library facilities,\nconveyed under the terms of this License.\n\nb) Give prominent notice with the combined library that part of it\nis a work based on the Library, and explaining where to find the\naccompanying uncombined form of the same work.\n\n6. Revised Versions of the GNU Lesser General Public License.\n\nThe Free Software Foundation may publish revised and/or new versions\nof the GNU Lesser General Public License from time to time. Such new\nversions will be similar in spirit to the present version, but may\ndiffer in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nLibrary as you received it specifies that a certain numbered version\nof the GNU Lesser General Public License \"or any later version\"\napplies to it, you have the option of following the terms and\nconditions either of that published version or of any later version\npublished by the Free Software Foundation. If the Library as you\nreceived it does not specify a version number of the GNU Lesser\nGeneral Public License, you may choose any version of the GNU Lesser\nGeneral Public License ever published by the Free Software Foundation.\n\nIf the Library as you received it specifies that a proxy can decide\nwhether future versions of the GNU Lesser General Public License shall\napply, that proxy's public statement of acceptance of any version is\npermanent authorization for you to choose that version for the\nLibrary." + }, + { + "key": "lgpl-3.0-plus", + "short_name": "LGPL 3.0 or later", + "name": "GNU Lesser General Public License 3.0 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "notes": "Per SPDX.org, this license was released 29 June 2007. This license is OSI\nCertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-3.0-or-later", + "other_spdx_license_keys": [ + "LGPL-3.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/lgpl-3.0-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-3.0", + "https://opensource.org/licenses/LGPL-3.0", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 3.0 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n\nThis version of the GNU Lesser General Public License incorporates\nthe terms and conditions of version 3 of the GNU General Public\nLicense, supplemented by the additional permissions listed below.\n\n0. Additional Definitions.\n\nAs used herein, \"this License\" refers to version 3 of the GNU Lesser\nGeneral Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public License.\n\n\"The Library\" refers to a covered work governed by this License,\nother than an Application or a Combined Work as defined below.\n\nAn \"Application\" is any work that makes use of an interface provided\nby the Library, but which is not otherwise based on the Library.\nDefining a subclass of a class defined by the Library is deemed a mode\nof using an interface provided by the Library.\n\nA \"Combined Work\" is a work produced by combining or linking an\nApplication with the Library. The particular version of the Library\nwith which the Combined Work was made is also called the \"Linked\nVersion\".\n\nThe \"Minimal Corresponding Source\" for a Combined Work means the\nCorresponding Source for the Combined Work, excluding any source code\nfor portions of the Combined Work that, considered in isolation, are\nbased on the Application, and not on the Linked Version.\n\nThe \"Corresponding Application Code\" for a Combined Work means the\nobject code and/or source code for the Application, including any data\nand utility programs needed for reproducing the Combined Work from the\nApplication, but excluding the System Libraries of the Combined Work.\n\n1. Exception to Section 3 of the GNU GPL.\n\nYou may convey a covered work under sections 3 and 4 of this License\nwithout being bound by section 3 of the GNU GPL.\n\n2. Conveying Modified Versions.\n\nIf you modify a copy of the Library, and, in your modifications, a\nfacility refers to a function or data to be supplied by an Application\nthat uses the facility (other than as an argument passed when the\nfacility is invoked), then you may convey a copy of the modified\nversion:\n\na) under this License, provided that you make a good faith effort to\nensure that, in the event an Application does not supply the\nfunction or data, the facility still operates, and performs\nwhatever part of its purpose remains meaningful, or\n\nb) under the GNU GPL, with none of the additional permissions of\nthis License applicable to that copy.\n\n3. Object Code Incorporating Material from Library Header Files.\n\nThe object code form of an Application may incorporate material from\na header file that is part of the Library. You may convey such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial is not limited to numerical parameters, data structure\nlayouts and accessors, or small macros, inline functions and templates\n(ten or fewer lines in length), you do both of the following:\n\na) Give prominent notice with each copy of the object code that the\nLibrary is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the object code with a copy of the GNU GPL and this license\ndocument.\n\n4. Combined Works.\n\nYou may convey a Combined Work under terms of your choice that,\ntaken together, effectively do not restrict modification of the\nportions of the Library contained in the Combined Work and reverse\nengineering for debugging such modifications, if you also do each of\nthe following:\n\na) Give prominent notice with each copy of the Combined Work that\nthe Library is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the Combined Work with a copy of the GNU GPL and this license\ndocument.\n\nc) For a Combined Work that displays copyright notices during\nexecution, include the copyright notice for the Library among\nthese notices, as well as a reference directing the user to the\ncopies of the GNU GPL and this license document.\n\nd) Do one of the following:\n\n0) Convey the Minimal Corresponding Source under the terms of this\nLicense, and the Corresponding Application Code in a form\nsuitable for, and under terms that permit, the user to\nrecombine or relink the Application with a modified version of\nthe Linked Version to produce a modified Combined Work, in the\nmanner specified by section 6 of the GNU GPL for conveying\nCorresponding Source.\n\n1) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (a) uses at run time\na copy of the Library already present on the user's computer\nsystem, and (b) will operate properly with a modified version\nof the Library that is interface-compatible with the Linked\nVersion.\n\ne) Provide Installation Information, but only if you would otherwise\nbe required to provide such information under section 6 of the\nGNU GPL, and only to the extent that such information is\nnecessary to install and execute a modified version of the\nCombined Work produced by recombining or relinking the\nApplication with a modified version of the Linked Version. (If\nyou use option 4d0, the Installation Information must accompany\nthe Minimal Corresponding Source and Corresponding Application\nCode. If you use option 4d1, you must provide the Installation\nInformation in the manner specified by section 6 of the GNU GPL\nfor conveying Corresponding Source.)\n\n5. Combined Libraries.\n\nYou may place library facilities that are a work based on the\nLibrary side by side in a single library together with other library\nfacilities that are not Applications and are not covered by this\nLicense, and convey such a combined library under terms of your\nchoice, if you do both of the following:\n\na) Accompany the combined library with a copy of the same work based\non the Library, uncombined with any other library facilities,\nconveyed under the terms of this License.\n\nb) Give prominent notice with the combined library that part of it\nis a work based on the Library, and explaining where to find the\naccompanying uncombined form of the same work.\n\n6. Revised Versions of the GNU Lesser General Public License.\n\nThe Free Software Foundation may publish revised and/or new versions\nof the GNU Lesser General Public License from time to time. Such new\nversions will be similar in spirit to the present version, but may\ndiffer in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nLibrary as you received it specifies that a certain numbered version\nof the GNU Lesser General Public License \"or any later version\"\napplies to it, you have the option of following the terms and\nconditions either of that published version or of any later version\npublished by the Free Software Foundation. If the Library as you\nreceived it does not specify a version number of the GNU Lesser\nGeneral Public License, you may choose any version of the GNU Lesser\nGeneral Public License ever published by the Free Software Foundation.\n\nIf the Library as you received it specifies that a proxy can decide\nwhether future versions of the GNU Lesser General Public License shall\napply, that proxy's public statement of acceptance of any version is\npermanent authorization for you to choose that version for the\nLibrary." + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + }, + { + "key": "other-permissive", + "short_name": "Other Permissive Licenses", + "name": "Other Permissive Licenses", + "category": "Permissive", + "owner": "nexB", + "notes": "this is a catch all and ellipsis to deal with some cases when a large\nnumber of ancillary yet similar licenses may be reported as one.\n", + "is_builtin": true, + "is_generic": true, + "spdx_license_key": "LicenseRef-scancode-other-permissive", + "text": "This component contains multiple third-party subcomponents licensed\nunder permissive licenses in the style of MIT, BSD, X11, and/or Apache." + }, + { + "key": "public-domain", + "short_name": "Public Domain", + "name": "Public Domain", + "category": "Public Domain", + "owner": "Unspecified", + "homepage_url": "http://www.linfo.org/publicdomain.html", + "is_builtin": true, + "is_generic": true, + "spdx_license_key": "LicenseRef-scancode-public-domain", + "other_spdx_license_keys": [ + "LicenseRef-PublicDomain" + ], + "faq_url": "http://www.linfo.org/publicdomain.html", + "other_urls": [ + "http://creativecommons.org/licenses/publicdomain/", + "http://en.wikipedia.org/wiki/Public_domain", + "http://www.linfo.org/publicdomain.html" + ], + "text": "" + } + ], + "rule_references": [ + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "matched_text": "This file is distributed under the same license as the PACKAGE package." + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_195.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "matched_text": "License: BSD-3-clause" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1066.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 30, + "rule_relevance": 100, + "matched_text": "License: [GPL]-[2+]\n[Comment]:\n [This] [file] is distributed under the [same] license" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100, + "matched_text": "This file is distributed under the same license as the" + }, + { + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_166.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: LGPL-3+" + }, + { + "license_expression": "public-domain", + "rule_identifier": "pypi_public_domain.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 99, + "matched_text": "License: public-domain" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_67.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "GPL-2+)." + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "License: Expat" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "bsd-original", + "rule_identifier": "bsd-original_43.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "matched_text": "License: BSD-4-clause" + }, + { + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "License: Expat" + }, + { + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "License: Expat" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_89.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "GPL-3+" + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_64.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "LGPL-2.1+" + }, + { + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "LGPL-3+" + }, + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_10.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "BSD-3-clause" + }, + { + "license_expression": "bsd-original", + "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "BSD-4-clause" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-2+" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_1038.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/GPL-2" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 136, + "rule_relevance": 100, + "matched_text": "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\n .\n On Debian systems, the complete text of the GNU General\n Public License 2 can be found in `/usr/share/common-licenses/GPL-2'." + }, + { + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_92.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: GPL-3+" + }, + { + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_512.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/GPL-3" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 136, + "rule_relevance": 100, + "matched_text": "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 3 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\n .\n On Debian systems, the complete text of the GNU General\n Public License 3 can be found in `/usr/share/common-licenses/GPL-3'." + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_108.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "matched_text": "License: LGPL-2.1+" + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_418.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/LGPL-2.1" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 146, + "rule_relevance": 100, + "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 Street, Fifth Floor, Boston,\n MA 02110-1301 USA\n .\n On Debian systems, the full text of the GNU Lesser General Public\n License version 2,1 can be found in the file\n `/usr/share/common-licenses/LGPL-2.1'." + }, + { + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "License: Expat" + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100, + "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 in\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 The above copyright notice and this permission notice shall be included in all\n 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 THE\n SOFTWARE." + }, + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_195.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "matched_text": "License: BSD-3-clause" + }, + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_577.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 213, + "rule_relevance": 100, + "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 notice,\n this list of conditions and the following disclaimer.\n - Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n - Neither the name of the copyright holder 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 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 HOLDER 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 CONTRACT,\n STRICT 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." + }, + { + "license_expression": "bsd-original", + "rule_identifier": "bsd-original_43.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "matched_text": "License: BSD-4-clause" + }, + { + "license_expression": "bsd-original", + "rule_identifier": "bsd-original_71.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 236, + "rule_relevance": 100, + "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 notice,\n this list of conditions and the following disclaimer.\n - Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n - All advertising materials mentioning features or use of this software must\n display the following acknowledgement: \u201cThis product includes software\n developed by the .\u201d\n - Neither the name of the author(s) nor the names of this program's\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 AUTHOR(S) \u201cAS IS\u201d 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. IN NO\n EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\n OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_166.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: LGPL-3+" + }, + { + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_189.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/LGPL-3" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 105, + "rule_relevance": 100, + "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 3 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 On Debian systems, the complete text of the GNU Lesser General\n Public License 3 can be found in `/usr/share/common-licenses/LGPL-3'." + }, + { + "license_expression": "public-domain", + "rule_identifier": "pypi_public_domain.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 99, + "matched_text": "License: public-domain" + }, + { + "license_expression": "other-permissive", + "rule_identifier": "other-permissive_325.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 40, + "rule_relevance": 100, + "matched_text": "This file is in the public domain. You may use and modify it as\n you see fit, as long as this copyright message is included and\n that there is an indication as to what modifications have been\n made (if any)." + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "bsd-simplified", + "rule_identifier": "bsd-simplified_136.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "matched_text": "License: BSD (2 clause)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later) (" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_37.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "License: LGPL (v3" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later) (" + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "License: GPL (v2 or later)" + }, + { + "license_expression": "mit", + "rule_identifier": "mit_221.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 90, + "matched_text": "License: MIT/X11 (" + }, + { + "license_expression": "other-permissive", + "rule_identifier": "other-permissive_16.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "BSD like)" + }, + { + "license_expression": "public-domain", + "rule_identifier": "pypi_public_domain.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 99, + "matched_text": "License: Public domain" + }, + { + "license_expression": "bsd-original", + "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "BSD (4 clause)" + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_bare_word_only.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 50, + "matched_text": "GPL" + }, + { + "license_expression": "borceux", + "rule_identifier": "borceux.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100, + "matched_text": "package consists of [various] [tarballs].\n\n[This] README" + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100, + "matched_text": "This file is distributed under the same license as the" + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_1.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 11, + "rule_relevance": 100, + "matched_text": "This file is distributed under the same license as the package." + } + ], + "files": [ + { + "path": "debian", + "type": "directory", + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], + "package_data": [], + "for_packages": [ + "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-alias?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-alias-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-applications?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-applications-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-argonaut?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-argonaut-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-audit?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-audit-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-autofs?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-autofs-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-certificates?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-community?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-community-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-cyrus?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-cyrus-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-debconf?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-debconf-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-developers?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dhcp?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dhcp-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dns?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dns-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dovecot?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dovecot-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dsa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dsa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ejbca?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ejbca-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-fai?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-fai-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-freeradius?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-freeradius-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-fusioninventory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-fusioninventory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-gpg?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-gpg-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ipmi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ipmi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ldapdump?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ldapmanager?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-mail?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-mail-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-mixedgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-nagios?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-nagios-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-netgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-netgroups-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-newsletter?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-newsletter-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-opsi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-opsi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-personal?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-personal-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-posix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-postfix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-postfix-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ppolicy?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ppolicy-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-puppet?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-puppet-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-pureftpd?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-pureftpd-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-quota?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-quota-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-renater-partage?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-renater-partage-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-repository?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-repository-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-samba?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-samba-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-sogo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-sogo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-spamassassin?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-spamassassin-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-squid?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-squid-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ssh?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ssh-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-subcontracting?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-subcontracting-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-sudo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-sudo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-supann?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-supann-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-sympa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-sympa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-systems?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-systems-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-user-reminder?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-user-reminder-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-weblink?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-weblink-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-webservice?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-webservice-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-smarty3-acl-render?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "scan_errors": [] }, { "path": "debian/README.Debian", @@ -6722,33 +7062,7 @@ "matcher": "3-seq", "license_expression": "borceux", "rule_identifier": "borceux.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/borceux.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100, - "matched_text": "package consists of [various] [tarballs].\n\n[This] README", - "licenses": [ - { - "key": "borceux", - "name": "Borceux License", - "short_name": "Borceux License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Francis Borceux", - "homepage_url": "https://fedoraproject.org/wiki/Licensing/Borceux", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/borceux", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/borceux.LICENSE", - "spdx_license_key": "Borceux", - "spdx_url": "https://spdx.org/licenses/Borceux" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/borceux.LICENSE" } ], "percentage_of_license_text": 10.53, @@ -7033,33 +7347,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -7078,33 +7366,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" }, { "score": 100.0, @@ -7115,35 +7377,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" } ] }, @@ -7162,33 +7396,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -7207,33 +7415,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -7252,33 +7434,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_195.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: BSD-3-clause", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE" } ] }, @@ -7297,33 +7453,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -7342,33 +7472,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -7387,33 +7491,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -7432,33 +7510,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -7477,33 +7529,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -7522,33 +7548,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -7567,33 +7567,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1066.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1066.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 30, - "rule_relevance": 100, - "matched_text": "License: [GPL]-[2+]\n[Comment]:\n [This] [file] is distributed under the [same] license", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1066.RULE" }, { "score": 100.0, @@ -7604,33 +7578,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" }, { "score": 100.0, @@ -7641,35 +7589,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" } ] }, @@ -7688,33 +7608,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: LGPL-3+", - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE" } ] }, @@ -7734,33 +7628,7 @@ "matcher": "2-aho", "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99, - "matched_text": "License: public-domain", - "licenses": [ - { - "key": "public-domain", - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE", - "spdx_license_key": "LicenseRef-scancode-public-domain", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" } ] }, @@ -7780,33 +7648,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_67.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_67.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "GPL-2+).", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_67.RULE" } ] }, @@ -7826,33 +7668,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -7872,33 +7688,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -7918,33 +7708,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "License: Expat", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" } ] }, @@ -7964,33 +7728,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -8010,33 +7748,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -8056,33 +7768,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -8102,33 +7788,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -8148,33 +7808,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -8194,33 +7828,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -8240,33 +7848,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -8286,33 +7868,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -8332,33 +7888,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -8378,33 +7908,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -8423,33 +7927,7 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "bsd-original_43.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: BSD-4-clause", - "licenses": [ - { - "key": "bsd-original", - "name": "BSD-Original", - "short_name": "BSD-Original", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", - "spdx_license_key": "BSD-4-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE" } ] }, @@ -8469,33 +7947,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "License: Expat", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" } ] }, @@ -8515,33 +7967,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "License: Expat", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" } ] }, @@ -8560,33 +7986,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" }, { "score": 100.0, @@ -8597,33 +7997,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_89.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_89.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "GPL-3+", - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_89.RULE" }, { "score": 100.0, @@ -8634,33 +8008,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_64.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_64.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "LGPL-2.1+", - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_64.RULE" }, { "score": 100.0, @@ -8671,33 +8019,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "LGPL-3+", - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_36.RULE" }, { "score": 100.0, @@ -8708,33 +8030,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_10.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "BSD-3-clause", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_10.RULE" }, { "score": 100.0, @@ -8745,33 +8041,7 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "BSD-4-clause", - "licenses": [ - { - "key": "bsd-original", - "name": "BSD-Original", - "short_name": "BSD-Original", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", - "spdx_license_key": "BSD-4-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE" }, { "score": 100.0, @@ -8782,33 +8052,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" }, { "score": 100.0, @@ -8819,35 +8063,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_1038.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_1038.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/GPL-2" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 136, - "rule_relevance": 100, - "matched_text": "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\n .\n On Debian systems, the complete text of the GNU General\n Public License 2 can be found in `/usr/share/common-licenses/GPL-2'.", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_1038.RULE" }, { "score": 100.0, @@ -8858,33 +8074,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_92.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_92.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-3+", - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_92.RULE" }, { "score": 100.0, @@ -8895,35 +8085,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_512.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_512.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/GPL-3" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 136, - "rule_relevance": 100, - "matched_text": "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 3 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\n .\n On Debian systems, the complete text of the GNU General\n Public License 3 can be found in `/usr/share/common-licenses/GPL-3'.", - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_512.RULE" }, { "score": 100.0, @@ -8934,33 +8096,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_108.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_108.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: LGPL-2.1+", - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_108.RULE" }, { "score": 100.0, @@ -8971,35 +8107,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_418.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_418.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/LGPL-2.1" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 146, - "rule_relevance": 100, - "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 Street, Fifth Floor, Boston,\n MA 02110-1301 USA\n .\n On Debian systems, the full text of the GNU Lesser General Public\n License version 2,1 can be found in the file\n `/usr/share/common-licenses/LGPL-2.1'.", - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_418.RULE" }, { "score": 100.0, @@ -9010,33 +8118,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "License: Expat", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" }, { "score": 100.0, @@ -9047,33 +8129,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "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 in\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 The above copyright notice and this permission notice shall be included in all\n 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 THE\n SOFTWARE.", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" }, { "score": 100.0, @@ -9084,33 +8140,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_195.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: BSD-3-clause", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE" }, { "score": 100.0, @@ -9121,33 +8151,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_577.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_577.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 213, - "rule_relevance": 100, - "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 notice,\n this list of conditions and the following disclaimer.\n - Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n - Neither the name of the copyright holder 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 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 HOLDER 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 CONTRACT,\n STRICT 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.", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_577.RULE" }, { "score": 100.0, @@ -9158,33 +8162,7 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "bsd-original_43.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: BSD-4-clause", - "licenses": [ - { - "key": "bsd-original", - "name": "BSD-Original", - "short_name": "BSD-Original", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", - "spdx_license_key": "BSD-4-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE" }, { "score": 100.0, @@ -9195,33 +8173,7 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "bsd-original_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_71.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 236, - "rule_relevance": 100, - "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 notice,\n this list of conditions and the following disclaimer.\n - Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n - All advertising materials mentioning features or use of this software must\n display the following acknowledgement: \u201cThis product includes software\n developed by the .\u201d\n - Neither the name of the author(s) nor the names of this program's\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 AUTHOR(S) \u201cAS IS\u201d 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. IN NO\n EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\n OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", - "licenses": [ - { - "key": "bsd-original", - "name": "BSD-Original", - "short_name": "BSD-Original", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", - "spdx_license_key": "BSD-4-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_71.RULE" }, { "score": 100.0, @@ -9232,33 +8184,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: LGPL-3+", - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE" }, { "score": 100.0, @@ -9269,35 +8195,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_189.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_189.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/LGPL-3" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 105, - "rule_relevance": 100, - "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 3 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 On Debian systems, the complete text of the GNU Lesser General\n Public License 3 can be found in `/usr/share/common-licenses/LGPL-3'.", - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_189.RULE" }, { "score": 99.0, @@ -9308,33 +8206,7 @@ "matcher": "2-aho", "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99, - "matched_text": "License: public-domain", - "licenses": [ - { - "key": "public-domain", - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE", - "spdx_license_key": "LicenseRef-scancode-public-domain", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" }, { "score": 100.0, @@ -9345,33 +8217,7 @@ "matcher": "2-aho", "license_expression": "other-permissive", "rule_identifier": "other-permissive_325.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_325.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 40, - "rule_relevance": 100, - "matched_text": "This file is in the public domain. You may use and modify it as\n you see fit, as long as this copyright message is included and\n that there is an indication as to what modifications have been\n made (if any).", - "licenses": [ - { - "key": "other-permissive", - "name": "Other Permissive Licenses", - "short_name": "Other Permissive Licenses", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-permissive", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-permissive", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_325.RULE" } ] }, @@ -9390,33 +8236,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -9435,33 +8255,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -9480,33 +8274,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -9525,33 +8293,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -9570,33 +8312,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -9615,33 +8331,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -9660,33 +8350,7 @@ "matcher": "2-aho", "license_expression": "bsd-simplified", "rule_identifier": "bsd-simplified_136.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_136.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: BSD (2 clause)", - "licenses": [ - { - "key": "bsd-simplified", - "name": "BSD-2-Clause", - "short_name": "BSD-2-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "text_url": "http://opensource.org/licenses/bsd-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", - "spdx_license_key": "BSD-2-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_136.RULE" } ] }, @@ -9705,33 +8369,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later) (", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -9750,33 +8388,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -9795,33 +8407,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -9840,33 +8426,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -9886,33 +8446,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_37.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_37.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: LGPL (v3", - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_37.RULE" } ] }, @@ -9931,33 +8465,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -9976,33 +8484,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -10021,33 +8503,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -10066,33 +8522,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -10111,33 +8541,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -10156,33 +8560,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -10201,33 +8579,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -10246,33 +8598,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -10291,33 +8617,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -10336,33 +8636,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -10381,33 +8655,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later) (", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -10426,33 +8674,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -10472,33 +8694,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_221.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_221.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 90, - "matched_text": "License: MIT/X11 (", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_221.RULE" }, { "score": 100.0, @@ -10509,33 +8705,7 @@ "matcher": "2-aho", "license_expression": "other-permissive", "rule_identifier": "other-permissive_16.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_16.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "BSD like)", - "licenses": [ - { - "key": "other-permissive", - "name": "Other Permissive Licenses", - "short_name": "Other Permissive Licenses", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-permissive", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-permissive", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_16.RULE" } ] }, @@ -10555,33 +8725,7 @@ "matcher": "2-aho", "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99, - "matched_text": "License: Public domain", - "licenses": [ - { - "key": "public-domain", - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE", - "spdx_license_key": "LicenseRef-scancode-public-domain", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" }, { "score": 100.0, @@ -10592,33 +8736,7 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "BSD (4 clause)", - "licenses": [ - { - "key": "bsd-original", - "name": "BSD-Original", - "short_name": "BSD-Original", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", - "spdx_license_key": "BSD-4-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE" }, { "score": 50.0, @@ -10629,33 +8747,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_word_only.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 50, - "matched_text": "GPL", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE" } ] } @@ -15059,33 +13151,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -15104,33 +13170,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" }, { "score": 100.0, @@ -15141,35 +13181,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" } ] }, @@ -15188,33 +13200,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -15233,33 +13219,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -15278,33 +13238,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_195.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: BSD-3-clause", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE" } ] }, @@ -15323,33 +13257,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -15368,33 +13276,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -15413,33 +13295,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -15458,33 +13314,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -15503,33 +13333,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -15548,33 +13352,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -15593,33 +13371,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1066.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1066.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 30, - "rule_relevance": 100, - "matched_text": "License: [GPL]-[2+]\n[Comment]:\n [This] [file] is distributed under the [same] license", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1066.RULE" }, { "score": 100.0, @@ -15630,33 +13382,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" }, { "score": 100.0, @@ -15667,35 +13393,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" } ] }, @@ -15714,33 +13412,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: LGPL-3+", - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE" } ] }, @@ -15760,33 +13432,7 @@ "matcher": "2-aho", "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99, - "matched_text": "License: public-domain", - "licenses": [ - { - "key": "public-domain", - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE", - "spdx_license_key": "LicenseRef-scancode-public-domain", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" } ] }, @@ -15806,33 +13452,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_67.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_67.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "GPL-2+).", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_67.RULE" } ] }, @@ -15852,33 +13472,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -15898,33 +13492,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -15944,33 +13512,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "License: Expat", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" } ] }, @@ -15990,33 +13532,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -16036,33 +13552,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -16082,33 +13572,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -16128,33 +13592,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -16174,33 +13612,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -16220,33 +13632,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -16266,33 +13652,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -16312,33 +13672,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -16358,33 +13692,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -16404,33 +13712,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" } ] }, @@ -16449,33 +13731,7 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "bsd-original_43.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: BSD-4-clause", - "licenses": [ - { - "key": "bsd-original", - "name": "BSD-Original", - "short_name": "BSD-Original", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", - "spdx_license_key": "BSD-4-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE" } ] }, @@ -16495,33 +13751,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "License: Expat", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" } ] }, @@ -16541,33 +13771,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "License: Expat", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" } ] }, @@ -16586,33 +13790,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" }, { "score": 100.0, @@ -16623,33 +13801,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_89.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_89.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "GPL-3+", - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_89.RULE" }, { "score": 100.0, @@ -16660,33 +13812,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_64.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_64.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "LGPL-2.1+", - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_64.RULE" }, { "score": 100.0, @@ -16697,33 +13823,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "LGPL-3+", - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_36.RULE" }, { "score": 100.0, @@ -16734,33 +13834,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_10.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "BSD-3-clause", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_10.RULE" }, { "score": 100.0, @@ -16771,33 +13845,7 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "BSD-4-clause", - "licenses": [ - { - "key": "bsd-original", - "name": "BSD-Original", - "short_name": "BSD-Original", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", - "spdx_license_key": "BSD-4-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE" }, { "score": 100.0, @@ -16808,33 +13856,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" }, { "score": 100.0, @@ -16845,35 +13867,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_1038.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_1038.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/GPL-2" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 136, - "rule_relevance": 100, - "matched_text": "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\n .\n On Debian systems, the complete text of the GNU General\n Public License 2 can be found in `/usr/share/common-licenses/GPL-2'.", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_1038.RULE" }, { "score": 100.0, @@ -16884,33 +13878,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_92.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_92.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-3+", - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_92.RULE" }, { "score": 100.0, @@ -16921,35 +13889,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_512.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_512.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/GPL-3" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 136, - "rule_relevance": 100, - "matched_text": "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 3 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\n .\n On Debian systems, the complete text of the GNU General\n Public License 3 can be found in `/usr/share/common-licenses/GPL-3'.", - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_512.RULE" }, { "score": 100.0, @@ -16960,33 +13900,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_108.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_108.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: LGPL-2.1+", - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_108.RULE" }, { "score": 100.0, @@ -16997,35 +13911,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_418.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_418.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/LGPL-2.1" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 146, - "rule_relevance": 100, - "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 Street, Fifth Floor, Boston,\n MA 02110-1301 USA\n .\n On Debian systems, the full text of the GNU Lesser General Public\n License version 2,1 can be found in the file\n `/usr/share/common-licenses/LGPL-2.1'.", - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_418.RULE" }, { "score": 100.0, @@ -17036,33 +13922,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "License: Expat", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" }, { "score": 100.0, @@ -17073,33 +13933,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "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 in\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 The above copyright notice and this permission notice shall be included in all\n 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 THE\n SOFTWARE.", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" }, { "score": 100.0, @@ -17110,33 +13944,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_195.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: BSD-3-clause", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE" }, { "score": 100.0, @@ -17147,33 +13955,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_577.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_577.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 213, - "rule_relevance": 100, - "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 notice,\n this list of conditions and the following disclaimer.\n - Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n - Neither the name of the copyright holder 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 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 HOLDER 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 CONTRACT,\n STRICT 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.", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_577.RULE" }, { "score": 100.0, @@ -17184,33 +13966,7 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "bsd-original_43.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: BSD-4-clause", - "licenses": [ - { - "key": "bsd-original", - "name": "BSD-Original", - "short_name": "BSD-Original", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", - "spdx_license_key": "BSD-4-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE" }, { "score": 100.0, @@ -17221,33 +13977,7 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "bsd-original_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_71.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 236, - "rule_relevance": 100, - "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 notice,\n this list of conditions and the following disclaimer.\n - Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n - All advertising materials mentioning features or use of this software must\n display the following acknowledgement: \u201cThis product includes software\n developed by the .\u201d\n - Neither the name of the author(s) nor the names of this program's\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 AUTHOR(S) \u201cAS IS\u201d 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. IN NO\n EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\n OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", - "licenses": [ - { - "key": "bsd-original", - "name": "BSD-Original", - "short_name": "BSD-Original", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", - "spdx_license_key": "BSD-4-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_71.RULE" }, { "score": 100.0, @@ -17258,33 +13988,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: LGPL-3+", - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE" }, { "score": 100.0, @@ -17295,35 +13999,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_189.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_189.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/LGPL-3" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 105, - "rule_relevance": 100, - "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 3 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 On Debian systems, the complete text of the GNU Lesser General\n Public License 3 can be found in `/usr/share/common-licenses/LGPL-3'.", - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_189.RULE" }, { "score": 99.0, @@ -17334,33 +14010,7 @@ "matcher": "2-aho", "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99, - "matched_text": "License: public-domain", - "licenses": [ - { - "key": "public-domain", - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE", - "spdx_license_key": "LicenseRef-scancode-public-domain", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" }, { "score": 100.0, @@ -17371,33 +14021,7 @@ "matcher": "2-aho", "license_expression": "other-permissive", "rule_identifier": "other-permissive_325.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_325.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 40, - "rule_relevance": 100, - "matched_text": "This file is in the public domain. You may use and modify it as\n you see fit, as long as this copyright message is included and\n that there is an indication as to what modifications have been\n made (if any).", - "licenses": [ - { - "key": "other-permissive", - "name": "Other Permissive Licenses", - "short_name": "Other Permissive Licenses", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-permissive", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-permissive", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_325.RULE" } ] } @@ -17563,33 +14187,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -17608,33 +14206,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -17653,33 +14225,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -17698,33 +14244,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -17743,33 +14263,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -17788,33 +14282,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -17833,33 +14301,7 @@ "matcher": "2-aho", "license_expression": "bsd-simplified", "rule_identifier": "bsd-simplified_136.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_136.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: BSD (2 clause)", - "licenses": [ - { - "key": "bsd-simplified", - "name": "BSD-2-Clause", - "short_name": "BSD-2-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "text_url": "http://opensource.org/licenses/bsd-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", - "spdx_license_key": "BSD-2-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_136.RULE" } ] }, @@ -17878,33 +14320,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later) (", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -17923,33 +14339,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -17968,33 +14358,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -18013,33 +14377,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -18059,33 +14397,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_37.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_37.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: LGPL (v3", - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_37.RULE" } ] }, @@ -18104,33 +14416,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -18149,33 +14435,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -18194,33 +14454,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -18239,33 +14473,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -18284,33 +14492,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -18329,33 +14511,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -18374,33 +14530,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -18419,33 +14549,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -18464,33 +14568,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -18509,33 +14587,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -18554,33 +14606,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later) (", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -18599,33 +14625,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" } ] }, @@ -18645,33 +14645,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_221.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_221.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 90, - "matched_text": "License: MIT/X11 (", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_221.RULE" }, { "score": 100.0, @@ -18682,33 +14656,7 @@ "matcher": "2-aho", "license_expression": "other-permissive", "rule_identifier": "other-permissive_16.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_16.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "BSD like)", - "licenses": [ - { - "key": "other-permissive", - "name": "Other Permissive Licenses", - "short_name": "Other Permissive Licenses", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-permissive", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-permissive", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_16.RULE" } ] }, @@ -18728,33 +14676,7 @@ "matcher": "2-aho", "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99, - "matched_text": "License: Public domain", - "licenses": [ - { - "key": "public-domain", - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE", - "spdx_license_key": "LicenseRef-scancode-public-domain", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/public-domain.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" }, { "score": 100.0, @@ -18765,33 +14687,7 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "BSD (4 clause)", - "licenses": [ - { - "key": "bsd-original", - "name": "BSD-Original", - "short_name": "BSD-Original", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original.LICENSE", - "spdx_license_key": "BSD-4-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE" }, { "score": 50.0, @@ -18802,33 +14698,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_word_only.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 50, - "matched_text": "GPL", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE" } ] } @@ -19101,35 +14971,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" } ] } @@ -19264,35 +15106,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE" } ] } diff --git a/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json index 15254c2c4e3..6bcd4da2fa9 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json @@ -17,79 +17,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", "rule_identifier": "apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - }, - { - "key": "cc-by-nc-nd-3.0", - "name": "Creative Commons Attribution Non-Commercial No Derivatives License 3.0", - "short_name": "CC-BY-NC-ND-3.0", - "category": "Source-available", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-nc-nd/3.0/", - "text_url": "http://creativecommons.org/licenses/by-nc-nd/3.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-nc-nd-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-nc-nd-3.0.LICENSE", - "spdx_license_key": "CC-BY-NC-ND-3.0", - "spdx_url": "https://spdx.org/licenses/CC-BY-NC-ND-3.0" - }, - { - "key": "other-permissive", - "name": "Other Permissive Licenses", - "short_name": "Other Permissive Licenses", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-permissive", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-permissive", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE" - }, - { - "key": "proprietary-license", - "name": "Proprietary License", - "short_name": "Proprietary License", - "category": "Commercial", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/proprietary-license", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/proprietary-license.LICENSE", - "spdx_license_key": "LicenseRef-scancode-proprietary-license", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/proprietary-license.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE" } ] }, @@ -110,32 +38,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] }, @@ -156,34 +59,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE" } ] }, @@ -204,34 +80,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" } ] }, @@ -252,32 +101,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_683.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_683.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 214, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_683.RULE" } ] } @@ -345,33 +169,7 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -462,33 +260,7 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -515,6 +287,253 @@ "purl": "pkg:pypi/django@1.3.1" } ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "bsd-new", + "short_name": "BSD-3-Clause", + "name": "BSD-3-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-3-Clause", + "other_spdx_license_keys": [ + "LicenseRef-scancode-libzip" + ], + "osi_license_key": "BSD-3-Clause", + "text_urls": [ + "http://www.opensource.org/licenses/BSD-3-Clause" + ], + "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "other_urls": [ + "http://framework.zend.com/license/new-bsd", + "https://opensource.org/licenses/BSD-3-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "cc-by-nc-nd-3.0", + "short_name": "CC-BY-NC-ND-3.0", + "name": "Creative Commons Attribution Non-Commercial No Derivatives License 3.0", + "category": "Source-available", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by-nc-nd/3.0/", + "is_builtin": true, + "spdx_license_key": "CC-BY-NC-ND-3.0", + "text_urls": [ + "http://creativecommons.org/licenses/by-nc-nd/3.0/legalcode" + ], + "other_urls": [ + "https://creativecommons.org/licenses/by-nc-nd/3.0/legalcode" + ], + "text": "Creative Commons Legal Code\n\nAttribution-NonCommercial-NoDerivs 3.0 Unported\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR\nDAMAGES RESULTING FROM ITS USE.\n\nLicense\n\nTHE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE\nCOMMONS PUBLIC LICENSE (\"CCPL\" OR \"LICENSE\"). THE WORK IS PROTECTED BY\nCOPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS\nAUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE\nTO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY\nBE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS\nCONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND\nCONDITIONS.\n\n1. Definitions\n\na. \"Adaptation\" means a work based upon the Work, or upon the Work and\nother pre-existing works, such as a translation, adaptation,\nderivative work, arrangement of music or other alterations of a\nliterary or artistic work, or phonogram or performance and includes\ncinematographic adaptations or any other form in which the Work may be\nrecast, transformed, or adapted including in any form recognizably\nderived from the original, except that a work that constitutes a\nCollection will not be considered an Adaptation for the purpose of\nthis License. For the avoidance of doubt, where the Work is a musical\nwork, performance or phonogram, the synchronization of the Work in\ntimed-relation with a moving image (\"synching\") will be considered an\nAdaptation for the purpose of this License.\nb. \"Collection\" means a collection of literary or artistic works, such as\nencyclopedias and anthologies, or performances, phonograms or\nbroadcasts, or other works or subject matter other than works listed\nin Section 1(f) below, which, by reason of the selection and\narrangement of their contents, constitute intellectual creations, in\nwhich the Work is included in its entirety in unmodified form along\nwith one or more other contributions, each constituting separate and\nindependent works in themselves, which together are assembled into a\ncollective whole. A work that constitutes a Collection will not be\nconsidered an Adaptation (as defined above) for the purposes of this\nLicense.\nc. \"Distribute\" means to make available to the public the original and\ncopies of the Work through sale or other transfer of ownership.\nd. \"Licensor\" means the individual, individuals, entity or entities that\noffer(s) the Work under the terms of this License.\ne. \"Original Author\" means, in the case of a literary or artistic work,\nthe individual, individuals, entity or entities who created the Work\nor if no individual or entity can be identified, the publisher; and in\naddition (i) in the case of a performance the actors, singers,\nmusicians, dancers, and other persons who act, sing, deliver, declaim,\nplay in, interpret or otherwise perform literary or artistic works or\nexpressions of folklore; (ii) in the case of a phonogram the producer\nbeing the person or legal entity who first fixes the sounds of a\nperformance or other sounds; and, (iii) in the case of broadcasts, the\norganization that transmits the broadcast.\nf. \"Work\" means the literary and/or artistic work offered under the terms\nof this License including without limitation any production in the\nliterary, scientific and artistic domain, whatever may be the mode or\nform of its expression including digital form, such as a book,\npamphlet and other writing; a lecture, address, sermon or other work\nof the same nature; a dramatic or dramatico-musical work; a\nchoreographic work or entertainment in dumb show; a musical\ncomposition with or without words; a cinematographic work to which are\nassimilated works expressed by a process analogous to cinematography;\na work of drawing, painting, architecture, sculpture, engraving or\nlithography; a photographic work to which are assimilated works\nexpressed by a process analogous to photography; a work of applied\nart; an illustration, map, plan, sketch or three-dimensional work\nrelative to geography, topography, architecture or science; a\nperformance; a broadcast; a phonogram; a compilation of data to the\nextent it is protected as a copyrightable work; or a work performed by\na variety or circus performer to the extent it is not otherwise\nconsidered a literary or artistic work.\ng. \"You\" means an individual or entity exercising rights under this\nLicense who has not previously violated the terms of this License with\nrespect to the Work, or who has received express permission from the\nLicensor to exercise rights under this License despite a previous\nviolation.\nh. \"Publicly Perform\" means to perform public recitations of the Work and\nto communicate to the public those public recitations, by any means or\nprocess, including by wire or wireless means or public digital\nperformances; to make available to the public Works in such a way that\nmembers of the public may access these Works from a place and at a\nplace individually chosen by them; to perform the Work to the public\nby any means or process and the communication to the public of the\nperformances of the Work, including by public digital performance; to\nbroadcast and rebroadcast the Work by any means including signs,\nsounds or images.\ni. \"Reproduce\" means to make copies of the Work by any means including\nwithout limitation by sound or visual recordings and the right of\nfixation and reproducing fixations of the Work, including storage of a\nprotected performance or phonogram in digital form or other electronic\nmedium.\n\n2. Fair Dealing Rights. Nothing in this License is intended to reduce,\nlimit, or restrict any uses free from copyright or rights arising from\nlimitations or exceptions that are provided for in connection with the\ncopyright protection under copyright law or other applicable laws.\n\n3. License Grant. Subject to the terms and conditions of this License,\nLicensor hereby grants You a worldwide, royalty-free, non-exclusive,\nperpetual (for the duration of the applicable copyright) license to\nexercise the rights in the Work as stated below:\n\na. to Reproduce the Work, to incorporate the Work into one or more\nCollections, and to Reproduce the Work as incorporated in the\nCollections; and,\nb. to Distribute and Publicly Perform the Work including as incorporated\nin Collections.\n\nThe above rights may be exercised in all media and formats whether now\nknown or hereafter devised. The above rights include the right to make\nsuch modifications as are technically necessary to exercise the rights in\nother media and formats, but otherwise you have no rights to make\nAdaptations. Subject to 8(f), all rights not expressly granted by Licensor\nare hereby reserved, including but not limited to the rights set forth in\nSection 4(d).\n\n4. Restrictions. The license granted in Section 3 above is expressly made\nsubject to and limited by the following restrictions:\n\na. You may Distribute or Publicly Perform the Work only under the terms\nof this License. You must include a copy of, or the Uniform Resource\nIdentifier (URI) for, this License with every copy of the Work You\nDistribute or Publicly Perform. You may not offer or impose any terms\non the Work that restrict the terms of this License or the ability of\nthe recipient of the Work to exercise the rights granted to that\nrecipient under the terms of the License. You may not sublicense the\nWork. You must keep intact all notices that refer to this License and\nto the disclaimer of warranties with every copy of the Work You\nDistribute or Publicly Perform. When You Distribute or Publicly\nPerform the Work, You may not impose any effective technological\nmeasures on the Work that restrict the ability of a recipient of the\nWork from You to exercise the rights granted to that recipient under\nthe terms of the License. This Section 4(a) applies to the Work as\nincorporated in a Collection, but this does not require the Collection\napart from the Work itself to be made subject to the terms of this\nLicense. If You create a Collection, upon notice from any Licensor You\nmust, to the extent practicable, remove from the Collection any credit\nas required by Section 4(c), as requested.\nb. You may not exercise any of the rights granted to You in Section 3\nabove in any manner that is primarily intended for or directed toward\ncommercial advantage or private monetary compensation. The exchange of\nthe Work for other copyrighted works by means of digital file-sharing\nor otherwise shall not be considered to be intended for or directed\ntoward commercial advantage or private monetary compensation, provided\nthere is no payment of any monetary compensation in connection with\nthe exchange of copyrighted works.\nc. If You Distribute, or Publicly Perform the Work or Collections, You\nmust, unless a request has been made pursuant to Section 4(a), keep\nintact all copyright notices for the Work and provide, reasonable to\nthe medium or means You are utilizing: (i) the name of the Original\nAuthor (or pseudonym, if applicable) if supplied, and/or if the\nOriginal Author and/or Licensor designate another party or parties\n(e.g., a sponsor institute, publishing entity, journal) for\nattribution (\"Attribution Parties\") in Licensor's copyright notice,\nterms of service or by other reasonable means, the name of such party\nor parties; (ii) the title of the Work if supplied; (iii) to the\nextent reasonably practicable, the URI, if any, that Licensor\nspecifies to be associated with the Work, unless such URI does not\nrefer to the copyright notice or licensing information for the Work.\nThe credit required by this Section 4(c) may be implemented in any\nreasonable manner; provided, however, that in the case of a\nCollection, at a minimum such credit will appear, if a credit for all\ncontributing authors of Collection appears, then as part of these\ncredits and in a manner at least as prominent as the credits for the\nother contributing authors. For the avoidance of doubt, You may only\nuse the credit required by this Section for the purpose of attribution\nin the manner set out above and, by exercising Your rights under this\nLicense, You may not implicitly or explicitly assert or imply any\nconnection with, sponsorship or endorsement by the Original Author,\nLicensor and/or Attribution Parties, as appropriate, of You or Your\nuse of the Work, without the separate, express prior written\npermission of the Original Author, Licensor and/or Attribution\nParties.\nd. For the avoidance of doubt:\n\ni. Non-waivable Compulsory License Schemes. In those jurisdictions in\nwhich the right to collect royalties through any statutory or\ncompulsory licensing scheme cannot be waived, the Licensor\nreserves the exclusive right to collect such royalties for any\nexercise by You of the rights granted under this License;\nii. Waivable Compulsory License Schemes. In those jurisdictions in\nwhich the right to collect royalties through any statutory or\ncompulsory licensing scheme can be waived, the Licensor reserves\nthe exclusive right to collect such royalties for any exercise by\nYou of the rights granted under this License if Your exercise of\nsuch rights is for a purpose or use which is otherwise than\nnoncommercial as permitted under Section 4(b) and otherwise waives\nthe right to collect royalties through any statutory or compulsory\nlicensing scheme; and,\niii. Voluntary License Schemes. The Licensor reserves the right to\ncollect royalties, whether individually or, in the event that the\nLicensor is a member of a collecting society that administers\nvoluntary licensing schemes, via that society, from any exercise\nby You of the rights granted under this License that is for a\npurpose or use which is otherwise than noncommercial as permitted\nunder Section 4(b).\ne. Except as otherwise agreed in writing by the Licensor or as may be\notherwise permitted by applicable law, if You Reproduce, Distribute or\nPublicly Perform the Work either by itself or as part of any\nCollections, You must not distort, mutilate, modify or take other\nderogatory action in relation to the Work which would be prejudicial\nto the Original Author's honor or reputation.\n\n5. Representations, Warranties and Disclaimer\n\nUNLESS OTHERWISE MUTUALLY AGREED BY THE PARTIES IN WRITING, LICENSOR\nOFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY\nKIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,\nINCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,\nFITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF\nLATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,\nWHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION\nOF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.\n\n6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE\nLAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR\nANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES\nARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS\nBEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n7. Termination\n\na. This License and the rights granted hereunder will terminate\nautomatically upon any breach by You of the terms of this License.\nIndividuals or entities who have received Collections from You under\nthis License, however, will not have their licenses terminated\nprovided such individuals or entities remain in full compliance with\nthose licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any\ntermination of this License.\nb. Subject to the above terms and conditions, the license granted here is\nperpetual (for the duration of the applicable copyright in the Work).\nNotwithstanding the above, Licensor reserves the right to release the\nWork under different license terms or to stop distributing the Work at\nany time; provided, however that any such election will not serve to\nwithdraw this License (or any other license that has been, or is\nrequired to be, granted under the terms of this License), and this\nLicense will continue in full force and effect unless terminated as\nstated above.\n\n8. Miscellaneous\n\na. Each time You Distribute or Publicly Perform the Work or a Collection,\nthe Licensor offers to the recipient a license to the Work on the same\nterms and conditions as the license granted to You under this License.\nb. If any provision of this License is invalid or unenforceable under\napplicable law, it shall not affect the validity or enforceability of\nthe remainder of the terms of this License, and without further action\nby the parties to this agreement, such provision shall be reformed to\nthe minimum extent necessary to make such provision valid and\nenforceable.\nc. No term or provision of this License shall be deemed waived and no\nbreach consented to unless such waiver or consent shall be in writing\nand signed by the party to be charged with such waiver or consent.\nd. This License constitutes the entire agreement between the parties with\nrespect to the Work licensed here. There are no understandings,\nagreements or representations with respect to the Work not specified\nhere. Licensor shall not be bound by any additional provisions that\nmay appear in any communication from You. This License may not be\nmodified without the mutual written agreement of the Licensor and You.\ne. The rights granted under, and the subject matter referenced, in this\nLicense were drafted utilizing the terminology of the Berne Convention\nfor the Protection of Literary and Artistic Works (as amended on\nSeptember 28, 1979), the Rome Convention of 1961, the WIPO Copyright\nTreaty of 1996, the WIPO Performances and Phonograms Treaty of 1996\nand the Universal Copyright Convention (as revised on July 24, 1971).\nThese rights and subject matter take effect in the relevant\njurisdiction in which the License terms are sought to be enforced\naccording to the corresponding provisions of the implementation of\nthose treaty provisions in the applicable national law. If the\nstandard suite of rights granted under applicable copyright law\nincludes additional rights not granted under this License, such\nadditional rights are deemed to be included in the License; this\nLicense is not intended to restrict the license of any rights under\napplicable law.\n\n\nCreative Commons Notice\n\nCreative Commons is not a party to this License, and makes no warranty\nwhatsoever in connection with the Work. Creative Commons will not be\nliable to You or any party on any legal theory for any damages\nwhatsoever, including without limitation any general, special,\nincidental or consequential damages arising in connection to this\nlicense. Notwithstanding the foregoing two (2) sentences, if Creative\nCommons has expressly identified itself as the Licensor hereunder, it\nshall have all rights and obligations of Licensor.\n\nExcept for the limited purpose of indicating to the public that the\nWork is licensed under the CCPL, Creative Commons does not authorize\nthe use by either party of the trademark \"Creative Commons\" or any\nrelated trademark or logo of Creative Commons without the prior\nwritten consent of Creative Commons. Any permitted use will be in\ncompliance with Creative Commons' then-current trademark usage\nguidelines, as may be published on its website or otherwise made\navailable upon request from time to time. For the avoidance of doubt,\nthis trademark restriction does not form part of this License.\n\nCreative Commons may be contacted at https://creativecommons.org/." + }, + { + "key": "other-permissive", + "short_name": "Other Permissive Licenses", + "name": "Other Permissive Licenses", + "category": "Permissive", + "owner": "nexB", + "notes": "this is a catch all and ellipsis to deal with some cases when a large\nnumber of ancillary yet similar licenses may be reported as one.\n", + "is_builtin": true, + "is_generic": true, + "spdx_license_key": "LicenseRef-scancode-other-permissive", + "text": "This component contains multiple third-party subcomponents licensed\nunder permissive licenses in the style of MIT, BSD, X11, and/or Apache." + }, + { + "key": "proprietary-license", + "short_name": "Proprietary License", + "name": "Proprietary License", + "category": "Commercial", + "owner": "Unspecified", + "notes": "replaces the proprietary key npm before 3.1 recommended this \"If you are using a license that hasn't been assigned an SPDX identifier, or if you are using a custom license, use the following valid SPDX expression \"LicenseRef-LICENSE\"", + "is_builtin": true, + "is_generic": true, + "spdx_license_key": "LicenseRef-scancode-proprietary-license", + "other_spdx_license_keys": [ + "LicenseRef-LICENSE", + "LicenseRef-LICENSE.md" + ], + "text": "This component is normally licensed under a proprietary license agreement with\na supplier that has terms and conditions that restrict the use of the code,\nbut may not require payment to the supplier." + } + ], + "rule_references": [ + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99, + "matched_text": "['License :: OSI Approved :: BSD License']" + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99, + "matched_text": "['License :: OSI Approved :: BSD License']" + }, + { + "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", + "rule_identifier": "apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", + "referenced_filenames": [ + "LICENSE.txt" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100, + "matched_text": "LICENSE\n[include] [django]/[dispatch]/license.txt\n[include] [django]/[utils]/[simplejson]/LICENSE.txt" + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99, + "matched_text": "['License :: OSI Approved :: BSD License']" + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99, + "matched_text": "License :: OSI Approved :: BSD License'," + }, + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_683.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 214, + "rule_relevance": 100, + "matched_text": "Redistribution and use in source and binary forms, with or without modification,\nare 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. 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 Django nor the names of its contributors may be used\n to endorse or promote products derived from this software without\n specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." + }, + { + "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", + "rule_identifier": "apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", + "referenced_filenames": [ + "LICENSE.txt" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100, + "matched_text": "LICENSE\n[include] [django]/[dispatch]/license.txt\n[include] [django]/[utils]/[simplejson]/LICENSE.txt" + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99, + "matched_text": "['License :: OSI Approved :: BSD License']" + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99, + "matched_text": "License :: OSI Approved :: BSD License" + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99, + "matched_text": "['License :: OSI Approved :: BSD License']" + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99, + "matched_text": "License :: OSI Approved :: BSD License'," + } + ], "files": [ { "path": "django-1.2", @@ -580,80 +599,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", "rule_identifier": "apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100, - "matched_text": "LICENSE\n[include] [django]/[dispatch]/license.txt\n[include] [django]/[utils]/[simplejson]/LICENSE.txt", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - }, - { - "key": "cc-by-nc-nd-3.0", - "name": "Creative Commons Attribution Non-Commercial No Derivatives License 3.0", - "short_name": "CC-BY-NC-ND-3.0", - "category": "Source-available", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-nc-nd/3.0/", - "text_url": "http://creativecommons.org/licenses/by-nc-nd/3.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-nc-nd-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-nc-nd-3.0.LICENSE", - "spdx_license_key": "CC-BY-NC-ND-3.0", - "spdx_url": "https://spdx.org/licenses/CC-BY-NC-ND-3.0" - }, - { - "key": "other-permissive", - "name": "Other Permissive Licenses", - "short_name": "Other Permissive Licenses", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-permissive", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-permissive", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE" - }, - { - "key": "proprietary-license", - "name": "Proprietary License", - "short_name": "Proprietary License", - "category": "Commercial", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/proprietary-license", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/proprietary-license.LICENSE", - "spdx_license_key": "LicenseRef-scancode-proprietary-license", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/proprietary-license.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE" } ] } @@ -785,35 +731,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the Django package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE" }, { "score": 99.0, @@ -824,33 +742,7 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -887,35 +779,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the Django package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE" }, { "score": 99.0, @@ -926,33 +790,7 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -1015,35 +853,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 99.0, @@ -1054,33 +864,7 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -1117,35 +901,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 99.0, @@ -1156,33 +912,7 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -1219,35 +949,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the Django package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE" }, { "score": 99.0, @@ -1258,33 +960,7 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -1378,33 +1054,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "License :: OSI Approved :: BSD License',", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -1476,33 +1126,7 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -1594,33 +1218,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_683.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_683.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 214, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without modification,\nare 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. 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 Django nor the names of its contributors may be used\n to endorse or promote products derived from this software without\n specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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.", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_683.RULE" } ] } @@ -1657,80 +1255,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", "rule_identifier": "apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100, - "matched_text": "LICENSE\n[include] [django]/[dispatch]/license.txt\n[include] [django]/[utils]/[simplejson]/LICENSE.txt", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - }, - { - "key": "cc-by-nc-nd-3.0", - "name": "Creative Commons Attribution Non-Commercial No Derivatives License 3.0", - "short_name": "CC-BY-NC-ND-3.0", - "category": "Source-available", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-nc-nd/3.0/", - "text_url": "http://creativecommons.org/licenses/by-nc-nd/3.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-nc-nd-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-nc-nd-3.0.LICENSE", - "spdx_license_key": "CC-BY-NC-ND-3.0", - "spdx_url": "https://spdx.org/licenses/CC-BY-NC-ND-3.0" - }, - { - "key": "other-permissive", - "name": "Other Permissive Licenses", - "short_name": "Other Permissive Licenses", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-permissive", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-permissive", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-permissive.LICENSE" - }, - { - "key": "proprietary-license", - "name": "Proprietary License", - "short_name": "Proprietary License", - "category": "Commercial", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/proprietary-license", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/proprietary-license.LICENSE", - "spdx_license_key": "LicenseRef-scancode-proprietary-license", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/proprietary-license.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE" } ] } @@ -1782,33 +1307,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "License :: OSI Approved :: BSD License", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -1884,33 +1383,7 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -2052,35 +1525,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the Django package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE" }, { "score": 99.0, @@ -2091,33 +1536,7 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -2180,35 +1599,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the Django package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE" }, { "score": 99.0, @@ -2219,33 +1610,7 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -2312,33 +1677,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_683.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_683.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 214, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without modification,\nare 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. 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 Django nor the names of its contributors may be used\n to endorse or promote products derived from this software without\n specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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.", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_683.RULE" } ] } @@ -2385,33 +1724,7 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "License :: OSI Approved :: BSD License',", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } @@ -2487,33 +1800,7 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] } diff --git a/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json index 122e926ddc5..fad1734d5b8 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json @@ -17,32 +17,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE" } ] }, @@ -63,32 +38,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_164.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1582, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE" } ] }, @@ -109,32 +59,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_305.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_305.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_305.RULE" } ] }, @@ -155,34 +80,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_83.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_83.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_83.RULE" } ] }, @@ -203,32 +101,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "pypi_apache_no-version.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 95, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE" }, { "score": 100.0, @@ -239,32 +112,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] }, @@ -285,34 +133,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" } ] } @@ -653,33 +474,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "Apache 2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] }, @@ -698,33 +493,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "pypi_apache_no-version.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 95, - "matched_text": "['License :: OSI Approved :: Apache Software License']", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE" } ] } @@ -751,6 +520,167 @@ "purl": "pkg:pypi/paddlenlp" } ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "Apache 2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "pypi_apache_no-version.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 95, + "matched_text": "['License :: OSI Approved :: Apache Software License']" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100, + "matched_text": "Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License." + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_164.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1582, + "rule_relevance": 100, + "matched_text": "Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright ([c]) [2016] [PaddlePaddle] [Authors]. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_305.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "Apache-2.[0\u5f00\u6e90\u534f\u8bae]](./LICENSE)\u3002" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "Apache 2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "pypi_apache_no-version.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 95, + "matched_text": "['License :: OSI Approved :: Apache Software License']" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100, + "matched_text": "Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License." + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "pypi_apache_no-version.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 95, + "matched_text": "License :: OSI Approved :: Apache Software License'," + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "matched_text": "license='Apache 2.0')" + } + ], "files": [ { "path": "LICENSE", @@ -773,33 +703,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_164.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1582, - "rule_relevance": 100, - "matched_text": "Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright ([c]) [2016] [PaddlePaddle] [Authors]. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE" } ] } @@ -836,33 +740,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_305.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_305.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "Apache-2.[0\u5f00\u6e90\u534f\u8bae]](./LICENSE)\u3002", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_305.RULE" } ] } @@ -899,35 +777,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_83.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_83.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "is provided under the [Apache-2.0 License](./LICENSE).", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_83.RULE" }, { "score": 99.81, @@ -938,33 +788,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_164.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1582, - "rule_relevance": 100, - "matched_text": "Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright ([c]) [2016] [PaddlePaddle] [Authors]. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE" } ] } @@ -1053,35 +877,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" }, { "score": 100.0, @@ -1092,33 +888,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "Apache 2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" }, { "score": 95.0, @@ -1129,33 +899,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "pypi_apache_no-version.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 95, - "matched_text": "['License :: OSI Approved :: Apache Software License']", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE" } ] } @@ -1192,35 +936,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" }, { "score": 100.0, @@ -1231,33 +947,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "Apache 2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" }, { "score": 95.0, @@ -1268,33 +958,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "pypi_apache_no-version.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 95, - "matched_text": "['License :: OSI Approved :: Apache Software License']", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE" } ] } @@ -1536,33 +1200,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100, - "matched_text": "Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE" } ] } @@ -1629,33 +1267,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_164.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1582, - "rule_relevance": 100, - "matched_text": "Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright ([c]) [2016] [PaddlePaddle] [Authors]. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE" } ] }, @@ -1674,33 +1286,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_305.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_305.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "Apache-2.[0\u5f00\u6e90\u534f\u8bae]](./LICENSE)\u3002", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_305.RULE" } ] }, @@ -1719,35 +1305,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_83.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_83.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "is provided under the [Apache-2.0 License](./LICENSE).", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_83.RULE" }, { "score": 99.81, @@ -1758,33 +1316,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_164.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1582, - "rule_relevance": 100, - "matched_text": "Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright ([c]) [2016] [PaddlePaddle] [Authors]. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE" } ] } @@ -2042,33 +1574,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100, - "matched_text": "Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE" } ] }, @@ -2087,33 +1593,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "pypi_apache_no-version.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 95, - "matched_text": "License :: OSI Approved :: Apache Software License',", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE" }, { "score": 100.0, @@ -2124,33 +1604,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "license='Apache 2.0')", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] } @@ -2217,33 +1671,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "Apache 2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] }, @@ -2262,33 +1690,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "pypi_apache_no-version.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 95, - "matched_text": "['License :: OSI Approved :: Apache Software License']", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE" } ] } diff --git a/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json index 97f45b18827..6f13e3d3861 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json @@ -17,32 +17,7 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5514, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" } ] }, @@ -63,32 +38,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE" } ] }, @@ -109,32 +59,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_203.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_203.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_203.RULE" }, { "score": 100.0, @@ -145,34 +70,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_367.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_367.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_367.RULE" }, { "score": 100.0, @@ -183,32 +81,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE" } ] }, @@ -229,34 +102,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -267,34 +113,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -305,34 +124,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -343,34 +135,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -381,34 +146,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -419,34 +157,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -457,34 +168,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" } ] }, @@ -505,34 +189,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -543,34 +200,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -581,34 +211,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -619,34 +222,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -657,34 +233,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -695,40 +244,150 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" } ] } ], "dependencies": [], "packages": [], + "license_references": [ + { + "key": "gpl-3.0", + "short_name": "GPL 3.0", + "name": "GNU General Public License 3.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", + "notes": "Per SPDX.org, this license was released 29 June 2007 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-3.0-only", + "other_spdx_license_keys": [ + "GPL-3.0", + "LicenseRef-gpl-3.0" + ], + "osi_license_key": "GPL-3.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "http://www.gnu.org/licenses/gpl-3.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-3.0.html", + "faq_url": "http://www.gnu.org/licenses/gpl-faq.html", + "other_urls": [ + "http://www.gnu.org/licenses/quick-guide-gplv3.html", + "http://www.opensource.org/licenses/GPL-3.0", + "https://opensource.org/licenses/GPL-3.0", + "https://www.gnu.org/licenses/gpl-3.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + }, + { + "key": "gpl-3.0-plus", + "short_name": "GPL 3.0 or later", + "name": "GNU General Public License 3.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "notes": "Per SPDX.org, this license was released 29 June 2007 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-3.0-or-later", + "other_spdx_license_keys": [ + "GPL-3.0+", + "LicenseRef-GPL-3.0-or-later" + ], + "text_urls": [ + "http://www.gnu.org/licenses/gpl-3.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-3.0", + "https://opensource.org/licenses/GPL-3.0", + "https://www.gnu.org/licenses/gpl-3.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + }, + { + "key": "unknown-license-reference", + "short_name": "Unknown License reference", + "name": "Unknown License file reference", + "category": "Unstated License", + "owner": "Unspecified", + "notes": "This applies to the case of a file with no clear license, which may be referenced via URL or text such as \"See license in...\" or \"This file is licensed under...\", but where the reference cannot be resolved to a specific named, public license.", + "is_builtin": true, + "is_unknown": true, + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "text": "" + } + ], + "rule_references": [ + { + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_204.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5514, + "rule_relevance": 100, + "matched_text": "GNU GENERAL PUBLIC LICENSE\n\t\t Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n\t\t\t Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n\t\t TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n \n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n \n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n\t\t END OF TERMS AND CONDITIONS\n\n\t How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + }, + { + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_290.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 102, + "rule_relevance": 100, + "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 ." + }, + { + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_203.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "License: GPLv3 |" + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_367.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100, + "matched_text": "See LICENSE for the full text" + }, + { + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_290.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 102, + "rule_relevance": 100, + "matched_text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see ." + } + ], "files": [ { "path": "COPYING", @@ -751,33 +410,7 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5514, - "rule_relevance": 100, - "matched_text": "GNU GENERAL PUBLIC LICENSE\n\t\t Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n\t\t\t Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n\t\t TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n \n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n \n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n\t\t END OF TERMS AND CONDITIONS\n\n\t How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n.", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" } ] } @@ -838,33 +471,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_203.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_203.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "License: GPLv3 |", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_203.RULE" }, { "score": 100.0, @@ -875,35 +482,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_367.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_367.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "See LICENSE for the full text", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_367.RULE" }, { "score": 100.0, @@ -914,33 +493,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100, - "matched_text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .", - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE" } ] } @@ -975,33 +528,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100, - "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 .", - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE" } ] } @@ -1049,35 +576,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -1088,35 +587,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -1127,35 +598,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -1166,35 +609,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -1205,35 +620,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -1244,35 +631,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -1283,35 +642,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -1322,33 +653,7 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5514, - "rule_relevance": 100, - "matched_text": "GNU GENERAL PUBLIC LICENSE\n\t\t Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n\t\t\t Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n\t\t TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n \n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n \n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n\t\t END OF TERMS AND CONDITIONS\n\n\t How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n.", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" } ] } @@ -1383,35 +688,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -1422,35 +699,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -1461,35 +710,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -1500,35 +721,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -1539,35 +732,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -1578,35 +743,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package.", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" }, { "score": 100.0, @@ -1617,33 +754,7 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5514, - "rule_relevance": 100, - "matched_text": "GNU GENERAL PUBLIC LICENSE\n\t\t Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n\t\t\t Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n\t\t TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n \n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n \n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n\t\t END OF TERMS AND CONDITIONS\n\n\t How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n.", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" } ] } @@ -1708,33 +819,7 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5514, - "rule_relevance": 100, - "matched_text": "GNU GENERAL PUBLIC LICENSE\n\t\t Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n\t\t\t Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n\t\t TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n \n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n \n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n\t\t END OF TERMS AND CONDITIONS\n\n\t How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n.", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" } ] } diff --git a/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json index d073da62f53..c2e29ec8784 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json @@ -17,32 +17,7 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5514, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" } ] }, @@ -64,32 +39,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_32.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE" }, { "score": 100.0, @@ -100,32 +50,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_29.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE" }, { "score": 100.0, @@ -136,32 +61,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" } ] }, @@ -182,32 +82,7 @@ "matcher": "3-seq", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_627.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 30, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE" }, { "score": 50.0, @@ -218,32 +93,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown_88.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE" }, { "score": 100.0, @@ -254,32 +104,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" } ] }, @@ -300,32 +125,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_gnu_gpl.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE" }, { "score": 100.0, @@ -336,32 +136,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" }, { "score": 47.22, @@ -372,32 +147,7 @@ "matcher": "3-seq", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_103.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 36, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE" }, { "score": 100.0, @@ -408,32 +158,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_12.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE" }, { "score": 100.0, @@ -444,32 +169,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE" } ] }, @@ -490,32 +190,7 @@ "matcher": "3-seq", "license_expression": "cc-by-sa-3.0", "rule_identifier": "cc-by-sa-3.0_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 16, - "rule_relevance": 100, - "licenses": [ - { - "key": "cc-by-sa-3.0", - "name": "Creative Commons Attribution Share Alike License 3.0", - "short_name": "CC-BY-SA-3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-sa/3.0/", - "text_url": "http://creativecommons.org/licenses/by-sa/3.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-sa-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-sa-3.0.LICENSE", - "spdx_license_key": "CC-BY-SA-3.0", - "spdx_url": "https://spdx.org/licenses/CC-BY-SA-3.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE" }, { "score": 100.0, @@ -526,32 +201,7 @@ "matcher": "2-aho", "license_expression": "cc-by-sa-4.0", "rule_identifier": "cc-by-sa-4.0_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "licenses": [ - { - "key": "cc-by-sa-4.0", - "name": "Creative Commons Attribution-ShareAlike 4.0 International Public License", - "short_name": "CC-BY-SA-4.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-sa/4.0/", - "text_url": "http://creativecommons.org/licenses/by-sa/4.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-sa-4.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-sa-4.0.LICENSE", - "spdx_license_key": "CC-BY-SA-4.0", - "spdx_url": "https://spdx.org/licenses/CC-BY-SA-4.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE" }, { "score": 100.0, @@ -562,32 +212,7 @@ "matcher": "2-aho", "license_expression": "dco-1.1", "rule_identifier": "dco-1.1_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 7, - "rule_relevance": 100, - "licenses": [ - { - "key": "dco-1.1", - "name": "Developer Certificate of Origin 1.1", - "short_name": "DCO 1.1", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://developercertificate.org/", - "text_url": "https://developercertificate.org/", - "reference_url": "https://scancode-licensedb.aboutcode.org/dco-1.1", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/dco-1.1.LICENSE", - "spdx_license_key": "LicenseRef-scancode-dco-1.1", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/dco-1.1.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE" } ] }, @@ -608,32 +233,7 @@ "matcher": "3-seq", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1142.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE" } ] }, @@ -654,32 +254,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_236.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE" } ] }, @@ -700,34 +275,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100, - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" } ] }, @@ -748,32 +296,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE" } ] } @@ -821,33 +344,7 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5514, - "rule_relevance": 100, - "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n.", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" } ] }, @@ -867,33 +364,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_32.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "GPLv3", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE" }, { "score": 100.0, @@ -904,33 +375,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_29.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "LGPLv3 (", - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE" }, { "score": 100.0, @@ -941,33 +386,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "GPLv2.", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" } ] }, @@ -986,33 +405,7 @@ "matcher": "3-seq", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_627.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 30, - "rule_relevance": 100, - "matched_text": "of the GNU General Public License;", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE" }, { "score": 50.0, @@ -1023,33 +416,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown_88.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "open source\n license", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE" }, { "score": 100.0, @@ -1060,33 +427,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "the GNU General Public License,", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" } ] }, @@ -1105,33 +446,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_gnu_gpl.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "GNU GPL", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE" }, { "score": 100.0, @@ -1142,33 +457,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "the GNU General Public License", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" }, { "score": 47.22, @@ -1179,33 +468,7 @@ "matcher": "3-seq", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_103.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 36, - "rule_relevance": 100, - "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of", - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE" }, { "score": 100.0, @@ -1216,33 +479,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_12.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE" }, { "score": 100.0, @@ -1253,33 +490,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html", - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE" } ] }, @@ -1298,33 +509,7 @@ "matcher": "3-seq", "license_expression": "cc-by-sa-3.0", "rule_identifier": "cc-by-sa-3.0_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 16, - "rule_relevance": 100, - "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/", - "licenses": [ - { - "key": "cc-by-sa-3.0", - "name": "Creative Commons Attribution Share Alike License 3.0", - "short_name": "CC-BY-SA-3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-sa/3.0/", - "text_url": "http://creativecommons.org/licenses/by-sa/3.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-sa-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-sa-3.0.LICENSE", - "spdx_license_key": "CC-BY-SA-3.0", - "spdx_url": "https://spdx.org/licenses/CC-BY-SA-3.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE" }, { "score": 100.0, @@ -1335,33 +520,7 @@ "matcher": "2-aho", "license_expression": "cc-by-sa-4.0", "rule_identifier": "cc-by-sa-4.0_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode", - "licenses": [ - { - "key": "cc-by-sa-4.0", - "name": "Creative Commons Attribution-ShareAlike 4.0 International Public License", - "short_name": "CC-BY-SA-4.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-sa/4.0/", - "text_url": "http://creativecommons.org/licenses/by-sa/4.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-sa-4.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-sa-4.0.LICENSE", - "spdx_license_key": "CC-BY-SA-4.0", - "spdx_url": "https://spdx.org/licenses/CC-BY-SA-4.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE" }, { "score": 100.0, @@ -1372,33 +531,7 @@ "matcher": "2-aho", "license_expression": "dco-1.1", "rule_identifier": "dco-1.1_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 7, - "rule_relevance": 100, - "matched_text": "Developer's Certificate of Origin 1.1\"", - "licenses": [ - { - "key": "dco-1.1", - "name": "Developer Certificate of Origin 1.1", - "short_name": "DCO 1.1", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://developercertificate.org/", - "text_url": "https://developercertificate.org/", - "reference_url": "https://scancode-licensedb.aboutcode.org/dco-1.1", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/dco-1.1.LICENSE", - "spdx_license_key": "LicenseRef-scancode-dco-1.1", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/dco-1.1.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE" } ] }, @@ -1417,33 +550,7 @@ "matcher": "3-seq", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1142.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100, - "matched_text": "Free Software licensed under the GNU General Public License", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE" } ] }, @@ -1462,33 +569,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_236.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "GNU public license,", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE" } ] } @@ -1513,6 +594,718 @@ "purl": "pkg:autotools/samba" } ], + "license_references": [ + { + "key": "cc-by-sa-3.0", + "short_name": "CC-BY-SA-3.0", + "name": "Creative Commons Attribution Share Alike License 3.0", + "category": "Copyleft Limited", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by-sa/3.0/", + "is_builtin": true, + "spdx_license_key": "CC-BY-SA-3.0", + "text_urls": [ + "http://creativecommons.org/licenses/by-sa/3.0/legalcode" + ], + "other_urls": [ + "https://creativecommons.org/licenses/by-sa/3.0/legalcode" + ], + "minimum_coverage": 30, + "text": "Creative Commons Legal Code\n\nAttribution-ShareAlike 3.0 Unported\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR\nDAMAGES RESULTING FROM ITS USE.\n\nLicense\n\nTHE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE\nCOMMONS PUBLIC LICENSE (\"CCPL\" OR \"LICENSE\"). THE WORK IS PROTECTED BY\nCOPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS\nAUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE\nTO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY\nBE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS\nCONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND\nCONDITIONS.\n\n1. Definitions\n\na. \"Adaptation\" means a work based upon the Work, or upon the Work and\nother pre-existing works, such as a translation, adaptation,\nderivative work, arrangement of music or other alterations of a\nliterary or artistic work, or phonogram or performance and includes\ncinematographic adaptations or any other form in which the Work may be\nrecast, transformed, or adapted including in any form recognizably\nderived from the original, except that a work that constitutes a\nCollection will not be considered an Adaptation for the purpose of\nthis License. For the avoidance of doubt, where the Work is a musical\nwork, performance or phonogram, the synchronization of the Work in\ntimed-relation with a moving image (\"synching\") will be considered an\nAdaptation for the purpose of this License.\nb. \"Collection\" means a collection of literary or artistic works, such as\nencyclopedias and anthologies, or performances, phonograms or\nbroadcasts, or other works or subject matter other than works listed\nin Section 1(f) below, which, by reason of the selection and\narrangement of their contents, constitute intellectual creations, in\nwhich the Work is included in its entirety in unmodified form along\nwith one or more other contributions, each constituting separate and\nindependent works in themselves, which together are assembled into a\ncollective whole. A work that constitutes a Collection will not be\nconsidered an Adaptation (as defined below) for the purposes of this\nLicense.\nc. \"Creative Commons Compatible License\" means a license that is listed\nat https://creativecommons.org/compatiblelicenses that has been\napproved by Creative Commons as being essentially equivalent to this\nLicense, including, at a minimum, because that license: (i) contains\nterms that have the same purpose, meaning and effect as the License\nElements of this License; and, (ii) explicitly permits the relicensing\nof adaptations of works made available under that license under this\nLicense or a Creative Commons jurisdiction license with the same\nLicense Elements as this License.\nd. \"Distribute\" means to make available to the public the original and\ncopies of the Work or Adaptation, as appropriate, through sale or\nother transfer of ownership.\ne. \"License Elements\" means the following high-level license attributes\nas selected by Licensor and indicated in the title of this License:\nAttribution, ShareAlike.\nf. \"Licensor\" means the individual, individuals, entity or entities that\noffer(s) the Work under the terms of this License.\ng. \"Original Author\" means, in the case of a literary or artistic work,\nthe individual, individuals, entity or entities who created the Work\nor if no individual or entity can be identified, the publisher; and in\naddition (i) in the case of a performance the actors, singers,\nmusicians, dancers, and other persons who act, sing, deliver, declaim,\nplay in, interpret or otherwise perform literary or artistic works or\nexpressions of folklore; (ii) in the case of a phonogram the producer\nbeing the person or legal entity who first fixes the sounds of a\nperformance or other sounds; and, (iii) in the case of broadcasts, the\norganization that transmits the broadcast.\nh. \"Work\" means the literary and/or artistic work offered under the terms\nof this License including without limitation any production in the\nliterary, scientific and artistic domain, whatever may be the mode or\nform of its expression including digital form, such as a book,\npamphlet and other writing; a lecture, address, sermon or other work\nof the same nature; a dramatic or dramatico-musical work; a\nchoreographic work or entertainment in dumb show; a musical\ncomposition with or without words; a cinematographic work to which are\nassimilated works expressed by a process analogous to cinematography;\na work of drawing, painting, architecture, sculpture, engraving or\nlithography; a photographic work to which are assimilated works\nexpressed by a process analogous to photography; a work of applied\nart; an illustration, map, plan, sketch or three-dimensional work\nrelative to geography, topography, architecture or science; a\nperformance; a broadcast; a phonogram; a compilation of data to the\nextent it is protected as a copyrightable work; or a work performed by\na variety or circus performer to the extent it is not otherwise\nconsidered a literary or artistic work.\ni. \"You\" means an individual or entity exercising rights under this\nLicense who has not previously violated the terms of this License with\nrespect to the Work, or who has received express permission from the\nLicensor to exercise rights under this License despite a previous\nviolation.\nj. \"Publicly Perform\" means to perform public recitations of the Work and\nto communicate to the public those public recitations, by any means or\nprocess, including by wire or wireless means or public digital\nperformances; to make available to the public Works in such a way that\nmembers of the public may access these Works from a place and at a\nplace individually chosen by them; to perform the Work to the public\nby any means or process and the communication to the public of the\nperformances of the Work, including by public digital performance; to\nbroadcast and rebroadcast the Work by any means including signs,\nsounds or images.\nk. \"Reproduce\" means to make copies of the Work by any means including\nwithout limitation by sound or visual recordings and the right of\nfixation and reproducing fixations of the Work, including storage of a\nprotected performance or phonogram in digital form or other electronic\nmedium.\n\n2. Fair Dealing Rights. Nothing in this License is intended to reduce,\nlimit, or restrict any uses free from copyright or rights arising from\nlimitations or exceptions that are provided for in connection with the\ncopyright protection under copyright law or other applicable laws.\n\n3. License Grant. Subject to the terms and conditions of this License,\nLicensor hereby grants You a worldwide, royalty-free, non-exclusive,\nperpetual (for the duration of the applicable copyright) license to\nexercise the rights in the Work as stated below:\n\na. to Reproduce the Work, to incorporate the Work into one or more\nCollections, and to Reproduce the Work as incorporated in the\nCollections;\nb. to create and Reproduce Adaptations provided that any such Adaptation,\nincluding any translation in any medium, takes reasonable steps to\nclearly label, demarcate or otherwise identify that changes were made\nto the original Work. For example, a translation could be marked \"The\noriginal work was translated from English to Spanish,\" or a\nmodification could indicate \"The original work has been modified.\";\nc. to Distribute and Publicly Perform the Work including as incorporated\nin Collections; and,\nd. to Distribute and Publicly Perform Adaptations.\ne. For the avoidance of doubt:\n\ni. Non-waivable Compulsory License Schemes. In those jurisdictions in\nwhich the right to collect royalties through any statutory or\ncompulsory licensing scheme cannot be waived, the Licensor\nreserves the exclusive right to collect such royalties for any\nexercise by You of the rights granted under this License;\nii. Waivable Compulsory License Schemes. In those jurisdictions in\nwhich the right to collect royalties through any statutory or\ncompulsory licensing scheme can be waived, the Licensor waives the\nexclusive right to collect such royalties for any exercise by You\nof the rights granted under this License; and,\niii. Voluntary License Schemes. The Licensor waives the right to\ncollect royalties, whether individually or, in the event that the\nLicensor is a member of a collecting society that administers\nvoluntary licensing schemes, via that society, from any exercise\nby You of the rights granted under this License.\n\nThe above rights may be exercised in all media and formats whether now\nknown or hereafter devised. The above rights include the right to make\nsuch modifications as are technically necessary to exercise the rights in\nother media and formats. Subject to Section 8(f), all rights not expressly\ngranted by Licensor are hereby reserved.\n\n4. Restrictions. The license granted in Section 3 above is expressly made\nsubject to and limited by the following restrictions:\n\na. You may Distribute or Publicly Perform the Work only under the terms\nof this License. You must include a copy of, or the Uniform Resource\nIdentifier (URI) for, this License with every copy of the Work You\nDistribute or Publicly Perform. You may not offer or impose any terms\non the Work that restrict the terms of this License or the ability of\nthe recipient of the Work to exercise the rights granted to that\nrecipient under the terms of the License. You may not sublicense the\nWork. You must keep intact all notices that refer to this License and\nto the disclaimer of warranties with every copy of the Work You\nDistribute or Publicly Perform. When You Distribute or Publicly\nPerform the Work, You may not impose any effective technological\nmeasures on the Work that restrict the ability of a recipient of the\nWork from You to exercise the rights granted to that recipient under\nthe terms of the License. This Section 4(a) applies to the Work as\nincorporated in a Collection, but this does not require the Collection\napart from the Work itself to be made subject to the terms of this\nLicense. If You create a Collection, upon notice from any Licensor You\nmust, to the extent practicable, remove from the Collection any credit\nas required by Section 4(c), as requested. If You create an\nAdaptation, upon notice from any Licensor You must, to the extent\npracticable, remove from the Adaptation any credit as required by\nSection 4(c), as requested.\nb. You may Distribute or Publicly Perform an Adaptation only under the\nterms of: (i) this License; (ii) a later version of this License with\nthe same License Elements as this License; (iii) a Creative Commons\njurisdiction license (either this or a later license version) that\ncontains the same License Elements as this License (e.g.,\nAttribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible\nLicense. If you license the Adaptation under one of the licenses\nmentioned in (iv), you must comply with the terms of that license. If\nyou license the Adaptation under the terms of any of the licenses\nmentioned in (i), (ii) or (iii) (the \"Applicable License\"), you must\ncomply with the terms of the Applicable License generally and the\nfollowing provisions: (I) You must include a copy of, or the URI for,\nthe Applicable License with every copy of each Adaptation You\nDistribute or Publicly Perform; (II) You may not offer or impose any\nterms on the Adaptation that restrict the terms of the Applicable\nLicense or the ability of the recipient of the Adaptation to exercise\nthe rights granted to that recipient under the terms of the Applicable\nLicense; (III) You must keep intact all notices that refer to the\nApplicable License and to the disclaimer of warranties with every copy\nof the Work as included in the Adaptation You Distribute or Publicly\nPerform; (IV) when You Distribute or Publicly Perform the Adaptation,\nYou may not impose any effective technological measures on the\nAdaptation that restrict the ability of a recipient of the Adaptation\nfrom You to exercise the rights granted to that recipient under the\nterms of the Applicable License. This Section 4(b) applies to the\nAdaptation as incorporated in a Collection, but this does not require\nthe Collection apart from the Adaptation itself to be made subject to\nthe terms of the Applicable License.\nc. If You Distribute, or Publicly Perform the Work or any Adaptations or\nCollections, You must, unless a request has been made pursuant to\nSection 4(a), keep intact all copyright notices for the Work and\nprovide, reasonable to the medium or means You are utilizing: (i) the\nname of the Original Author (or pseudonym, if applicable) if supplied,\nand/or if the Original Author and/or Licensor designate another party\nor parties (e.g., a sponsor institute, publishing entity, journal) for\nattribution (\"Attribution Parties\") in Licensor's copyright notice,\nterms of service or by other reasonable means, the name of such party\nor parties; (ii) the title of the Work if supplied; (iii) to the\nextent reasonably practicable, the URI, if any, that Licensor\nspecifies to be associated with the Work, unless such URI does not\nrefer to the copyright notice or licensing information for the Work;\nand (iv) , consistent with Ssection 3(b), in the case of an\nAdaptation, a credit identifying the use of the Work in the Adaptation\n(e.g., \"French translation of the Work by Original Author,\" or\n\"Screenplay based on original Work by Original Author\"). The credit\nrequired by this Section 4(c) may be implemented in any reasonable\nmanner; provided, however, that in the case of a Adaptation or\nCollection, at a minimum such credit will appear, if a credit for all\ncontributing authors of the Adaptation or Collection appears, then as\npart of these credits and in a manner at least as prominent as the\ncredits for the other contributing authors. For the avoidance of\ndoubt, You may only use the credit required by this Section for the\npurpose of attribution in the manner set out above and, by exercising\nYour rights under this License, You may not implicitly or explicitly\nassert or imply any connection with, sponsorship or endorsement by the\nOriginal Author, Licensor and/or Attribution Parties, as appropriate,\nof You or Your use of the Work, without the separate, express prior\nwritten permission of the Original Author, Licensor and/or Attribution\nParties.\nd. Except as otherwise agreed in writing by the Licensor or as may be\notherwise permitted by applicable law, if You Reproduce, Distribute or\nPublicly Perform the Work either by itself or as part of any\nAdaptations or Collections, You must not distort, mutilate, modify or\ntake other derogatory action in relation to the Work which would be\nprejudicial to the Original Author's honor or reputation. Licensor\nagrees that in those jurisdictions (e.g. Japan), in which any exercise\nof the right granted in Section 3(b) of this License (the right to\nmake Adaptations) would be deemed to be a distortion, mutilation,\nmodification or other derogatory action prejudicial to the Original\nAuthor's honor and reputation, the Licensor will waive or not assert,\nas appropriate, this Section, to the fullest extent permitted by the\napplicable national law, to enable You to reasonably exercise Your\nright under Section 3(b) of this License (right to make Adaptations)\nbut not otherwise.\n\n5. Representations, Warranties and Disclaimer\n\nUNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR\nOFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY\nKIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,\nINCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,\nFITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF\nLATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,\nWHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION\nOF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.\n\n6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE\nLAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR\nANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES\nARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS\nBEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n7. Termination\n\na. This License and the rights granted hereunder will terminate\nautomatically upon any breach by You of the terms of this License.\nIndividuals or entities who have received Adaptations or Collections\nfrom You under this License, however, will not have their licenses\nterminated provided such individuals or entities remain in full\ncompliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will\nsurvive any termination of this License.\nb. Subject to the above terms and conditions, the license granted here is\nperpetual (for the duration of the applicable copyright in the Work).\nNotwithstanding the above, Licensor reserves the right to release the\nWork under different license terms or to stop distributing the Work at\nany time; provided, however that any such election will not serve to\nwithdraw this License (or any other license that has been, or is\nrequired to be, granted under the terms of this License), and this\nLicense will continue in full force and effect unless terminated as\nstated above.\n\n8. Miscellaneous\n\na. Each time You Distribute or Publicly Perform the Work or a Collection,\nthe Licensor offers to the recipient a license to the Work on the same\nterms and conditions as the license granted to You under this License.\nb. Each time You Distribute or Publicly Perform an Adaptation, Licensor\noffers to the recipient a license to the original Work on the same\nterms and conditions as the license granted to You under this License.\nc. If any provision of this License is invalid or unenforceable under\napplicable law, it shall not affect the validity or enforceability of\nthe remainder of the terms of this License, and without further action\nby the parties to this agreement, such provision shall be reformed to\nthe minimum extent necessary to make such provision valid and\nenforceable.\nd. No term or provision of this License shall be deemed waived and no\nbreach consented to unless such waiver or consent shall be in writing\nand signed by the party to be charged with such waiver or consent.\ne. This License constitutes the entire agreement between the parties with\nrespect to the Work licensed here. There are no understandings,\nagreements or representations with respect to the Work not specified\nhere. Licensor shall not be bound by any additional provisions that\nmay appear in any communication from You. This License may not be\nmodified without the mutual written agreement of the Licensor and You.\nf. The rights granted under, and the subject matter referenced, in this\nLicense were drafted utilizing the terminology of the Berne Convention\nfor the Protection of Literary and Artistic Works (as amended on\nSeptember 28, 1979), the Rome Convention of 1961, the WIPO Copyright\nTreaty of 1996, the WIPO Performances and Phonograms Treaty of 1996\nand the Universal Copyright Convention (as revised on July 24, 1971).\nThese rights and subject matter take effect in the relevant\njurisdiction in which the License terms are sought to be enforced\naccording to the corresponding provisions of the implementation of\nthose treaty provisions in the applicable national law. If the\nstandard suite of rights granted under applicable copyright law\nincludes additional rights not granted under this License, such\nadditional rights are deemed to be included in the License; this\nLicense is not intended to restrict the license of any rights under\napplicable law.\n\n\nCreative Commons Notice\n\nCreative Commons is not a party to this License, and makes no warranty\nwhatsoever in connection with the Work. Creative Commons will not be\nliable to You or any party on any legal theory for any damages\nwhatsoever, including without limitation any general, special,\nincidental or consequential damages arising in connection to this\nlicense. Notwithstanding the foregoing two (2) sentences, if Creative\nCommons has expressly identified itself as the Licensor hereunder, it\nshall have all rights and obligations of Licensor.\n\nExcept for the limited purpose of indicating to the public that the\nWork is licensed under the CCPL, Creative Commons does not authorize\nthe use by either party of the trademark \"Creative Commons\" or any\nrelated trademark or logo of Creative Commons without the prior\nwritten consent of Creative Commons. Any permitted use will be in\ncompliance with Creative Commons' then-current trademark usage\nguidelines, as may be published on its website or otherwise made\navailable upon request from time to time. For the avoidance of doubt,\nthis trademark restriction does not form part of the License.\n\nCreative Commons may be contacted at https://creativecommons.org/." + }, + { + "key": "cc-by-sa-4.0", + "short_name": "CC-BY-SA-4.0", + "name": "Creative Commons Attribution-ShareAlike 4.0 International Public License", + "category": "Copyleft Limited", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by-sa/4.0/", + "is_builtin": true, + "spdx_license_key": "CC-BY-SA-4.0", + "text_urls": [ + "http://creativecommons.org/licenses/by-sa/4.0/legalcode" + ], + "other_urls": [ + "https://creativecommons.org/licenses/by-sa/4.0/legalcode" + ], + "text": "Attribution-ShareAlike 4.0 International\n\n=======================================================================\n\nCreative Commons Corporation (\"Creative Commons\") is not a law firm and\ndoes not provide legal services or legal advice. Distribution of\nCreative Commons public licenses does not create a lawyer-client or\nother relationship. Creative Commons makes its licenses and related\ninformation available on an \"as-is\" basis. Creative Commons gives no\nwarranties regarding its licenses, any material licensed under their\nterms and conditions, or any related information. Creative Commons\ndisclaims all liability for damages resulting from their use to the\nfullest extent possible.\n\nUsing Creative Commons Public Licenses\n\nCreative Commons public licenses provide a standard set of terms and\nconditions that creators and other rights holders may use to share\noriginal works of authorship and other material subject to copyright\nand certain other rights specified in the public license below. The\nfollowing considerations are for informational purposes only, are not\nexhaustive, and do not form part of our licenses.\n\nConsiderations for licensors: Our public licenses are\nintended for use by those authorized to give the public\npermission to use material in ways otherwise restricted by\ncopyright and certain other rights. Our licenses are\nirrevocable. Licensors should read and understand the terms\nand conditions of the license they choose before applying it.\nLicensors should also secure all rights necessary before\napplying our licenses so that the public can reuse the\nmaterial as expected. Licensors should clearly mark any\nmaterial not subject to the license. This includes other CC-\nlicensed material, or material used under an exception or\nlimitation to copyright. More considerations for licensors:\nwiki.creativecommons.org/Considerations_for_licensors\n\nConsiderations for the public: By using one of our public\nlicenses, a licensor grants the public permission to use the\nlicensed material under specified terms and conditions. If\nthe licensor's permission is not necessary for any reason--for\nexample, because of any applicable exception or limitation to\ncopyright--then that use is not regulated by the license. Our\nlicenses grant only permissions under copyright and certain\nother rights that a licensor has authority to grant. Use of\nthe licensed material may still be restricted for other\nreasons, including because others have copyright or other\nrights in the material. A licensor may make special requests,\nsuch as asking that all changes be marked or described.\nAlthough not required by our licenses, you are encouraged to\nrespect those requests where reasonable. More considerations\nfor the public:\nwiki.creativecommons.org/Considerations_for_licensees\n\n=======================================================================\n\nCreative Commons Attribution-ShareAlike 4.0 International Public\nLicense\n\nBy exercising the Licensed Rights (defined below), You accept and agree\nto be bound by the terms and conditions of this Creative Commons\nAttribution-ShareAlike 4.0 International Public License (\"Public\nLicense\"). To the extent this Public License may be interpreted as a\ncontract, You are granted the Licensed Rights in consideration of Your\nacceptance of these terms and conditions, and the Licensor grants You\nsuch rights in consideration of benefits the Licensor receives from\nmaking the Licensed Material available under these terms and\nconditions.\n\n\nSection 1 -- Definitions.\n\na. Adapted Material means material subject to Copyright and Similar\nRights that is derived from or based upon the Licensed Material\nand in which the Licensed Material is translated, altered,\narranged, transformed, or otherwise modified in a manner requiring\npermission under the Copyright and Similar Rights held by the\nLicensor. For purposes of this Public License, where the Licensed\nMaterial is a musical work, performance, or sound recording,\nAdapted Material is always produced where the Licensed Material is\nsynched in timed relation with a moving image.\n\nb. Adapter's License means the license You apply to Your Copyright\nand Similar Rights in Your contributions to Adapted Material in\naccordance with the terms and conditions of this Public License.\n\nc. BY-SA Compatible License means a license listed at\ncreativecommons.org/compatiblelicenses, approved by Creative\nCommons as essentially the equivalent of this Public License.\n\nd. Copyright and Similar Rights means copyright and/or similar rights\nclosely related to copyright including, without limitation,\nperformance, broadcast, sound recording, and Sui Generis Database\nRights, without regard to how the rights are labeled or\ncategorized. For purposes of this Public License, the rights\nspecified in Section 2(b)(1)-(2) are not Copyright and Similar\nRights.\n\ne. Effective Technological Measures means those measures that, in the\nabsence of proper authority, may not be circumvented under laws\nfulfilling obligations under Article 11 of the WIPO Copyright\nTreaty adopted on December 20, 1996, and/or similar international\nagreements.\n\nf. Exceptions and Limitations means fair use, fair dealing, and/or\nany other exception or limitation to Copyright and Similar Rights\nthat applies to Your use of the Licensed Material.\n\ng. License Elements means the license attributes listed in the name\nof a Creative Commons Public License. The License Elements of this\nPublic License are Attribution and ShareAlike.\n\nh. Licensed Material means the artistic or literary work, database,\nor other material to which the Licensor applied this Public\nLicense.\n\ni. Licensed Rights means the rights granted to You subject to the\nterms and conditions of this Public License, which are limited to\nall Copyright and Similar Rights that apply to Your use of the\nLicensed Material and that the Licensor has authority to license.\n\nj. Licensor means the individual(s) or entity(ies) granting rights\nunder this Public License.\n\nk. Share means to provide material to the public by any means or\nprocess that requires permission under the Licensed Rights, such\nas reproduction, public display, public performance, distribution,\ndissemination, communication, or importation, and to make material\navailable to the public including in ways that members of the\npublic may access the material from a place and at a time\nindividually chosen by them.\n\nl. Sui Generis Database Rights means rights other than copyright\nresulting from Directive 96/9/EC of the European Parliament and of\nthe Council of 11 March 1996 on the legal protection of databases,\nas amended and/or succeeded, as well as other essentially\nequivalent rights anywhere in the world.\n\nm. You means the individual or entity exercising the Licensed Rights\nunder this Public License. Your has a corresponding meaning.\n\n\nSection 2 -- Scope.\n\na. License grant.\n\n1. Subject to the terms and conditions of this Public License,\nthe Licensor hereby grants You a worldwide, royalty-free,\nnon-sublicensable, non-exclusive, irrevocable license to\nexercise the Licensed Rights in the Licensed Material to:\n\na. reproduce and Share the Licensed Material, in whole or\nin part; and\n\nb. produce, reproduce, and Share Adapted Material.\n\n2. Exceptions and Limitations. For the avoidance of doubt, where\nExceptions and Limitations apply to Your use, this Public\nLicense does not apply, and You do not need to comply with\nits terms and conditions.\n\n3. Term. The term of this Public License is specified in Section\n6(a).\n\n4. Media and formats; technical modifications allowed. The\nLicensor authorizes You to exercise the Licensed Rights in\nall media and formats whether now known or hereafter created,\nand to make technical modifications necessary to do so. The\nLicensor waives and/or agrees not to assert any right or\nauthority to forbid You from making technical modifications\nnecessary to exercise the Licensed Rights, including\ntechnical modifications necessary to circumvent Effective\nTechnological Measures. For purposes of this Public License,\nsimply making modifications authorized by this Section 2(a)\n(4) never produces Adapted Material.\n\n5. Downstream recipients.\n\na. Offer from the Licensor -- Licensed Material. Every\nrecipient of the Licensed Material automatically\nreceives an offer from the Licensor to exercise the\nLicensed Rights under the terms and conditions of this\nPublic License.\n\nb. Additional offer from the Licensor -- Adapted Material.\nEvery recipient of Adapted Material from You\nautomatically receives an offer from the Licensor to\nexercise the Licensed Rights in the Adapted Material\nunder the conditions of the Adapter's License You apply.\n\nc. No downstream restrictions. You may not offer or impose\nany additional or different terms or conditions on, or\napply any Effective Technological Measures to, the\nLicensed Material if doing so restricts exercise of the\nLicensed Rights by any recipient of the Licensed\nMaterial.\n\n6. No endorsement. Nothing in this Public License constitutes or\nmay be construed as permission to assert or imply that You\nare, or that Your use of the Licensed Material is, connected\nwith, or sponsored, endorsed, or granted official status by,\nthe Licensor or others designated to receive attribution as\nprovided in Section 3(a)(1)(A)(i).\n\nb. Other rights.\n\n1. Moral rights, such as the right of integrity, are not\nlicensed under this Public License, nor are publicity,\nprivacy, and/or other similar personality rights; however, to\nthe extent possible, the Licensor waives and/or agrees not to\nassert any such rights held by the Licensor to the limited\nextent necessary to allow You to exercise the Licensed\nRights, but not otherwise.\n\n2. Patent and trademark rights are not licensed under this\nPublic License.\n\n3. To the extent possible, the Licensor waives any right to\ncollect royalties from You for the exercise of the Licensed\nRights, whether directly or through a collecting society\nunder any voluntary or waivable statutory or compulsory\nlicensing scheme. In all other cases the Licensor expressly\nreserves any right to collect such royalties.\n\n\nSection 3 -- License Conditions.\n\nYour exercise of the Licensed Rights is expressly made subject to the\nfollowing conditions.\n\na. Attribution.\n\n1. If You Share the Licensed Material (including in modified\nform), You must:\n\na. retain the following if it is supplied by the Licensor\nwith the Licensed Material:\n\ni. identification of the creator(s) of the Licensed\nMaterial and any others designated to receive\nattribution, in any reasonable manner requested by\nthe Licensor (including by pseudonym if\ndesignated);\n\nii. a copyright notice;\n\niii. a notice that refers to this Public License;\n\niv. a notice that refers to the disclaimer of\nwarranties;\n\nv. a URI or hyperlink to the Licensed Material to the\nextent reasonably practicable;\n\nb. indicate if You modified the Licensed Material and\nretain an indication of any previous modifications; and\n\nc. indicate the Licensed Material is licensed under this\nPublic License, and include the text of, or the URI or\nhyperlink to, this Public License.\n\n2. You may satisfy the conditions in Section 3(a)(1) in any\nreasonable manner based on the medium, means, and context in\nwhich You Share the Licensed Material. For example, it may be\nreasonable to satisfy the conditions by providing a URI or\nhyperlink to a resource that includes the required\ninformation.\n\n3. If requested by the Licensor, You must remove any of the\ninformation required by Section 3(a)(1)(A) to the extent\nreasonably practicable.\n\nb. ShareAlike.\n\nIn addition to the conditions in Section 3(a), if You Share\nAdapted Material You produce, the following conditions also apply.\n\n1. The Adapter's License You apply must be a Creative Commons\nlicense with the same License Elements, this version or\nlater, or a BY-SA Compatible License.\n\n2. You must include the text of, or the URI or hyperlink to, the\nAdapter's License You apply. You may satisfy this condition\nin any reasonable manner based on the medium, means, and\ncontext in which You Share Adapted Material.\n\n3. You may not offer or impose any additional or different terms\nor conditions on, or apply any Effective Technological\nMeasures to, Adapted Material that restrict exercise of the\nrights granted under the Adapter's License You apply.\n\n\nSection 4 -- Sui Generis Database Rights.\n\nWhere the Licensed Rights include Sui Generis Database Rights that\napply to Your use of the Licensed Material:\n\na. for the avoidance of doubt, Section 2(a)(1) grants You the right\nto extract, reuse, reproduce, and Share all or a substantial\nportion of the contents of the database;\n\nb. if You include all or a substantial portion of the database\ncontents in a database in which You have Sui Generis Database\nRights, then the database in which You have Sui Generis Database\nRights (but not its individual contents) is Adapted Material,\n\nincluding for purposes of Section 3(b); and\nc. You must comply with the conditions in Section 3(a) if You Share\nall or a substantial portion of the contents of the database.\n\nFor the avoidance of doubt, this Section 4 supplements and does not\nreplace Your obligations under this Public License where the Licensed\nRights include other Copyright and Similar Rights.\n\n\nSection 5 -- Disclaimer of Warranties and Limitation of Liability.\n\na. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE\nEXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS\nAND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF\nANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,\nIMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,\nWARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR\nPURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,\nACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT\nKNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT\nALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.\n\nb. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE\nTO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,\nNEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,\nINCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,\nCOSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR\nUSE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN\nADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR\nDAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR\nIN PART, THIS LIMITATION MAY NOT APPLY TO YOU.\n\nc. The disclaimer of warranties and limitation of liability provided\nabove shall be interpreted in a manner that, to the extent\npossible, most closely approximates an absolute disclaimer and\nwaiver of all liability.\n\n\nSection 6 -- Term and Termination.\n\na. This Public License applies for the term of the Copyright and\nSimilar Rights licensed here. However, if You fail to comply with\nthis Public License, then Your rights under this Public License\nterminate automatically.\n\nb. Where Your right to use the Licensed Material has terminated under\nSection 6(a), it reinstates:\n\n1. automatically as of the date the violation is cured, provided\nit is cured within 30 days of Your discovery of the\nviolation; or\n\n2. upon express reinstatement by the Licensor.\n\nFor the avoidance of doubt, this Section 6(b) does not affect any\nright the Licensor may have to seek remedies for Your violations\nof this Public License.\n\nc. For the avoidance of doubt, the Licensor may also offer the\nLicensed Material under separate terms or conditions or stop\ndistributing the Licensed Material at any time; however, doing so\nwill not terminate this Public License.\n\nd. Sections 1, 5, 6, 7, and 8 survive termination of this Public\nLicense.\n\n\nSection 7 -- Other Terms and Conditions.\n\na. The Licensor shall not be bound by any additional or different\nterms or conditions communicated by You unless expressly agreed.\n\nb. Any arrangements, understandings, or agreements regarding the\nLicensed Material not stated herein are separate from and\nindependent of the terms and conditions of this Public License.\n\n\nSection 8 -- Interpretation.\n\na. For the avoidance of doubt, this Public License does not, and\nshall not be interpreted to, reduce, limit, restrict, or impose\nconditions on any use of the Licensed Material that could lawfully\nbe made without permission under this Public License.\n\nb. To the extent possible, if any provision of this Public License is\ndeemed unenforceable, it shall be automatically reformed to the\nminimum extent necessary to make it enforceable. If the provision\ncannot be reformed, it shall be severed from this Public License\nwithout affecting the enforceability of the remaining terms and\nconditions.\n\nc. No term or condition of this Public License will be waived and no\nfailure to comply consented to unless expressly agreed to by the\nLicensor.\n\nd. Nothing in this Public License constitutes or may be interpreted\nas a limitation upon, or waiver of, any privileges and immunities\nthat apply to the Licensor or You, including from the legal\nprocesses of any jurisdiction or authority.\n\n\n=======================================================================\n\nCreative Commons is not a party to its public\nlicenses. Notwithstanding, Creative Commons may elect to apply one of\nits public licenses to material it publishes and in those instances\nwill be considered the \u201cLicensor.\u201d The text of the Creative Commons\npublic licenses is dedicated to the public domain under the CC0 Public\nDomain Dedication. Except for the limited purpose of indicating that\nmaterial is shared under a Creative Commons public license or as\notherwise permitted by the Creative Commons policies published at\ncreativecommons.org/policies, Creative Commons does not authorize the\nuse of the trademark \"Creative Commons\" or any other trademark or logo\nof Creative Commons without its prior written consent including,\nwithout limitation, in connection with any unauthorized modifications\nto any of its public licenses or any other arrangements,\nunderstandings, or agreements concerning use of licensed material. For\nthe avoidance of doubt, this paragraph does not form part of the\npublic licenses.\n\nCreative Commons may be contacted at creativecommons.org." + }, + { + "key": "dco-1.1", + "short_name": "DCO 1.1", + "name": "Developer Certificate of Origin 1.1", + "category": "Permissive", + "owner": "Linux Foundation", + "homepage_url": "https://developercertificate.org/", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-dco-1.1", + "text_urls": [ + "https://developercertificate.org/" + ], + "minimum_coverage": 90, + "text": "Developer Certificate of Origin\nVersion 1.1\n\nCopyright (C) 2004, 2006 The Linux Foundation and its contributors.\n1 Letterman Drive\nSuite D4700\nSan Francisco, CA, 94129\n\nEveryone is permitted to copy and distribute verbatim copies of this\nlicense document, but changing it is not allowed.\n\n\nDeveloper's Certificate of Origin 1.1\n\nBy making a contribution to this project, I certify that:\n\n(a) The contribution was created in whole or in part by me and I\nhave the right to submit it under the open source license\nindicated in the file; or\n\n(b) The contribution is based upon previous work that, to the best\nof my knowledge, is covered under an appropriate open source\nlicense and I have the right under that license to submit that\nwork with modifications, whether created in whole or in part\nby me, under the same open source license (unless I am\npermitted to submit under a different license), as indicated\nin the file; or\n\n(c) The contribution was provided directly to me by some other\nperson who certified (a), (b) or (c) and I have not modified\nit.\n\n(d) I understand and agree that this project and the contribution\nare public and that a record of the contribution (including all\npersonal information I submit with it, including my sign-off) is\nmaintained indefinitely and may be redistributed consistent with\nthis project or the open source license(s) involved." + }, + { + "key": "free-unknown", + "short_name": "Free unknown", + "name": "Free unknown license detected but not recognized", + "category": "Unstated License", + "owner": "Unspecified", + "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", + "is_builtin": true, + "is_unknown": true, + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "text": "" + }, + { + "key": "gpl-1.0-plus", + "short_name": "GPL 1.0 or later", + "name": "GNU General Public License 1.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "notes": "Per SPDX.org, this license was released February 1989.", + "is_builtin": true, + "spdx_license_key": "GPL-1.0-or-later", + "other_spdx_license_keys": [ + "GPL-1.0+", + "LicenseRef-GPL" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "other_urls": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 1, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,\nCambridge, MA 02139, USA.\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 1, February 1989\n\nCopyright (C) 1989 Free Software Foundation, Inc.\n51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe license agreements of most software companies try to keep users\nat the mercy of those companies. By contrast, our General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. The\nGeneral Public License applies to the Free Software Foundation's\nsoftware and to any other program whose authors commit to using it.\nYou can use it for your programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Specifically, the General Public License is designed to make\nsure that you have the freedom to give away or sell copies of free\nsoftware, that you receive source code or can get it if you want it,\nthat you can change the software or use pieces of it in new free\nprograms; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of a such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must tell them their rights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any program or other work which\ncontains a notice placed by the copyright holder saying it may be\ndistributed under the terms of this General Public License. The\n\"Program\", below, refers to any such program or work, and a \"work based\non the Program\" means either the Program or any work containing the\nProgram or a portion of it, either verbatim or with modifications. Each\nlicensee is addressed as \"you\".\n\n1. You may copy and distribute verbatim copies of the Program's source\ncode as you receive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice and\ndisclaimer of warranty; keep intact all the notices that refer to this\nGeneral Public License and to the absence of any warranty; and give any\nother recipients of the Program a copy of this General Public License\nalong with the Program. You may charge a fee for the physical act of\ntransferring a copy.\n\n2. You may modify your copy or copies of the Program or any portion of\nit, and copy and distribute such modifications under the terms of Paragraph\n1 above, provided that you also do the following:\n\na) cause the modified files to carry prominent notices stating that\nyou changed the files and the date of any change; and\n\nb) cause the whole of any work that you distribute or publish, that\nin whole or in part contains the Program or any part thereof, either\nwith or without modifications, to be licensed at no charge to all\nthird parties under the terms of this General Public License (except\nthat you may choose to grant warranty protection to some or all\nthird parties, at your option).\n\nc) If the modified program normally reads commands interactively when\nrun, you must cause it, when started running for such interactive use\nin the simplest and most usual way, to print or display an\nannouncement including an appropriate copyright notice and a notice\nthat there is no warranty (or else, saying that you provide a\nwarranty) and that users may redistribute the program under these\nconditions, and telling the user how to view a copy of this General\nPublic License.\n\nd) You may charge a fee for the physical act of transferring a\ncopy, and you may at your option offer warranty protection in\nexchange for a fee.\n\nMere aggregation of another independent work with the Program (or its\nderivative) on a volume of a storage or distribution medium does not bring\nthe other work under the scope of these terms.\n\n\n3. You may copy and distribute the Program (or a portion or derivative of\nit, under Paragraph 2) in object code or executable form under the terms of\nParagraphs 1 and 2 above provided that you also do one of the following:\n\na) accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nb) accompany it with a written offer, valid for at least three\nyears, to give any third party free (except for a nominal charge\nfor the cost of distribution) a complete machine-readable copy of the\ncorresponding source code, to be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nc) accompany it with the information you received as to where the\ncorresponding source code may be obtained. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form alone.)\n\nSource code for a work means the preferred form of the work for making\nmodifications to it. For an executable file, complete source code means\nall the source code for all modules it contains; but, as a special\nexception, it need not include source code for modules which are standard\nlibraries that accompany the operating system on which the executable\nfile runs, or for standard header files or definitions files that\naccompany that operating system.\n\n4. You may not copy, modify, sublicense, distribute or transfer the\nProgram except as expressly provided under this General Public License.\nAny attempt otherwise to copy, modify, sublicense, distribute or transfer\nthe Program is void, and will automatically terminate your rights to use\nthe Program under this License. However, parties who have received\ncopies, or rights to use copies, from you under this General Public\nLicense will not have their licenses terminated so long as such parties\nremain in full compliance.\n\n5. By copying, distributing or modifying the Program (or any work based\non the Program) you indicate your acceptance of this license to do so,\nand all its terms and conditions.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the original\nlicensor to copy, distribute or modify the Program subject to these\nterms and conditions. You may not impose any further restrictions on the\nrecipients' exercise of the rights granted herein.\n\n\n7. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of the license which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthe license, you may choose any version ever published by the Free Software\nFoundation.\n\n8. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nAppendix: How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to humanity, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these\nterms.\n\nTo do so, attach the following notices to the program. It is safest to\nattach them to the start of each source file to most effectively convey\nthe exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) 19yy \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 1, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA\n\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) 19xx name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the\nappropriate parts of the General Public License. Of course, the\ncommands you use may be called something other than `show w' and `show\nc'; they could even be mouse-clicks or menu items--whatever suits your\nprogram.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nprogram `Gnomovision' (a program to direct compilers to make passes\nat assemblers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "gpl-3.0", + "short_name": "GPL 3.0", + "name": "GNU General Public License 3.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", + "notes": "Per SPDX.org, this license was released 29 June 2007 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-3.0-only", + "other_spdx_license_keys": [ + "GPL-3.0", + "LicenseRef-gpl-3.0" + ], + "osi_license_key": "GPL-3.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "http://www.gnu.org/licenses/gpl-3.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-3.0.html", + "faq_url": "http://www.gnu.org/licenses/gpl-faq.html", + "other_urls": [ + "http://www.gnu.org/licenses/quick-guide-gplv3.html", + "http://www.opensource.org/licenses/GPL-3.0", + "https://opensource.org/licenses/GPL-3.0", + "https://www.gnu.org/licenses/gpl-3.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + }, + { + "key": "gpl-3.0-plus", + "short_name": "GPL 3.0 or later", + "name": "GNU General Public License 3.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "notes": "Per SPDX.org, this license was released 29 June 2007 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-3.0-or-later", + "other_spdx_license_keys": [ + "GPL-3.0+", + "LicenseRef-GPL-3.0-or-later" + ], + "text_urls": [ + "http://www.gnu.org/licenses/gpl-3.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-3.0", + "https://opensource.org/licenses/GPL-3.0", + "https://www.gnu.org/licenses/gpl-3.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + }, + { + "key": "lgpl-3.0", + "short_name": "LGPL 3.0", + "name": "GNU Lesser General Public License 3.0", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", + "notes": "Per SPDX.org, this license was released 29 June 2007. This license is OSI\nCertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-3.0-only", + "other_spdx_license_keys": [ + "LGPL-3.0" + ], + "osi_license_key": "LGPL-3.0", + "text_urls": [ + "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "http://www.gnu.org/licenses/lgpl-3.0.txt" + ], + "osi_url": "http://www.opensource.org/licenses/lgpl-3.0.html", + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.gnu.org/licenses/why-not-lgpl.html", + "http://www.opensource.org/licenses/LGPL-3.0", + "https://opensource.org/licenses/LGPL-3.0", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html" + ], + "text": "GNU LESSER GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n\nThis version of the GNU Lesser General Public License incorporates\nthe terms and conditions of version 3 of the GNU General Public\nLicense, supplemented by the additional permissions listed below.\n\n0. Additional Definitions.\n\nAs used herein, \"this License\" refers to version 3 of the GNU Lesser\nGeneral Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public License.\n\n\"The Library\" refers to a covered work governed by this License,\nother than an Application or a Combined Work as defined below.\n\nAn \"Application\" is any work that makes use of an interface provided\nby the Library, but which is not otherwise based on the Library.\nDefining a subclass of a class defined by the Library is deemed a mode\nof using an interface provided by the Library.\n\nA \"Combined Work\" is a work produced by combining or linking an\nApplication with the Library. The particular version of the Library\nwith which the Combined Work was made is also called the \"Linked\nVersion\".\n\nThe \"Minimal Corresponding Source\" for a Combined Work means the\nCorresponding Source for the Combined Work, excluding any source code\nfor portions of the Combined Work that, considered in isolation, are\nbased on the Application, and not on the Linked Version.\n\nThe \"Corresponding Application Code\" for a Combined Work means the\nobject code and/or source code for the Application, including any data\nand utility programs needed for reproducing the Combined Work from the\nApplication, but excluding the System Libraries of the Combined Work.\n\n1. Exception to Section 3 of the GNU GPL.\n\nYou may convey a covered work under sections 3 and 4 of this License\nwithout being bound by section 3 of the GNU GPL.\n\n2. Conveying Modified Versions.\n\nIf you modify a copy of the Library, and, in your modifications, a\nfacility refers to a function or data to be supplied by an Application\nthat uses the facility (other than as an argument passed when the\nfacility is invoked), then you may convey a copy of the modified\nversion:\n\na) under this License, provided that you make a good faith effort to\nensure that, in the event an Application does not supply the\nfunction or data, the facility still operates, and performs\nwhatever part of its purpose remains meaningful, or\n\nb) under the GNU GPL, with none of the additional permissions of\nthis License applicable to that copy.\n\n3. Object Code Incorporating Material from Library Header Files.\n\nThe object code form of an Application may incorporate material from\na header file that is part of the Library. You may convey such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial is not limited to numerical parameters, data structure\nlayouts and accessors, or small macros, inline functions and templates\n(ten or fewer lines in length), you do both of the following:\n\na) Give prominent notice with each copy of the object code that the\nLibrary is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the object code with a copy of the GNU GPL and this license\ndocument.\n\n4. Combined Works.\n\nYou may convey a Combined Work under terms of your choice that,\ntaken together, effectively do not restrict modification of the\nportions of the Library contained in the Combined Work and reverse\nengineering for debugging such modifications, if you also do each of\nthe following:\n\na) Give prominent notice with each copy of the Combined Work that\nthe Library is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the Combined Work with a copy of the GNU GPL and this license\ndocument.\n\nc) For a Combined Work that displays copyright notices during\nexecution, include the copyright notice for the Library among\nthese notices, as well as a reference directing the user to the\ncopies of the GNU GPL and this license document.\n\nd) Do one of the following:\n\n0) Convey the Minimal Corresponding Source under the terms of this\nLicense, and the Corresponding Application Code in a form\nsuitable for, and under terms that permit, the user to\nrecombine or relink the Application with a modified version of\nthe Linked Version to produce a modified Combined Work, in the\nmanner specified by section 6 of the GNU GPL for conveying\nCorresponding Source.\n\n1) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (a) uses at run time\na copy of the Library already present on the user's computer\nsystem, and (b) will operate properly with a modified version\nof the Library that is interface-compatible with the Linked\nVersion.\n\ne) Provide Installation Information, but only if you would otherwise\nbe required to provide such information under section 6 of the\nGNU GPL, and only to the extent that such information is\nnecessary to install and execute a modified version of the\nCombined Work produced by recombining or relinking the\nApplication with a modified version of the Linked Version. (If\nyou use option 4d0, the Installation Information must accompany\nthe Minimal Corresponding Source and Corresponding Application\nCode. If you use option 4d1, you must provide the Installation\nInformation in the manner specified by section 6 of the GNU GPL\nfor conveying Corresponding Source.)\n\n5. Combined Libraries.\n\nYou may place library facilities that are a work based on the\nLibrary side by side in a single library together with other library\nfacilities that are not Applications and are not covered by this\nLicense, and convey such a combined library under terms of your\nchoice, if you do both of the following:\n\na) Accompany the combined library with a copy of the same work based\non the Library, uncombined with any other library facilities,\nconveyed under the terms of this License.\n\nb) Give prominent notice with the combined library that part of it\nis a work based on the Library, and explaining where to find the\naccompanying uncombined form of the same work.\n\n6. Revised Versions of the GNU Lesser General Public License.\n\nThe Free Software Foundation may publish revised and/or new versions\nof the GNU Lesser General Public License from time to time. Such new\nversions will be similar in spirit to the present version, but may\ndiffer in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nLibrary as you received it specifies that a certain numbered version\nof the GNU Lesser General Public License \"or any later version\"\napplies to it, you have the option of following the terms and\nconditions either of that published version or of any later version\npublished by the Free Software Foundation. If the Library as you\nreceived it does not specify a version number of the GNU Lesser\nGeneral Public License, you may choose any version of the GNU Lesser\nGeneral Public License ever published by the Free Software Foundation.\n\nIf the Library as you received it specifies that a proxy can decide\nwhether future versions of the GNU Lesser General Public License shall\napply, that proxy's public statement of acceptance of any version is\npermanent authorization for you to choose that version for the\nLibrary." + }, + { + "key": "lgpl-3.0-plus", + "short_name": "LGPL 3.0 or later", + "name": "GNU Lesser General Public License 3.0 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "notes": "Per SPDX.org, this license was released 29 June 2007. This license is OSI\nCertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-3.0-or-later", + "other_spdx_license_keys": [ + "LGPL-3.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/lgpl-3.0-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-3.0", + "https://opensource.org/licenses/LGPL-3.0", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 3.0 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n\nThis version of the GNU Lesser General Public License incorporates\nthe terms and conditions of version 3 of the GNU General Public\nLicense, supplemented by the additional permissions listed below.\n\n0. Additional Definitions.\n\nAs used herein, \"this License\" refers to version 3 of the GNU Lesser\nGeneral Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public License.\n\n\"The Library\" refers to a covered work governed by this License,\nother than an Application or a Combined Work as defined below.\n\nAn \"Application\" is any work that makes use of an interface provided\nby the Library, but which is not otherwise based on the Library.\nDefining a subclass of a class defined by the Library is deemed a mode\nof using an interface provided by the Library.\n\nA \"Combined Work\" is a work produced by combining or linking an\nApplication with the Library. The particular version of the Library\nwith which the Combined Work was made is also called the \"Linked\nVersion\".\n\nThe \"Minimal Corresponding Source\" for a Combined Work means the\nCorresponding Source for the Combined Work, excluding any source code\nfor portions of the Combined Work that, considered in isolation, are\nbased on the Application, and not on the Linked Version.\n\nThe \"Corresponding Application Code\" for a Combined Work means the\nobject code and/or source code for the Application, including any data\nand utility programs needed for reproducing the Combined Work from the\nApplication, but excluding the System Libraries of the Combined Work.\n\n1. Exception to Section 3 of the GNU GPL.\n\nYou may convey a covered work under sections 3 and 4 of this License\nwithout being bound by section 3 of the GNU GPL.\n\n2. Conveying Modified Versions.\n\nIf you modify a copy of the Library, and, in your modifications, a\nfacility refers to a function or data to be supplied by an Application\nthat uses the facility (other than as an argument passed when the\nfacility is invoked), then you may convey a copy of the modified\nversion:\n\na) under this License, provided that you make a good faith effort to\nensure that, in the event an Application does not supply the\nfunction or data, the facility still operates, and performs\nwhatever part of its purpose remains meaningful, or\n\nb) under the GNU GPL, with none of the additional permissions of\nthis License applicable to that copy.\n\n3. Object Code Incorporating Material from Library Header Files.\n\nThe object code form of an Application may incorporate material from\na header file that is part of the Library. You may convey such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial is not limited to numerical parameters, data structure\nlayouts and accessors, or small macros, inline functions and templates\n(ten or fewer lines in length), you do both of the following:\n\na) Give prominent notice with each copy of the object code that the\nLibrary is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the object code with a copy of the GNU GPL and this license\ndocument.\n\n4. Combined Works.\n\nYou may convey a Combined Work under terms of your choice that,\ntaken together, effectively do not restrict modification of the\nportions of the Library contained in the Combined Work and reverse\nengineering for debugging such modifications, if you also do each of\nthe following:\n\na) Give prominent notice with each copy of the Combined Work that\nthe Library is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the Combined Work with a copy of the GNU GPL and this license\ndocument.\n\nc) For a Combined Work that displays copyright notices during\nexecution, include the copyright notice for the Library among\nthese notices, as well as a reference directing the user to the\ncopies of the GNU GPL and this license document.\n\nd) Do one of the following:\n\n0) Convey the Minimal Corresponding Source under the terms of this\nLicense, and the Corresponding Application Code in a form\nsuitable for, and under terms that permit, the user to\nrecombine or relink the Application with a modified version of\nthe Linked Version to produce a modified Combined Work, in the\nmanner specified by section 6 of the GNU GPL for conveying\nCorresponding Source.\n\n1) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (a) uses at run time\na copy of the Library already present on the user's computer\nsystem, and (b) will operate properly with a modified version\nof the Library that is interface-compatible with the Linked\nVersion.\n\ne) Provide Installation Information, but only if you would otherwise\nbe required to provide such information under section 6 of the\nGNU GPL, and only to the extent that such information is\nnecessary to install and execute a modified version of the\nCombined Work produced by recombining or relinking the\nApplication with a modified version of the Linked Version. (If\nyou use option 4d0, the Installation Information must accompany\nthe Minimal Corresponding Source and Corresponding Application\nCode. If you use option 4d1, you must provide the Installation\nInformation in the manner specified by section 6 of the GNU GPL\nfor conveying Corresponding Source.)\n\n5. Combined Libraries.\n\nYou may place library facilities that are a work based on the\nLibrary side by side in a single library together with other library\nfacilities that are not Applications and are not covered by this\nLicense, and convey such a combined library under terms of your\nchoice, if you do both of the following:\n\na) Accompany the combined library with a copy of the same work based\non the Library, uncombined with any other library facilities,\nconveyed under the terms of this License.\n\nb) Give prominent notice with the combined library that part of it\nis a work based on the Library, and explaining where to find the\naccompanying uncombined form of the same work.\n\n6. Revised Versions of the GNU Lesser General Public License.\n\nThe Free Software Foundation may publish revised and/or new versions\nof the GNU Lesser General Public License from time to time. Such new\nversions will be similar in spirit to the present version, but may\ndiffer in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nLibrary as you received it specifies that a certain numbered version\nof the GNU Lesser General Public License \"or any later version\"\napplies to it, you have the option of following the terms and\nconditions either of that published version or of any later version\npublished by the Free Software Foundation. If the Library as you\nreceived it does not specify a version number of the GNU Lesser\nGeneral Public License, you may choose any version of the GNU Lesser\nGeneral Public License ever published by the Free Software Foundation.\n\nIf the Library as you received it specifies that a proxy can decide\nwhether future versions of the GNU Lesser General Public License shall\napply, that proxy's public statement of acceptance of any version is\npermanent authorization for you to choose that version for the\nLibrary." + } + ], + "rule_references": [ + { + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_204.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5514, + "rule_relevance": 100, + "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + }, + { + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_32.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "matched_text": "GPLv3" + }, + { + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_29.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "matched_text": "LGPLv3 (" + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_bare_single_word.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "matched_text": "GPLv2." + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_627.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 30, + "rule_relevance": 100, + "matched_text": "of the GNU General Public License;" + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown_88.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50, + "matched_text": "open source\n license" + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "the GNU General Public License," + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_bare_gnu_gpl.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "GNU GPL" + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "the GNU General Public License" + }, + { + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_103.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 36, + "rule_relevance": 100, + "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of" + }, + { + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_12.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100, + "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html" + }, + { + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100, + "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html" + }, + { + "license_expression": "cc-by-sa-3.0", + "rule_identifier": "cc-by-sa-3.0_10.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 16, + "rule_relevance": 100, + "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/" + }, + { + "license_expression": "cc-by-sa-4.0", + "rule_identifier": "cc-by-sa-4.0_71.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100, + "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode" + }, + { + "license_expression": "dco-1.1", + "rule_identifier": "dco-1.1_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 7, + "rule_relevance": 100, + "matched_text": "Developer's Certificate of Origin 1.1\"" + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1142.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 11, + "rule_relevance": 100, + "matched_text": "Free Software licensed under the GNU General Public License" + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_236.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "GNU public license," + }, + { + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_204.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5514, + "rule_relevance": 100, + "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + }, + { + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_32.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "matched_text": "GPLv3" + }, + { + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_29.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "matched_text": "LGPLv3 (" + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_bare_single_word.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "matched_text": "GPLv2." + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_627.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 30, + "rule_relevance": 100, + "matched_text": "of the GNU General Public License;" + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown_88.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50, + "matched_text": "open source\n license" + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "the GNU General Public License," + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_bare_gnu_gpl.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100, + "matched_text": "GNU GPL" + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "the GNU General Public License" + }, + { + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_103.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 36, + "rule_relevance": 100, + "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of" + }, + { + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_12.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100, + "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html" + }, + { + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100, + "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html" + }, + { + "license_expression": "cc-by-sa-3.0", + "rule_identifier": "cc-by-sa-3.0_10.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 16, + "rule_relevance": 100, + "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/" + }, + { + "license_expression": "cc-by-sa-4.0", + "rule_identifier": "cc-by-sa-4.0_71.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100, + "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode" + }, + { + "license_expression": "dco-1.1", + "rule_identifier": "dco-1.1_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 7, + "rule_relevance": 100, + "matched_text": "Developer's Certificate of Origin 1.1\"" + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1142.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 11, + "rule_relevance": 100, + "matched_text": "Free Software licensed under the GNU General Public License" + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_236.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "GNU public license," + }, + { + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_290.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 102, + "rule_relevance": 100, + "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 ." + } + ], "files": [ { "path": "COPYING", @@ -1535,33 +1328,7 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5514, - "rule_relevance": 100, - "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n.", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" } ] } @@ -1644,33 +1411,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_32.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "GPLv3", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE" }, { "score": 100.0, @@ -1681,33 +1422,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_29.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "LGPLv3 (", - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE" }, { "score": 100.0, @@ -1718,33 +1433,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "GPLv2.", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" } ] }, @@ -1763,33 +1452,7 @@ "matcher": "3-seq", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_627.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 30, - "rule_relevance": 100, - "matched_text": "of the GNU General Public License;", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE" }, { "score": 50.0, @@ -1800,33 +1463,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown_88.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "open source\n license", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE" }, { "score": 100.0, @@ -1837,33 +1474,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "the GNU General Public License,", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" } ] }, @@ -1882,33 +1493,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_gnu_gpl.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "GNU GPL", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE" }, { "score": 100.0, @@ -1919,33 +1504,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "the GNU General Public License", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" }, { "score": 47.22, @@ -1956,33 +1515,7 @@ "matcher": "3-seq", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_103.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 36, - "rule_relevance": 100, - "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of", - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE" }, { "score": 100.0, @@ -1993,33 +1526,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_12.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE" }, { "score": 100.0, @@ -2030,33 +1537,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html", - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE" } ] }, @@ -2075,33 +1556,7 @@ "matcher": "3-seq", "license_expression": "cc-by-sa-3.0", "rule_identifier": "cc-by-sa-3.0_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 16, - "rule_relevance": 100, - "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/", - "licenses": [ - { - "key": "cc-by-sa-3.0", - "name": "Creative Commons Attribution Share Alike License 3.0", - "short_name": "CC-BY-SA-3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-sa/3.0/", - "text_url": "http://creativecommons.org/licenses/by-sa/3.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-sa-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-sa-3.0.LICENSE", - "spdx_license_key": "CC-BY-SA-3.0", - "spdx_url": "https://spdx.org/licenses/CC-BY-SA-3.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE" }, { "score": 100.0, @@ -2112,33 +1567,7 @@ "matcher": "2-aho", "license_expression": "cc-by-sa-4.0", "rule_identifier": "cc-by-sa-4.0_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode", - "licenses": [ - { - "key": "cc-by-sa-4.0", - "name": "Creative Commons Attribution-ShareAlike 4.0 International Public License", - "short_name": "CC-BY-SA-4.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-sa/4.0/", - "text_url": "http://creativecommons.org/licenses/by-sa/4.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-sa-4.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-sa-4.0.LICENSE", - "spdx_license_key": "CC-BY-SA-4.0", - "spdx_url": "https://spdx.org/licenses/CC-BY-SA-4.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE" }, { "score": 100.0, @@ -2149,33 +1578,7 @@ "matcher": "2-aho", "license_expression": "dco-1.1", "rule_identifier": "dco-1.1_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 7, - "rule_relevance": 100, - "matched_text": "Developer's Certificate of Origin 1.1\"", - "licenses": [ - { - "key": "dco-1.1", - "name": "Developer Certificate of Origin 1.1", - "short_name": "DCO 1.1", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://developercertificate.org/", - "text_url": "https://developercertificate.org/", - "reference_url": "https://scancode-licensedb.aboutcode.org/dco-1.1", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/dco-1.1.LICENSE", - "spdx_license_key": "LicenseRef-scancode-dco-1.1", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/dco-1.1.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE" } ] } @@ -2215,33 +1618,7 @@ "matcher": "3-seq", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1142.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100, - "matched_text": "Free Software licensed under the GNU General Public License", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE" } ] }, @@ -2260,33 +1637,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_236.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "GNU public license,", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE" } ] } @@ -2354,33 +1705,7 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5514, - "rule_relevance": 100, - "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n.", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" } ] }, @@ -2400,33 +1725,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_32.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "GPLv3", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE" }, { "score": 100.0, @@ -2437,33 +1736,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_29.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "LGPLv3 (", - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE" }, { "score": 100.0, @@ -2474,33 +1747,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "GPLv2.", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" } ] }, @@ -2519,33 +1766,7 @@ "matcher": "3-seq", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_627.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 30, - "rule_relevance": 100, - "matched_text": "of the GNU General Public License;", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE" }, { "score": 50.0, @@ -2556,33 +1777,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown_88.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "open source\n license", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE" }, { "score": 100.0, @@ -2593,33 +1788,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "the GNU General Public License,", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" } ] }, @@ -2638,33 +1807,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_gnu_gpl.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "GNU GPL", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE" }, { "score": 100.0, @@ -2675,33 +1818,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "the GNU General Public License", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" }, { "score": 47.22, @@ -2712,33 +1829,7 @@ "matcher": "3-seq", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_103.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 36, - "rule_relevance": 100, - "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of", - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE" }, { "score": 100.0, @@ -2749,33 +1840,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_12.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE" }, { "score": 100.0, @@ -2786,33 +1851,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html", - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE" } ] }, @@ -2831,33 +1870,7 @@ "matcher": "3-seq", "license_expression": "cc-by-sa-3.0", "rule_identifier": "cc-by-sa-3.0_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 16, - "rule_relevance": 100, - "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/", - "licenses": [ - { - "key": "cc-by-sa-3.0", - "name": "Creative Commons Attribution Share Alike License 3.0", - "short_name": "CC-BY-SA-3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-sa/3.0/", - "text_url": "http://creativecommons.org/licenses/by-sa/3.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-sa-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-sa-3.0.LICENSE", - "spdx_license_key": "CC-BY-SA-3.0", - "spdx_url": "https://spdx.org/licenses/CC-BY-SA-3.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE" }, { "score": 100.0, @@ -2868,33 +1881,7 @@ "matcher": "2-aho", "license_expression": "cc-by-sa-4.0", "rule_identifier": "cc-by-sa-4.0_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode", - "licenses": [ - { - "key": "cc-by-sa-4.0", - "name": "Creative Commons Attribution-ShareAlike 4.0 International Public License", - "short_name": "CC-BY-SA-4.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-sa/4.0/", - "text_url": "http://creativecommons.org/licenses/by-sa/4.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-sa-4.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-sa-4.0.LICENSE", - "spdx_license_key": "CC-BY-SA-4.0", - "spdx_url": "https://spdx.org/licenses/CC-BY-SA-4.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE" }, { "score": 100.0, @@ -2905,33 +1892,7 @@ "matcher": "2-aho", "license_expression": "dco-1.1", "rule_identifier": "dco-1.1_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 7, - "rule_relevance": 100, - "matched_text": "Developer's Certificate of Origin 1.1\"", - "licenses": [ - { - "key": "dco-1.1", - "name": "Developer Certificate of Origin 1.1", - "short_name": "DCO 1.1", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://developercertificate.org/", - "text_url": "https://developercertificate.org/", - "reference_url": "https://scancode-licensedb.aboutcode.org/dco-1.1", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/dco-1.1.LICENSE", - "spdx_license_key": "LicenseRef-scancode-dco-1.1", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/dco-1.1.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE" } ] }, @@ -2950,33 +1911,7 @@ "matcher": "3-seq", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1142.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100, - "matched_text": "Free Software licensed under the GNU General Public License", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE" } ] }, @@ -2995,33 +1930,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_236.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "GNU public license,", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE" } ] } @@ -3113,33 +2022,7 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5514, - "rule_relevance": 100, - "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n.", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" } ] }, @@ -3159,33 +2042,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_32.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "GPLv3", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE" }, { "score": 100.0, @@ -3196,33 +2053,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_29.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "LGPLv3 (", - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE" }, { "score": 100.0, @@ -3233,33 +2064,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "GPLv2.", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" } ] }, @@ -3278,33 +2083,7 @@ "matcher": "3-seq", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_627.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 30, - "rule_relevance": 100, - "matched_text": "of the GNU General Public License;", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE" }, { "score": 50.0, @@ -3315,33 +2094,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown_88.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "open source\n license", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE" }, { "score": 100.0, @@ -3352,33 +2105,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "the GNU General Public License,", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" } ] }, @@ -3397,33 +2124,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_gnu_gpl.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "GNU GPL", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE" }, { "score": 100.0, @@ -3434,33 +2135,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "the GNU General Public License", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" }, { "score": 47.22, @@ -3471,33 +2146,7 @@ "matcher": "3-seq", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_103.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 36, - "rule_relevance": 100, - "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of", - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE" }, { "score": 100.0, @@ -3508,33 +2157,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_12.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE" }, { "score": 100.0, @@ -3545,33 +2168,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html", - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE" } ] }, @@ -3590,33 +2187,7 @@ "matcher": "3-seq", "license_expression": "cc-by-sa-3.0", "rule_identifier": "cc-by-sa-3.0_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 16, - "rule_relevance": 100, - "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/", - "licenses": [ - { - "key": "cc-by-sa-3.0", - "name": "Creative Commons Attribution Share Alike License 3.0", - "short_name": "CC-BY-SA-3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-sa/3.0/", - "text_url": "http://creativecommons.org/licenses/by-sa/3.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-sa-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-sa-3.0.LICENSE", - "spdx_license_key": "CC-BY-SA-3.0", - "spdx_url": "https://spdx.org/licenses/CC-BY-SA-3.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE" }, { "score": 100.0, @@ -3627,33 +2198,7 @@ "matcher": "2-aho", "license_expression": "cc-by-sa-4.0", "rule_identifier": "cc-by-sa-4.0_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode", - "licenses": [ - { - "key": "cc-by-sa-4.0", - "name": "Creative Commons Attribution-ShareAlike 4.0 International Public License", - "short_name": "CC-BY-SA-4.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-sa/4.0/", - "text_url": "http://creativecommons.org/licenses/by-sa/4.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-sa-4.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-sa-4.0.LICENSE", - "spdx_license_key": "CC-BY-SA-4.0", - "spdx_url": "https://spdx.org/licenses/CC-BY-SA-4.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE" }, { "score": 100.0, @@ -3664,33 +2209,7 @@ "matcher": "2-aho", "license_expression": "dco-1.1", "rule_identifier": "dco-1.1_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 7, - "rule_relevance": 100, - "matched_text": "Developer's Certificate of Origin 1.1\"", - "licenses": [ - { - "key": "dco-1.1", - "name": "Developer Certificate of Origin 1.1", - "short_name": "DCO 1.1", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://developercertificate.org/", - "text_url": "https://developercertificate.org/", - "reference_url": "https://scancode-licensedb.aboutcode.org/dco-1.1", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/dco-1.1.LICENSE", - "spdx_license_key": "LicenseRef-scancode-dco-1.1", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/dco-1.1.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE" } ] }, @@ -3709,33 +2228,7 @@ "matcher": "3-seq", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1142.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100, - "matched_text": "Free Software licensed under the GNU General Public License", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE" } ] }, @@ -3754,33 +2247,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_236.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "GNU public license,", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE" } ] } @@ -3872,35 +2339,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" }, { "score": 100.0, @@ -3911,33 +2350,7 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5514, - "rule_relevance": 100, - "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n.", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" }, { "score": 100.0, @@ -3948,33 +2361,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_32.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "GPLv3", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE" }, { "score": 100.0, @@ -3985,33 +2372,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_29.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "LGPLv3 (", - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE" }, { "score": 100.0, @@ -4022,33 +2383,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "GPLv2.", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" }, { "score": 20.0, @@ -4059,33 +2394,7 @@ "matcher": "3-seq", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_627.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 30, - "rule_relevance": 100, - "matched_text": "of the GNU General Public License;", - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE" }, { "score": 50.0, @@ -4096,33 +2405,7 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown_88.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "open source\n license", - "licenses": [ - { - "key": "free-unknown", - "name": "Free unknown license detected but not recognized", - "short_name": "Free unknown", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/free-unknown", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE", - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE" }, { "score": 100.0, @@ -4133,33 +2416,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "the GNU General Public License,", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" }, { "score": 100.0, @@ -4170,33 +2427,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_gnu_gpl.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "GNU GPL", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE" }, { "score": 100.0, @@ -4207,33 +2438,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "the GNU General Public License", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" }, { "score": 47.22, @@ -4244,33 +2449,7 @@ "matcher": "3-seq", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_103.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 36, - "rule_relevance": 100, - "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of", - "licenses": [ - { - "key": "lgpl-3.0-plus", - "name": "GNU Lesser General Public License 3.0 or later", - "short_name": "LGPL 3.0 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0-plus.LICENSE", - "spdx_license_key": "LGPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE" }, { "score": 100.0, @@ -4281,33 +2460,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_12.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html", - "licenses": [ - { - "key": "gpl-3.0", - "name": "GNU General Public License 3.0", - "short_name": "GPL 3.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0.LICENSE", - "spdx_license_key": "GPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE" }, { "score": 100.0, @@ -4318,33 +2471,7 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html", - "licenses": [ - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License 3.0", - "short_name": "LGPL 3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-3.0.LICENSE", - "spdx_license_key": "LGPL-3.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-3.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE" }, { "score": 75.0, @@ -4355,33 +2482,7 @@ "matcher": "3-seq", "license_expression": "cc-by-sa-3.0", "rule_identifier": "cc-by-sa-3.0_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 16, - "rule_relevance": 100, - "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/", - "licenses": [ - { - "key": "cc-by-sa-3.0", - "name": "Creative Commons Attribution Share Alike License 3.0", - "short_name": "CC-BY-SA-3.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-sa/3.0/", - "text_url": "http://creativecommons.org/licenses/by-sa/3.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-sa-3.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-sa-3.0.LICENSE", - "spdx_license_key": "CC-BY-SA-3.0", - "spdx_url": "https://spdx.org/licenses/CC-BY-SA-3.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE" }, { "score": 100.0, @@ -4392,33 +2493,7 @@ "matcher": "2-aho", "license_expression": "cc-by-sa-4.0", "rule_identifier": "cc-by-sa-4.0_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode", - "licenses": [ - { - "key": "cc-by-sa-4.0", - "name": "Creative Commons Attribution-ShareAlike 4.0 International Public License", - "short_name": "CC-BY-SA-4.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-sa/4.0/", - "text_url": "http://creativecommons.org/licenses/by-sa/4.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-sa-4.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-sa-4.0.LICENSE", - "spdx_license_key": "CC-BY-SA-4.0", - "spdx_url": "https://spdx.org/licenses/CC-BY-SA-4.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE" }, { "score": 100.0, @@ -4429,33 +2504,7 @@ "matcher": "2-aho", "license_expression": "dco-1.1", "rule_identifier": "dco-1.1_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 7, - "rule_relevance": 100, - "matched_text": "Developer's Certificate of Origin 1.1\"", - "licenses": [ - { - "key": "dco-1.1", - "name": "Developer Certificate of Origin 1.1", - "short_name": "DCO 1.1", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Linux Foundation", - "homepage_url": "https://developercertificate.org/", - "text_url": "https://developercertificate.org/", - "reference_url": "https://scancode-licensedb.aboutcode.org/dco-1.1", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/dco-1.1.LICENSE", - "spdx_license_key": "LicenseRef-scancode-dco-1.1", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/dco-1.1.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE" }, { "score": 81.82, @@ -4466,33 +2515,7 @@ "matcher": "3-seq", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1142.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100, - "matched_text": "Free Software licensed under the GNU General Public License", - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE" }, { "score": 100.0, @@ -4503,33 +2526,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_236.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "GNU public license,", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE" } ] } @@ -4566,33 +2563,7 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100, - "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 .", - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE" } ] } diff --git a/tests/packagedcode/data/maven_misc/extracted-jar-expected.json b/tests/packagedcode/data/maven_misc/extracted-jar-expected.json index 977cc196b56..b2e3daf8845 100644 --- a/tests/packagedcode/data/maven_misc/extracted-jar-expected.json +++ b/tests/packagedcode/data/maven_misc/extracted-jar-expected.json @@ -218,6 +218,8 @@ "purl": "pkg:maven/org.activiti/activiti-image-generator@7-201802-EA" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "extracted-jar", diff --git a/tests/packagedcode/data/npm/electron/package.expected.json b/tests/packagedcode/data/npm/electron/package.expected.json index ad587050d28..e6913eab9c5 100644 --- a/tests/packagedcode/data/npm/electron/package.expected.json +++ b/tests/packagedcode/data/npm/electron/package.expected.json @@ -188,6 +188,8 @@ "purl": "pkg:npm/electron@3.1.11" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "package", diff --git a/tests/packagedcode/data/npm/get_package_resources.scan.expected.json b/tests/packagedcode/data/npm/get_package_resources.scan.expected.json index cd28bc1f997..cc043efc426 100644 --- a/tests/packagedcode/data/npm/get_package_resources.scan.expected.json +++ b/tests/packagedcode/data/npm/get_package_resources.scan.expected.json @@ -93,6 +93,8 @@ "purl": "pkg:npm/test@0.1.0" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "get_package_resources", diff --git a/tests/packagedcode/data/npm/private-and-yarn/scan.expected.json b/tests/packagedcode/data/npm/private-and-yarn/scan.expected.json index 984516f92ed..add6083e92e 100644 --- a/tests/packagedcode/data/npm/private-and-yarn/scan.expected.json +++ b/tests/packagedcode/data/npm/private-and-yarn/scan.expected.json @@ -850,6 +850,8 @@ } ], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "theia", diff --git a/tests/packagedcode/data/npm/private/scan.expected.json b/tests/packagedcode/data/npm/private/scan.expected.json index b6fcf80af68..37813601e02 100644 --- a/tests/packagedcode/data/npm/private/scan.expected.json +++ b/tests/packagedcode/data/npm/private/scan.expected.json @@ -16,6 +16,8 @@ } ], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "package.json", diff --git a/tests/packagedcode/data/npm/scan-nested/scan.expected.json b/tests/packagedcode/data/npm/scan-nested/scan.expected.json index 6c826604f79..5367e6794f3 100644 --- a/tests/packagedcode/data/npm/scan-nested/scan.expected.json +++ b/tests/packagedcode/data/npm/scan-nested/scan.expected.json @@ -898,6 +898,8 @@ "purl": "pkg:npm/sequelize@3.30.2" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "scan", diff --git a/tests/packagedcode/data/plugin/about-package-expected.json b/tests/packagedcode/data/plugin/about-package-expected.json index f9a70cee67b..b57cf623c01 100644 --- a/tests/packagedcode/data/plugin/about-package-expected.json +++ b/tests/packagedcode/data/plugin/about-package-expected.json @@ -212,6 +212,8 @@ "purl": "pkg:about/appdirs@1.4.3" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "apipkg-1.4-py2.py3-none-any.whl", diff --git a/tests/packagedcode/data/plugin/bower-package-expected.json b/tests/packagedcode/data/plugin/bower-package-expected.json index fd545f0fa7f..cbe39f0d7d2 100644 --- a/tests/packagedcode/data/plugin/bower-package-expected.json +++ b/tests/packagedcode/data/plugin/bower-package-expected.json @@ -148,6 +148,8 @@ "purl": "pkg:bower/blue-leaf" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "bower.json", diff --git a/tests/packagedcode/data/plugin/cargo-package-expected.json b/tests/packagedcode/data/plugin/cargo-package-expected.json index e4ec0d2868c..0f59dee94b4 100644 --- a/tests/packagedcode/data/plugin/cargo-package-expected.json +++ b/tests/packagedcode/data/plugin/cargo-package-expected.json @@ -101,6 +101,8 @@ "purl": "pkg:cargo/clap@2.32.0" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "Cargo.toml", diff --git a/tests/packagedcode/data/plugin/chef-package-expected.json b/tests/packagedcode/data/plugin/chef-package-expected.json index 4d947ab5f6c..557cf9eb380 100644 --- a/tests/packagedcode/data/plugin/chef-package-expected.json +++ b/tests/packagedcode/data/plugin/chef-package-expected.json @@ -132,6 +132,8 @@ "purl": "pkg:chef/301@0.1.0" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "metadata.json", diff --git a/tests/packagedcode/data/plugin/com-package-expected.json b/tests/packagedcode/data/plugin/com-package-expected.json index 0ade479bd62..c439e711f0f 100644 --- a/tests/packagedcode/data/plugin/com-package-expected.json +++ b/tests/packagedcode/data/plugin/com-package-expected.json @@ -1,6 +1,8 @@ { "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "chcp.com", diff --git a/tests/packagedcode/data/plugin/conda-package-expected.json b/tests/packagedcode/data/plugin/conda-package-expected.json index e6dce66e933..f710d56749e 100644 --- a/tests/packagedcode/data/plugin/conda-package-expected.json +++ b/tests/packagedcode/data/plugin/conda-package-expected.json @@ -262,6 +262,8 @@ "purl": "pkg:conda/requests-kerberos@0.8.0" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "info", diff --git a/tests/packagedcode/data/plugin/cran-package-expected.json b/tests/packagedcode/data/plugin/cran-package-expected.json index dd98937b435..c36783445d8 100644 --- a/tests/packagedcode/data/plugin/cran-package-expected.json +++ b/tests/packagedcode/data/plugin/cran-package-expected.json @@ -123,6 +123,8 @@ "purl": "pkg:cran/codetools@0.2-16" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "DESCRIPTION", diff --git a/tests/packagedcode/data/plugin/freebsd-package-expected.json b/tests/packagedcode/data/plugin/freebsd-package-expected.json index 792831fc746..994d5ecac8d 100644 --- a/tests/packagedcode/data/plugin/freebsd-package-expected.json +++ b/tests/packagedcode/data/plugin/freebsd-package-expected.json @@ -106,6 +106,8 @@ "purl": "pkg:freebsd/dmidecode@2.12?arch=freebsd:10:x86:64&origin=sysutils/dmidecode" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "+COMPACT_MANIFEST", diff --git a/tests/packagedcode/data/plugin/haxe-package-expected.json b/tests/packagedcode/data/plugin/haxe-package-expected.json index a80461913ff..6465cb068fa 100644 --- a/tests/packagedcode/data/plugin/haxe-package-expected.json +++ b/tests/packagedcode/data/plugin/haxe-package-expected.json @@ -106,6 +106,8 @@ "purl": "pkg:haxe/hxsocketio@0.1.0" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "haxelib.json", diff --git a/tests/packagedcode/data/plugin/maven-package-expected.json b/tests/packagedcode/data/plugin/maven-package-expected.json index ed8f7d49359..b445948ac35 100644 --- a/tests/packagedcode/data/plugin/maven-package-expected.json +++ b/tests/packagedcode/data/plugin/maven-package-expected.json @@ -6956,6 +6956,8 @@ "purl": "pkg:maven/au.com.acegi/xml-format-maven-plugin@3.0.6" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "activemq-camel", diff --git a/tests/packagedcode/data/plugin/mui-package-expected.json b/tests/packagedcode/data/plugin/mui-package-expected.json index d1489a71fcb..3110bd38138 100644 --- a/tests/packagedcode/data/plugin/mui-package-expected.json +++ b/tests/packagedcode/data/plugin/mui-package-expected.json @@ -1,6 +1,8 @@ { "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "clfs.sys.mui", diff --git a/tests/packagedcode/data/plugin/mum-package-expected.json b/tests/packagedcode/data/plugin/mum-package-expected.json index 8abc5f84e2d..787ec188e89 100644 --- a/tests/packagedcode/data/plugin/mum-package-expected.json +++ b/tests/packagedcode/data/plugin/mum-package-expected.json @@ -1,6 +1,8 @@ { "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "test.mum", diff --git a/tests/packagedcode/data/plugin/mun-package-expected.json b/tests/packagedcode/data/plugin/mun-package-expected.json index b506f82939a..5385ae2168a 100644 --- a/tests/packagedcode/data/plugin/mun-package-expected.json +++ b/tests/packagedcode/data/plugin/mun-package-expected.json @@ -1,6 +1,8 @@ { "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "crypt32.dll.mun", diff --git a/tests/packagedcode/data/plugin/npm-package-expected.json b/tests/packagedcode/data/plugin/npm-package-expected.json index da47eaca9a8..93fc95d839b 100644 --- a/tests/packagedcode/data/plugin/npm-package-expected.json +++ b/tests/packagedcode/data/plugin/npm-package-expected.json @@ -171,6 +171,8 @@ "purl": "pkg:npm/cookie-signature@1.0.3" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "package.json", diff --git a/tests/packagedcode/data/plugin/nuget-package-expected.json b/tests/packagedcode/data/plugin/nuget-package-expected.json index 8df58c5acc3..c9ec6ddbcdd 100644 --- a/tests/packagedcode/data/plugin/nuget-package-expected.json +++ b/tests/packagedcode/data/plugin/nuget-package-expected.json @@ -108,6 +108,8 @@ "purl": "pkg:nuget/Castle.Core@4.2.1" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "Castle.Core.nuspec", diff --git a/tests/packagedcode/data/plugin/opam-package-expected.json b/tests/packagedcode/data/plugin/opam-package-expected.json index 4fd2e6c6436..8db5c2ba17d 100644 --- a/tests/packagedcode/data/plugin/opam-package-expected.json +++ b/tests/packagedcode/data/plugin/opam-package-expected.json @@ -58,6 +58,8 @@ } ], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "ocaml-variants.opam", diff --git a/tests/packagedcode/data/plugin/phpcomposer-package-expected.json b/tests/packagedcode/data/plugin/phpcomposer-package-expected.json index 5443ff754b1..717d4b7652d 100644 --- a/tests/packagedcode/data/plugin/phpcomposer-package-expected.json +++ b/tests/packagedcode/data/plugin/phpcomposer-package-expected.json @@ -151,6 +151,8 @@ "purl": "pkg:composer/jandreasn/a-timer" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "composer.json", diff --git a/tests/packagedcode/data/plugin/pubspec-expected.json b/tests/packagedcode/data/plugin/pubspec-expected.json index c545ec1024e..6e4abf09df2 100644 --- a/tests/packagedcode/data/plugin/pubspec-expected.json +++ b/tests/packagedcode/data/plugin/pubspec-expected.json @@ -105,6 +105,8 @@ "purl": "pkg:dart/openapi@1.0.0" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "authors-pubspec.yaml", diff --git a/tests/packagedcode/data/plugin/pubspec-lock-expected.json b/tests/packagedcode/data/plugin/pubspec-lock-expected.json index 3219e78e831..ad77daaada4 100644 --- a/tests/packagedcode/data/plugin/pubspec-lock-expected.json +++ b/tests/packagedcode/data/plugin/pubspec-lock-expected.json @@ -800,6 +800,8 @@ } ], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "dart-pubspec.lock", diff --git a/tests/packagedcode/data/plugin/python-package-expected.json b/tests/packagedcode/data/plugin/python-package-expected.json index aa170822bf0..892327340cf 100644 --- a/tests/packagedcode/data/plugin/python-package-expected.json +++ b/tests/packagedcode/data/plugin/python-package-expected.json @@ -907,6 +907,8 @@ "purl": "pkg:pypi/ticketimport@0.7a" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "Six", diff --git a/tests/packagedcode/data/plugin/rpm-package-expected.json b/tests/packagedcode/data/plugin/rpm-package-expected.json index 8450714739e..b74273cd2e7 100644 --- a/tests/packagedcode/data/plugin/rpm-package-expected.json +++ b/tests/packagedcode/data/plugin/rpm-package-expected.json @@ -95,6 +95,8 @@ "purl": "pkg:rpm/alfandega@2.0-1.7.3" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "alfandega-2.0-1.7.3.noarch.rpm", diff --git a/tests/packagedcode/data/plugin/rubygems-package-expected.json b/tests/packagedcode/data/plugin/rubygems-package-expected.json index 7098e60dee7..b98dab93301 100644 --- a/tests/packagedcode/data/plugin/rubygems-package-expected.json +++ b/tests/packagedcode/data/plugin/rubygems-package-expected.json @@ -305,6 +305,8 @@ "purl": "pkg:gem/m2r@2.1.0" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "m2r-2.1.0.gem", diff --git a/tests/packagedcode/data/plugin/sys-package-expected.json b/tests/packagedcode/data/plugin/sys-package-expected.json index 0eba13295db..7e4a631bcb4 100644 --- a/tests/packagedcode/data/plugin/sys-package-expected.json +++ b/tests/packagedcode/data/plugin/sys-package-expected.json @@ -1,6 +1,8 @@ { "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "tbs.sys", diff --git a/tests/packagedcode/data/plugin/tlb-package-expected.json b/tests/packagedcode/data/plugin/tlb-package-expected.json index 334add154dc..9d9b3556ab5 100644 --- a/tests/packagedcode/data/plugin/tlb-package-expected.json +++ b/tests/packagedcode/data/plugin/tlb-package-expected.json @@ -1,6 +1,8 @@ { "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "stdole2.tlb", diff --git a/tests/packagedcode/data/plugin/win_pe-package-expected.json b/tests/packagedcode/data/plugin/win_pe-package-expected.json index 0cca16bcfad..a5b84c4aed0 100644 --- a/tests/packagedcode/data/plugin/win_pe-package-expected.json +++ b/tests/packagedcode/data/plugin/win_pe-package-expected.json @@ -1,6 +1,8 @@ { "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "file.exe", diff --git a/tests/packagedcode/data/plugin/winmd-package-expected.json b/tests/packagedcode/data/plugin/winmd-package-expected.json index b18bbde9a41..2c85c98ace8 100644 --- a/tests/packagedcode/data/plugin/winmd-package-expected.json +++ b/tests/packagedcode/data/plugin/winmd-package-expected.json @@ -1,6 +1,8 @@ { "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "Windows.AI.winmd", diff --git a/tests/packagedcode/data/pypi/site-packages/site-packages-expected.json b/tests/packagedcode/data/pypi/site-packages/site-packages-expected.json index 1ebcd601637..bb6c28cce93 100644 --- a/tests/packagedcode/data/pypi/site-packages/site-packages-expected.json +++ b/tests/packagedcode/data/pypi/site-packages/site-packages-expected.json @@ -295,6 +295,8 @@ "purl": "pkg:pypi/click@8.0.4" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "PKG-INFO", diff --git a/tests/packagedcode/data/pypi/solo-metadata/expected.json b/tests/packagedcode/data/pypi/solo-metadata/expected.json index 85d99cb687b..d240b9c0c75 100644 --- a/tests/packagedcode/data/pypi/solo-metadata/expected.json +++ b/tests/packagedcode/data/pypi/solo-metadata/expected.json @@ -173,6 +173,8 @@ "purl": "pkg:pypi/scancode-toolkit@31.0.0b1" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "PKG-INFO", diff --git a/tests/packagedcode/data/pypi/solo-setup/expected.json b/tests/packagedcode/data/pypi/solo-setup/expected.json index 9ef0afd9662..ade4d2838f8 100644 --- a/tests/packagedcode/data/pypi/solo-setup/expected.json +++ b/tests/packagedcode/data/pypi/solo-setup/expected.json @@ -1,6 +1,8 @@ { "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "setup.py", diff --git a/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-expected.json b/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-expected.json index 94ec8e56a70..22ba8f29a20 100644 --- a/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-expected.json +++ b/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-expected.json @@ -162,6 +162,8 @@ "purl": "pkg:pypi/pip@22.0.4" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "AUTHORS.txt", diff --git a/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-setup-expected.json b/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-setup-expected.json index ed15c3c28e9..6787e93cbff 100644 --- a/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-setup-expected.json +++ b/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-setup-expected.json @@ -1,6 +1,8 @@ { "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "setup.py", diff --git a/tests/packagedcode/data/pypi/unpacked_sdist/prefer-egg-info-pkg-info/celery-expected.json b/tests/packagedcode/data/pypi/unpacked_sdist/prefer-egg-info-pkg-info/celery-expected.json index 79fa08b95e3..3a012f6b587 100644 --- a/tests/packagedcode/data/pypi/unpacked_sdist/prefer-egg-info-pkg-info/celery-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_sdist/prefer-egg-info-pkg-info/celery-expected.json @@ -755,6 +755,8 @@ "purl": "pkg:pypi/celery@5.2.7" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "celery", diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/daglib_wheel_extracted-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/daglib_wheel_extracted-expected.json index c9ea536032a..06e5485deb0 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/daglib_wheel_extracted-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/daglib_wheel_extracted-expected.json @@ -209,6 +209,8 @@ "purl": "pkg:pypi/daglib@0.6.0" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "daglib_wheel_extracted", diff --git a/tests/packagedcode/data/win_reg/get_installed_packages_docker/expected-results.json b/tests/packagedcode/data/win_reg/get_installed_packages_docker/expected-results.json index ca0dde268b9..f53312f785d 100644 --- a/tests/packagedcode/data/win_reg/get_installed_packages_docker/expected-results.json +++ b/tests/packagedcode/data/win_reg/get_installed_packages_docker/expected-results.json @@ -108,6 +108,8 @@ "purl": "pkg:windows-program/Test2@0.0.1" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "layer", diff --git a/tests/scancode/data/altpath/copyright.expected.json b/tests/scancode/data/altpath/copyright.expected.json index e17dbfb897f..c7de2dd9100 100644 --- a/tests/scancode/data/altpath/copyright.expected.json +++ b/tests/scancode/data/altpath/copyright.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "copyright.c", diff --git a/tests/scancode/data/composer/composer.expected.json b/tests/scancode/data/composer/composer.expected.json index bbcb5f1deda..49359029ec1 100644 --- a/tests/scancode/data/composer/composer.expected.json +++ b/tests/scancode/data/composer/composer.expected.json @@ -214,6 +214,8 @@ "purl": "pkg:composer/laravel/laravel" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "composer.json", diff --git a/tests/scancode/data/failing/patchelf.expected.json b/tests/scancode/data/failing/patchelf.expected.json index e106dd6a2f2..bd5e7340b5f 100644 --- a/tests/scancode/data/failing/patchelf.expected.json +++ b/tests/scancode/data/failing/patchelf.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "patchelf.pdf", diff --git a/tests/scancode/data/help/help.txt b/tests/scancode/data/help/help.txt index 1496abbab75..87895725dbd 100644 --- a/tests/scancode/data/help/help.txt +++ b/tests/scancode/data/help/help.txt @@ -110,12 +110,12 @@ Options: codebase level. --license-policy FILE Load a License Policy file and apply it to the scan at the Resource level. - --licenses-reference Include a reference of all the licenses referenced in - this scan with the data details and full texts. --mark-source Set the "is_source" to true for directories that contain over 90% of source files as children and descendants. Count the number of source files in a directory as a new source_file_counts attribute + --no-licenses-reference Include a reference of all the licenses referenced in + this scan with the data details and full texts. --summary Summarize scans by providing declared origin information and other detected origin info at the codebase attribute level. diff --git a/tests/scancode/data/info/all.expected.json b/tests/scancode/data/info/all.expected.json index 751ee8d1d20..5292e51001b 100644 --- a/tests/scancode/data/info/all.expected.json +++ b/tests/scancode/data/info/all.expected.json @@ -1,4 +1,158 @@ { + "licenses": [ + { + "identifier": "20ee927b-fbe0-31a5-1f33-595dd1b2fd13", + "license_expression": "gpl-2.0 OR bsd-new", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 5, + "end_line": 12, + "matched_length": 50, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0 OR bsd-new", + "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_or_bsd-new_aes_1.RULE" + } + ] + }, + { + "identifier": "b17bc21b-d4a2-9db7-7cef-3d352cc60928", + "license_expression": "bsd-original-uc", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 25, + "end_line": 51, + "matched_length": 243, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-original-uc", + "rule_identifier": "bsd-original-uc_3.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original-uc_3.RULE" + } + ] + } + ], + "license_references": [ + { + "key": "bsd-new", + "short_name": "BSD-3-Clause", + "name": "BSD-3-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-3-Clause", + "other_spdx_license_keys": [ + "LicenseRef-scancode-libzip" + ], + "osi_license_key": "BSD-3-Clause", + "text_urls": [ + "http://www.opensource.org/licenses/BSD-3-Clause" + ], + "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "other_urls": [ + "http://framework.zend.com/license/new-bsd", + "https://opensource.org/licenses/BSD-3-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "bsd-original-uc", + "short_name": "BSD-Original-UC", + "name": "BSD-Original-UC", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change", + "notes": "Per SPDX.org, this is the same license as the BSD-4-Clause, but with a\ncopyright notice for the Regents of the University of California. Captures\nthe retroactive deletion of the third (advertising) clause of the Original\nBSD license for BSD-licensed code developed by UC Berkeley and its\ncontributors (see\nftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change)\n", + "is_builtin": true, + "spdx_license_key": "BSD-4-Clause-UC", + "text_urls": [ + "http://www.xfree86.org/3.3.6/COPYRIGHT2.html" + ], + "faq_url": "ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change", + "other_urls": [ + "http://www.freebsd.org/copyright/license.html", + "http://www.fsf.org/licensing/essays/bsd.html", + "http://www.gnu.org/philosophy/bsd.html" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice,\nthis list 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\nand/or other materials provided with the distribution.\n\n3. \n\n4. Neither the name of the University nor the names of its contributors may\nbe used 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.\n\nOn on July 22 1999, per notice reproduced below, the advertising clause (clause\n3) of this license was officially rescinded by the Director of the Office of\nTechnology Licensing of the University of California.\n\nThis applies only to BSD Unix files copyrighted by the Regents of the University\nof California under this license.\n\nFrom: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change :\n\n\"July 22, 1999\n\nTo All Licensees, Distributors of Any Version of BSD:\n\nAs you know, certain of the Berkeley Software Distribution (\"BSD\") source\ncode files require that further distributions of products containing all or\nportions of the software, acknowledge within their advertising materials\nthat such products contain software developed by UC Berkeley and its\ncontributors.\n\nSpecifically, the provision reads:\n\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\nEffective immediately, licensees and distributors are no longer required to\ninclude the acknowledgement within advertising materials. Accordingly, the\nforegoing paragraph of those BSD Unix files containing it is hereby deleted\nin its entirety.\n\nWilliam Hoskins\nDirector, Office of Technology Licensing\nUniversity of California, Berkeley\"\n\nNote also that in many variants of this original BSD license, both occurrences\nof the phrase \"REGENTS AND CONTRIBUTORS\" is replaced in the disclaimer section\nby \"COPYRIGHT HOLDERS AND CONTRIBUTORS\"." + }, + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + } + ], + "rule_references": [ + { + "license_expression": "gpl-2.0 OR bsd-new", + "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", + "referenced_filenames": [ + "COPYING", + "README" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 50, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-original-uc", + "rule_identifier": "bsd-original-uc_3.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 243, + "rule_relevance": 100 + } + ], "files": [ { "path": "basic", @@ -25,6 +179,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -58,6 +213,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -91,6 +247,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -124,6 +281,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -157,6 +315,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -190,6 +349,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -223,6 +383,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -256,6 +417,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -302,38 +464,16 @@ "matcher": "2-aho", "license_expression": "bsd-original-uc", "rule_identifier": "bsd-original-uc_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original-uc_3.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 243, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-original-uc", - "name": "BSD-Original-UC", - "short_name": "BSD-Original-UC", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original-uc", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original-uc.LICENSE", - "spdx_license_key": "BSD-4-Clause-UC", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause-UC" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original-uc_3.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 4.82, + "for_licenses": [ + "b17bc21b-d4a2-9db7-7cef-3d352cc60928" + ], "copyrights": [ { "copyright": "Copyright (c) 1993 The Regents of the University of California", @@ -385,6 +525,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -431,56 +572,16 @@ "matcher": "2-aho", "license_expression": "gpl-2.0 OR bsd-new", "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_or_bsd-new_aes_1.RULE", - "referenced_filenames": [ - "COPYING", - "README" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 50, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_or_bsd-new_aes_1.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 19.01, + "for_licenses": [ + "20ee927b-fbe0-31a5-1f33-595dd1b2fd13" + ], "copyrights": [ { "copyright": "Copyright (c) 2006, Jouni Malinen ", diff --git a/tests/scancode/data/info/all.rooted.expected.json b/tests/scancode/data/info/all.rooted.expected.json index 84d704d2708..87b3bbaf6e9 100644 --- a/tests/scancode/data/info/all.rooted.expected.json +++ b/tests/scancode/data/info/all.rooted.expected.json @@ -17,50 +17,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0 OR bsd-new", "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_or_bsd-new_aes_1.RULE", - "referenced_filenames": [ - "COPYING", - "README" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 50, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_or_bsd-new_aes_1.RULE" } ] }, @@ -81,36 +38,121 @@ "matcher": "2-aho", "license_expression": "bsd-original-uc", "rule_identifier": "bsd-original-uc_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original-uc_3.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 243, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-original-uc", - "name": "BSD-Original-UC", - "short_name": "BSD-Original-UC", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original-uc", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original-uc.LICENSE", - "spdx_license_key": "BSD-4-Clause-UC", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause-UC" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original-uc_3.RULE" } ] } ], + "license_references": [ + { + "key": "bsd-new", + "short_name": "BSD-3-Clause", + "name": "BSD-3-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-3-Clause", + "other_spdx_license_keys": [ + "LicenseRef-scancode-libzip" + ], + "osi_license_key": "BSD-3-Clause", + "text_urls": [ + "http://www.opensource.org/licenses/BSD-3-Clause" + ], + "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "other_urls": [ + "http://framework.zend.com/license/new-bsd", + "https://opensource.org/licenses/BSD-3-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "bsd-original-uc", + "short_name": "BSD-Original-UC", + "name": "BSD-Original-UC", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change", + "notes": "Per SPDX.org, this is the same license as the BSD-4-Clause, but with a\ncopyright notice for the Regents of the University of California. Captures\nthe retroactive deletion of the third (advertising) clause of the Original\nBSD license for BSD-licensed code developed by UC Berkeley and its\ncontributors (see\nftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change)\n", + "is_builtin": true, + "spdx_license_key": "BSD-4-Clause-UC", + "text_urls": [ + "http://www.xfree86.org/3.3.6/COPYRIGHT2.html" + ], + "faq_url": "ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change", + "other_urls": [ + "http://www.freebsd.org/copyright/license.html", + "http://www.fsf.org/licensing/essays/bsd.html", + "http://www.gnu.org/philosophy/bsd.html" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice,\nthis list 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\nand/or other materials provided with the distribution.\n\n3. \n\n4. Neither the name of the University nor the names of its contributors may\nbe used 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.\n\nOn on July 22 1999, per notice reproduced below, the advertising clause (clause\n3) of this license was officially rescinded by the Director of the Office of\nTechnology Licensing of the University of California.\n\nThis applies only to BSD Unix files copyrighted by the Regents of the University\nof California under this license.\n\nFrom: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change :\n\n\"July 22, 1999\n\nTo All Licensees, Distributors of Any Version of BSD:\n\nAs you know, certain of the Berkeley Software Distribution (\"BSD\") source\ncode files require that further distributions of products containing all or\nportions of the software, acknowledge within their advertising materials\nthat such products contain software developed by UC Berkeley and its\ncontributors.\n\nSpecifically, the provision reads:\n\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\nEffective immediately, licensees and distributors are no longer required to\ninclude the acknowledgement within advertising materials. Accordingly, the\nforegoing paragraph of those BSD Unix files containing it is hereby deleted\nin its entirety.\n\nWilliam Hoskins\nDirector, Office of Technology Licensing\nUniversity of California, Berkeley\"\n\nNote also that in many variants of this original BSD license, both occurrences\nof the phrase \"REGENTS AND CONTRIBUTORS\" is replaced in the disclaimer section\nby \"COPYRIGHT HOLDERS AND CONTRIBUTORS\"." + }, + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + } + ], + "rule_references": [ + { + "license_expression": "gpl-2.0 OR bsd-new", + "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", + "referenced_filenames": [ + "COPYING", + "README" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 50, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-original-uc", + "rule_identifier": "bsd-original-uc_3.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 243, + "rule_relevance": 100 + } + ], "files": [ { "path": "basic.tgz", @@ -277,32 +319,7 @@ "matcher": "2-aho", "license_expression": "bsd-original-uc", "rule_identifier": "bsd-original-uc_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original-uc_3.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 243, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-original-uc", - "name": "BSD-Original-UC", - "short_name": "BSD-Original-UC", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original-uc", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original-uc.LICENSE", - "spdx_license_key": "BSD-4-Clause-UC", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause-UC" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original-uc_3.RULE" } ] } @@ -392,50 +409,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0 OR bsd-new", "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_or_bsd-new_aes_1.RULE", - "referenced_filenames": [ - "COPYING", - "README" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 50, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_or_bsd-new_aes_1.RULE" } ] } diff --git a/tests/scancode/data/info/basic.expected.json b/tests/scancode/data/info/basic.expected.json index 561f173fb8d..0d3f06da5dc 100644 --- a/tests/scancode/data/info/basic.expected.json +++ b/tests/scancode/data/info/basic.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "basic", diff --git a/tests/scancode/data/info/basic.rooted.expected.json b/tests/scancode/data/info/basic.rooted.expected.json index 2054f01bc3f..b446252e7e1 100644 --- a/tests/scancode/data/info/basic.rooted.expected.json +++ b/tests/scancode/data/info/basic.rooted.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "basic.tgz", diff --git a/tests/scancode/data/info/email_url_info.expected.json b/tests/scancode/data/info/email_url_info.expected.json index b9e741dcd3d..98ba36a8114 100644 --- a/tests/scancode/data/info/email_url_info.expected.json +++ b/tests/scancode/data/info/email_url_info.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "basic", diff --git a/tests/scancode/data/license_text/test.expected b/tests/scancode/data/license_text/test.expected index 72fa14ccd12..7e9eb62e495 100644 --- a/tests/scancode/data/license_text/test.expected +++ b/tests/scancode/data/license_text/test.expected @@ -17,36 +17,61 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1", "rule_identifier": "lgpl-2.1_38.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_38.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1", - "name": "GNU Lesser General Public License 2.1", - "short_name": "LGPL 2.1", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-2.1.html", - "text_url": "http://www.gnu.org/licenses/lgpl-2.1.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1.LICENSE", - "spdx_license_key": "LGPL-2.1-only", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_38.RULE" } ] } ], + "license_references": [ + { + "key": "lgpl-2.1", + "short_name": "LGPL 2.1", + "name": "GNU Lesser General Public License 2.1", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-2.1.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-only", + "other_spdx_license_keys": [ + "LGPL-2.1", + "LicenseRef-LGPL-2.1" + ], + "osi_license_key": "LGPL-2.1", + "text_urls": [ + "http://www.gnu.org/licenses/lgpl-2.1.txt" + ], + "osi_url": "http://opensource.org/licenses/lgpl-2.1.php", + "other_urls": [ + "http://creativecommons.org/choose/cc-lgpl", + "http://creativecommons.org/images/public/cc-LGPL-a.png", + "http://creativecommons.org/licenses/LGPL/2.1/", + "http://creativecommons.org/licenses/LGPL/2.1/legalcode.pt", + "http://i.creativecommons.org/l/LGPL/2.1/88x62.png", + "http://www.gnu.org/copyleft/lesser.html", + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "text": "GNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + } + ], + "rule_references": [ + { + "license_expression": "lgpl-2.1", + "rule_identifier": "lgpl-2.1_38.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100, + "matched_text": "foo bar this that license: LGPL-2.1 bar" + } + ], "files": [ { "path": "test.txt", @@ -69,33 +94,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1", "rule_identifier": "lgpl-2.1_38.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_38.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "foo bar this that license: LGPL-2.1 bar", - "licenses": [ - { - "key": "lgpl-2.1", - "name": "GNU Lesser General Public License 2.1", - "short_name": "LGPL 2.1", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-2.1.html", - "text_url": "http://www.gnu.org/licenses/lgpl-2.1.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1.LICENSE", - "spdx_license_key": "LGPL-2.1-only", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_38.RULE" } ] } diff --git a/tests/scancode/data/merge_scans/expected.json b/tests/scancode/data/merge_scans/expected.json index 58f295566ea..e6f617027cf 100644 --- a/tests/scancode/data/merge_scans/expected.json +++ b/tests/scancode/data/merge_scans/expected.json @@ -1,4 +1,6 @@ { + "license_references": null, + "rule_references": null, "files": [ { "path": "virtual_root", diff --git a/tests/scancode/data/non_utf8/expected-linux.json b/tests/scancode/data/non_utf8/expected-linux.json index 10080e8320f..3ec7901368a 100644 --- a/tests/scancode/data/non_utf8/expected-linux.json +++ b/tests/scancode/data/non_utf8/expected-linux.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "non_unicode", diff --git a/tests/scancode/data/plugin_mark_source/with_info.expected.json b/tests/scancode/data/plugin_mark_source/with_info.expected.json index 761909dd9a4..61e489366c5 100644 --- a/tests/scancode/data/plugin_mark_source/with_info.expected.json +++ b/tests/scancode/data/plugin_mark_source/with_info.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "JGroups.tgz", diff --git a/tests/scancode/data/plugin_only_findings/basic.expected.json b/tests/scancode/data/plugin_only_findings/basic.expected.json index 020b6c055c7..92172cb4b3b 100644 --- a/tests/scancode/data/plugin_only_findings/basic.expected.json +++ b/tests/scancode/data/plugin_only_findings/basic.expected.json @@ -1,6 +1,160 @@ { + "licenses": [ + { + "identifier": "20ee927b-fbe0-31a5-1f33-595dd1b2fd13", + "license_expression": "gpl-2.0 OR bsd-new", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 5, + "end_line": 12, + "matched_length": 50, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0 OR bsd-new", + "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_or_bsd-new_aes_1.RULE" + } + ] + }, + { + "identifier": "b17bc21b-d4a2-9db7-7cef-3d352cc60928", + "license_expression": "bsd-original-uc", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 25, + "end_line": 51, + "matched_length": 243, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-original-uc", + "rule_identifier": "bsd-original-uc_3.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original-uc_3.RULE" + } + ] + } + ], "dependencies": [], "packages": [], + "license_references": [ + { + "key": "bsd-new", + "short_name": "BSD-3-Clause", + "name": "BSD-3-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-3-Clause", + "other_spdx_license_keys": [ + "LicenseRef-scancode-libzip" + ], + "osi_license_key": "BSD-3-Clause", + "text_urls": [ + "http://www.opensource.org/licenses/BSD-3-Clause" + ], + "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "other_urls": [ + "http://framework.zend.com/license/new-bsd", + "https://opensource.org/licenses/BSD-3-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "bsd-original-uc", + "short_name": "BSD-Original-UC", + "name": "BSD-Original-UC", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change", + "notes": "Per SPDX.org, this is the same license as the BSD-4-Clause, but with a\ncopyright notice for the Regents of the University of California. Captures\nthe retroactive deletion of the third (advertising) clause of the Original\nBSD license for BSD-licensed code developed by UC Berkeley and its\ncontributors (see\nftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change)\n", + "is_builtin": true, + "spdx_license_key": "BSD-4-Clause-UC", + "text_urls": [ + "http://www.xfree86.org/3.3.6/COPYRIGHT2.html" + ], + "faq_url": "ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change", + "other_urls": [ + "http://www.freebsd.org/copyright/license.html", + "http://www.fsf.org/licensing/essays/bsd.html", + "http://www.gnu.org/philosophy/bsd.html" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice,\nthis list 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\nand/or other materials provided with the distribution.\n\n3. \n\n4. Neither the name of the University nor the names of its contributors may\nbe used 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.\n\nOn on July 22 1999, per notice reproduced below, the advertising clause (clause\n3) of this license was officially rescinded by the Director of the Office of\nTechnology Licensing of the University of California.\n\nThis applies only to BSD Unix files copyrighted by the Regents of the University\nof California under this license.\n\nFrom: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change :\n\n\"July 22, 1999\n\nTo All Licensees, Distributors of Any Version of BSD:\n\nAs you know, certain of the Berkeley Software Distribution (\"BSD\") source\ncode files require that further distributions of products containing all or\nportions of the software, acknowledge within their advertising materials\nthat such products contain software developed by UC Berkeley and its\ncontributors.\n\nSpecifically, the provision reads:\n\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\nEffective immediately, licensees and distributors are no longer required to\ninclude the acknowledgement within advertising materials. Accordingly, the\nforegoing paragraph of those BSD Unix files containing it is hereby deleted\nin its entirety.\n\nWilliam Hoskins\nDirector, Office of Technology Licensing\nUniversity of California, Berkeley\"\n\nNote also that in many variants of this original BSD license, both occurrences\nof the phrase \"REGENTS AND CONTRIBUTORS\" is replaced in the disclaimer section\nby \"COPYRIGHT HOLDERS AND CONTRIBUTORS\"." + }, + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + } + ], + "rule_references": [ + { + "license_expression": "gpl-2.0 OR bsd-new", + "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", + "referenced_filenames": [ + "COPYING", + "README" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 50, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-original-uc", + "rule_identifier": "bsd-original-uc_3.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 243, + "rule_relevance": 100 + } + ], "files": [ { "path": "basic.tgz/basic/dir2/subdir/bcopy.s", @@ -39,38 +193,16 @@ "matcher": "2-aho", "license_expression": "bsd-original-uc", "rule_identifier": "bsd-original-uc_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original-uc_3.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 243, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-original-uc", - "name": "BSD-Original-UC", - "short_name": "BSD-Original-UC", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change", - "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-original-uc", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-original-uc.LICENSE", - "spdx_license_key": "BSD-4-Clause-UC", - "spdx_url": "https://spdx.org/licenses/BSD-4-Clause-UC" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original-uc_3.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 4.82, + "for_licenses": [ + "b17bc21b-d4a2-9db7-7cef-3d352cc60928" + ], "copyrights": [ { "copyright": "Copyright (c) 1993 The Regents of the University of California", @@ -136,56 +268,16 @@ "matcher": "2-aho", "license_expression": "gpl-2.0 OR bsd-new", "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_or_bsd-new_aes_1.RULE", - "referenced_filenames": [ - "COPYING", - "README" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 50, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - }, - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_or_bsd-new_aes_1.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 19.01, + "for_licenses": [ + "20ee927b-fbe0-31a5-1f33-595dd1b2fd13" + ], "copyrights": [ { "copyright": "Copyright (c) 2006, Jouni Malinen ", diff --git a/tests/scancode/data/plugin_only_findings/errors.expected.json b/tests/scancode/data/plugin_only_findings/errors.expected.json index 1652a01988c..4c309b8b8f1 100644 --- a/tests/scancode/data/plugin_only_findings/errors.expected.json +++ b/tests/scancode/data/plugin_only_findings/errors.expected.json @@ -1,4 +1,6 @@ { + "license_references": null, + "rule_references": null, "files": [ { "path": "errors/many_copyrights.c", diff --git a/tests/scancode/data/plugin_only_findings/info.expected.json b/tests/scancode/data/plugin_only_findings/info.expected.json index 6941fa698db..29f55f9d493 100644 --- a/tests/scancode/data/plugin_only_findings/info.expected.json +++ b/tests/scancode/data/plugin_only_findings/info.expected.json @@ -1,3 +1,5 @@ { + "license_references": [], + "rule_references": [], "files": [] } \ No newline at end of file diff --git a/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json b/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json index a65599caef9..8a231ab4dc3 100644 --- a/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json +++ b/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json @@ -103,6 +103,8 @@ "purl": "pkg:rpm/fping@2.4-0.b2.rhfc1.dag" } ], + "license_references": [], + "rule_references": [], "files": [ { "path": "fping-2.4-0.b2.rhfc1.dag.i386.rpm", diff --git a/tests/scancode/data/single/iproute.expected.json b/tests/scancode/data/single/iproute.expected.json index ce28451c764..c30978bd699 100644 --- a/tests/scancode/data/single/iproute.expected.json +++ b/tests/scancode/data/single/iproute.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "iproute.c", diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json index 16b5465ea52..8a38605a41f 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json @@ -2,6 +2,8 @@ "licenses": [], "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "unicodepath", diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet index 16b5465ea52..8a38605a41f 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet @@ -2,6 +2,8 @@ "licenses": [], "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "unicodepath", diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose index 16b5465ea52..8a38605a41f 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose @@ -2,6 +2,8 @@ "licenses": [], "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "unicodepath", diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-q b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-q index 16b5465ea52..8a38605a41f 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-q +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-q @@ -2,6 +2,8 @@ "licenses": [], "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "unicodepath", diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-v b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-v index 16b5465ea52..8a38605a41f 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-v +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-v @@ -2,6 +2,8 @@ "licenses": [], "dependencies": [], "packages": [], + "license_references": [], + "rule_references": [], "files": [ { "path": "unicodepath", diff --git a/tests/scancode/data/virtual_idempotent/codebase.json b/tests/scancode/data/virtual_idempotent/codebase.json index babf4e1022e..82fa2942867 100644 --- a/tests/scancode/data/virtual_idempotent/codebase.json +++ b/tests/scancode/data/virtual_idempotent/codebase.json @@ -2,70 +2,637 @@ "headers": [ { "tool_name": "scancode-toolkit", - "tool_version": "2.9.7.post135.90333b4", + "tool_version": "32.0.0", "options": { - "input": "samples/", + "input": [ + "samples" + ], "--classify": true, "--copyright": true, "--email": true, - "--facet": [ - "dev=FOOBAR" - ], "--generated": true, "--info": true, - "--json-pp": "scan.json", + "--json-pp": "tests/scancode/data/virtual_idempotent/codebase.json", "--license": true, "--license-text": true, "--package": true, - "--processes": "3", - "--summary-with-details": true, - "--url": true, - "--verbose": true + "--summary": true, + "--tallies-with-details": true, + "--url": true }, "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", - "start_timestamp": "2018-11-14T134215.214510", - "end_timestamp": "2018-11-14T134224.595734", + "start_timestamp": "2022-11-20T232345.406819", + "end_timestamp": "2022-11-20T232404.145761", + "output_format_version": "3.0.0", + "duration": 18.738953113555908, "message": null, "errors": [], - "extra_data": {} + "warnings": [], + "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-5.14.0-1054-oem-x86_64-with-glibc2.29", + "platform_version": "#61-Ubuntu SMP Fri Oct 14 13:05:50 UTC 2022", + "python_version": "3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]" + }, + "spdx_license_list_version": "3.17", + "files_count": 33 + } + } + ], + "licenses": [ + { + "identifier": "eed9b405-580d-3b4c-28fd-66acb8595508", + "license_expression": "jboss-eula", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 108, + "matched_length": 1285, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "jboss-eula", + "rule_identifier": "jboss-eula.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/jboss-eula.LICENSE" + } + ] + }, + { + "identifier": "f6dd3eec-ee92-36cb-d069-447bea303c02", + "license_expression": "lgpl-2.1", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 502, + "matched_length": 4288, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "lgpl-2.1", + "rule_identifier": "lgpl-2.1_101.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_101.RULE" + } + ] + }, + { + "identifier": "9efb9769-bd5d-5083-31e8-3616b2fb45b1", + "license_expression": "apache-1.1", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 56, + "matched_length": 361, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-1.1", + "rule_identifier": "apache-1.1_71.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.1_71.RULE" + } + ] + }, + { + "identifier": "38097a02-87ed-9e8c-2dcb-78842e1e42c0", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 202, + "matched_length": 1584, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0.LICENSE" + } + ] + }, + { + "identifier": "1f6881d4-dcc1-038b-f9a5-8c8c48fc4f45", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 18, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" + } + ] + }, + { + "identifier": "e94b4a5e-6c2f-2338-2bcb-9775b84aaf9c", + "license_expression": "cpl-1.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.94, + "start_line": 1, + "end_line": 212, + "matched_length": 1720, + "match_coverage": 99.94, + "matcher": "3-seq", + "license_expression": "cpl-1.0", + "rule_identifier": "cpl-1.0.SPDX.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0.SPDX.RULE" + } + ] + }, + { + "identifier": "512a55a0-6eb0-f619-44db-02f4c4f0765d", + "license_expression": "lgpl-2.1-plus", + "occurance_count": 3, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 20, + "matched_length": 125, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" + } + ] + }, + { + "identifier": "5a42c371-1b5b-60b5-5e09-9d443b5f0947", + "license_expression": "cc-by-2.5", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 10, + "end_line": 11, + "matched_length": 14, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" + } + ] + }, + { + "identifier": "f7b053b0-5616-3e15-9100-a1a22231c3d8", + "license_expression": "public-domain", + "occurance_count": 1, + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 70.0, + "start_line": 1649, + "end_line": 1649, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "public-domain", + "rule_identifier": "public-domain_bare_words.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/public-domain_bare_words.RULE" + } + ] + }, + { + "identifier": "0a390f49-b04d-c926-5b31-35877b9c53a7", + "license_expression": "public-domain-disclaimer", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1692, + "end_line": 1694, + "matched_length": 30, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "public-domain-disclaimer", + "rule_identifier": "public-domain-disclaimer_77.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/public-domain-disclaimer_77.RULE" + } + ] + }, + { + "identifier": "1d1a3779-8597-ca5f-0160-cc3bdecf2879", + "license_expression": "zlib", + "occurance_count": 7, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + } + ] + }, + { + "identifier": "1d248a8d-7cf1-15dd-0f7c-5c63d5878bf9", + "license_expression": "zlib", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 93, + "end_line": 94, + "matched_length": 28, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_21.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_21.RULE" + } + ] + }, + { + "identifier": "86cb4577-6510-3da7-2209-45fe39d3b847", + "license_expression": "zlib", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 23, + "matched_length": 144, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" + } + ] + }, + { + "identifier": "7982e625-db6d-b61d-9b0d-f82636bce009", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 25, + "matched_length": 176, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" + } + ] + }, + { + "identifier": "f42704ae-d553-edcc-f713-502abdad26c9", + "license_expression": "boost-1.0", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 32, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" + } + ] + }, + { + "identifier": "fb14538c-aeb9-6b1a-3380-3216dcf60509", + "license_expression": "boost-1.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 23, + "matched_length": 211, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0.LICENSE" + } + ] + }, + { + "identifier": "9cb57cc5-0b01-991b-a877-5827395b9b1b", + "license_expression": "unknown-license-reference", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 10, + "end_line": 10, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_225.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_225.RULE" + } + ] + }, + { + "identifier": "fb544817-ac13-5bb2-e219-0e3bba38b9bf", + "license_expression": "zlib", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 17, + "end_line": 31, + "matched_length": 132, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE" + } + ] + }, + { + "identifier": "ca895ddd-4eca-8b9b-15bc-f972a6d2bde0", + "license_expression": "mit-old-style", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 9, + "end_line": 15, + "matched_length": 71, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" + } + ] } ], + "dependencies": [], + "packages": [], "summary": { - "license_expressions": [ + "declared_license_expression": null, + "license_clarity_score": { + "score": 0, + "declared_license": false, + "identification_precision": false, + "has_license_text": false, + "declared_copyrights": false, + "conflicting_license_categories": true, + "ambiguous_compound_licensing": true + }, + "declared_holder": "", + "primary_language": "C", + "other_license_expressions": [ { "value": "zlib", - "count": 10 + "count": 9 + }, + { + "value": "boost-1.0", + "count": 3 + }, + { + "value": "lgpl-2.1-plus", + "count": 3 + }, + { + "value": "lgpl-2.1", + "count": 2 + }, + { + "value": "apache-1.1", + "count": 1 + }, + { + "value": "apache-2.0", + "count": 1 + }, + { + "value": "cc-by-2.5", + "count": 1 + }, + { + "value": "cpl-1.0", + "count": 1 }, + { + "value": "gpl-2.0-plus WITH ada-linking-exception", + "count": 1 + }, + { + "value": "jboss-eula", + "count": 1 + }, + { + "value": "mit", + "count": 1 + }, + { + "value": "mit-old-style", + "count": 1 + }, + { + "value": "public-domain AND public-domain-disclaimer", + "count": 1 + } + ], + "other_holders": [ { "value": null, + "count": 10 + }, + { + "value": "Free Software Foundation", + "count": 4 + }, + { + "value": "Henrik Ravn", + "count": 3 + }, + { + "value": "Jean-loup Gailly", + "count": 3 + }, + { + "value": "Jean-loup Gailly and Mark Adler", + "count": 3 + }, + { + "value": "Mark Adler", + "count": 3 + }, + { + "value": "Brian Goetz and Tim Peierls", + "count": 1 + }, + { + "value": "Christian Michelsen Research AS Advanced Computing", + "count": 1 + }, + { + "value": "Dmitriy Anisimkov", + "count": 1 + }, + { + "value": "JBoss Inc., and individual contributors", + "count": 1 + }, + { + "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant", + "count": 1 + }, + { + "value": "Red Hat", + "count": 1 + }, + { + "value": "Red Hat Middleware LLC, and individual contributors", + "count": 1 + }, + { + "value": "Red Hat, Inc. and individual contributors", + "count": 1 + }, + { + "value": "The Apache Software Foundation", + "count": 1 + }, + { + "value": "The Legion Of The Bouncy Castle", + "count": 1 + } + ], + "other_languages": [ + { + "value": "Java", "count": 7 }, { - "value": "lgpl-2.1-plus", - "count": 5 + "value": "C#", + "count": 2 + }, + { + "value": "C++", + "count": 1 + }, + { + "value": "GAS", + "count": 1 + }, + { + "value": "verilog", + "count": 1 + } + ] + }, + "tallies": { + "detected_license_expression": [ + { + "value": "zlib", + "count": 9 }, { "value": "boost-1.0", "count": 3 }, { - "value": "public-domain", + "value": "lgpl-2.1-plus", + "count": 3 + }, + { + "value": "lgpl-2.1", "count": 2 }, { - "value": "apache-1.1", + "value": null, "count": 1 }, { - "value": "apache-2.0", + "value": "apache-1.1", "count": 1 }, { - "value": "cc-by-2.5", + "value": "apache-2.0", "count": 1 }, { - "value": "cmr-no", + "value": "cc-by-2.5", "count": 1 }, { @@ -83,6 +650,14 @@ { "value": "mit", "count": 1 + }, + { + "value": "mit-old-style", + "count": 1 + }, + { + "value": "public-domain AND public-domain-disclaimer", + "count": 1 } ], "copyrights": [ @@ -102,10 +677,6 @@ "value": "Copyright (c) Mark Adler", "count": 3 }, - { - "value": "(c) Copyright Henrik Ravn", - "count": 2 - }, { "value": "Copyright (c) Free Software Foundation, Inc.", "count": 2 @@ -114,6 +685,10 @@ "value": "copyrighted by the Free Software Foundation", "count": 2 }, + { + "value": "(c) Copyright Henrik Ravn", + "count": 1 + }, { "value": "Copyright (c) - The Legion Of The Bouncy Castle (http://www.bouncycastle.org)", "count": 1 @@ -131,11 +706,15 @@ "count": 1 }, { - "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant.", + "value": "Copyright (c) Henrik Ravn", + "count": 1 + }, + { + "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant", "count": 1 }, { - "value": "Copyright (c) The Apache Software Foundation.", + "value": "Copyright (c) The Apache Software Foundation", "count": 1 }, { @@ -165,7 +744,7 @@ "count": 10 }, { - "value": "Free Software Foundation, Inc.", + "value": "Free Software Foundation", "count": 4 }, { @@ -201,15 +780,15 @@ "count": 1 }, { - "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant.", + "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant", "count": 1 }, { - "value": "Red Hat Middleware LLC, and individual contributors", + "value": "Red Hat", "count": 1 }, { - "value": "Red Hat, Inc.", + "value": "Red Hat Middleware LLC, and individual contributors", "count": 1 }, { @@ -217,7 +796,7 @@ "count": 1 }, { - "value": "The Apache Software Foundation.", + "value": "The Apache Software Foundation", "count": 1 }, { @@ -247,7 +826,7 @@ "count": 1 }, { - "value": "Leonid Broukhis.", + "value": "Leonid Broukhis", "count": 1 }, { @@ -259,18 +838,14 @@ "count": 1 }, { - "value": "the Apache Software Foundation (http://www.apache.org/).", + "value": "the Apache Software Foundation (http://www.apache.org/)", "count": 1 } ], "programming_language": [ { - "value": null, - "count": 13 - }, - { - "value": "C++", - "count": 10 + "value": "C", + "count": 9 }, { "value": "Java", @@ -280,12 +855,634 @@ "value": "C#", "count": 2 }, + { + "value": "C++", + "count": 1 + }, { "value": "GAS", "count": 1 + }, + { + "value": "verilog", + "count": 1 } ] }, + "license_references": [ + { + "key": "ada-linking-exception", + "short_name": "Ada linking exception to GPL 2.0 or later", + "name": "Ada linking exception to GPL 2.0 or later", + "category": "Copyleft Limited", + "owner": "Dmitriy Anisimkov", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", + "other_urls": [ + "http://zlib-ada.sourceforge.net/", + "http://ada-ru.org/" + ], + "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", + "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." + }, + { + "key": "apache-1.1", + "short_name": "Apache 1.1", + "name": "Apache License 1.1", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this license is OSI certified. This license has been\nsuperseded by Apache 2.0\n", + "is_builtin": true, + "spdx_license_key": "Apache-1.1", + "osi_license_key": "Apache-1.1", + "text_urls": [ + "http://apache.org/licenses/LICENSE-1.1" + ], + "faq_url": "http://www.apache.org/foundation/license-faq.html", + "other_urls": [ + "http://opensource.org/licenses/Apache-1.1", + "https://opensource.org/licenses/Apache-1.1" + ], + "text": "The Apache Software License, Version 1.1\n\nCopyright (c) 2000 The Apache Software Foundation. All rights\nreserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the\ndistribution.\n\n3. The end-user documentation included with the redistribution,\nif any, must include the following acknowledgment:\n\"This product includes software developed by the\nApache Software Foundation (http://www.apache.org/).\"\nAlternately, this acknowledgment may appear in the software itself,\nif and wherever such third-party acknowledgments normally appear.\n\n4. The names \"Apache\" and \"Apache Software Foundation\" must\nnot be used to endorse or promote products derived from this\nsoftware without prior written permission. For written\npermission, please contact apache@apache.org.\n\n5. Products derived from this software may not be called \"Apache\",\nnor may \"Apache\" appear in their name, without prior written\npermission of the Apache Software Foundation.\n\nTHIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED\nWARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR\nITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\nUSE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\nOF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE." + }, + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "boost-1.0", + "short_name": "Boost 1.0", + "name": "Boost Software License 1.0", + "category": "Permissive", + "owner": "Boost", + "homepage_url": "http://www.boost.org/users/license.html", + "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "BSL-1.0", + "text_urls": [ + "http://www.boost.org/LICENSE_1_0.txt" + ], + "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", + "other_urls": [ + "http://www.boost.org/users/license.html", + "http://www.opensource.org/licenses/BSL-1.0", + "https://opensource.org/licenses/BSL-1.0" + ], + "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." + }, + { + "key": "cc-by-2.5", + "short_name": "CC-BY-2.5", + "name": "Creative Commons Attribution License 2.5", + "category": "Permissive", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by/2.5/", + "is_builtin": true, + "spdx_license_key": "CC-BY-2.5", + "text_urls": [ + "http://creativecommons.org/licenses/by/2.5/legalcode" + ], + "other_urls": [ + "https://creativecommons.org/licenses/by/2.5/legalcode" + ], + "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." + }, + { + "key": "cpl-1.0", + "short_name": "CPL 1.0", + "name": "Common Public License 1.0", + "category": "Copyleft Limited", + "owner": "IBM", + "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", + "notes": "Per SPDX.org, this license was superseded by Eclipse Public License", + "is_builtin": true, + "spdx_license_key": "CPL-1.0", + "osi_license_key": "CPL-1.0", + "text_urls": [ + "http://www.eclipse.org/legal/cpl-v10.html" + ], + "osi_url": "http://www.opensource.org/licenses/cpl1.0.php", + "faq_url": "http://web.archive.org/web/20101104092121/http://www.ibm.com/developerworks/library/os-cplfaq.html", + "other_urls": [ + "http://dev.eclipse.org/blogs/mike/2009/04/16/one-small-step-towards-reducing-license-proliferation/", + "http://opensource.org/licenses/CPL-1.0", + "http://www.ibm.com/developerworks/library/os-cpl.html", + "http://www.ibm.com/developerworks/library/os-cplfaq.html", + "http://www.padsproj.org/License.html", + "https://opensource.org/licenses/CPL-1.0" + ], + "text": "Common Public License - v 1.0\n\nUpdated 16 Apr 2009\n\nAs of 25 Feb 2009, IBM has assigned the Agreement Steward role for the CPL to the Eclipse Foundation. Eclipse has designated the Eclipse Public License (EPL) as the follow-on version of the CPL.\n\nTHE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE (\"AGREEMENT\"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.\n\n\n1. DEFINITIONS\n\n\"Contribution\" means:\n\na) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and\nb) in the case of each subsequent Contributor:\ni)\t changes to the Program, and\nii)\t additions to the Program;\nwhere such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.\n\n\"Contributor\" means any person or entity that distributes the Program.\n\n\n\"Licensed Patents \" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.\n\n\n\"Program\" means the Contributions distributed in accordance with this Agreement.\n\n\n\"Recipient\" means anyone who receives the Program under this Agreement, including all Contributors.\n\n\n2. GRANT OF RIGHTS\n\na)\tSubject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.\nb) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.\nc)\tRecipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. 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 the Program, it is Recipient's responsibility to acquire that license before distributing the Program.\nd)\tEach Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.\n3. REQUIREMENTS\n\nA Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:\n\na)\tit complies with the terms and conditions of this Agreement; and\nb)\tits license agreement:\ni)\teffectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;\nii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;\niii)\tstates that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and\niv)\tstates that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.\nWhen the Program is made available in source code form:\n\na)\tit must be made available under this Agreement; and\nb)\ta copy of this Agreement must be included with each copy of the Program.\n\nContributors may not remove or alter any copyright notices contained within the Program.\n\n\nEach Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.\n\n\n4. COMMERCIAL DISTRIBUTION\n\nCommercial distributors of software 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 the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor (\"Commercial Contributor\") hereby agrees to defend and indemnify every other 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 Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.\n\n\nFor example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.\n\n\n5. NO WARRANTY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED 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 using and distributing the Program 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.\n\n\n6. DISCLAIMER OF LIABILITY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 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 THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n\n7. GENERAL\n\nIf 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.\n\n\nIf Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.\n\n\nAll Recipient's rights under this Agreement shall terminate if it 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 all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.\n\n\nEveryone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) 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 the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.\n\n\nThis Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation." + }, + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "jboss-eula", + "short_name": "JBoss EULA", + "name": "JBoss EULA", + "category": "Proprietary Free", + "owner": "JBoss Community", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-jboss-eula", + "text_urls": [ + "http://repository.jboss.org/licenses/jbossorg-eula.txt" + ], + "text": "LICENSE AGREEMENT\nJBOSS(r)\n\nThis License Agreement governs the use of the Software Packages and any updates to the Software\nPackages, regardless of the delivery mechanism. Each Software Package is a collective work\nunder U.S. Copyright Law. Subject to the following terms, Red Hat, Inc. (\"Red Hat\") grants to\nthe user (\"Client\") a license to the applicable collective work(s) pursuant to the\nGNU Lesser General Public License v. 2.1 except for the following Software Packages:\n(a) JBoss Portal Forums and JBoss Transactions JTS, each of which is licensed pursuant to the\nGNU General Public License v.2;\n\n(b) JBoss Rules, which is licensed pursuant to the Apache License v.2.0;\n\n(c) an optional download for JBoss Cache for the Berkeley DB for Java database, which is licensed under the\n(open source) Sleepycat License (if Client does not wish to use the open source version of this database,\nit may purchase a license from Sleepycat Software);\n\nand (d) the BPEL extension for JBoss jBPM, which is licensed under the Common Public License v.1,\nand, pursuant to the OASIS BPEL4WS standard, requires parties wishing to redistribute to enter various\nroyalty-free patent licenses.\n\nEach of the foregoing licenses is available at http://www.opensource.org/licenses/index.php.\n\n1. The Software. \"Software Packages\" refer to the various software modules that are created and made available\nfor distribution by the JBoss.org open source community at http://www.jboss.org. Each of the Software Packages\nmay be comprised of hundreds of software components. The end user license agreement for each component is located in\nthe component's source code. With the exception of certain image files identified in Section 2 below,\nthe license terms for the components permit Client to copy, modify, and redistribute the component,\nin both source code and binary code forms. This agreement does not limit Client's rights under,\nor grant Client rights that supersede, the license terms of any particular component.\n\n2. Intellectual Property Rights. The Software Packages are owned by Red Hat and others and are protected under copyright\nand other laws. Title to the Software Packages and any component, or to any copy, modification, or merged portion shall\nremain with the aforementioned, subject to the applicable license. The \"JBoss\" trademark, \"Red Hat\" trademark, the\nindividual Software Package trademarks, and the \"Shadowman\" logo are registered trademarks of Red Hat and its affiliates\nin the U.S. and other countries. This agreement permits Client to distribute unmodified copies of the Software Packages\nusing the Red Hat trademarks that Red Hat has inserted in the Software Packages on the condition that Client follows Red Hat's\ntrademark guidelines for those trademarks located at http://www.redhat.com/about/corporate/trademark/. Client must abide by\nthese trademark guidelines when distributing the Software Packages, regardless of whether the Software Packages have been modified.\nIf Client modifies the Software Packages, then Client must replace all Red Hat trademarks and logos identified at\nhttp://www.jboss.com/company/logos, unless a separate agreement with Red Hat is executed or other permission granted.\nMerely deleting the files containing the Red Hat trademarks may corrupt the Software Packages.\n\n3. Limited Warranty. Except as specifically stated in this Paragraph 3 or a license for a particular\ncomponent, to the maximum extent permitted under applicable law, the Software Packages and the\ncomponents are provided and licensed \"as is\" without warranty of any kind, expressed or implied,\nincluding the implied warranties of merchantability, non-infringement or fitness for a particular purpose.\nRed Hat warrants that the media on which Software Packages may be furnished will be free from defects in\nmaterials and manufacture under normal use for a period of 30 days from the date of delivery to Client.\nRed Hat does not warrant that the functions contained in the Software Packages will meet Client's requirements\nor that the operation of the Software Packages will be entirely error free or appear precisely as described\nin the accompanying documentation. This warranty extends only to the party that purchases the Services\npertaining to the Software Packages from Red Hat or a Red Hat authorized distributor.\n\n4. Limitation of Remedies and Liability. To the maximum extent permitted by applicable law, the remedies\ndescribed below are accepted by Client as its only remedies. Red Hat's entire liability, and Client's\nexclusive remedies, shall be: If the Software media is defective, Client may return it within 30 days of\ndelivery along with a copy of Client's payment receipt and Red Hat, at its option, will replace it or\nrefund the money paid by Client for the Software. To the maximum extent permitted by applicable law,\nRed Hat or any Red Hat authorized dealer will not be liable to Client for any incidental or consequential\ndamages, including lost profits or lost savings arising out of the use or inability to use the Software,\neven if Red Hat or such dealer has been advised of the possibility of such damages. In no event shall\nRed Hat's liability under this agreement exceed the amount that Client paid to Red Hat under this\nAgreement during the twelve months preceding the action.\n\n5. Export Control. As required by U.S. law, Client represents and warrants that it:\n(a) understands that the Software Packages are subject to export controls under the\nU.S. Commerce Department's Export Administration Regulations (\"EAR\");\n\n(b) is not located in a prohibited destination country under the EAR or U.S. sanctions regulations\n(currently Cuba, Iran, Iraq, Libya, North Korea, Sudan and Syria);\n\n(c) will not export, re-export, or transfer the Software Packages to any prohibited destination, entity,\nor individual without the necessary export license(s) or authorizations(s) from the U.S. Government;\n\n(d) will not use or transfer the Software Packages for use in any sensitive nuclear, chemical or\nbiological weapons, or missile technology end-uses unless authorized by the U.S. Government by\nregulation or specific license;\n\n(e) understands and agrees that if it is in the United States and exports or transfers the Software\nPackages to eligible end users, it will, as required by EAR Section 740.17(e), submit semi-annual\nreports to the Commerce Department's Bureau of Industry & Security (BIS), which include the name and\naddress (including country) of each transferee;\n\nand (f) understands that countries other than the United States may restrict the import, use, or\nexport of encryption products and that it shall be solely responsible for compliance with any such\nimport, use, or export restrictions.\n\n6. Third Party Programs. Red Hat may distribute third party software programs with the Software Packages\nthat are not part of the Software Packages and which Client must install separately. These third party\nprograms are subject to their own license terms. The license terms either accompany the programs or\ncan be viewed at http://www.redhat.com/licenses/. If Client does not agree to abide by the applicable\nlicense terms for such programs, then Client may not install them. If Client wishes to install the programs\non more than one system or transfer the programs to another party, then Client must contact the licensor\nof the programs.\n\n7. General. If any provision of this agreement is held to be unenforceable, that shall not affect the\nenforceability of the remaining provisions. This License Agreement shall be governed by the laws of the\nState of North Carolina and of the United States, without regard to any conflict of laws provisions,\nexcept that the United Nations Convention on the International Sale of Goods shall not apply.\n\nCopyright 2006 Red Hat, Inc. All rights reserved.\n\"JBoss\" and the JBoss logo are registered trademarks of Red Hat, Inc.\nAll other trademarks are the property of their respective owners.\n\nPage 1 of 1 18 October 2006" + }, + { + "key": "lgpl-2.1", + "short_name": "LGPL 2.1", + "name": "GNU Lesser General Public License 2.1", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-2.1.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-only", + "other_spdx_license_keys": [ + "LGPL-2.1", + "LicenseRef-LGPL-2.1" + ], + "osi_license_key": "LGPL-2.1", + "text_urls": [ + "http://www.gnu.org/licenses/lgpl-2.1.txt" + ], + "osi_url": "http://opensource.org/licenses/lgpl-2.1.php", + "other_urls": [ + "http://creativecommons.org/choose/cc-lgpl", + "http://creativecommons.org/images/public/cc-LGPL-a.png", + "http://creativecommons.org/licenses/LGPL/2.1/", + "http://creativecommons.org/licenses/LGPL/2.1/legalcode.pt", + "http://i.creativecommons.org/l/LGPL/2.1/88x62.png", + "http://www.gnu.org/copyleft/lesser.html", + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "text": "GNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + }, + { + "key": "mit-old-style", + "short_name": "MIT Old Style", + "name": "MIT Old Style", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-mit-old-style", + "text_urls": [ + "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" + ], + "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." + }, + { + "key": "public-domain", + "short_name": "Public Domain", + "name": "Public Domain", + "category": "Public Domain", + "owner": "Unspecified", + "homepage_url": "http://www.linfo.org/publicdomain.html", + "is_builtin": true, + "is_generic": true, + "spdx_license_key": "LicenseRef-scancode-public-domain", + "other_spdx_license_keys": [ + "LicenseRef-PublicDomain" + ], + "faq_url": "http://www.linfo.org/publicdomain.html", + "other_urls": [ + "http://creativecommons.org/licenses/publicdomain/", + "http://en.wikipedia.org/wiki/Public_domain", + "http://www.linfo.org/publicdomain.html" + ], + "text": "" + }, + { + "key": "public-domain-disclaimer", + "short_name": "Public Domain Disclaimer", + "name": "Public Domain Disclaimer", + "category": "Public Domain", + "owner": "Unspecified", + "notes": "this is used also as a placeholder for similar public domain dedications texts and notices that come with an additional warranty disclaimer", + "is_builtin": true, + "is_generic": true, + "spdx_license_key": "LicenseRef-scancode-public-domain-disclaimer", + "text": "This code is hereby placed in the public domain.\n\nTHIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS\nOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\nBUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\nWHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\nOR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\nEVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "zlib", + "short_name": "ZLIB License", + "name": "ZLIB License", + "category": "Permissive", + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "notes": "Per SPDX.org, this is OSI certified", + "is_builtin": true, + "spdx_license_key": "Zlib", + "text_urls": [ + "http://www.gzip.org/zlib/zlib_license.html" + ], + "osi_url": "http://www.opensource.org/licenses/zlib-license.php", + "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", + "other_urls": [ + "http://www.opensource.org/licenses/Zlib", + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "minimum_coverage": 50, + "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." + } + ], + "rule_references": [ + { + "license_expression": "jboss-eula", + "rule_identifier": "jboss-eula.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1285, + "rule_relevance": 100, + "matched_text": "LICENSE AGREEMENT\nJBOSS(r)\n\nThis License Agreement governs the use of the Software Packages and any updates to the Software \nPackages, regardless of the delivery mechanism. Each Software Package is a collective work \nunder U.S. Copyright Law. Subject to the following terms, Red Hat, Inc. (\"Red Hat\") grants to \nthe user (\"Client\") a license to the applicable collective work(s) pursuant to the \nGNU Lesser General Public License v. 2.1 except for the following Software Packages: \n(a) JBoss Portal Forums and JBoss Transactions JTS, each of which is licensed pursuant to the \nGNU General Public License v.2; \n\n(b) JBoss Rules, which is licensed pursuant to the Apache License v.2.0;\n\n(c) an optional download for JBoss Cache for the Berkeley DB for Java database, which is licensed under the \n(open source) Sleepycat License (if Client does not wish to use the open source version of this database, \nit may purchase a license from Sleepycat Software); \n\nand (d) the BPEL extension for JBoss jBPM, which is licensed under the Common Public License v.1, \nand, pursuant to the OASIS BPEL4WS standard, requires parties wishing to redistribute to enter various \nroyalty-free patent licenses. \n\nEach of the foregoing licenses is available at http://www.opensource.org/licenses/index.php.\n\n1. The Software. \"Software Packages\" refer to the various software modules that are created and made available \nfor distribution by the JBoss.org open source community at http://www.jboss.org. Each of the Software Packages \nmay be comprised of hundreds of software components. The end user license agreement for each component is located in \nthe component's source code. With the exception of certain image files identified in Section 2 below, \nthe license terms for the components permit Client to copy, modify, and redistribute the component, \nin both source code and binary code forms. This agreement does not limit Client's rights under, \nor grant Client rights that supersede, the license terms of any particular component.\n\n2. Intellectual Property Rights. The Software Packages are owned by Red Hat and others and are protected under copyright \nand other laws. Title to the Software Packages and any component, or to any copy, modification, or merged portion shall \nremain with the aforementioned, subject to the applicable license. The \"JBoss\" trademark, \"Red Hat\" trademark, the \nindividual Software Package trademarks, and the \"Shadowman\" logo are registered trademarks of Red Hat and its affiliates \nin the U.S. and other countries. This agreement permits Client to distribute unmodified copies of the Software Packages \nusing the Red Hat trademarks that Red Hat has inserted in the Software Packages on the condition that Client follows Red Hat's \ntrademark guidelines for those trademarks located at http://www.redhat.com/about/corporate/trademark/. Client must abide by \nthese trademark guidelines when distributing the Software Packages, regardless of whether the Software Packages have been modified. \nIf Client modifies the Software Packages, then Client must replace all Red Hat trademarks and logos identified at \nhttp://www.jboss.com/company/logos, unless a separate agreement with Red Hat is executed or other permission granted. \nMerely deleting the files containing the Red Hat trademarks may corrupt the Software Packages. \n\n3. Limited Warranty. Except as specifically stated in this Paragraph 3 or a license for a particular \ncomponent, to the maximum extent permitted under applicable law, the Software Packages and the \ncomponents are provided and licensed \"as is\" without warranty of any kind, expressed or implied, \nincluding the implied warranties of merchantability, non-infringement or fitness for a particular purpose. \nRed Hat warrants that the media on which Software Packages may be furnished will be free from defects in \nmaterials and manufacture under normal use for a period of 30 days from the date of delivery to Client. \nRed Hat does not warrant that the functions contained in the Software Packages will meet Client's requirements \nor that the operation of the Software Packages will be entirely error free or appear precisely as described \nin the accompanying documentation. This warranty extends only to the party that purchases the Services \npertaining to the Software Packages from Red Hat or a Red Hat authorized distributor. \n\n4. Limitation of Remedies and Liability. To the maximum extent permitted by applicable law, the remedies \ndescribed below are accepted by Client as its only remedies. Red Hat's entire liability, and Client's \nexclusive remedies, shall be: If the Software media is defective, Client may return it within 30 days of \ndelivery along with a copy of Client's payment receipt and Red Hat, at its option, will replace it or \nrefund the money paid by Client for the Software. To the maximum extent permitted by applicable law, \nRed Hat or any Red Hat authorized dealer will not be liable to Client for any incidental or consequential \ndamages, including lost profits or lost savings arising out of the use or inability to use the Software, \neven if Red Hat or such dealer has been advised of the possibility of such damages. In no event shall \nRed Hat's liability under this agreement exceed the amount that Client paid to Red Hat under this \nAgreement during the twelve months preceding the action.\n\n5. Export Control. As required by U.S. law, Client represents and warrants that it: \n(a) understands that the Software Packages are subject to export controls under the \nU.S. Commerce Department's Export Administration Regulations (\"EAR\"); \n\n(b) is not located in a prohibited destination country under the EAR or U.S. sanctions regulations \n(currently Cuba, Iran, Iraq, Libya, North Korea, Sudan and Syria); \n\n(c) will not export, re-export, or transfer the Software Packages to any prohibited destination, entity, \nor individual without the necessary export license(s) or authorizations(s) from the U.S. Government; \n\n(d) will not use or transfer the Software Packages for use in any sensitive nuclear, chemical or \nbiological weapons, or missile technology end-uses unless authorized by the U.S. Government by \nregulation or specific license; \n\n(e) understands and agrees that if it is in the United States and exports or transfers the Software \nPackages to eligible end users, it will, as required by EAR Section 740.17(e), submit semi-annual \nreports to the Commerce Department's Bureau of Industry & Security (BIS), which include the name and \naddress (including country) of each transferee; \n\nand (f) understands that countries other than the United States may restrict the import, use, or \nexport of encryption products and that it shall be solely responsible for compliance with any such \nimport, use, or export restrictions.\n\n6. Third Party Programs. Red Hat may distribute third party software programs with the Software Packages \nthat are not part of the Software Packages and which Client must install separately. These third party \nprograms are subject to their own license terms. The license terms either accompany the programs or \ncan be viewed at http://www.redhat.com/licenses/. If Client does not agree to abide by the applicable \nlicense terms for such programs, then Client may not install them. If Client wishes to install the programs \non more than one system or transfer the programs to another party, then Client must contact the licensor \nof the programs.\n\n7. General. If any provision of this agreement is held to be unenforceable, that shall not affect the \nenforceability of the remaining provisions. This License Agreement shall be governed by the laws of the \nState of North Carolina and of the United States, without regard to any conflict of laws provisions, \nexcept that the United Nations Convention on the International Sale of Goods shall not apply.\n\nCopyright 2006 Red Hat, Inc. All rights reserved. \n\"JBoss\" and the JBoss logo are registered trademarks of Red Hat, Inc. \nAll other trademarks are the property of their respective owners. \n\n\tPage 1 of 1\t18 October 2006" + }, + { + "license_expression": "lgpl-2.1", + "rule_identifier": "lgpl-2.1_101.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4288, + "rule_relevance": 100, + "matched_text": "\t\t GNU LESSER GENERAL PUBLIC LICENSE\n\t\t Version 2.1, February 1999\n\n Copyright (C) 1991, 1999 Free Software Foundation, Inc.\n 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\n as the successor of the GNU Library Public License, version 2, hence\n the version number 2.1.]\n\n\t\t\t Preamble\n\n The licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\n This license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\n When we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\n To protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\n For example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\n We protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\n To protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\f\n Finally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\n Most GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\n When a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\n We call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\n For example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\n In other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\n Although the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\n The precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\f\n\t\t GNU LESSER GENERAL PUBLIC LICENSE\n TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n 0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\n A \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\n The \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n \"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\n Activities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n \n 1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\n You may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\f\n 2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n a) The modified work must itself be a software library.\n\n b) You must cause the files modified to carry prominent notices\n stating that you changed the files and the date of any change.\n\n c) You must cause the whole of the work to be licensed at no\n charge to all third parties under the terms of this License.\n\n d) If a facility in the modified Library refers to a function or a\n table of data to be supplied by an application program that uses\n the facility, other than as an argument passed when the facility\n is invoked, then you must make a good faith effort to ensure that,\n in the event an application does not supply such function or\n table, the facility still operates, and performs whatever part of\n its purpose remains meaningful.\n\n (For example, a function in a library to compute square roots has\n a purpose that is entirely well-defined independent of the\n application. Therefore, Subsection 2d requires that any\n application-supplied function or table used by this function must\n be optional: if the application does not supply it, the square\n root function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n 3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\f\n Once this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\n This option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n 4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\n If distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n 5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\n However, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\n When a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\n If such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\n Otherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\f\n 6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\n You must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\n a) Accompany the work with the complete corresponding\n machine-readable source code for the Library including whatever\n changes were used in the work (which must be distributed under\n Sections 1 and 2 above); and, if the work is an executable linked\n with the Library, with the complete machine-readable \"work that\n uses the Library\", as object code and/or source code, so that the\n user can modify the Library and then relink to produce a modified\n executable containing the modified Library. (It is understood\n that the user who changes the contents of definitions files in the\n Library will not necessarily be able to recompile the application\n to use the modified definitions.)\n\n b) Use a suitable shared library mechanism for linking with the\n Library. A suitable mechanism is one that (1) uses at run time a\n copy of the library already present on the user's computer system,\n rather than copying library functions into the executable, and (2)\n will operate properly with a modified version of the library, if\n the user installs one, as long as the modified version is\n interface-compatible with the version that the work was made with.\n\n c) Accompany the work with a written offer, valid for at\n least three years, to give the same user the materials\n specified in Subsection 6a, above, for a charge no more\n than the cost of performing this distribution.\n\n d) If distribution of the work is made by offering access to copy\n from a designated place, offer equivalent access to copy the above\n specified materials from the same place.\n\n e) Verify that the user has already received a copy of these\n materials or that you have already sent this user a copy.\n\n For an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\n It may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\f\n 7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\n a) Accompany the combined library with a copy of the same work\n based on the Library, uncombined with any other library\n facilities. This must be distributed under the terms of the\n Sections above.\n\n b) Give prominent notice with the combined library of the fact\n that part of it is a work based on the Library, and explaining\n where to find the accompanying uncombined form of the same work.\n\n 8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n 9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n 10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\f\n 11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n 12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n 13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\f\n 14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\n\t\t\t NO WARRANTY\n\n 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\n\t\t END OF TERMS AND CONDITIONS\n\f\n How to Apply These Terms to Your New Libraries\n\n If you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\n To apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\n Yoyodyne, Inc., hereby disclaims all copyright interest in the\n library `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n , 1 April 1990\n Ty Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "license_expression": "apache-1.1", + "rule_identifier": "apache-1.1_71.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 361, + "rule_relevance": 100, + "matched_text": " * The Apache Software License, Version 1.1\r\n *\r\n * Copyright (c) 2000 The Apache Software Foundation. All rights\r\n * reserved.\r\n *\r\n * Redistribution and use in source and binary forms, with or without\r\n * modification, are permitted provided that the following conditions\r\n * are met:\r\n *\r\n * 1. Redistributions of source code must retain the above copyright\r\n * notice, this list of conditions and the following disclaimer.\r\n *\r\n * 2. Redistributions in binary form must reproduce the above copyright\r\n * notice, this list of conditions and the following disclaimer in\r\n * the documentation and/or other materials provided with the\r\n * distribution.\r\n *\r\n * 3. The end-user documentation included with the redistribution,\r\n * if any, must include the following acknowledgment:\r\n * \"This product includes software developed by the\r\n * Apache Software Foundation (http://www.apache.org/).\"\r\n * Alternately, this acknowledgment may appear in the software itself,\r\n * if and wherever such third-party acknowledgments normally appear.\r\n *\r\n * 4. The names \"Apache\" and \"Apache Software Foundation\" must\r\n * not be used to endorse or promote products derived from this\r\n * software without prior written permission. For written\r\n * permission, please contact apache@apache.org.\r\n *\r\n * 5. Products derived from this software may not be called \"Apache\",\r\n * nor may \"Apache\" appear in their name, without prior written\r\n * permission of the Apache Software Foundation.\r\n *\r\n * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED\r\n * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\r\n * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\r\n * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR\r\n * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\r\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\r\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\r\n * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\r\n * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\r\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\r\n * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\r\n * SUCH DAMAGE.\r\n * ====================================================================\r\n *\r\n * This software consists of voluntary contributions made by many\r\n * individuals on behalf of the Apache Software Foundation. For more\r\n * information on the Apache Software Foundation, please see\r\n * .\r\n *\r\n * Portions of this software are based upon public domain software\r\n * originally written at the National Center for Supercomputing Applications,\r\n * University of Illinois, Urbana-Champaign." + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1584, + "rule_relevance": 100, + "matched_text": " Apache License\r\n Version 2.0, January 2004\r\n http://www.apache.org/licenses/\r\n\r\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\r\n\r\n 1. Definitions.\r\n\r\n \"License\" shall mean the terms and conditions for use, reproduction,\r\n and distribution as defined by Sections 1 through 9 of this document.\r\n\r\n \"Licensor\" shall mean the copyright owner or entity authorized by\r\n the copyright owner that is granting the License.\r\n\r\n \"Legal Entity\" shall mean the union of the acting entity and all\r\n other entities that control, are controlled by, or are under common\r\n control with that entity. For the purposes of this definition,\r\n \"control\" means (i) the power, direct or indirect, to cause the\r\n direction or management of such entity, whether by contract or\r\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\r\n outstanding shares, or (iii) beneficial ownership of such entity.\r\n\r\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\r\n exercising permissions granted by this License.\r\n\r\n \"Source\" form shall mean the preferred form for making modifications,\r\n including but not limited to software source code, documentation\r\n source, and configuration files.\r\n\r\n \"Object\" form shall mean any form resulting from mechanical\r\n transformation or translation of a Source form, including but\r\n not limited to compiled object code, generated documentation,\r\n and conversions to other media types.\r\n\r\n \"Work\" shall mean the work of authorship, whether in Source or\r\n Object form, made available under the License, as indicated by a\r\n copyright notice that is included in or attached to the work\r\n (an example is provided in the Appendix below).\r\n\r\n \"Derivative Works\" shall mean any work, whether in Source or Object\r\n form, that is based on (or derived from) the Work and for which the\r\n editorial revisions, annotations, elaborations, or other modifications\r\n represent, as a whole, an original work of authorship. For the purposes\r\n of this License, Derivative Works shall not include works that remain\r\n separable from, or merely link (or bind by name) to the interfaces of,\r\n the Work and Derivative Works thereof.\r\n\r\n \"Contribution\" shall mean any work of authorship, including\r\n the original version of the Work and any modifications or additions\r\n to that Work or Derivative Works thereof, that is intentionally\r\n submitted to Licensor for inclusion in the Work by the copyright owner\r\n or by an individual or Legal Entity authorized to submit on behalf of\r\n the copyright owner. For the purposes of this definition, \"submitted\"\r\n means any form of electronic, verbal, or written communication sent\r\n to the Licensor or its representatives, including but not limited to\r\n communication on electronic mailing lists, source code control systems,\r\n and issue tracking systems that are managed by, or on behalf of, the\r\n Licensor for the purpose of discussing and improving the Work, but\r\n excluding communication that is conspicuously marked or otherwise\r\n designated in writing by the copyright owner as \"Not a Contribution.\"\r\n\r\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\r\n on behalf of whom a Contribution has been received by Licensor and\r\n subsequently incorporated within the Work.\r\n\r\n 2. Grant of Copyright License. Subject to the terms and conditions of\r\n this License, each Contributor hereby grants to You a perpetual,\r\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\r\n copyright license to reproduce, prepare Derivative Works of,\r\n publicly display, publicly perform, sublicense, and distribute the\r\n Work and such Derivative Works in Source or Object form.\r\n\r\n 3. Grant of Patent License. Subject to the terms and conditions of\r\n this License, each Contributor hereby grants to You a perpetual,\r\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\r\n (except as stated in this section) patent license to make, have made,\r\n use, offer to sell, sell, import, and otherwise transfer the Work,\r\n where such license applies only to those patent claims licensable\r\n by such Contributor that are necessarily infringed by their\r\n Contribution(s) alone or by combination of their Contribution(s)\r\n with the Work to which such Contribution(s) was submitted. If You\r\n institute patent litigation against any entity (including a\r\n cross-claim or counterclaim in a lawsuit) alleging that the Work\r\n or a Contribution incorporated within the Work constitutes direct\r\n or contributory patent infringement, then any patent licenses\r\n granted to You under this License for that Work shall terminate\r\n as of the date such litigation is filed.\r\n\r\n 4. Redistribution. You may reproduce and distribute copies of the\r\n Work or Derivative Works thereof in any medium, with or without\r\n modifications, and in Source or Object form, provided that You\r\n meet the following conditions:\r\n\r\n (a) You must give any other recipients of the Work or\r\n Derivative Works a copy of this License; and\r\n\r\n (b) You must cause any modified files to carry prominent notices\r\n stating that You changed the files; and\r\n\r\n (c) You must retain, in the Source form of any Derivative Works\r\n that You distribute, all copyright, patent, trademark, and\r\n attribution notices from the Source form of the Work,\r\n excluding those notices that do not pertain to any part of\r\n the Derivative Works; and\r\n\r\n (d) If the Work includes a \"NOTICE\" text file as part of its\r\n distribution, then any Derivative Works that You distribute must\r\n include a readable copy of the attribution notices contained\r\n within such NOTICE file, excluding those notices that do not\r\n pertain to any part of the Derivative Works, in at least one\r\n of the following places: within a NOTICE text file distributed\r\n as part of the Derivative Works; within the Source form or\r\n documentation, if provided along with the Derivative Works; or,\r\n within a display generated by the Derivative Works, if and\r\n wherever such third-party notices normally appear. The contents\r\n of the NOTICE file are for informational purposes only and\r\n do not modify the License. You may add Your own attribution\r\n notices within Derivative Works that You distribute, alongside\r\n or as an addendum to the NOTICE text from the Work, provided\r\n that such additional attribution notices cannot be construed\r\n as modifying the License.\r\n\r\n You may add Your own copyright statement to Your modifications and\r\n may provide additional or different license terms and conditions\r\n for use, reproduction, or distribution of Your modifications, or\r\n for any such Derivative Works as a whole, provided Your use,\r\n reproduction, and distribution of the Work otherwise complies with\r\n the conditions stated in this License.\r\n\r\n 5. Submission of Contributions. Unless You explicitly state otherwise,\r\n any Contribution intentionally submitted for inclusion in the Work\r\n by You to the Licensor shall be under the terms and conditions of\r\n this License, without any additional terms or conditions.\r\n Notwithstanding the above, nothing herein shall supersede or modify\r\n the terms of any separate license agreement you may have executed\r\n with Licensor regarding such Contributions.\r\n\r\n 6. Trademarks. This License does not grant permission to use the trade\r\n names, trademarks, service marks, or product names of the Licensor,\r\n except as required for reasonable and customary use in describing the\r\n origin of the Work and reproducing the content of the NOTICE file.\r\n\r\n 7. Disclaimer of Warranty. Unless required by applicable law or\r\n agreed to in writing, Licensor provides the Work (and each\r\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\r\n implied, including, without limitation, any warranties or conditions\r\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\r\n PARTICULAR PURPOSE. You are solely responsible for determining the\r\n appropriateness of using or redistributing the Work and assume any\r\n risks associated with Your exercise of permissions under this License.\r\n\r\n 8. Limitation of Liability. In no event and under no legal theory,\r\n whether in tort (including negligence), contract, or otherwise,\r\n unless required by applicable law (such as deliberate and grossly\r\n negligent acts) or agreed to in writing, shall any Contributor be\r\n liable to You for damages, including any direct, indirect, special,\r\n incidental, or consequential damages of any character arising as a\r\n result of this License or out of the use or inability to use the\r\n Work (including but not limited to damages for loss of goodwill,\r\n work stoppage, computer failure or malfunction, or any and all\r\n other commercial damages or losses), even if such Contributor\r\n has been advised of the possibility of such damages.\r\n\r\n 9. Accepting Warranty or Additional Liability. While redistributing\r\n the Work or Derivative Works thereof, You may choose to offer,\r\n and charge a fee for, acceptance of support, warranty, indemnity,\r\n or other liability obligations and/or rights consistent with this\r\n License. However, in accepting such obligations, You may act only\r\n on Your own behalf and on Your sole responsibility, not on behalf\r\n of any other Contributor, and only if You agree to indemnify,\r\n defend, and hold each Contributor harmless for any liability\r\n incurred by, or claims asserted against, such Contributor by reason\r\n of your accepting any such warranty or additional liability.\r\n\r\n END OF TERMS AND CONDITIONS\r\n\r\n APPENDIX: How to apply the Apache License to your work.\r\n\r\n To apply the Apache License to your work, attach the following\r\n boilerplate notice, with the fields enclosed by brackets \"[]\"\r\n replaced with your own identifying information. (Don't include\r\n the brackets!) The text should be enclosed in the appropriate\r\n comment syntax for the file format. We also recommend that a\r\n file or class name and description of purpose be included on the\r\n same \"printed page\" as the copyright notice for easier\r\n identification within third-party archives.\r\n\r\n Copyright [yyyy] [name of copyright owner]\r\n\r\n Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License." + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100, + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit\npersons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions\nof the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\nOR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + }, + { + "license_expression": "cpl-1.0", + "rule_identifier": "cpl-1.0.SPDX.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1721, + "rule_relevance": 100, + "matched_text": "Common Public License Version 1.0\r\n\r\nTHE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC\r\nLICENSE (\"AGREEMENT\"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM\r\nCONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.\r\n\r\n1. DEFINITIONS\r\n\r\n\"Contribution\" means:\r\n\r\n a) in the case of the initial Contributor, the initial code and documentation\r\n distributed under this Agreement, and\r\n\r\n b) in the case of each subsequent Contributor:\r\n\r\n i) changes to the Program, and\r\n\r\n ii) additions to the Program;\r\n\r\n where such changes and/or additions to the Program originate from and are\r\n distributed by that particular Contributor. A Contribution 'originates' from\r\n a Contributor if it was added to the Program by such Contributor itself or\r\n anyone acting on such Contributor's behalf. Contributions do not include\r\n additions to the Program which: (i) are separate modules of software\r\n distributed in conjunction with the Program under their own license\r\n agreement, and (ii) are not derivative works of the Program.\r\n\r\n\"Contributor\" means any person or entity that distributes the Program.\r\n\r\n\"Licensed Patents \" mean patent claims licensable by a Contributor which are\r\nnecessarily infringed by the use or sale of its Contribution alone or when\r\ncombined with the Program.\r\n\r\n\"Program\" means the Contributions distributed in accordance with this Agreement.\r\n\r\n\"Recipient\" means anyone who receives the Program under this Agreement, including\r\nall Contributors.\r\n\r\n2. GRANT OF RIGHTS\r\n\r\n a) Subject to the terms of this Agreement, each Contributor hereby grants\r\n Recipient a non-exclusive, worldwide, royalty-free copyright license to\r\n reproduce, prepare derivative works of, publicly display, publicly perform,\r\n distribute and sublicense the Contribution of such Contributor, if any, and\r\n such derivative works, in source code and object code form.\r\n\r\n b) Subject to the terms of this Agreement, each Contributor hereby grants\r\n Recipient a non-exclusive, worldwide, royalty-free patent license under\r\n Licensed Patents to make, use, sell, offer to sell, import and otherwise\r\n transfer the Contribution of such Contributor, if any, in source code and\r\n object code form. This patent license shall apply to the combination of the\r\n Contribution and the Program if, at the time the Contribution is added by\r\n the Contributor, such addition of the Contribution causes such combination\r\n to be covered by the Licensed Patents. The patent license shall not apply to\r\n any other combinations which include the Contribution. No hardware per se is\r\n licensed hereunder.\r\n\r\n c) Recipient understands that although each Contributor grants the licenses\r\n to its Contributions set forth herein, no assurances are provided by any\r\n Contributor that the Program does not infringe the patent or other\r\n intellectual property rights of any other entity. Each Contributor disclaims\r\n any liability to Recipient for claims brought by any other entity based on\r\n infringement of intellectual property rights or otherwise. As a condition to\r\n exercising the rights and licenses granted hereunder, each Recipient hereby\r\n assumes sole responsibility to secure any other intellectual property rights\r\n needed, if any. For example, if a third party patent license is required to\r\n allow Recipient to distribute the Program, it is Recipient's responsibility\r\n to acquire that license before distributing the Program.\r\n\r\n d) Each Contributor represents that to its knowledge it has sufficient\r\n copyright rights in its Contribution, if any, to grant the copyright license\r\n set forth in this Agreement.\r\n\r\n3. REQUIREMENTS\r\n\r\nA Contributor may choose to distribute the Program in object code form under its\r\nown license agreement, provided that:\r\n\r\n a) it complies with the terms and conditions of this Agreement; and\r\n\r\n b) its license agreement:\r\n\r\n i) effectively disclaims on behalf of all Contributors all warranties and\r\n conditions, express and implied, including warranties or conditions of title\r\n and non-infringement, and implied warranties or conditions of merchantability\r\n and fitness for a particular purpose;\r\n\r\n ii) effectively excludes on behalf of all Contributors all liability for\r\n damages, including direct, indirect, special, incidental and consequential\r\n damages, such as lost profits;\r\n\r\n iii) states that any provisions which differ from this Agreement are offered\r\n by that Contributor alone and not by any other party; and\r\n\r\n iv) states that source code for the Program is available from such Contributor,\r\n and informs licensees how to obtain it in a reasonable manner on or through\r\n a medium customarily used for software exchange. \r\n\r\nWhen the Program is made available in source code form:\r\n\r\n a) it must be made available under this Agreement; and\r\n\r\n b) a copy of this Agreement must be included with each copy of the Program. \r\n\r\nContributors may not remove or alter any copyright notices contained within the Program.\r\n\r\nEach Contributor must identify itself as the originator of its Contribution, if\r\nany, in a manner that reasonably allows subsequent Recipients to identify the\r\noriginator of the Contribution.\r\n\r\n4. COMMERCIAL DISTRIBUTION\r\n\r\nCommercial distributors of software may accept certain responsibilities with\r\nrespect to end users, business partners and the like. While this license is\r\nintended to facilitate the commercial use of the Program, the Contributor who\r\nincludes the Program in a commercial product offering should do so in a manner\r\nwhich does not create potential liability for other Contributors. Therefore, if\r\na Contributor includes the Program in a commercial product offering, such\r\nContributor (\"Commercial Contributor\") hereby agrees to defend and indemnify\r\nevery other Contributor (\"Indemnified Contributor\") against any losses, damages\r\nand costs (collectively \"Losses\") arising from claims, lawsuits and other legal\r\nactions brought by a third party against the Indemnified Contributor to the\r\nextent caused by the acts or omissions of such Commercial Contributor in\r\nconnection with its distribution of the Program in a commercial product offering.\r\nThe obligations in this section do not apply to any claims or Losses relating to\r\nany actual or alleged intellectual property infringement. In order to qualify,\r\nan Indemnified Contributor must: a) promptly notify the Commercial Contributor \r\nn writing of such claim, and b) allow the Commercial Contributor to control,\r\nand cooperate with the Commercial Contributor in, the defense and any related\r\nsettlement negotiations. The Indemnified Contributor may participate in any such\r\nclaim at its own expense.\r\n\r\nFor example, a Contributor might include the Program in a commercial product\r\noffering, Product X. That Contributor is then a Commercial Contributor. If that\r\nCommercial Contributor then makes performance claims, or offers warranties\r\nrelated to Product X, those performance claims and warranties are such Commercial\r\nContributor's responsibility alone. Under this section, the Commercial\r\nContributor would have to defend claims against the other Contributors related\r\nto those performance claims and warranties, and if a court requires any other\r\nContributor to pay any damages as a result, the Commercial Contributor must pay\r\nthose damages.\r\n\r\n5. NO WARRANTY\r\n\r\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN\r\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR\r\nIMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,\r\nNON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each\r\nRecipient is solely responsible for determining the appropriateness of using\r\nand distributing the Program and assumes all risks associated with its exercise\r\nof rights under this Agreement, including but not limited to the risks and costs\r\nof program errors, compliance with applicable laws, damage to or loss of data,\r\nprograms or equipment, and unavailability or interruption of operations.\r\n\r\n6. DISCLAIMER OF LIABILITY\r\n\r\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY\r\nCONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,\r\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST\r\nPROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r\nSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY\r\nWAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS\r\nGRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r\n\r\n7. GENERAL\r\n\r\nIf any provision of this Agreement is invalid or unenforceable under applicable\r\nlaw, it shall not affect the validity or enforceability of the remainder of the\r\nterms of this Agreement, and without further action by the parties hereto, such\r\nprovision shall be reformed to the minimum extent necessary to make such\r\nprovision valid and enforceable.\r\n\r\nIf Recipient institutes patent litigation against a Contributor with respect to\r\na patent applicable to software (including a cross-claim or counterclaim in a\r\nlawsuit), then any patent licenses granted by that Contributor to such Recipient\r\nunder this Agreement shall terminate as of the date such litigation is filed.\r\nIn addition, if Recipient institutes patent litigation against any entity\r\n(including a cross-claim or counterclaim in a lawsuit) alleging that the Program\r\nitself (excluding combinations of the Program with other software or hardware)\r\ninfringes such Recipient's patent(s), then such Recipient's rights granted under\r\nSection 2(b) shall terminate as of the date such litigation is filed.\r\n\r\nAll Recipient's rights under this Agreement shall terminate if it fails to comply\r\nwith any of the material terms or conditions of this Agreement and does not cure\r\nsuch failure in a reasonable period of time after becoming aware of such\r\nnoncompliance. If all Recipient's rights under this Agreement terminate, Recipient\r\nagrees to cease use and distribution of the Program as soon as reasonably\r\npracticable. However, Recipient's obligations under this Agreement and any\r\nlicenses granted by Recipient relating to the Program shall continue and survive.\r\n\r\nEveryone is permitted to copy and distribute copies of this Agreement, but in\r\norder to avoid inconsistency the Agreement is copyrighted and may only be modified\r\nin the following manner. The Agreement Steward reserves the right to publish new\r\nversions (including revisions) of this Agreement from time to time. No one other\r\nthan the Agreement Steward has the right to modify this Agreement. IBM is the\r\ninitial Agreement Steward. IBM may assign the responsibility to serve as the\r\nAgreement Steward to a suitable separate entity. Each new version of the Agreement\r\nwill be given a distinguishing version number. The Program (including Contributions)\r\nmay always be distributed subject to the version of the Agreement under which it\r\nwas received. In addition, after a new version of the Agreement is published,\r\nContributor may elect to distribute the Program (including its Contributions)\r\nunder the new version. Except as expressly stated in Sections 2(a) and 2(b) above,\r\nRecipient receives no rights or licenses to the intellectual property of any\r\nContributor under this Agreement, whether expressly, by implication, estoppel or\r\notherwise. All rights in the Program not expressly granted under this Agreement\r\nare reserved.\r\n\r\nThis Agreement is governed by the laws of the State of New York and the\r\nintellectual property laws of the United States of America. No party to this\r\nAgreement will bring a legal action under this Agreement more than one year after\r\nthe cause of action arose. Each party waives its rights to a jury trial in any\r\nresulting litigation." + }, + { + "license_expression": "lgpl-2.1", + "rule_identifier": "lgpl-2.1_101.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4288, + "rule_relevance": 100, + "matched_text": "\t\t GNU LESSER GENERAL PUBLIC LICENSE\r\n\t\t Version 2.1, February 1999\r\n\r\n Copyright (C) 1991, 1999 Free Software Foundation, Inc.\r\n 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r\n Everyone is permitted to copy and distribute verbatim copies\r\n of this license document, but changing it is not allowed.\r\n\r\n[This is the first released version of the Lesser GPL. It also counts\r\n as the successor of the GNU Library Public License, version 2, hence\r\n the version number 2.1.]\r\n\r\n\t\t\t Preamble\r\n\r\n The licenses for most software are designed to take away your\r\nfreedom to share and change it. By contrast, the GNU General Public\r\nLicenses are intended to guarantee your freedom to share and change\r\nfree software--to make sure the software is free for all its users.\r\n\r\n This license, the Lesser General Public License, applies to some\r\nspecially designated software packages--typically libraries--of the\r\nFree Software Foundation and other authors who decide to use it. You\r\ncan use it too, but we suggest you first think carefully about whether\r\nthis license or the ordinary General Public License is the better\r\nstrategy to use in any particular case, based on the explanations below.\r\n\r\n When we speak of free software, we are referring to freedom of use,\r\nnot price. Our General Public Licenses are designed to make sure that\r\nyou have the freedom to distribute copies of free software (and charge\r\nfor this service if you wish); that you receive source code or can get\r\nit if you want it; that you can change the software and use pieces of\r\nit in new free programs; and that you are informed that you can do\r\nthese things.\r\n\r\n To protect your rights, we need to make restrictions that forbid\r\ndistributors to deny you these rights or to ask you to surrender these\r\nrights. These restrictions translate to certain responsibilities for\r\nyou if you distribute copies of the library or if you modify it.\r\n\r\n For example, if you distribute copies of the library, whether gratis\r\nor for a fee, you must give the recipients all the rights that we gave\r\nyou. You must make sure that they, too, receive or can get the source\r\ncode. If you link other code with the library, you must provide\r\ncomplete object files to the recipients, so that they can relink them\r\nwith the library after making changes to the library and recompiling\r\nit. And you must show them these terms so they know their rights.\r\n\r\n We protect your rights with a two-step method: (1) we copyright the\r\nlibrary, and (2) we offer you this license, which gives you legal\r\npermission to copy, distribute and/or modify the library.\r\n\r\n To protect each distributor, we want to make it very clear that\r\nthere is no warranty for the free library. Also, if the library is\r\nmodified by someone else and passed on, the recipients should know\r\nthat what they have is not the original version, so that the original\r\nauthor's reputation will not be affected by problems that might be\r\nintroduced by others.\r\n\f\r\n Finally, software patents pose a constant threat to the existence of\r\nany free program. We wish to make sure that a company cannot\r\neffectively restrict the users of a free program by obtaining a\r\nrestrictive license from a patent holder. Therefore, we insist that\r\nany patent license obtained for a version of the library must be\r\nconsistent with the full freedom of use specified in this license.\r\n\r\n Most GNU software, including some libraries, is covered by the\r\nordinary GNU General Public License. This license, the GNU Lesser\r\nGeneral Public License, applies to certain designated libraries, and\r\nis quite different from the ordinary General Public License. We use\r\nthis license for certain libraries in order to permit linking those\r\nlibraries into non-free programs.\r\n\r\n When a program is linked with a library, whether statically or using\r\na shared library, the combination of the two is legally speaking a\r\ncombined work, a derivative of the original library. The ordinary\r\nGeneral Public License therefore permits such linking only if the\r\nentire combination fits its criteria of freedom. The Lesser General\r\nPublic License permits more lax criteria for linking other code with\r\nthe library.\r\n\r\n We call this license the \"Lesser\" General Public License because it\r\ndoes Less to protect the user's freedom than the ordinary General\r\nPublic License. It also provides other free software developers Less\r\nof an advantage over competing non-free programs. These disadvantages\r\nare the reason we use the ordinary General Public License for many\r\nlibraries. However, the Lesser license provides advantages in certain\r\nspecial circumstances.\r\n\r\n For example, on rare occasions, there may be a special need to\r\nencourage the widest possible use of a certain library, so that it becomes\r\na de-facto standard. To achieve this, non-free programs must be\r\nallowed to use the library. A more frequent case is that a free\r\nlibrary does the same job as widely used non-free libraries. In this\r\ncase, there is little to gain by limiting the free library to free\r\nsoftware only, so we use the Lesser General Public License.\r\n\r\n In other cases, permission to use a particular library in non-free\r\nprograms enables a greater number of people to use a large body of\r\nfree software. For example, permission to use the GNU C Library in\r\nnon-free programs enables many more people to use the whole GNU\r\noperating system, as well as its variant, the GNU/Linux operating\r\nsystem.\r\n\r\n Although the Lesser General Public License is Less protective of the\r\nusers' freedom, it does ensure that the user of a program that is\r\nlinked with the Library has the freedom and the wherewithal to run\r\nthat program using a modified version of the Library.\r\n\r\n The precise terms and conditions for copying, distribution and\r\nmodification follow. Pay close attention to the difference between a\r\n\"work based on the library\" and a \"work that uses the library\". The\r\nformer contains code derived from the library, whereas the latter must\r\nbe combined with the library in order to run.\r\n\f\r\n\t\t GNU LESSER GENERAL PUBLIC LICENSE\r\n TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\r\n\r\n 0. This License Agreement applies to any software library or other\r\nprogram which contains a notice placed by the copyright holder or\r\nother authorized party saying it may be distributed under the terms of\r\nthis Lesser General Public License (also called \"this License\").\r\nEach licensee is addressed as \"you\".\r\n\r\n A \"library\" means a collection of software functions and/or data\r\nprepared so as to be conveniently linked with application programs\r\n(which use some of those functions and data) to form executables.\r\n\r\n The \"Library\", below, refers to any such software library or work\r\nwhich has been distributed under these terms. A \"work based on the\r\nLibrary\" means either the Library or any derivative work under\r\ncopyright law: that is to say, a work containing the Library or a\r\nportion of it, either verbatim or with modifications and/or translated\r\nstraightforwardly into another language. (Hereinafter, translation is\r\nincluded without limitation in the term \"modification\".)\r\n\r\n \"Source code\" for a work means the preferred form of the work for\r\nmaking modifications to it. For a library, complete source code means\r\nall the source code for all modules it contains, plus any associated\r\ninterface definition files, plus the scripts used to control compilation\r\nand installation of the library.\r\n\r\n Activities other than copying, distribution and modification are not\r\ncovered by this License; they are outside its scope. The act of\r\nrunning a program using the Library is not restricted, and output from\r\nsuch a program is covered only if its contents constitute a work based\r\non the Library (independent of the use of the Library in a tool for\r\nwriting it). Whether that is true depends on what the Library does\r\nand what the program that uses the Library does.\r\n \r\n 1. You may copy and distribute verbatim copies of the Library's\r\ncomplete source code as you receive it, in any medium, provided that\r\nyou conspicuously and appropriately publish on each copy an\r\nappropriate copyright notice and disclaimer of warranty; keep intact\r\nall the notices that refer to this License and to the absence of any\r\nwarranty; and distribute a copy of this License along with the\r\nLibrary.\r\n\r\n You may charge a fee for the physical act of transferring a copy,\r\nand you may at your option offer warranty protection in exchange for a\r\nfee.\r\n\f\r\n 2. You may modify your copy or copies of the Library or any portion\r\nof it, thus forming a work based on the Library, and copy and\r\ndistribute such modifications or work under the terms of Section 1\r\nabove, provided that you also meet all of these conditions:\r\n\r\n a) The modified work must itself be a software library.\r\n\r\n b) You must cause the files modified to carry prominent notices\r\n stating that you changed the files and the date of any change.\r\n\r\n c) You must cause the whole of the work to be licensed at no\r\n charge to all third parties under the terms of this License.\r\n\r\n d) If a facility in the modified Library refers to a function or a\r\n table of data to be supplied by an application program that uses\r\n the facility, other than as an argument passed when the facility\r\n is invoked, then you must make a good faith effort to ensure that,\r\n in the event an application does not supply such function or\r\n table, the facility still operates, and performs whatever part of\r\n its purpose remains meaningful.\r\n\r\n (For example, a function in a library to compute square roots has\r\n a purpose that is entirely well-defined independent of the\r\n application. Therefore, Subsection 2d requires that any\r\n application-supplied function or table used by this function must\r\n be optional: if the application does not supply it, the square\r\n root function must still compute square roots.)\r\n\r\nThese requirements apply to the modified work as a whole. If\r\nidentifiable sections of that work are not derived from the Library,\r\nand can be reasonably considered independent and separate works in\r\nthemselves, then this License, and its terms, do not apply to those\r\nsections when you distribute them as separate works. But when you\r\ndistribute the same sections as part of a whole which is a work based\r\non the Library, the distribution of the whole must be on the terms of\r\nthis License, whose permissions for other licensees extend to the\r\nentire whole, and thus to each and every part regardless of who wrote\r\nit.\r\n\r\nThus, it is not the intent of this section to claim rights or contest\r\nyour rights to work written entirely by you; rather, the intent is to\r\nexercise the right to control the distribution of derivative or\r\ncollective works based on the Library.\r\n\r\nIn addition, mere aggregation of another work not based on the Library\r\nwith the Library (or with a work based on the Library) on a volume of\r\na storage or distribution medium does not bring the other work under\r\nthe scope of this License.\r\n\r\n 3. You may opt to apply the terms of the ordinary GNU General Public\r\nLicense instead of this License to a given copy of the Library. To do\r\nthis, you must alter all the notices that refer to this License, so\r\nthat they refer to the ordinary GNU General Public License, version 2,\r\ninstead of to this License. (If a newer version than version 2 of the\r\nordinary GNU General Public License has appeared, then you can specify\r\nthat version instead if you wish.) Do not make any other change in\r\nthese notices.\r\n\f\r\n Once this change is made in a given copy, it is irreversible for\r\nthat copy, so the ordinary GNU General Public License applies to all\r\nsubsequent copies and derivative works made from that copy.\r\n\r\n This option is useful when you wish to copy part of the code of\r\nthe Library into a program that is not a library.\r\n\r\n 4. You may copy and distribute the Library (or a portion or\r\nderivative of it, under Section 2) in object code or executable form\r\nunder the terms of Sections 1 and 2 above provided that you accompany\r\nit with the complete corresponding machine-readable source code, which\r\nmust be distributed under the terms of Sections 1 and 2 above on a\r\nmedium customarily used for software interchange.\r\n\r\n If distribution of object code is made by offering access to copy\r\nfrom a designated place, then offering equivalent access to copy the\r\nsource code from the same place satisfies the requirement to\r\ndistribute the source code, even though third parties are not\r\ncompelled to copy the source along with the object code.\r\n\r\n 5. A program that contains no derivative of any portion of the\r\nLibrary, but is designed to work with the Library by being compiled or\r\nlinked with it, is called a \"work that uses the Library\". Such a\r\nwork, in isolation, is not a derivative work of the Library, and\r\ntherefore falls outside the scope of this License.\r\n\r\n However, linking a \"work that uses the Library\" with the Library\r\ncreates an executable that is a derivative of the Library (because it\r\ncontains portions of the Library), rather than a \"work that uses the\r\nlibrary\". The executable is therefore covered by this License.\r\nSection 6 states terms for distribution of such executables.\r\n\r\n When a \"work that uses the Library\" uses material from a header file\r\nthat is part of the Library, the object code for the work may be a\r\nderivative work of the Library even though the source code is not.\r\nWhether this is true is especially significant if the work can be\r\nlinked without the Library, or if the work is itself a library. The\r\nthreshold for this to be true is not precisely defined by law.\r\n\r\n If such an object file uses only numerical parameters, data\r\nstructure layouts and accessors, and small macros and small inline\r\nfunctions (ten lines or less in length), then the use of the object\r\nfile is unrestricted, regardless of whether it is legally a derivative\r\nwork. (Executables containing this object code plus portions of the\r\nLibrary will still fall under Section 6.)\r\n\r\n Otherwise, if the work is a derivative of the Library, you may\r\ndistribute the object code for the work under the terms of Section 6.\r\nAny executables containing that work also fall under Section 6,\r\nwhether or not they are linked directly with the Library itself.\r\n\f\r\n 6. As an exception to the Sections above, you may also combine or\r\nlink a \"work that uses the Library\" with the Library to produce a\r\nwork containing portions of the Library, and distribute that work\r\nunder terms of your choice, provided that the terms permit\r\nmodification of the work for the customer's own use and reverse\r\nengineering for debugging such modifications.\r\n\r\n You must give prominent notice with each copy of the work that the\r\nLibrary is used in it and that the Library and its use are covered by\r\nthis License. You must supply a copy of this License. If the work\r\nduring execution displays copyright notices, you must include the\r\ncopyright notice for the Library among them, as well as a reference\r\ndirecting the user to the copy of this License. Also, you must do one\r\nof these things:\r\n\r\n a) Accompany the work with the complete corresponding\r\n machine-readable source code for the Library including whatever\r\n changes were used in the work (which must be distributed under\r\n Sections 1 and 2 above); and, if the work is an executable linked\r\n with the Library, with the complete machine-readable \"work that\r\n uses the Library\", as object code and/or source code, so that the\r\n user can modify the Library and then relink to produce a modified\r\n executable containing the modified Library. (It is understood\r\n that the user who changes the contents of definitions files in the\r\n Library will not necessarily be able to recompile the application\r\n to use the modified definitions.)\r\n\r\n b) Use a suitable shared library mechanism for linking with the\r\n Library. A suitable mechanism is one that (1) uses at run time a\r\n copy of the library already present on the user's computer system,\r\n rather than copying library functions into the executable, and (2)\r\n will operate properly with a modified version of the library, if\r\n the user installs one, as long as the modified version is\r\n interface-compatible with the version that the work was made with.\r\n\r\n c) Accompany the work with a written offer, valid for at\r\n least three years, to give the same user the materials\r\n specified in Subsection 6a, above, for a charge no more\r\n than the cost of performing this distribution.\r\n\r\n d) If distribution of the work is made by offering access to copy\r\n from a designated place, offer equivalent access to copy the above\r\n specified materials from the same place.\r\n\r\n e) Verify that the user has already received a copy of these\r\n materials or that you have already sent this user a copy.\r\n\r\n For an executable, the required form of the \"work that uses the\r\nLibrary\" must include any data and utility programs needed for\r\nreproducing the executable from it. However, as a special exception,\r\nthe materials to be distributed need not include anything that is\r\nnormally distributed (in either source or binary form) with the major\r\ncomponents (compiler, kernel, and so on) of the operating system on\r\nwhich the executable runs, unless that component itself accompanies\r\nthe executable.\r\n\r\n It may happen that this requirement contradicts the license\r\nrestrictions of other proprietary libraries that do not normally\r\naccompany the operating system. Such a contradiction means you cannot\r\nuse both them and the Library together in an executable that you\r\ndistribute.\r\n\f\r\n 7. You may place library facilities that are a work based on the\r\nLibrary side-by-side in a single library together with other library\r\nfacilities not covered by this License, and distribute such a combined\r\nlibrary, provided that the separate distribution of the work based on\r\nthe Library and of the other library facilities is otherwise\r\npermitted, and provided that you do these two things:\r\n\r\n a) Accompany the combined library with a copy of the same work\r\n based on the Library, uncombined with any other library\r\n facilities. This must be distributed under the terms of the\r\n Sections above.\r\n\r\n b) Give prominent notice with the combined library of the fact\r\n that part of it is a work based on the Library, and explaining\r\n where to find the accompanying uncombined form of the same work.\r\n\r\n 8. You may not copy, modify, sublicense, link with, or distribute\r\nthe Library except as expressly provided under this License. Any\r\nattempt otherwise to copy, modify, sublicense, link with, or\r\ndistribute the Library is void, and will automatically terminate your\r\nrights under this License. However, parties who have received copies,\r\nor rights, from you under this License will not have their licenses\r\nterminated so long as such parties remain in full compliance.\r\n\r\n 9. You are not required to accept this License, since you have not\r\nsigned it. However, nothing else grants you permission to modify or\r\ndistribute the Library or its derivative works. These actions are\r\nprohibited by law if you do not accept this License. Therefore, by\r\nmodifying or distributing the Library (or any work based on the\r\nLibrary), you indicate your acceptance of this License to do so, and\r\nall its terms and conditions for copying, distributing or modifying\r\nthe Library or works based on it.\r\n\r\n 10. Each time you redistribute the Library (or any work based on the\r\nLibrary), the recipient automatically receives a license from the\r\noriginal licensor to copy, distribute, link with or modify the Library\r\nsubject to these terms and conditions. You may not impose any further\r\nrestrictions on the recipients' exercise of the rights granted herein.\r\nYou are not responsible for enforcing compliance by third parties with\r\nthis License.\r\n\f\r\n 11. If, as a consequence of a court judgment or allegation of patent\r\ninfringement or for any other reason (not limited to patent issues),\r\nconditions are imposed on you (whether by court order, agreement or\r\notherwise) that contradict the conditions of this License, they do not\r\nexcuse you from the conditions of this License. If you cannot\r\ndistribute so as to satisfy simultaneously your obligations under this\r\nLicense and any other pertinent obligations, then as a consequence you\r\nmay not distribute the Library at all. For example, if a patent\r\nlicense would not permit royalty-free redistribution of the Library by\r\nall those who receive copies directly or indirectly through you, then\r\nthe only way you could satisfy both it and this License would be to\r\nrefrain entirely from distribution of the Library.\r\n\r\nIf any portion of this section is held invalid or unenforceable under any\r\nparticular circumstance, the balance of the section is intended to apply,\r\nand the section as a whole is intended to apply in other circumstances.\r\n\r\nIt is not the purpose of this section to induce you to infringe any\r\npatents or other property right claims or to contest validity of any\r\nsuch claims; this section has the sole purpose of protecting the\r\nintegrity of the free software distribution system which is\r\nimplemented by public license practices. Many people have made\r\ngenerous contributions to the wide range of software distributed\r\nthrough that system in reliance on consistent application of that\r\nsystem; it is up to the author/donor to decide if he or she is willing\r\nto distribute software through any other system and a licensee cannot\r\nimpose that choice.\r\n\r\nThis section is intended to make thoroughly clear what is believed to\r\nbe a consequence of the rest of this License.\r\n\r\n 12. If the distribution and/or use of the Library is restricted in\r\ncertain countries either by patents or by copyrighted interfaces, the\r\noriginal copyright holder who places the Library under this License may add\r\nan explicit geographical distribution limitation excluding those countries,\r\nso that distribution is permitted only in or among countries not thus\r\nexcluded. In such case, this License incorporates the limitation as if\r\nwritten in the body of this License.\r\n\r\n 13. The Free Software Foundation may publish revised and/or new\r\nversions of the Lesser General Public License from time to time.\r\nSuch new versions will be similar in spirit to the present version,\r\nbut may differ in detail to address new problems or concerns.\r\n\r\nEach version is given a distinguishing version number. If the Library\r\nspecifies a version number of this License which applies to it and\r\n\"any later version\", you have the option of following the terms and\r\nconditions either of that version or of any later version published by\r\nthe Free Software Foundation. If the Library does not specify a\r\nlicense version number, you may choose any version ever published by\r\nthe Free Software Foundation.\r\n\f\r\n 14. If you wish to incorporate parts of the Library into other free\r\nprograms whose distribution conditions are incompatible with these,\r\nwrite to the author to ask for permission. For software which is\r\ncopyrighted by the Free Software Foundation, write to the Free\r\nSoftware Foundation; we sometimes make exceptions for this. Our\r\ndecision will be guided by the two goals of preserving the free status\r\nof all derivatives of our free software and of promoting the sharing\r\nand reuse of software generally.\r\n\r\n\t\t\t NO WARRANTY\r\n\r\n 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\r\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\r\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\r\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\r\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\r\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\r\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\r\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\r\n\r\n 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\r\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\r\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\r\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\r\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\r\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\r\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\r\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\r\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\r\nDAMAGES.\r\n\r\n\t\t END OF TERMS AND CONDITIONS\r\n\f\r\n How to Apply These Terms to Your New Libraries\r\n\r\n If you develop a new library, and you want it to be of the greatest\r\npossible use to the public, we recommend making it free software that\r\neveryone can redistribute and change. You can do so by permitting\r\nredistribution under these terms (or, alternatively, under the terms of the\r\nordinary General Public License).\r\n\r\n To apply these terms, attach the following notices to the library. It is\r\nsafest to attach them to the start of each source file to most effectively\r\nconvey the exclusion of warranty; and each file should have at least the\r\n\"copyright\" line and a pointer to where the full notice is found.\r\n\r\n \r\n Copyright (C) \r\n\r\n This library is free software; you can redistribute it and/or\r\n modify it under the terms of the GNU Lesser General Public\r\n License as published by the Free Software Foundation; either\r\n version 2.1 of the License, or (at your option) any later version.\r\n\r\n This library is distributed in the hope that it will be useful,\r\n but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r\n Lesser General Public License for more details.\r\n\r\n You should have received a copy of the GNU Lesser General Public\r\n License along with this library; if not, write to the Free Software\r\n Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r\n\r\nAlso add information on how to contact you by electronic and paper mail.\r\n\r\nYou should also get your employer (if you work as a programmer) or your\r\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\r\nnecessary. Here is a sample; alter the names:\r\n\r\n Yoyodyne, Inc., hereby disclaims all copyright interest in the\r\n library `Frob' (a library for tweaking knobs) written by James Random Hacker.\r\n\r\n , 1 April 1990\r\n Ty Coon, President of Vice\r\n\r\nThat's all there is to it!" + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100, + "matched_text": " * This is free software; you can redistribute it and/or modify it\n * 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 * 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. 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 software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org." + }, + { + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 14, + "rule_relevance": 100, + "matched_text": " * Released under the Creative Commons Attribution License\n * (http://creativecommons.org/licenses/by/2.5)" + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100, + "matched_text": " * This is free software; you can redistribute it and/or modify it\n * 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 * 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. 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 software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org." + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100, + "matched_text": " * This is free software; you can redistribute it and/or modify it\n * 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 * 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. 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 software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org." + }, + { + "license_expression": "public-domain", + "rule_identifier": "public-domain_bare_words.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 70, + "matched_text": "// NOTE: The following source code is the iHarder.net public domain" + }, + { + "license_expression": "public-domain-disclaimer", + "rule_identifier": "public-domain-disclaimer_77.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 30, + "rule_relevance": 100, + "matched_text": " * I am placing this code in the Public Domain. Do with it as you will.\n * This software comes with no guarantees or warranties but with\n * plenty of well-wishing instead!" + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "matched_text": " * For conditions of distribution and use, see copyright notice in zlib.h" + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100, + "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\n Jean-loup Gailly Mark Adler\n jloup@gzip.org madler@alumni.caltech.edu" + }, + { + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 176, + "rule_relevance": 100, + "matched_text": "-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation, --\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable, --\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --" + }, + { + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "referenced_filenames": [ + "LICENSE_1_0.txt" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 32, + "rule_relevance": 100, + "matched_text": "// Use, modification and distribution are subject to the Boost Software License, Version 1.0.\r\n// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)" + }, + { + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 211, + "rule_relevance": 100, + "matched_text": "Boost Software License - Version 1.0 - August 17th, 2003\r\n\r\nPermission is hereby granted, free of charge, to any person or organization\r\nobtaining a copy of the software and accompanying documentation covered by\r\nthis license (the \"Software\") to use, reproduce, display, distribute,\r\nexecute, and transmit the Software, and to prepare derivative works of the\r\nSoftware, and to permit third-parties to whom the Software is furnished to\r\ndo so, all subject to the following:\r\n\r\nThe copyright notices in the Software and this entire statement, including\r\nthe above license grant, this restriction and the following disclaimer,\r\nmust be included in all copies of the Software, in whole or in part, and\r\nall derivative works of the Software, unless such copies or derivative\r\nworks are solely in the form of machine-executable object code generated by\r\na source language processor.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\r\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\r\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\r\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\r\nDEALINGS IN THE SOFTWARE." + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100, + "matched_text": "; This software is provided 'as-is', without any express or implied\r\n; warranty. In no event will the authors be held liable for any damages\r\n; arising from the use of this software.\r\n;\r\n; Permission is granted to anyone to use this software for any purpose,\r\n; including commercial applications, and to alter it and redistribute it\r\n; freely, subject to the following restrictions:\r\n;\r\n; 1. The origin of this software must not be misrepresented; you must not\r\n; claim that you wrote the original software. If you use this software\r\n; in a product, an acknowledgment in the product documentation would be\r\n; appreciated but is not required.\r\n; 2. Altered source versions must be plainly marked as such, and must not be\r\n; misrepresented as being the original software\r\n; 3. This notice may not be removed or altered from any source distribution." + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "matched_text": " * For conditions of distribution and use, see copyright notice in zlib.h" + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100, + "matched_text": " * For conditions of distribution and use, see copyright notice in zlib.h" + }, + { + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 71, + "rule_relevance": 100, + "matched_text": " * Permission to use, copy, modify, distribute and sell this software\n * and its documentation for any purpose is hereby granted without fee,\n * provided that the above copyright notice appear in all copies and\n * that both that copyright notice and this permission notice appear\n * in supporting documentation. Christian Michelsen Research AS makes no\n * representations about the suitability of this software for any\n * purpose. It is provided \"as is\" without express or implied warranty." + } + ], "files": [ { "path": "samples", @@ -297,6 +1494,7 @@ "date": null, "sha1": null, "md5": null, + "sha256": null, "mime_type": null, "file_type": null, "programming_language": null, @@ -306,57 +1504,57 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": true, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "zlib", - "count": 10 + "count": 9 }, { - "value": null, - "count": 7 + "value": "boost-1.0", + "count": 3 }, { "value": "lgpl-2.1-plus", - "count": 5 - }, - { - "value": "boost-1.0", "count": 3 }, { - "value": "public-domain", + "value": "lgpl-2.1", "count": 2 }, { - "value": "apache-1.1", + "value": null, "count": 1 }, { - "value": "apache-2.0", + "value": "apache-1.1", "count": 1 }, { - "value": "cc-by-2.5", + "value": "apache-2.0", "count": 1 }, { - "value": "cmr-no", + "value": "cc-by-2.5", "count": 1 }, { @@ -374,6 +1572,14 @@ { "value": "mit", "count": 1 + }, + { + "value": "mit-old-style", + "count": 1 + }, + { + "value": "public-domain AND public-domain-disclaimer", + "count": 1 } ], "copyrights": [ @@ -393,10 +1599,6 @@ "value": "Copyright (c) Mark Adler", "count": 3 }, - { - "value": "(c) Copyright Henrik Ravn", - "count": 2 - }, { "value": "Copyright (c) Free Software Foundation, Inc.", "count": 2 @@ -405,6 +1607,10 @@ "value": "copyrighted by the Free Software Foundation", "count": 2 }, + { + "value": "(c) Copyright Henrik Ravn", + "count": 1 + }, { "value": "Copyright (c) - The Legion Of The Bouncy Castle (http://www.bouncycastle.org)", "count": 1 @@ -422,11 +1628,15 @@ "count": 1 }, { - "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant.", + "value": "Copyright (c) Henrik Ravn", + "count": 1 + }, + { + "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant", "count": 1 }, { - "value": "Copyright (c) The Apache Software Foundation.", + "value": "Copyright (c) The Apache Software Foundation", "count": 1 }, { @@ -456,7 +1666,7 @@ "count": 10 }, { - "value": "Free Software Foundation, Inc.", + "value": "Free Software Foundation", "count": 4 }, { @@ -492,15 +1702,15 @@ "count": 1 }, { - "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant.", + "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant", "count": 1 }, { - "value": "Red Hat Middleware LLC, and individual contributors", + "value": "Red Hat", "count": 1 }, { - "value": "Red Hat, Inc.", + "value": "Red Hat Middleware LLC, and individual contributors", "count": 1 }, { @@ -508,7 +1718,7 @@ "count": 1 }, { - "value": "The Apache Software Foundation.", + "value": "The Apache Software Foundation", "count": 1 }, { @@ -538,7 +1748,7 @@ "count": 1 }, { - "value": "Leonid Broukhis.", + "value": "Leonid Broukhis", "count": 1 }, { @@ -550,18 +1760,14 @@ "count": 1 }, { - "value": "the Apache Software Foundation (http://www.apache.org/).", + "value": "the Apache Software Foundation (http://www.apache.org/)", "count": 1 } ], "programming_language": [ { - "value": null, - "count": 13 - }, - { - "value": "C++", - "count": 10 + "value": "C", + "count": 9 }, { "value": "Java", @@ -571,9 +1777,17 @@ "value": "C#", "count": 2 }, + { + "value": "C++", + "count": 1 + }, { "value": "GAS", "count": 1 + }, + { + "value": "verilog", + "count": 1 } ] }, @@ -589,9 +1803,10 @@ "base_name": "README", "extension": "", "size": 236, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "2e07e32c52d607204fad196052d70e3d18fb8636", "md5": "effc6856ef85a9250fb1a470792b3f38", + "sha256": "165da86bfdf296cd5a0a3e20c1d1ee86d70ecb8a1fa579d6f8cadad8eee85878", "mime_type": "text/plain", "file_type": "ASCII text", "programming_language": null, @@ -601,12 +1816,17 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [ { @@ -620,17 +1840,14 @@ "end_line": 4 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": true, "is_top_level": true, "is_key_file": true, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": null, "count": 1 @@ -673,9 +1890,10 @@ "base_name": "screenshot", "extension": ".png", "size": 622754, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "01ff4b1de0bc6c75c9cca6e46c80c1802d6976d4", "md5": "b6ef5a90777147423c98b42a6a25e57a", + "sha256": "a1c9905b77a8ff7e72c93abc85d32d9e43353996710b83c5bfa581c5f2af60ad", "mime_type": "image/png", "file_type": "PNG image data, 2880 x 1666, 8-bit/color RGB, non-interlaced", "programming_language": null, @@ -685,25 +1903,27 @@ "is_media": true, "is_source": false, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": true, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": null, "count": 1 @@ -749,6 +1969,7 @@ "date": null, "sha1": null, "md5": null, + "sha256": null, "mime_type": null, "file_type": null, "programming_language": null, @@ -758,23 +1979,27 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": true, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": null, "count": 1 @@ -798,12 +2023,7 @@ "count": 1 } ], - "programming_language": [ - { - "value": null, - "count": 1 - } - ] + "programming_language": [] }, "files_count": 1, "dirs_count": 0, @@ -817,11 +2037,12 @@ "base_name": "zlib", "extension": ".tar.gz", "size": 28103, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "576f0ccfe534d7f5ff5d6400078d3c6586de3abd", "md5": "20b2370751abfc08bb3556c1d8114b5a", + "sha256": "e6bb199f3b59fffac4092542a516a46b7f922e607d754c21ef5b27334b1f3ba6", "mime_type": "application/gzip", - "file_type": "gzip compressed data, last modified: Wed Jul 15 09:08:19 2015, from Unix", + "file_type": "gzip compressed data, last modified: Wed Jul 15 09:08:19 2015, from Unix, original size modulo 2^32 103424", "programming_language": null, "is_binary": true, "is_text": false, @@ -829,25 +2050,27 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": null, "count": 1 @@ -893,6 +2116,7 @@ "date": null, "sha1": null, "md5": null, + "sha256": null, "mime_type": null, "file_type": null, "programming_language": null, @@ -902,34 +2126,38 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": true, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "lgpl-2.1-plus", - "count": 5 + "count": 3 }, { - "value": null, + "value": "lgpl-2.1", "count": 2 }, { - "value": "public-domain", - "count": 2 + "value": null, + "count": 1 }, { "value": "apache-1.1", @@ -954,6 +2182,10 @@ { "value": "mit", "count": 1 + }, + { + "value": "public-domain AND public-domain-disclaimer", + "count": 1 } ], "copyrights": [ @@ -978,7 +2210,7 @@ "count": 1 }, { - "value": "Copyright (c) The Apache Software Foundation.", + "value": "Copyright (c) The Apache Software Foundation", "count": 1 }, { @@ -1004,7 +2236,7 @@ "count": 5 }, { - "value": "Free Software Foundation, Inc.", + "value": "Free Software Foundation", "count": 4 }, { @@ -1016,11 +2248,11 @@ "count": 1 }, { - "value": "Red Hat Middleware LLC, and individual contributors", + "value": "Red Hat", "count": 1 }, { - "value": "Red Hat, Inc.", + "value": "Red Hat Middleware LLC, and individual contributors", "count": 1 }, { @@ -1028,7 +2260,7 @@ "count": 1 }, { - "value": "The Apache Software Foundation.", + "value": "The Apache Software Foundation", "count": 1 }, { @@ -1062,18 +2294,18 @@ "count": 1 }, { - "value": "the Apache Software Foundation (http://www.apache.org/).", + "value": "the Apache Software Foundation (http://www.apache.org/)", "count": 1 } ], "programming_language": [ { - "value": null, + "value": "Java", "count": 7 }, { - "value": "Java", - "count": 7 + "value": "verilog", + "count": 1 } ] }, @@ -1089,73 +2321,64 @@ "base_name": "EULA", "extension": "", "size": 8156, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "eb232aa0424eca9c4136904e6143b72aaa9cf4de", "md5": "0be0aceb8296727efff0ac0bf8e6bdb3", + "sha256": "6ef829995515206ba682183a68f971f00ee91b6bd1b4427f76a6bf364969c1ae", "mime_type": "text/plain", "file_type": "ASCII text", - "programming_language": null, + "programming_language": "verilog", "is_binary": false, "is_text": true, "is_archive": false, "is_media": false, - "is_source": false, + "is_source": true, "is_script": false, - "licenses": [ + "detected_license_expression": "jboss-eula", + "detected_license_expression_spdx": "LicenseRef-scancode-jboss-eula", + "license_detections": [ { - "key": "jboss-eula", - "score": 100.0, - "name": "JBoss EULA", - "short_name": "JBoss EULA", - "category": "Proprietary Free", - "is_exception": false, - "is_unknown": false, - "owner": "JBoss Community", - "homepage_url": null, - "text_url": "http://repository.jboss.org/licenses/jbossorg-eula.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/jboss-eula", - "spdx_license_key": "", - "spdx_url": null, - "start_line": 3, - "end_line": 108, - "matched_rule": { - "identifier": "jboss-eula.LICENSE", - "license_expression": "jboss-eula", - "licenses": [ - "jboss-eula" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 1300, - "matched_length": 1300, - "match_coverage": 100.0, - "rule_relevance": 100 - }, - "matched_text": "LICENSE AGREEMENT\nJBOSS(r)\n\nThis License Agreement governs the use of the Software Packages and any updates to the Software \nPackages, regardless of the delivery mechanism. Each Software Package is a collective work \nunder U.S. Copyright Law. Subject to the following terms, Red Hat, Inc. (\"Red Hat\") grants to \nthe user (\"Client\") a license to the applicable collective work(s) pursuant to the \nGNU Lesser General Public License v. 2.1 except for the following Software Packages: \n(a) JBoss Portal Forums and JBoss Transactions JTS, each of which is licensed pursuant to the \nGNU General Public License v.2; \n\n(b) JBoss Rules, which is licensed pursuant to the Apache License v.2.0;\n\n(c) an optional download for JBoss Cache for the Berkeley DB for Java database, which is licensed under the \n(open source) Sleepycat License (if Client does not wish to use the open source version of this database, \nit may purchase a license from Sleepycat Software); \n\nand (d) the BPEL extension for JBoss jBPM, which is licensed under the Common Public License v.1, \nand, pursuant to the OASIS BPEL4WS standard, requires parties wishing to redistribute to enter various \nroyalty-free patent licenses. \n\nEach of the foregoing licenses is available at http://www.opensource.org/licenses/index.php.\n\n1. The Software. \"Software Packages\" refer to the various software modules that are created and made available \nfor distribution by the JBoss.org open source community at http://www.jboss.org. Each of the Software Packages \nmay be comprised of hundreds of software components. The end user license agreement for each component is located in \nthe component's source code. With the exception of certain image files identified in Section 2 below, \nthe license terms for the components permit Client to copy, modify, and redistribute the component, \nin both source code and binary code forms. This agreement does not limit Client's rights under, \nor grant Client rights that supersede, the license terms of any particular component.\n\n2. Intellectual Property Rights. The Software Packages are owned by Red Hat and others and are protected under copyright \nand other laws. Title to the Software Packages and any component, or to any copy, modification, or merged portion shall \nremain with the aforementioned, subject to the applicable license. The \"JBoss\" trademark, \"Red Hat\" trademark, the \nindividual Software Package trademarks, and the \"Shadowman\" logo are registered trademarks of Red Hat and its affiliates \nin the U.S. and other countries. This agreement permits Client to distribute unmodified copies of the Software Packages \nusing the Red Hat trademarks that Red Hat has inserted in the Software Packages on the condition that Client follows Red Hat's \ntrademark guidelines for those trademarks located at http://www.redhat.com/about/corporate/trademark/. Client must abide by \nthese trademark guidelines when distributing the Software Packages, regardless of whether the Software Packages have been modified. \nIf Client modifies the Software Packages, then Client must replace all Red Hat trademarks and logos identified at \nhttp://www.jboss.com/company/logos, unless a separate agreement with Red Hat is executed or other permission granted. \nMerely deleting the files containing the Red Hat trademarks may corrupt the Software Packages. \n\n3. Limited Warranty. Except as specifically stated in this Paragraph 3 or a license for a particular \ncomponent, to the maximum extent permitted under applicable law, the Software Packages and the \ncomponents are provided and licensed \"as is\" without warranty of any kind, expressed or implied, \nincluding the implied warranties of merchantability, non-infringement or fitness for a particular purpose. \nRed Hat warrants that the media on which Software Packages may be furnished will be free from defects in \nmaterials and manufacture under normal use for a period of 30 days from the date of delivery to Client. \nRed Hat does not warrant that the functions contained in the Software Packages will meet Client's requirements \nor that the operation of the Software Packages will be entirely error free or appear precisely as described \nin the accompanying documentation. This warranty extends only to the party that purchases the Services \npertaining to the Software Packages from Red Hat or a Red Hat authorized distributor. \n\n4. Limitation of Remedies and Liability. To the maximum extent permitted by applicable law, the remedies \ndescribed below are accepted by Client as its only remedies. Red Hat's entire liability, and Client's \nexclusive remedies, shall be: If the Software media is defective, Client may return it within 30 days of \ndelivery along with a copy of Client's payment receipt and Red Hat, at its option, will replace it or \nrefund the money paid by Client for the Software. To the maximum extent permitted by applicable law, \nRed Hat or any Red Hat authorized dealer will not be liable to Client for any incidental or consequential \ndamages, including lost profits or lost savings arising out of the use or inability to use the Software, \neven if Red Hat or such dealer has been advised of the possibility of such damages. In no event shall \nRed Hat's liability under this agreement exceed the amount that Client paid to Red Hat under this \nAgreement during the twelve months preceding the action.\n\n5. Export Control. As required by U.S. law, Client represents and warrants that it: \n(a) understands that the Software Packages are subject to export controls under the \nU.S. Commerce Department's Export Administration Regulations (\"EAR\"); \n\n(b) is not located in a prohibited destination country under the EAR or U.S. sanctions regulations \n(currently Cuba, Iran, Iraq, Libya, North Korea, Sudan and Syria); \n\n(c) will not export, re-export, or transfer the Software Packages to any prohibited destination, entity, \nor individual without the necessary export license(s) or authorizations(s) from the U.S. Government; \n\n(d) will not use or transfer the Software Packages for use in any sensitive nuclear, chemical or \nbiological weapons, or missile technology end-uses unless authorized by the U.S. Government by \nregulation or specific license; \n\n(e) understands and agrees that if it is in the United States and exports or transfers the Software \nPackages to eligible end users, it will, as required by EAR Section 740.17(e), submit semi-annual \nreports to the Commerce Department's Bureau of Industry & Security (BIS), which include the name and \naddress (including country) of each transferee; \n\nand (f) understands that countries other than the United States may restrict the import, use, or \nexport of encryption products and that it shall be solely responsible for compliance with any such \nimport, use, or export restrictions.\n\n6. Third Party Programs. Red Hat may distribute third party software programs with the Software Packages \nthat are not part of the Software Packages and which Client must install separately. These third party \nprograms are subject to their own license terms. The license terms either accompany the programs or \ncan be viewed at http://www.redhat.com/licenses/. If Client does not agree to abide by the applicable \nlicense terms for such programs, then Client may not install them. If Client wishes to install the programs \non more than one system or transfer the programs to another party, then Client must contact the licensor \nof the programs.\n\n7. General. If any provision of this agreement is held to be unenforceable, that shall not affect the \nenforceability of the remaining provisions. This License Agreement shall be governed by the laws of the \nState of North Carolina and of the United States, without regard to any conflict of laws provisions, \nexcept that the United Nations Convention on the International Sale of Goods shall not apply.\n\nCopyright 2006 Red Hat, Inc. All rights reserved. \n\"JBoss\" and the JBoss logo are registered trademarks of Red Hat, Inc. \nAll other trademarks are the property of their respective owners. \n\n\tPage 1 of 1\t18 October 2006" + "license_expression": "jboss-eula", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 108, + "matched_length": 1285, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "jboss-eula", + "rule_identifier": "jboss-eula.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/jboss-eula.LICENSE" + } + ] } ], - "license_expressions": [ - "jboss-eula" + "license_clues": [], + "percentage_of_license_text": 99.0, + "for_licenses": [ + "eed9b405-580d-3b4c-28fd-66acb8595508" ], - "holders": [ + "copyrights": [ { - "holder": "Red Hat, Inc.", + "copyright": "Copyright 2006 Red Hat, Inc.", "start_line": 104, "end_line": 104 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright 2006 Red Hat, Inc.", + "holder": "Red Hat, Inc.", "start_line": 104, "end_line": 104 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [ { @@ -1184,17 +2407,14 @@ "end_line": 94 } ], - "facets": [ - "core" - ], "is_legal": true, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "jboss-eula", "count": 1 @@ -1208,7 +2428,7 @@ ], "holders": [ { - "value": "Red Hat, Inc.", + "value": "Red Hat", "count": 1 } ], @@ -1220,7 +2440,7 @@ ], "programming_language": [ { - "value": null, + "value": "verilog", "count": 1 } ] @@ -1237,9 +2457,10 @@ "base_name": "LICENSE", "extension": "", "size": 26430, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "e60c2e780886f95df9c9ee36992b8edabec00bcc", "md5": "7fbc338309ac38fefcd64b04bb903e34", + "sha256": "a190dc9c8043755d90f8b0a75fa66b9e42d4af4c980bf5ddc633f0124db3cee7", "mime_type": "text/plain", "file_type": "ASCII text", "programming_language": null, @@ -1249,86 +2470,73 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [ + "detected_license_expression": "lgpl-2.1", + "detected_license_expression_spdx": "LGPL-2.1-only", + "license_detections": [ { - "key": "lgpl-2.1-plus", - "score": 100.0, - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later", - "start_line": 1, - "end_line": 502, - "matched_rule": { - "identifier": "lgpl-2.1-plus_2.RULE", - "license_expression": "lgpl-2.1-plus", - "licenses": [ - "lgpl-2.1-plus" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "1-hash", - "rule_length": 4415, - "matched_length": 4415, - "match_coverage": 100.0, - "rule_relevance": 100 - }, - "matched_text": "GNU LESSER GENERAL PUBLIC LICENSE\n\t\t Version 2.1, February 1999\n\n Copyright (C) 1991, 1999 Free Software Foundation, Inc.\n 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\n as the successor of the GNU Library Public License, version 2, hence\n the version number 2.1.]\n\n\t\t\t Preamble\n\n The licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\n This license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\n When we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\n To protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\n For example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\n We protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\n To protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\f\n Finally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\n Most GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\n When a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\n We call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\n For example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\n In other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\n Although the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\n The precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\f\n\t\t GNU LESSER GENERAL PUBLIC LICENSE\n TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n 0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\n A \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\n The \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n \"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\n Activities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n \n 1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\n You may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\f\n 2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n a) The modified work must itself be a software library.\n\n b) You must cause the files modified to carry prominent notices\n stating that you changed the files and the date of any change.\n\n c) You must cause the whole of the work to be licensed at no\n charge to all third parties under the terms of this License.\n\n d) If a facility in the modified Library refers to a function or a\n table of data to be supplied by an application program that uses\n the facility, other than as an argument passed when the facility\n is invoked, then you must make a good faith effort to ensure that,\n in the event an application does not supply such function or\n table, the facility still operates, and performs whatever part of\n its purpose remains meaningful.\n\n (For example, a function in a library to compute square roots has\n a purpose that is entirely well-defined independent of the\n application. Therefore, Subsection 2d requires that any\n application-supplied function or table used by this function must\n be optional: if the application does not supply it, the square\n root function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n 3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\f\n Once this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\n This option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n 4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\n If distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n 5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\n However, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\n When a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\n If such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\n Otherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\f\n 6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\n You must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\n a) Accompany the work with the complete corresponding\n machine-readable source code for the Library including whatever\n changes were used in the work (which must be distributed under\n Sections 1 and 2 above); and, if the work is an executable linked\n with the Library, with the complete machine-readable \"work that\n uses the Library\", as object code and/or source code, so that the\n user can modify the Library and then relink to produce a modified\n executable containing the modified Library. (It is understood\n that the user who changes the contents of definitions files in the\n Library will not necessarily be able to recompile the application\n to use the modified definitions.)\n\n b) Use a suitable shared library mechanism for linking with the\n Library. A suitable mechanism is one that (1) uses at run time a\n copy of the library already present on the user's computer system,\n rather than copying library functions into the executable, and (2)\n will operate properly with a modified version of the library, if\n the user installs one, as long as the modified version is\n interface-compatible with the version that the work was made with.\n\n c) Accompany the work with a written offer, valid for at\n least three years, to give the same user the materials\n specified in Subsection 6a, above, for a charge no more\n than the cost of performing this distribution.\n\n d) If distribution of the work is made by offering access to copy\n from a designated place, offer equivalent access to copy the above\n specified materials from the same place.\n\n e) Verify that the user has already received a copy of these\n materials or that you have already sent this user a copy.\n\n For an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\n It may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\f\n 7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\n a) Accompany the combined library with a copy of the same work\n based on the Library, uncombined with any other library\n facilities. This must be distributed under the terms of the\n Sections above.\n\n b) Give prominent notice with the combined library of the fact\n that part of it is a work based on the Library, and explaining\n where to find the accompanying uncombined form of the same work.\n\n 8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n 9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n 10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\f\n 11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n 12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n 13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\f\n 14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\n\t\t\t NO WARRANTY\n\n 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\n\t\t END OF TERMS AND CONDITIONS\n\f\n How to Apply These Terms to Your New Libraries\n\n If you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\n To apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\n Yoyodyne, Inc., hereby disclaims all copyright interest in the\n library `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n , 1 April 1990\n Ty Coon, President of Vice\n\nThat's all there is to it" + "license_expression": "lgpl-2.1", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 502, + "matched_length": 4288, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "lgpl-2.1", + "rule_identifier": "lgpl-2.1_101.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_101.RULE" + } + ] } ], - "license_expressions": [ - "lgpl-2.1-plus" + "license_clues": [], + "percentage_of_license_text": 100.0, + "for_licenses": [ + "f6dd3eec-ee92-36cb-d069-447bea303c02" ], - "holders": [ + "copyrights": [ { - "holder": "Free Software Foundation, Inc.", + "copyright": "Copyright (c) 1991, 1999 Free Software Foundation, Inc.", "start_line": 4, - "end_line": 6 + "end_line": 4 }, { - "value": "the Free Software Foundation", - "start_line": 428, - "end_line": 433 + "copyright": "copyrighted by the Free Software Foundation", + "start_line": 429, + "end_line": 429 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 1991, 1999 Free Software Foundation, Inc.", + "holder": "Free Software Foundation, Inc.", "start_line": 4, - "end_line": 6 + "end_line": 4 }, { - "copyright": "copyrighted by the Free Software Foundation", - "start_line": 428, - "end_line": 433 + "holder": "the Free Software Foundation", + "start_line": 429, + "end_line": 429 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": true, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { - "value": "lgpl-2.1-plus", + "value": "lgpl-2.1", "count": 1 } ], @@ -1344,7 +2552,7 @@ ], "holders": [ { - "value": "Free Software Foundation, Inc.", + "value": "Free Software Foundation", "count": 2 } ], @@ -1376,6 +2584,7 @@ "date": null, "sha1": null, "md5": null, + "sha256": null, "mime_type": null, "file_type": null, "programming_language": null, @@ -1385,23 +2594,31 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ + { + "value": null, + "count": 1 + }, { "value": "apache-1.1", "count": 1 @@ -1415,7 +2632,7 @@ "count": 1 }, { - "value": "lgpl-2.1-plus", + "value": "lgpl-2.1", "count": 1 }, { @@ -1437,7 +2654,7 @@ "count": 1 }, { - "value": "Copyright (c) The Apache Software Foundation.", + "value": "Copyright (c) The Apache Software Foundation", "count": 1 }, { @@ -1451,11 +2668,11 @@ "count": 2 }, { - "value": "Free Software Foundation, Inc.", + "value": "Free Software Foundation", "count": 2 }, { - "value": "The Apache Software Foundation.", + "value": "The Apache Software Foundation", "count": 1 }, { @@ -1469,16 +2686,11 @@ "count": 4 }, { - "value": "the Apache Software Foundation (http://www.apache.org/).", + "value": "the Apache Software Foundation (http://www.apache.org/)", "count": 1 } ], - "programming_language": [ - { - "value": null, - "count": 5 - } - ] + "programming_language": [] }, "files_count": 5, "dirs_count": 0, @@ -1492,9 +2704,10 @@ "base_name": "apache-1.1", "extension": ".txt", "size": 2885, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "6b5608d35c3e304532af43db8bbfc5947bef46a6", "md5": "276982197c941f4cbf3d218546e17ae2", + "sha256": "b03079c80bc3657f4b9d838f02f036e4611693a0e42b043d5d71b45ac6c5040d", "mime_type": "text/plain", "file_type": "ASCII text, with CRLF line terminators", "programming_language": null, @@ -1504,67 +2717,57 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [ + "detected_license_expression": "apache-1.1", + "detected_license_expression_spdx": "Apache-1.1", + "license_detections": [ { - "key": "apache-1.1", - "score": 100.0, - "name": "Apache License 1.1", - "short_name": "Apache 1.1", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://apache.org/licenses/LICENSE-1.1", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-1.1", - "spdx_license_key": "Apache-1.1", - "spdx_url": "https://spdx.org/licenses/Apache-1.1", - "start_line": 2, - "end_line": 56, - "matched_rule": { - "identifier": "apache-1.1.SPDX.RULE", - "license_expression": "apache-1.1", - "licenses": [ - "apache-1.1" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "1-hash", - "rule_length": 362, - "matched_length": 362, - "match_coverage": 100.0, - "rule_relevance": 100 - }, - "matched_text": "The Apache Software License, Version 1.1\n *\n * Copyright (c) 2000 The Apache Software Foundation. All rights\n * 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. The end-user documentation included with the redistribution,\n * if any, must include the following acknowledgment:\n * \"This product includes software developed by the\n * Apache Software Foundation (http://www.apache.org/).\"\n * Alternately, this acknowledgment may appear in the software itself,\n * if and wherever such third-party acknowledgments normally appear.\n *\n * 4. The names \"Apache\" and \"Apache Software Foundation\" must\n * not be used to endorse or promote products derived from this\n * software without prior written permission. For written\n * permission, please contact apache@apache.org.\n *\n * 5. Products derived from this software may not be called \"Apache\",\n * nor may \"Apache\" appear in their name, without prior written\n * permission of the Apache Software Foundation.\n *\n * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR\n * ITS 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.\n * ====================================================================\n *\n * This software consists of voluntary contributions made by many\n * individuals on behalf of the Apache Software Foundation. For more\n * information on the Apache Software Foundation, please see\n * .\n *\n * Portions of this software are based upon public domain software\n * originally written at the National Center for Supercomputing Applications,\n * University of Illinois, Urbana-Champaign" + "license_expression": "apache-1.1", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 56, + "matched_length": 361, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-1.1", + "rule_identifier": "apache-1.1_71.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.1_71.RULE" + } + ] } ], - "license_expressions": [ - "apache-1.1" + "license_clues": [], + "percentage_of_license_text": 100.0, + "for_licenses": [ + "9efb9769-bd5d-5083-31e8-3616b2fb45b1" ], - "holders": [ + "copyrights": [ { - "holder": "The Apache Software Foundation.", + "copyright": "Copyright (c) 2000 The Apache Software Foundation", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 2000 The Apache Software Foundation.", + "holder": "The Apache Software Foundation", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "authors": [ { - "author": "the Apache Software Foundation (http://www.apache.org/).", + "author": "the Apache Software Foundation (http://www.apache.org/)", "start_line": 21, - "end_line": 23 + "end_line": 22 } ], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [ { "email": "apache@apache.org", @@ -1579,17 +2782,14 @@ "end_line": 22 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "apache-1.1", "count": 1 @@ -1597,19 +2797,19 @@ ], "copyrights": [ { - "value": "Copyright (c) The Apache Software Foundation.", + "value": "Copyright (c) The Apache Software Foundation", "count": 1 } ], "holders": [ { - "value": "The Apache Software Foundation.", + "value": "The Apache Software Foundation", "count": 1 } ], "authors": [ { - "value": "the Apache Software Foundation (http://www.apache.org/).", + "value": "the Apache Software Foundation (http://www.apache.org/)", "count": 1 } ], @@ -1632,9 +2832,10 @@ "base_name": "apache-2.0", "extension": ".txt", "size": 11560, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "47b573e3824cd5e02a1a3ae99e2735b49e0256e4", "md5": "d273d63619c9aeaf15cdaf76422c4f87", + "sha256": "3ddf9be5c28fe27dad143a5dc76eea25222ad1dd68934a047064e56ed2fa40c5", "mime_type": "text/plain", "file_type": "ASCII text, with CRLF line terminators", "programming_language": null, @@ -1644,49 +2845,39 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [ + "detected_license_expression": "apache-2.0", + "detected_license_expression_spdx": "Apache-2.0", + "license_detections": [ { - "key": "apache-2.0", - "score": 100.0, - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0", - "start_line": 2, - "end_line": 202, - "matched_rule": { - "identifier": "apache-2.0.LICENSE", - "license_expression": "apache-2.0", - "licenses": [ - "apache-2.0" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "1-hash", - "rule_length": 1608, - "matched_length": 1608, - "match_coverage": 100.0, - "rule_relevance": 100 - }, - "matched_text": "Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright [yyyy] [name of copyright owner]\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License" + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 202, + "matched_length": 1584, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE" + } + ] } ], - "license_expressions": [ - "apache-2.0" + "license_clues": [], + "percentage_of_license_text": 100.0, + "for_licenses": [ + "38097a02-87ed-9e8c-2dcb-78842e1e42c0" ], - "holders": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [ { @@ -1700,17 +2891,14 @@ "end_line": 196 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": true, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "apache-2.0", "count": 1 @@ -1753,9 +2941,10 @@ "base_name": "bouncycastle", "extension": ".txt", "size": 1186, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "74facb0e9a734479f9cd893b5be3fe1bf651b760", "md5": "9fffd8de865a5705969f62b128381f85", + "sha256": "3d469c451a2a0e97380b90143d979281fadd39be55432b903e6bd18b1b9915d4", "mime_type": "text/plain", "file_type": "ASCII text", "programming_language": null, @@ -1765,61 +2954,51 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [ - { - "key": "mit", - "score": 98.8, - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT", - "start_line": 3, - "end_line": 18, - "matched_rule": { - "identifier": "mit_160.RULE", - "license_expression": "mit", - "licenses": [ - "mit" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "3-seq", - "rule_length": 167, - "matched_length": 165, - "match_coverage": 98.8, - "rule_relevance": 100 - }, - "matched_text": "License\n\nCopyright ([c]) [2000] - [2006] [The] [Legion] [Of] [The] [Bouncy] [Castle] ([http]://[www].[bouncycastle].[org])\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit\npersons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions\nof the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\nOR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE" + "detected_license_expression": "mit", + "detected_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 18, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" + } + ] } ], - "license_expressions": [ - "mit" + "license_clues": [], + "percentage_of_license_text": 84.74, + "for_licenses": [ + "1f6881d4-dcc1-038b-f9a5-8c8c48fc4f45" ], - "holders": [ + "copyrights": [ { - "holder": "The Legion Of The Bouncy Castle", + "copyright": "Copyright (c) 2000 - 2006 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)", "start_line": 5, "end_line": 5 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 2000 - 2006 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)", + "holder": "The Legion Of The Bouncy Castle", "start_line": 5, "end_line": 5 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [ { @@ -1828,17 +3007,14 @@ "end_line": 5 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "mit", "count": 1 @@ -1881,9 +3057,10 @@ "base_name": "cpl-1.0", "extension": ".txt", "size": 11987, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "681cf776bcd79752543d42490ec7ed22a29fd888", "md5": "9a6d2c9ae73d59eb3dd38e3909750d14", + "sha256": "d9a768a23056b25ab4b0b48381003ce55f0d32514da5a4e017fa0765b3a887aa", "mime_type": "text/plain", "file_type": "ASCII text, with CRLF line terminators", "programming_language": null, @@ -1893,62 +3070,49 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [ + "detected_license_expression": "cpl-1.0", + "detected_license_expression_spdx": "CPL-1.0", + "license_detections": [ { - "key": "cpl-1.0", - "score": 99.94, - "name": "Common Public License 1.0", - "short_name": "CPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "IBM", - "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", - "text_url": "http://www.eclipse.org/legal/cpl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", - "spdx_license_key": "CPL-1.0", - "spdx_url": "https://spdx.org/licenses/CPL-1.0", - "start_line": 1, - "end_line": 212, - "matched_rule": { - "identifier": "cpl-1.0.SPDX.RULE", - "license_expression": "cpl-1.0", - "licenses": [ - "cpl-1.0" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "3-seq", - "rule_length": 1765, - "matched_length": 1764, - "match_coverage": 99.94, - "rule_relevance": 100 - }, - "matched_text": "Common Public License Version 1.0\n\nTHE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC\nLICENSE (\"AGREEMENT\"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM\nCONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.\n\n1. DEFINITIONS\n\n\"Contribution\" means:\n\n a) in the case of the initial Contributor, the initial code and documentation\n distributed under this Agreement, and\n\n b) in the case of each subsequent Contributor:\n\n i) changes to the Program, and\n\n ii) additions to the Program;\n\n where such changes and/or additions to the Program originate from and are\n distributed by that particular Contributor. A Contribution 'originates' from\n a Contributor if it was added to the Program by such Contributor itself or\n anyone acting on such Contributor's behalf. Contributions do not include\n additions to the Program which: (i) are separate modules of software\n distributed in conjunction with the Program under their own license\n agreement, and (ii) are not derivative works of the Program.\n\n\"Contributor\" means any person or entity that distributes the Program.\n\n\"Licensed Patents \" mean patent claims licensable by a Contributor which are\nnecessarily infringed by the use or sale of its Contribution alone or when\ncombined with the Program.\n\n\"Program\" means the Contributions distributed in accordance with this Agreement.\n\n\"Recipient\" means anyone who receives the Program under this Agreement, including\nall Contributors.\n\n2. GRANT OF RIGHTS\n\n a) Subject to the terms of this Agreement, each Contributor hereby grants\n Recipient a non-exclusive, worldwide, royalty-free copyright license to\n reproduce, prepare derivative works of, publicly display, publicly perform,\n distribute and sublicense the Contribution of such Contributor, if any, and\n such derivative works, in source code and object code form.\n\n b) Subject to the terms of this Agreement, each Contributor hereby grants\n Recipient a non-exclusive, worldwide, royalty-free patent license under\n Licensed Patents to make, use, sell, offer to sell, import and otherwise\n transfer the Contribution of such Contributor, if any, in source code and\n object code form. This patent license shall apply to the combination of the\n Contribution and the Program if, at the time the Contribution is added by\n the Contributor, such addition of the Contribution causes such combination\n to be covered by the Licensed Patents. The patent license shall not apply to\n any other combinations which include the Contribution. No hardware per se is\n licensed hereunder.\n\n c) Recipient understands that although each Contributor grants the licenses\n to its Contributions set forth herein, no assurances are provided by any\n Contributor that the Program does not infringe the patent or other\n intellectual property rights of any other entity. Each Contributor disclaims\n any liability to Recipient for claims brought by any other entity based on\n infringement of intellectual property rights or otherwise. As a condition to\n exercising the rights and licenses granted hereunder, each Recipient hereby\n assumes sole responsibility to secure any other intellectual property rights\n needed, if any. For example, if a third party patent license is required to\n allow Recipient to distribute the Program, it is Recipient's responsibility\n to acquire that license before distributing the Program.\n\n d) Each Contributor represents that to its knowledge it has sufficient\n copyright rights in its Contribution, if any, to grant the copyright license\n set forth in this Agreement.\n\n3. REQUIREMENTS\n\nA Contributor may choose to distribute the Program in object code form under its\nown license agreement, provided that:\n\n a) it complies with the terms and conditions of this Agreement; and\n\n b) its license agreement:\n\n i) effectively disclaims on behalf of all Contributors all warranties and\n conditions, express and implied, including warranties or conditions of title\n and non-infringement, and implied warranties or conditions of merchantability\n and fitness for a particular purpose;\n\n ii) effectively excludes on behalf of all Contributors all liability for\n damages, including direct, indirect, special, incidental and consequential\n damages, such as lost profits;\n\n iii) states that any provisions which differ from this Agreement are offered\n by that Contributor alone and not by any other party; and\n\n iv) states that source code for the Program is available from such Contributor,\n and informs licensees how to obtain it in a reasonable manner on or through\n a medium customarily used for software exchange. \n\nWhen the Program is made available in source code form:\n\n a) it must be made available under this Agreement; and\n\n b) a copy of this Agreement must be included with each copy of the Program. \n\nContributors may not remove or alter any copyright notices contained within the Program.\n\nEach Contributor must identify itself as the originator of its Contribution, if\nany, in a manner that reasonably allows subsequent Recipients to identify the\noriginator of the Contribution.\n\n4. COMMERCIAL DISTRIBUTION\n\nCommercial distributors of software may accept certain responsibilities with\nrespect to end users, business partners and the like. While this license is\nintended to facilitate the commercial use of the Program, the Contributor who\nincludes the Program in a commercial product offering should do so in a manner\nwhich does not create potential liability for other Contributors. Therefore, if\na Contributor includes the Program in a commercial product offering, such\nContributor (\"Commercial Contributor\") hereby agrees to defend and indemnify\nevery other Contributor (\"Indemnified Contributor\") against any losses, damages\nand costs (collectively \"Losses\") arising from claims, lawsuits and other legal\nactions brought by a third party against the Indemnified Contributor to the\nextent caused by the acts or omissions of such Commercial Contributor in\nconnection with its distribution of the Program in a commercial product offering.\nThe obligations in this section do not apply to any claims or Losses relating to\nany actual or alleged intellectual property infringement. In order to qualify,\nan Indemnified Contributor must: a) promptly notify the Commercial Contributor \n[n] writing of such claim, and b) allow the Commercial Contributor to control,\nand cooperate with the Commercial Contributor in, the defense and any related\nsettlement negotiations. The Indemnified Contributor may participate in any such\nclaim at its own expense.\n\nFor example, a Contributor might include the Program in a commercial product\noffering, Product X. That Contributor is then a Commercial Contributor. If that\nCommercial Contributor then makes performance claims, or offers warranties\nrelated to Product X, those performance claims and warranties are such Commercial\nContributor's responsibility alone. Under this section, the Commercial\nContributor would have to defend claims against the other Contributors related\nto those performance claims and warranties, and if a court requires any other\nContributor to pay any damages as a result, the Commercial Contributor must pay\nthose damages.\n\n5. NO WARRANTY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR\nIMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,\nNON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each\nRecipient is solely responsible for determining the appropriateness of using\nand distributing the Program and assumes all risks associated with its exercise\nof rights under this Agreement, including but not limited to the risks and costs\nof program errors, compliance with applicable laws, damage to or loss of data,\nprograms or equipment, and unavailability or interruption of operations.\n\n6. DISCLAIMER OF LIABILITY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY\nCONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST\nPROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\nSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY\nWAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS\nGRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n7. GENERAL\n\nIf any provision of this Agreement is invalid or unenforceable under applicable\nlaw, it shall not affect the validity or enforceability of the remainder of the\nterms of this Agreement, and without further action by the parties hereto, such\nprovision shall be reformed to the minimum extent necessary to make such\nprovision valid and enforceable.\n\nIf Recipient institutes patent litigation against a Contributor with respect to\na patent applicable to software (including a cross-claim or counterclaim in a\nlawsuit), then any patent licenses granted by that Contributor to such Recipient\nunder this Agreement shall terminate as of the date such litigation is filed.\nIn addition, if Recipient institutes patent litigation against any entity\n(including a cross-claim or counterclaim in a lawsuit) alleging that the Program\nitself (excluding combinations of the Program with other software or hardware)\ninfringes such Recipient's patent(s), then such Recipient's rights granted under\nSection 2(b) shall terminate as of the date such litigation is filed.\n\nAll Recipient's rights under this Agreement shall terminate if it fails to comply\nwith any of the material terms or conditions of this Agreement and does not cure\nsuch failure in a reasonable period of time after becoming aware of such\nnoncompliance. If all Recipient's rights under this Agreement terminate, Recipient\nagrees to cease use and distribution of the Program as soon as reasonably\npracticable. However, Recipient's obligations under this Agreement and any\nlicenses granted by Recipient relating to the Program shall continue and survive.\n\nEveryone is permitted to copy and distribute copies of this Agreement, but in\norder to avoid inconsistency the Agreement is copyrighted and may only be modified\nin the following manner. The Agreement Steward reserves the right to publish new\nversions (including revisions) of this Agreement from time to time. No one other\nthan the Agreement Steward has the right to modify this Agreement. IBM is the\ninitial Agreement Steward. IBM may assign the responsibility to serve as the\nAgreement Steward to a suitable separate entity. Each new version of the Agreement\nwill be given a distinguishing version number. The Program (including Contributions)\nmay always be distributed subject to the version of the Agreement under which it\nwas received. In addition, after a new version of the Agreement is published,\nContributor may elect to distribute the Program (including its Contributions)\nunder the new version. Except as expressly stated in Sections 2(a) and 2(b) above,\nRecipient receives no rights or licenses to the intellectual property of any\nContributor under this Agreement, whether expressly, by implication, estoppel or\notherwise. All rights in the Program not expressly granted under this Agreement\nare reserved.\n\nThis Agreement is governed by the laws of the State of New York and the\nintellectual property laws of the United States of America. No party to this\nAgreement will bring a legal action under this Agreement more than one year after\nthe cause of action arose. Each party waives its rights to a jury trial in any\nresulting litigation" + "license_expression": "cpl-1.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.94, + "start_line": 1, + "end_line": 212, + "matched_length": 1720, + "match_coverage": 99.94, + "matcher": "3-seq", + "license_expression": "cpl-1.0", + "rule_identifier": "cpl-1.0.SPDX.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0.SPDX.RULE" + } + ] } ], - "license_expressions": [ - "cpl-1.0" + "license_clues": [], + "percentage_of_license_text": 99.94, + "for_licenses": [ + "e94b4a5e-6c2f-2338-2bcb-9775b84aaf9c" ], - "holders": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "cpl-1.0", "count": 1 @@ -1991,9 +3155,10 @@ "base_name": "lgpl", "extension": ".txt", "size": 26934, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "8f1a637d2e2ed1bdb9eb01a7dccb5c12cc0557e1", "md5": "f14599a2f089f6ff8c97e2baa4e3d575", + "sha256": "885a03f54b157961236f46843e79972abfcd6890b6cbb368bc7eca328ff95a12", "mime_type": "text/plain", "file_type": "ASCII text, with CRLF line terminators", "programming_language": null, @@ -2003,86 +3168,73 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [ + "detected_license_expression": "lgpl-2.1", + "detected_license_expression_spdx": "LGPL-2.1-only", + "license_detections": [ { - "key": "lgpl-2.1-plus", - "score": 100.0, - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later", - "start_line": 1, - "end_line": 502, - "matched_rule": { - "identifier": "lgpl-2.1-plus_2.RULE", - "license_expression": "lgpl-2.1-plus", - "licenses": [ - "lgpl-2.1-plus" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "1-hash", - "rule_length": 4415, - "matched_length": 4415, - "match_coverage": 100.0, - "rule_relevance": 100 - }, - "matched_text": "GNU LESSER GENERAL PUBLIC LICENSE\n\t\t Version 2.1, February 1999\n\n Copyright (C) 1991, 1999 Free Software Foundation, Inc.\n 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\n as the successor of the GNU Library Public License, version 2, hence\n the version number 2.1.]\n\n\t\t\t Preamble\n\n The licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\n This license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\n When we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\n To protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\n For example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\n We protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\n To protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\f\n Finally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\n Most GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\n When a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\n We call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\n For example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\n In other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\n Although the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\n The precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\f\n\t\t GNU LESSER GENERAL PUBLIC LICENSE\n TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n 0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\n A \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\n The \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n \"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\n Activities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n \n 1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\n You may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\f\n 2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n a) The modified work must itself be a software library.\n\n b) You must cause the files modified to carry prominent notices\n stating that you changed the files and the date of any change.\n\n c) You must cause the whole of the work to be licensed at no\n charge to all third parties under the terms of this License.\n\n d) If a facility in the modified Library refers to a function or a\n table of data to be supplied by an application program that uses\n the facility, other than as an argument passed when the facility\n is invoked, then you must make a good faith effort to ensure that,\n in the event an application does not supply such function or\n table, the facility still operates, and performs whatever part of\n its purpose remains meaningful.\n\n (For example, a function in a library to compute square roots has\n a purpose that is entirely well-defined independent of the\n application. Therefore, Subsection 2d requires that any\n application-supplied function or table used by this function must\n be optional: if the application does not supply it, the square\n root function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n 3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\f\n Once this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\n This option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n 4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\n If distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n 5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\n However, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\n When a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\n If such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\n Otherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\f\n 6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\n You must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\n a) Accompany the work with the complete corresponding\n machine-readable source code for the Library including whatever\n changes were used in the work (which must be distributed under\n Sections 1 and 2 above); and, if the work is an executable linked\n with the Library, with the complete machine-readable \"work that\n uses the Library\", as object code and/or source code, so that the\n user can modify the Library and then relink to produce a modified\n executable containing the modified Library. (It is understood\n that the user who changes the contents of definitions files in the\n Library will not necessarily be able to recompile the application\n to use the modified definitions.)\n\n b) Use a suitable shared library mechanism for linking with the\n Library. A suitable mechanism is one that (1) uses at run time a\n copy of the library already present on the user's computer system,\n rather than copying library functions into the executable, and (2)\n will operate properly with a modified version of the library, if\n the user installs one, as long as the modified version is\n interface-compatible with the version that the work was made with.\n\n c) Accompany the work with a written offer, valid for at\n least three years, to give the same user the materials\n specified in Subsection 6a, above, for a charge no more\n than the cost of performing this distribution.\n\n d) If distribution of the work is made by offering access to copy\n from a designated place, offer equivalent access to copy the above\n specified materials from the same place.\n\n e) Verify that the user has already received a copy of these\n materials or that you have already sent this user a copy.\n\n For an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\n It may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\f\n 7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\n a) Accompany the combined library with a copy of the same work\n based on the Library, uncombined with any other library\n facilities. This must be distributed under the terms of the\n Sections above.\n\n b) Give prominent notice with the combined library of the fact\n that part of it is a work based on the Library, and explaining\n where to find the accompanying uncombined form of the same work.\n\n 8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n 9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n 10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\f\n 11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n 12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n 13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\f\n 14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\n\t\t\t NO WARRANTY\n\n 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\n\t\t END OF TERMS AND CONDITIONS\n\f\n How to Apply These Terms to Your New Libraries\n\n If you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\n To apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\n Yoyodyne, Inc., hereby disclaims all copyright interest in the\n library `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n , 1 April 1990\n Ty Coon, President of Vice\n\nThat's all there is to it" + "license_expression": "lgpl-2.1", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 502, + "matched_length": 4288, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "lgpl-2.1", + "rule_identifier": "lgpl-2.1_101.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_101.RULE" + } + ] } ], - "license_expressions": [ - "lgpl-2.1-plus" + "license_clues": [], + "percentage_of_license_text": 100.0, + "for_licenses": [ + "f6dd3eec-ee92-36cb-d069-447bea303c02" ], - "holders": [ + "copyrights": [ { - "holder": "Free Software Foundation, Inc.", + "copyright": "Copyright (c) 1991, 1999 Free Software Foundation, Inc.", "start_line": 4, - "end_line": 6 + "end_line": 4 }, { - "value": "the Free Software Foundation", - "start_line": 428, - "end_line": 433 + "copyright": "copyrighted by the Free Software Foundation", + "start_line": 429, + "end_line": 429 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 1991, 1999 Free Software Foundation, Inc.", + "holder": "Free Software Foundation, Inc.", "start_line": 4, - "end_line": 6 + "end_line": 4 }, { - "copyright": "copyrighted by the Free Software Foundation", - "start_line": 428, - "end_line": 433 + "holder": "the Free Software Foundation", + "start_line": 429, + "end_line": 429 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { - "value": "lgpl-2.1-plus", + "value": "lgpl-2.1", "count": 1 } ], @@ -2098,7 +3250,7 @@ ], "holders": [ { - "value": "Free Software Foundation, Inc.", + "value": "Free Software Foundation", "count": 2 } ], @@ -2130,6 +3282,7 @@ "date": null, "sha1": null, "md5": null, + "sha256": null, "mime_type": null, "file_type": null, "programming_language": null, @@ -2139,37 +3292,41 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "lgpl-2.1-plus", "count": 3 }, { "value": null, - "count": 2 + "count": 1 }, { - "value": "public-domain", - "count": 2 + "value": "cc-by-2.5", + "count": 1 }, { - "value": "cc-by-2.5", + "value": "public-domain AND public-domain-disclaimer", "count": 1 } ], @@ -2262,11 +3419,12 @@ "base_name": "FixedMembershipToken", "extension": ".java", "size": 5144, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "5901f73dcc78155a1a2c7b5663a3a11fba400b19", "md5": "aca9640ec8beee21b098bcf8ecc91442", - "mime_type": "text/plain", - "file_type": "ASCII text", + "sha256": "aac525060867f5004c7343690f1c197c9a678b334d402e0e9fd117c8b2df73f2", + "mime_type": "text/x-java", + "file_type": "Java source, ASCII text", "programming_language": "Java", "is_binary": false, "is_text": true, @@ -2274,57 +3432,46 @@ "is_media": false, "is_source": true, "is_script": false, - "licenses": [ + "detected_license_expression": "lgpl-2.1-plus", + "detected_license_expression_spdx": "LGPL-2.1-or-later", + "license_detections": [ { - "key": "lgpl-2.1-plus", - "score": 100.0, - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later", - "start_line": 7, - "end_line": 20, - "matched_rule": { - "identifier": "lgpl-2.1-plus_59.RULE", - "license_expression": "lgpl-2.1-plus", - "licenses": [ - "lgpl-2.1-plus" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 127, - "matched_length": 127, - "match_coverage": 100.0, - "rule_relevance": 100 - }, - "matched_text": "This is free software; you can redistribute it and/or modify it\n * 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 * 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. 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 software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org" + "license_expression": "lgpl-2.1-plus", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 20, + "matched_length": 125, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" + } + ] } ], - "license_expressions": [ - "lgpl-2.1-plus" + "license_clues": [], + "percentage_of_license_text": 23.41, + "for_licenses": [ + "512a55a0-6eb0-f619-44db-02f4c4f0765d" ], - "holders": [ + "copyrights": [ { - "holder": "JBoss Inc., and individual contributors", + "copyright": "Copyright 2005, JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright 2005, JBoss Inc., and individual contributors", + "holder": "JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [ @@ -2334,7 +3481,8 @@ "end_line": 51 } ], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [ { "email": "millsy@jboss.com", @@ -2349,17 +3497,14 @@ "end_line": 20 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "lgpl-2.1-plus", "count": 1 @@ -2402,11 +3547,12 @@ "base_name": "GuardedBy", "extension": ".java", "size": 813, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "981d67087e65e9a44957c026d4b10817cf77d966", "md5": "c5064400f759d3e81771005051d17dc1", - "mime_type": "text/plain", - "file_type": "ASCII text", + "sha256": "7c3e384429f27692534184e1511f70416c04c3f0b30be632710101840996695a", + "mime_type": "text/x-java", + "file_type": "Java source, ASCII text", "programming_language": "Java", "is_binary": false, "is_text": true, @@ -2414,67 +3560,57 @@ "is_media": false, "is_source": true, "is_script": false, - "licenses": [ - { - "key": "cc-by-2.5", - "score": 82.0, - "name": "Creative Commons Attribution License 2.5", - "short_name": "CC-BY-2.5", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by/2.5/", - "text_url": "http://creativecommons.org/licenses/by/2.5/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-2.5", - "spdx_license_key": "CC-BY-2.5", - "spdx_url": "https://spdx.org/licenses/CC-BY-2.5", - "start_line": 10, - "end_line": 11, - "matched_rule": { - "identifier": "cc-by-2.5_4.RULE", - "license_expression": "cc-by-2.5", - "licenses": [ - "cc-by-2.5" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 14, - "matched_length": 14, - "match_coverage": 100.0, - "rule_relevance": 82 - }, - "matched_text": "Released under the Creative Commons Attribution License\n * (http://creativecommons.org/licenses/by/2.5" + "detected_license_expression": "cc-by-2.5", + "detected_license_expression_spdx": "CC-BY-2.5", + "license_detections": [ + { + "license_expression": "cc-by-2.5", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 10, + "end_line": 11, + "matched_length": 14, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" + } + ] } ], - "license_expressions": [ - "cc-by-2.5" + "license_clues": [], + "percentage_of_license_text": 12.96, + "for_licenses": [ + "5a42c371-1b5b-60b5-5e09-9d443b5f0947" ], - "holders": [ + "copyrights": [ { - "holder": "Brian Goetz and Tim Peierls", + "copyright": "Copyright (c) 2005 Brian Goetz and Tim Peierls", "start_line": 9, - "end_line": 11 + "end_line": 9 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 2005 Brian Goetz and Tim Peierls", + "holder": "Brian Goetz and Tim Peierls", "start_line": 9, - "end_line": 11 + "end_line": 9 } ], "authors": [ { "author": "Bela Ban", - "start_line": 15, - "end_line": 17 + "start_line": 16, + "end_line": 16 } ], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [ { @@ -2488,17 +3624,14 @@ "end_line": 12 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "cc-by-2.5", "count": 1 @@ -2541,9 +3674,10 @@ "base_name": "ImmutableReference", "extension": ".java", "size": 1838, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "30f56b876d5576d9869e2c5c509b08db57110592", "md5": "48ca3c72fb9a65c771a321222f118b88", + "sha256": "8a3fb390d4932a92c56e7b999b63b8e5ab55cbe81f65b27439296f279d160bd1", "mime_type": "text/plain", "file_type": "ASCII text", "programming_language": "Java", @@ -2553,57 +3687,46 @@ "is_media": false, "is_source": true, "is_script": false, - "licenses": [ + "detected_license_expression": "lgpl-2.1-plus", + "detected_license_expression_spdx": "LGPL-2.1-or-later", + "license_detections": [ { - "key": "lgpl-2.1-plus", - "score": 100.0, - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later", - "start_line": 7, - "end_line": 20, - "matched_rule": { - "identifier": "lgpl-2.1-plus_59.RULE", - "license_expression": "lgpl-2.1-plus", - "licenses": [ - "lgpl-2.1-plus" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 127, - "matched_length": 127, - "match_coverage": 100.0, - "rule_relevance": 100 - }, - "matched_text": "This is free software; you can redistribute it and/or modify it\n * 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 * 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. 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 software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org" + "license_expression": "lgpl-2.1-plus", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 20, + "matched_length": 125, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" + } + ] } ], - "license_expressions": [ - "lgpl-2.1-plus" + "license_clues": [], + "percentage_of_license_text": 48.83, + "for_licenses": [ + "512a55a0-6eb0-f619-44db-02f4c4f0765d" ], - "holders": [ + "copyrights": [ { - "holder": "Red Hat, Inc. and individual contributors", + "copyright": "Copyright 2010, Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright 2010, Red Hat, Inc. and individual contributors", + "holder": "Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [ @@ -2613,7 +3736,8 @@ "end_line": 29 } ], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [ { @@ -2622,17 +3746,14 @@ "end_line": 20 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "lgpl-2.1-plus", "count": 1 @@ -2675,11 +3796,12 @@ "base_name": "RATE_LIMITER", "extension": ".java", "size": 3692, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "a8087e5d50da3273536ebda9b87b77aa4ff55deb", "md5": "4626bdbc48871b55513e1a12991c61a8", - "mime_type": "text/plain", - "file_type": "ASCII text", + "sha256": "80709043c6c1f4fbd6e7a43c9381da034ab9b67e2e6fee80973a0d4fd33664e0", + "mime_type": "text/x-java", + "file_type": "Java source, ASCII text", "programming_language": "Java", "is_binary": false, "is_text": true, @@ -2687,31 +3809,33 @@ "is_media": false, "is_source": true, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [ { "author": "Bela Ban", "start_line": 16, - "end_line": 17 + "end_line": 16 } ], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": null, "count": 1 @@ -2754,11 +3878,12 @@ "base_name": "RouterStub", "extension": ".java", "size": 9913, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "c1f6818f8ee7bddcc9f444bc94c099729d716d52", "md5": "eecfe23494acbcd8088c93bc1e83c7f2", - "mime_type": "text/plain", - "file_type": "ASCII text", + "sha256": "f212de138e8cb0b7eb13521d8ed2620bc41af55093b857da753d7753b1d3438d", + "mime_type": "text/x-java", + "file_type": "Java source, ASCII text", "programming_language": "Java", "is_binary": false, "is_text": true, @@ -2766,18 +3891,23 @@ "is_media": false, "is_source": true, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [ { "author": "Bela Ban", "start_line": 23, - "end_line": 24 + "end_line": 23 } ], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [ { @@ -2786,17 +3916,14 @@ "end_line": 232 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": null, "count": 1 @@ -2839,11 +3966,12 @@ "base_name": "RouterStubManager", "extension": ".java", "size": 8162, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "eb419dc94cfe11ca318a3e743a7f9f080e70c751", "md5": "20bee9631b7c82a45c250e095352aec7", - "mime_type": "text/plain", - "file_type": "ASCII text", + "sha256": "c39a40d4057256a8fe70f2b69e5f940edcaf8b377b546d537e799ecff3f58b81", + "mime_type": "text/x-java", + "file_type": "Java source, ASCII text", "programming_language": "Java", "is_binary": false, "is_text": true, @@ -2851,61 +3979,51 @@ "is_media": false, "is_source": true, "is_script": false, - "licenses": [ + "detected_license_expression": "lgpl-2.1-plus", + "detected_license_expression_spdx": "LGPL-2.1-or-later", + "license_detections": [ { - "key": "lgpl-2.1-plus", - "score": 100.0, - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later", - "start_line": 7, - "end_line": 20, - "matched_rule": { - "identifier": "lgpl-2.1-plus_59.RULE", - "license_expression": "lgpl-2.1-plus", - "licenses": [ - "lgpl-2.1-plus" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 127, - "matched_length": 127, - "match_coverage": 100.0, - "rule_relevance": 100 - }, - "matched_text": "This is free software; you can redistribute it and/or modify it\n * 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 * 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. 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 software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org" + "license_expression": "lgpl-2.1-plus", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 20, + "matched_length": 125, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" + } + ] } ], - "license_expressions": [ - "lgpl-2.1-plus" + "license_clues": [], + "percentage_of_license_text": 17.03, + "for_licenses": [ + "512a55a0-6eb0-f619-44db-02f4c4f0765d" ], - "holders": [ + "copyrights": [ { - "holder": "Red Hat Middleware LLC, and individual contributors", + "copyright": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", + "holder": "Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [ { @@ -2914,17 +4032,14 @@ "end_line": 20 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "lgpl-2.1-plus", "count": 1 @@ -2967,11 +4082,12 @@ "base_name": "S3_PING", "extension": ".java", "size": 122528, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "08dba9986f69719970ead3592dc565465164df0d", "md5": "83d8324f37d0e3f120bc89865cf0bd39", - "mime_type": "text/plain", - "file_type": "ASCII text", + "sha256": "c4d59a8837c6320788c74496201e3ecc0ff2100525ebb727bcae6d855b34c548", + "mime_type": "text/x-java", + "file_type": "Java source, ASCII text", "programming_language": "Java", "is_binary": false, "is_text": true, @@ -2979,100 +4095,76 @@ "is_media": false, "is_source": true, "is_script": false, - "licenses": [ - { - "key": "public-domain", - "score": 50.0, - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": null, - "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", - "spdx_license_key": "", - "spdx_url": null, - "start_line": 1649, - "end_line": 1649, - "matched_rule": { - "identifier": "public-domain_79.RULE", - "license_expression": "public-domain", - "licenses": [ - "public-domain" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 2, - "matched_length": 2, - "match_coverage": 100.0, - "rule_relevance": 50 - }, - "matched_text": "public domain" + "detected_license_expression": "public-domain AND public-domain-disclaimer", + "detected_license_expression_spdx": "LicenseRef-scancode-public-domain AND LicenseRef-scancode-public-domain-disclaimer", + "license_detections": [ + { + "license_expression": "public-domain", + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 70.0, + "start_line": 1649, + "end_line": 1649, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "public-domain", + "rule_identifier": "public-domain_bare_words.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/public-domain_bare_words.RULE" + } + ] }, { - "key": "public-domain", - "score": 50.0, - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": null, - "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", - "spdx_license_key": "", - "spdx_url": null, - "start_line": 1692, - "end_line": 1692, - "matched_rule": { - "identifier": "public-domain_79.RULE", - "license_expression": "public-domain", - "licenses": [ - "public-domain" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 2, - "matched_length": 2, - "match_coverage": 100.0, - "rule_relevance": 50 - }, - "matched_text": "Public Domain" + "license_expression": "public-domain-disclaimer", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1692, + "end_line": 1694, + "matched_length": 30, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "public-domain-disclaimer", + "rule_identifier": "public-domain-disclaimer_77.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/public-domain-disclaimer_77.RULE" + } + ] } ], - "license_expressions": [ - "public-domain", - "public-domain" + "license_clues": [], + "percentage_of_license_text": 0.27, + "for_licenses": [ + "f7b053b0-5616-3e15-9100-a1a22231c3d8", + "0a390f49-b04d-c926-5b31-35877b9c53a7" ], - "holders": [], "copyrights": [], + "holders": [], "authors": [ { "author": "Bela Ban", - "start_line": 35, - "end_line": 38 + "start_line": 37, + "end_line": 37 }, { "author": "Robert Harder", "start_line": 1698, - "end_line": 1700 + "end_line": 1698 }, { "author": "rob@iharder.net", - "start_line": 1698, - "end_line": 1700 + "start_line": 1699, + "end_line": 1699 } ], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [ { "email": "rob@iharder.net", @@ -3092,20 +4184,17 @@ "end_line": 1695 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { - "value": "public-domain", - "count": 2 + "value": "public-domain AND public-domain-disclaimer", + "count": 1 } ], "copyrights": [ @@ -3156,6 +4245,7 @@ "date": null, "sha1": null, "md5": null, + "sha256": null, "mime_type": null, "file_type": null, "programming_language": null, @@ -3165,26 +4255,30 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": true, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "zlib", - "count": 10 + "count": 9 }, { "value": "boost-1.0", @@ -3192,14 +4286,14 @@ }, { "value": null, - "count": 2 + "count": 1 }, { - "value": "cmr-no", + "value": "gpl-2.0-plus WITH ada-linking-exception", "count": 1 }, { - "value": "gpl-2.0-plus WITH ada-linking-exception", + "value": "mit-old-style", "count": 1 } ], @@ -3222,7 +4316,7 @@ }, { "value": "(c) Copyright Henrik Ravn", - "count": 2 + "count": 1 }, { "value": "Copyright (c) Christian Michelsen Research AS Advanced Computing", @@ -3233,7 +4327,11 @@ "count": 1 }, { - "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant.", + "value": "Copyright (c) Henrik Ravn", + "count": 1 + }, + { + "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant", "count": 1 }, { @@ -3271,7 +4369,7 @@ "count": 1 }, { - "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant.", + "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant", "count": 1 } ], @@ -3285,23 +4383,23 @@ "count": 1 }, { - "value": "Leonid Broukhis.", + "value": "Leonid Broukhis", "count": 1 } ], "programming_language": [ { - "value": "C++", - "count": 10 - }, - { - "value": null, - "count": 3 + "value": "C", + "count": 9 }, { "value": "C#", "count": 2 }, + { + "value": "C++", + "count": 1 + }, { "value": "GAS", "count": 1 @@ -3320,86 +4418,85 @@ "base_name": "adler32", "extension": ".c", "size": 4968, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "0cff4808476ce0b5f6f0ebbc69ee2ab2a0eebe43", "md5": "ae3bbb54820e1d49fb90cbba222e973f", + "sha256": "341d49ae2703037d2d10c8486f1a1ca3b65e0f10cc9e5fead6bfbbc0b34564ba", "mime_type": "text/x-c", "file_type": "C source, ASCII text", - "programming_language": "C++", + "programming_language": "C", "is_binary": false, "is_text": true, "is_archive": false, "is_media": false, "is_source": true, "is_script": false, - "licenses": [ + "detected_license_expression": "zlib", + "detected_license_expression_spdx": "Zlib", + "license_detections": [ { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 12, - "matched_length": 12, - "match_coverage": 100.0, - "rule_relevance": 70 - }, - "matched_text": "For conditions of distribution and use, see copyright notice in zlib.h" + "license_expression": "zlib", + "detection_log": [ + "unknown-reference-to-local-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + }, + { + "score": 100.0, + "start_line": 6, + "end_line": 23, + "matched_length": 144, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" + } + ] } ], - "license_expressions": [ - "zlib" + "license_clues": [], + "percentage_of_license_text": 2.06, + "for_licenses": [ + "1d1a3779-8597-ca5f-0160-cc3bdecf2879" ], - "holders": [ + "copyrights": [ { - "holder": "Mark Adler", + "copyright": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 1995-2011 Mark Adler", + "holder": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "zlib", "count": 1 @@ -3425,7 +4522,7 @@ ], "programming_language": [ { - "value": "C++", + "value": "C", "count": 1 } ] @@ -3442,89 +4539,91 @@ "base_name": "deflate", "extension": ".c", "size": 71476, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "7b4ace6d698c5dbbfb9a8f047f63228ca54d2e77", "md5": "cd7826278ce9d9d9ed5abdefef50c3e2", + "sha256": "565e68ddfff5af8efd55f71e122b860ad11527a7d9de40a76af2b16afef24cc0", "mime_type": "text/x-c", "file_type": "C source, ASCII text", - "programming_language": "C++", + "programming_language": "C", "is_binary": false, "is_text": true, "is_archive": false, "is_media": false, "is_source": true, "is_script": false, - "licenses": [ + "detected_license_expression": "zlib", + "detected_license_expression_spdx": "Zlib", + "license_detections": [ { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 12, - "matched_length": 12, - "match_coverage": 100.0, - "rule_relevance": 70 - }, - "matched_text": "For conditions of distribution and use, see copyright notice in zlib.h" + "license_expression": "zlib", + "detection_log": [ + "unknown-reference-to-local-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + }, + { + "score": 100.0, + "start_line": 6, + "end_line": 23, + "matched_length": 144, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" + } + ] } ], - "license_expressions": [ - "zlib" + "license_clues": [], + "percentage_of_license_text": 0.13, + "for_licenses": [ + "1d1a3779-8597-ca5f-0160-cc3bdecf2879" ], - "holders": [ + "copyrights": [ { - "holder": "Jean-loup Gailly and Mark Adler", + "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 }, { - "holder": "Jean-loup Gailly and Mark Adler", - "start_line": 54, + "copyright": "Copyright 1995-2013 Jean-loup Gailly and Mark Adler", + "start_line": 55, "end_line": 55 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", + "holder": "Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 }, { - "copyright": "Copyright 1995-2013 Jean-loup Gailly and Mark Adler", - "start_line": 54, + "holder": "Jean-loup Gailly and Mark Adler", + "start_line": 55, "end_line": 55 } ], "authors": [ { - "author": "Leonid Broukhis.", + "author": "Leonid Broukhis", "start_line": 34, - "end_line": 35 + "end_line": 34 } ], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [ { @@ -3533,17 +4632,14 @@ "end_line": 40 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "zlib", "count": 1 @@ -3563,13 +4659,13 @@ ], "authors": [ { - "value": "Leonid Broukhis.", + "value": "Leonid Broukhis", "count": 1 } ], "programming_language": [ { - "value": "C++", + "value": "C", "count": 1 } ] @@ -3586,124 +4682,134 @@ "base_name": "deflate", "extension": ".h", "size": 12774, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "29ed3b8ca3927576e5889dea5880ca0052942c7d", "md5": "7ceae74a13201f14c91623116af169c3", + "sha256": "80570c8052491bdc7583600da28a8f1cb32c27ab1cec107ec12c83255d426cf7", "mime_type": "text/x-c", "file_type": "C source, ASCII text", - "programming_language": "C++", + "programming_language": "C", "is_binary": false, "is_text": true, "is_archive": false, "is_media": false, "is_source": true, "is_script": false, - "licenses": [ + "detected_license_expression": "zlib", + "detected_license_expression_spdx": "Zlib", + "license_detections": [ { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 12, - "matched_length": 12, - "match_coverage": 100.0, - "rule_relevance": 70 - }, - "matched_text": "For conditions of distribution and use, see copyright notice in zlib.h" + "license_expression": "zlib", + "detection_log": [ + "unknown-reference-to-local-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + }, + { + "score": 100.0, + "start_line": 6, + "end_line": 23, + "matched_length": 144, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" + } + ] }, { - "key": "zlib", - "score": 100.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 93, - "end_line": 94, - "matched_rule": { - "identifier": "zlib_21.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 29, - "matched_length": 29, - "match_coverage": 100.0, - "rule_relevance": 100 - }, - "matched_text": "A Pos is an index in the character window. We use short instead of int to\n * save space in the various tables. IPos is used only for parameter passing" + "license_expression": "zlib", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 93, + "end_line": 94, + "matched_length": 28, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_21.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_21.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 28, + "rule_relevance": 100, + "matched_text": "/* A Pos is an index in the character window. We use short instead of int to\n * save space in the various tables. IPos is used only for parameter passing.", + "licenses": [ + { + "key": "zlib", + "name": "ZLIB License", + "short_name": "ZLIB License", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "text_url": "http://www.gzip.org/zlib/zlib_license.html", + "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "spdx_license_key": "Zlib", + "spdx_url": "https://spdx.org/licenses/Zlib" + } + ] + } + ] } ], - "license_expressions": [ - "zlib", - "zlib" + "license_clues": [], + "percentage_of_license_text": 2.14, + "for_licenses": [ + "1d1a3779-8597-ca5f-0160-cc3bdecf2879", + "1d248a8d-7cf1-15dd-0f7c-5c63d5878bf9" ], - "holders": [ + "copyrights": [ { - "holder": "Jean-loup Gailly", + "copyright": "Copyright (c) 1995-2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 1995-2012 Jean-loup Gailly", + "holder": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "zlib", - "count": 2 + "count": 1 } ], "copyrights": [ @@ -3726,7 +4832,7 @@ ], "programming_language": [ { - "value": "C++", + "value": "C", "count": 1 } ] @@ -3743,73 +4849,64 @@ "base_name": "zlib", "extension": ".h", "size": 87883, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "400d35465f179a4acacb5fe749e6ce20a0bbdb84", "md5": "64d8a5180bd54ff5452886e4cbb21e14", + "sha256": "726b0569915917b967f87f3f08a1eec039101bf9dcc29d61c0b2b0b8f271b58d", "mime_type": "text/x-c", "file_type": "C source, ASCII text", - "programming_language": "C++", + "programming_language": "C", "is_binary": false, "is_text": true, "is_archive": false, "is_media": false, "is_source": true, "is_script": false, - "licenses": [ + "detected_license_expression": "zlib", + "detected_license_expression_spdx": "Zlib", + "license_detections": [ { - "key": "zlib", - "score": 100.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 6, - "end_line": 23, - "matched_rule": { - "identifier": "zlib_17.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 145, - "matched_length": 145, - "match_coverage": 100.0, - "rule_relevance": 100 - }, - "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\n Jean-loup Gailly Mark Adler\n jloup@gzip.org madler@alumni.caltech.edu" + "license_expression": "zlib", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 23, + "matched_length": 144, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" + } + ] } ], - "license_expressions": [ - "zlib" + "license_clues": [], + "percentage_of_license_text": 1.06, + "for_licenses": [ + "86cb4577-6510-3da7-2209-45fe39d3b847" ], - "holders": [ + "copyrights": [ { - "holder": "Jean-loup Gailly and Mark Adler", + "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", "start_line": 4, "end_line": 4 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", + "holder": "Jean-loup Gailly and Mark Adler", "start_line": 4, "end_line": 4 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [ { "email": "jloup@gzip.org", @@ -3829,17 +4926,14 @@ "end_line": 27 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "zlib", "count": 1 @@ -3865,7 +4959,7 @@ ], "programming_language": [ { - "value": "C++", + "value": "C", "count": 1 } ] @@ -3882,86 +4976,85 @@ "base_name": "zutil", "extension": ".c", "size": 7414, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "e1af709bff21ae0d4331119a7fc4c19f82932043", "md5": "fff257bc1656eb60fc585a7dc35f963d", + "sha256": "c5e9927d5a1a1dec514ccdcedfa1e0f01664c58bb33166b4997b50b8001f1d6c", "mime_type": "text/x-c", "file_type": "C source, ASCII text", - "programming_language": "C++", + "programming_language": "C", "is_binary": false, "is_text": true, "is_archive": false, "is_media": false, "is_source": true, "is_script": false, - "licenses": [ + "detected_license_expression": "zlib", + "detected_license_expression_spdx": "Zlib", + "license_detections": [ { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 12, - "matched_length": 12, - "match_coverage": 100.0, - "rule_relevance": 70 - }, - "matched_text": "For conditions of distribution and use, see copyright notice in zlib.h" + "license_expression": "zlib", + "detection_log": [ + "unknown-reference-to-local-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + }, + { + "score": 100.0, + "start_line": 6, + "end_line": 23, + "matched_length": 144, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" + } + ] } ], - "license_expressions": [ - "zlib" + "license_clues": [], + "percentage_of_license_text": 1.19, + "for_licenses": [ + "1d1a3779-8597-ca5f-0160-cc3bdecf2879" ], - "holders": [ + "copyrights": [ { - "holder": "Jean-loup Gailly.", + "copyright": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly.", + "holder": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "zlib", "count": 1 @@ -3969,13 +5062,13 @@ ], "copyrights": [ { - "value": "Copyright (c) Jean-loup Gailly.", + "value": "Copyright (c) Jean-loup Gailly", "count": 1 } ], "holders": [ { - "value": "Jean-loup Gailly.", + "value": "Jean-loup Gailly", "count": 1 } ], @@ -3987,7 +5080,7 @@ ], "programming_language": [ { - "value": "C++", + "value": "C", "count": 1 } ] @@ -4004,86 +5097,85 @@ "base_name": "zutil", "extension": ".h", "size": 6766, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "b909d27ef9ce51639f76b7ea6b62721e7d1b6bf7", "md5": "04fcfbb961591c9452c4d0fd1525ffdf", + "sha256": "91cce8e78e83bcdb8c6acb98d4f0686dbdc81ca97d4a36a60c0b48f7ef78f1af", "mime_type": "text/x-c", "file_type": "C source, ASCII text", - "programming_language": "C++", + "programming_language": "C", "is_binary": false, "is_text": true, "is_archive": false, "is_media": false, "is_source": true, "is_script": false, - "licenses": [ + "detected_license_expression": "zlib", + "detected_license_expression_spdx": "Zlib", + "license_detections": [ { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 12, - "matched_length": 12, - "match_coverage": 100.0, - "rule_relevance": 70 - }, - "matched_text": "For conditions of distribution and use, see copyright notice in zlib.h" + "license_expression": "zlib", + "detection_log": [ + "unknown-reference-to-local-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + }, + { + "score": 100.0, + "start_line": 6, + "end_line": 23, + "matched_length": 144, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" + } + ] } ], - "license_expressions": [ - "zlib" + "license_clues": [], + "percentage_of_license_text": 1.25, + "for_licenses": [ + "1d1a3779-8597-ca5f-0160-cc3bdecf2879" ], - "holders": [ + "copyrights": [ { - "holder": "Jean-loup Gailly.", + "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly.", + "holder": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "zlib", "count": 1 @@ -4091,13 +5183,13 @@ ], "copyrights": [ { - "value": "Copyright (c) Jean-loup Gailly.", + "value": "Copyright (c) Jean-loup Gailly", "count": 1 } ], "holders": [ { - "value": "Jean-loup Gailly.", + "value": "Jean-loup Gailly", "count": 1 } ], @@ -4109,7 +5201,7 @@ ], "programming_language": [ { - "value": "C++", + "value": "C", "count": 1 } ] @@ -4129,6 +5221,7 @@ "date": null, "sha1": null, "md5": null, + "sha256": null, "mime_type": null, "file_type": null, "programming_language": null, @@ -4138,23 +5231,31 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ + { + "value": null, + "count": 1 + }, { "value": "gpl-2.0-plus WITH ada-linking-exception", "count": 1 @@ -4178,12 +5279,7 @@ "count": 1 } ], - "programming_language": [ - { - "value": null, - "count": 1 - } - ] + "programming_language": [] }, "files_count": 1, "dirs_count": 0, @@ -4197,9 +5293,10 @@ "base_name": "zlib", "extension": ".ads", "size": 13594, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "0245a91806d804bf9f0907a3a001a141e9adb61b", "md5": "71de2670f2e588b51c62e7f6a9046399", + "sha256": "02634bec0d5e4c69d8d2859124380074a57de8d8bd928398379bfacc514236d2", "mime_type": "text/plain", "file_type": "ASCII text", "programming_language": null, @@ -4209,110 +5306,61 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [ - { - "key": "gpl-2.0-plus", - "score": 100.0, - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later", - "start_line": 6, - "end_line": 25, - "matched_rule": { - "identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "licenses": [ - "gpl-2.0-plus", - "ada-linking-exception" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 179, - "matched_length": 179, - "match_coverage": 100.0, - "rule_relevance": 100 - }, - "matched_text": "This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation, --\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable, --\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License" - }, + "detected_license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "detected_license_expression_spdx": "GPL-2.0-or-later WITH LicenseRef-scancode-ada-linking-exception", + "license_detections": [ { - "key": "ada-linking-exception", - "score": 100.0, - "name": "Ada linking exception to GPL 2.0 or later", - "short_name": "Ada linking exception to GPL 2.0 or later", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Dmitriy Anisimkov", - "homepage_url": null, - "text_url": null, - "reference_url": "https://scancode-licensedb.aboutcode.org/ada-linking-exception", - "spdx_license_key": "", - "spdx_url": null, - "start_line": 6, - "end_line": 25, - "matched_rule": { - "identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "licenses": [ - "gpl-2.0-plus", - "ada-linking-exception" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 179, - "matched_length": 179, - "match_coverage": 100.0, - "rule_relevance": 100 - }, - "matched_text": "This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation, --\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable, --\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License" + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 25, + "matched_length": 176, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" + } + ] } ], - "license_expressions": [ - "gpl-2.0-plus WITH ada-linking-exception" + "license_clues": [], + "percentage_of_license_text": 10.46, + "for_licenses": [ + "7982e625-db6d-b61d-9b0d-f82636bce009" ], - "holders": [ + "copyrights": [ { - "holder": "Dmitriy Anisimkov", + "copyright": "Copyright (c) 2002-2004 Dmitriy Anisimkov", "start_line": 4, "end_line": 4 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 2002-2004 Dmitriy Anisimkov", + "holder": "Dmitriy Anisimkov", "start_line": 4, "end_line": 4 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "gpl-2.0-plus WITH ada-linking-exception", "count": 1 @@ -4358,6 +5406,7 @@ "date": null, "sha1": null, "md5": null, + "sha256": null, "mime_type": null, "file_type": null, "programming_language": null, @@ -4367,23 +5416,27 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "boost-1.0", "count": 3 @@ -4394,12 +5447,16 @@ } ], "copyrights": [ + { + "value": null, + "count": 1 + }, { "value": "(c) Copyright Henrik Ravn", - "count": 2 + "count": 1 }, { - "value": null, + "value": "Copyright (c) Henrik Ravn", "count": 1 }, { @@ -4424,10 +5481,6 @@ } ], "programming_language": [ - { - "value": null, - "count": 2 - }, { "value": "C#", "count": 2 @@ -4446,9 +5499,10 @@ "base_name": "AssemblyInfo", "extension": ".cs", "size": 2500, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "9f1db1177b2e9a014f72bb3cd80be17133e06d16", "md5": "23d0d7c18846fc31655b6aa89b7c8038", + "sha256": "314afcfb339ea95f5431047b7ab24631b11c3532c7ce5dc2094ed0cf80a7c16d", "mime_type": "text/plain", "file_type": "ASCII text, with CRLF line terminators", "programming_language": "C#", @@ -4458,37 +5512,39 @@ "is_media": false, "is_source": true, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [ + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], + "copyrights": [ { - "holder": "Henrik Ravn", + "copyright": "Copyright (c) 2004 by Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 2004 by Henrik Ravn", + "holder": "Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": null, "count": 1 @@ -4531,11 +5587,12 @@ "base_name": "ChecksumImpl", "extension": ".cs", "size": 8040, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "3807a0e24a57b92ea301559cab7307b8eab52c51", "md5": "d01b3cb2e75da9b15f05b92b42f6bd33", - "mime_type": "text/plain", - "file_type": "ISO-8859 text, with CRLF line terminators", + "sha256": "e7c047a2c3bcf88d3d002ee3d2d05af414acf53cb4451efacc0f2e95a474ea0f", + "mime_type": "text/x-c++", + "file_type": "C++ source, ISO-8859 text, with CRLF line terminators", "programming_language": "C#", "is_binary": false, "is_text": true, @@ -4543,61 +5600,62 @@ "is_media": false, "is_source": true, "is_script": false, - "licenses": [ - { - "key": "boost-1.0", - "score": 92.59, - "name": "Boost Software License 1.0", - "short_name": "Boost 1.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "text_url": "http://www.boost.org/LICENSE_1_0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/boost-1.0", - "spdx_license_key": "BSL-1.0", - "spdx_url": "https://spdx.org/licenses/BSL-1.0", - "start_line": 4, - "end_line": 5, - "matched_rule": { - "identifier": "boost-1.0_1.RULE", - "license_expression": "boost-1.0", - "licenses": [ - "boost-1.0" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "3-seq", - "rule_length": 27, - "matched_length": 25, - "match_coverage": 92.59, - "rule_relevance": 100 - }, - "matched_text": "the Boost Software License, Version 1.0.\n// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt" + "detected_license_expression": "boost-1.0", + "detected_license_expression_spdx": "BSL-1.0", + "license_detections": [ + { + "license_expression": "boost-1.0", + "detection_log": [ + "unknown-reference-to-local-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 32, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" + }, + { + "score": 100.0, + "start_line": 1, + "end_line": 23, + "matched_length": 211, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/boost-1.0.LICENSE" + } + ] } ], - "license_expressions": [ - "boost-1.0" + "license_clues": [], + "percentage_of_license_text": 3.85, + "for_licenses": [ + "f42704ae-d553-edcc-f713-502abdad26c9" ], - "holders": [ + "copyrights": [ { - "holder": "Henrik Ravn", + "copyright": "(c) Copyright Henrik Ravn 2004", "start_line": 2, "end_line": 2 } ], - "copyrights": [ + "holders": [ { - "copyright": "(c) Copyright Henrik Ravn 2004", + "holder": "Henrik Ravn", "start_line": 2, "end_line": 2 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [ { @@ -4606,17 +5664,14 @@ "end_line": 5 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "boost-1.0", "count": 1 @@ -4659,9 +5714,10 @@ "base_name": "LICENSE_1_0", "extension": ".txt", "size": 1359, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "892b34f7865d90a6f949f50d95e49625a10bc7f0", "md5": "81543b22c36f10d20ac9712f8d80ef8d", + "sha256": "36266a8fd073568394cb81cdb2b124f7fdae2c64c1a7ed09db34b4d22efa2951", "mime_type": "text/plain", "file_type": "ASCII text, with CRLF line terminators", "programming_language": null, @@ -4671,62 +5727,49 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [ + "detected_license_expression": "boost-1.0", + "detected_license_expression_spdx": "BSL-1.0", + "license_detections": [ { - "key": "boost-1.0", - "score": 100.0, - "name": "Boost Software License 1.0", - "short_name": "Boost 1.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "text_url": "http://www.boost.org/LICENSE_1_0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/boost-1.0", - "spdx_license_key": "BSL-1.0", - "spdx_url": "https://spdx.org/licenses/BSL-1.0", - "start_line": 1, - "end_line": 23, - "matched_rule": { - "identifier": "boost-1.0.LICENSE", - "license_expression": "boost-1.0", - "licenses": [ - "boost-1.0" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "1-hash", - "rule_length": 214, - "matched_length": 214, - "match_coverage": 100.0, - "rule_relevance": 100 - }, - "matched_text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE" + "license_expression": "boost-1.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 23, + "matched_length": 211, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/boost-1.0.LICENSE" + } + ] } ], - "license_expressions": [ - "boost-1.0" + "license_clues": [], + "percentage_of_license_text": 100.0, + "for_licenses": [ + "fb14538c-aeb9-6b1a-3380-3216dcf60509" ], - "holders": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": true, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": true, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "boost-1.0", "count": 1 @@ -4769,9 +5812,10 @@ "base_name": "readme", "extension": ".txt", "size": 2358, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "b1229b826f0096808628474538cea8fec2922a9b", "md5": "1f20f3168ee63d90de033edac2ce383c", + "sha256": "d04972a91b1563fb4b7acab4b9ff2b84e57368953cc0596d5f5ea17d97315fd0", "mime_type": "text/plain", "file_type": "ASCII text, with CRLF line terminators", "programming_language": null, @@ -4781,61 +5825,121 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [ - { - "key": "boost-1.0", - "score": 77.78, - "name": "Boost Software License 1.0", - "short_name": "Boost 1.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "text_url": "http://www.boost.org/LICENSE_1_0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/boost-1.0", - "spdx_license_key": "BSL-1.0", - "spdx_url": "https://spdx.org/licenses/BSL-1.0", - "start_line": 57, - "end_line": 58, - "matched_rule": { - "identifier": "boost-1.0_1.RULE", - "license_expression": "boost-1.0", - "licenses": [ - "boost-1.0" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "3-seq", - "rule_length": 27, - "matched_length": 21, - "match_coverage": 77.78, - "rule_relevance": 100 - }, - "matched_text": "Version 1.0.\n(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt" + "detected_license_expression": "boost-1.0", + "detected_license_expression_spdx": "BSL-1.0", + "license_detections": [ + { + "license_expression": "boost-1.0", + "detection_log": [ + "unknown-reference-to-local-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 10, + "end_line": 10, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_225.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_225.RULE" + }, + { + "score": 100.0, + "start_line": 1, + "end_line": 23, + "matched_length": 211, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/boost-1.0.LICENSE" + } + ] + }, + { + "license_expression": "boost-1.0", + "detection_log": [ + "unknown-reference-to-local-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 57, + "end_line": 58, + "matched_length": 32, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE", + "referenced_filenames": [ + "LICENSE_1_0.txt" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 32, + "rule_relevance": 100, + "matched_text": "Use, modification and distribution are subject to the Boost Software License, Version 1.0.\r\n(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)", + "licenses": [ + { + "key": "boost-1.0", + "name": "Boost Software License 1.0", + "short_name": "Boost 1.0", + "category": "Permissive", + "is_exception": false, + "is_unknown": false, + "owner": "Boost", + "homepage_url": "http://www.boost.org/users/license.html", + "text_url": "http://www.boost.org/LICENSE_1_0.txt", + "reference_url": "https://scancode-licensedb.aboutcode.org/boost-1.0", + "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/boost-1.0.LICENSE", + "spdx_license_key": "BSL-1.0", + "spdx_url": "https://spdx.org/licenses/BSL-1.0" + } + ] + }, + { + "score": 100.0, + "start_line": 1, + "end_line": 23, + "matched_length": 211, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/boost-1.0.LICENSE" + } + ] } ], - "license_expressions": [ - "boost-1.0" + "license_clues": [], + "percentage_of_license_text": 11.18, + "for_licenses": [ + "f42704ae-d553-edcc-f713-502abdad26c9", + "9cb57cc5-0b01-991b-a877-5827395b9b1b" ], - "holders": [ + "copyrights": [ { - "holder": "Henrik Ravn", + "copyright": "Copyright (c) Henrik Ravn 2004", "start_line": 55, "end_line": 55 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) Henrik Ravn 2004", + "holder": "Henrik Ravn", "start_line": 55, "end_line": 55 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [ { @@ -4844,17 +5948,14 @@ "end_line": 58 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": true, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "boost-1.0", "count": 1 @@ -4900,6 +6001,7 @@ "date": null, "sha1": null, "md5": null, + "sha256": null, "mime_type": null, "file_type": null, "programming_language": null, @@ -4909,23 +6011,31 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ + { + "value": null, + "count": 1 + }, { "value": "zlib", "count": 1 @@ -4933,13 +6043,13 @@ ], "copyrights": [ { - "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant.", + "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant", "count": 1 } ], "holders": [ { - "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant.", + "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant", "count": 1 } ], @@ -4968,9 +6078,10 @@ "base_name": "gvmat64", "extension": ".S", "size": 16413, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "742603cba1af98a1432cc02efb019b1a5760adf2", "md5": "5e772d7302475e5473d0c4c57b9861e8", + "sha256": "22ff411b8b1d1b04aeaa8418b68245400267dc43c6f44104f6ccd37f0daee89f", "mime_type": "text/x-c", "file_type": "C source, ASCII text, with CRLF line terminators", "programming_language": "GAS", @@ -4980,55 +6091,44 @@ "is_media": false, "is_source": true, "is_script": false, - "licenses": [ + "detected_license_expression": "zlib", + "detected_license_expression_spdx": "Zlib", + "license_detections": [ { - "key": "zlib", - "score": 100.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 17, - "end_line": 31, - "matched_rule": { - "identifier": "zlib.LICENSE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 133, - "matched_length": 133, - "match_coverage": 100.0, - "rule_relevance": 100 - }, - "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" + "license_expression": "zlib", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 17, + "end_line": 31, + "matched_length": 132, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE" + } + ] } ], - "license_expressions": [ - "zlib" + "license_clues": [], + "percentage_of_license_text": 5.88, + "for_licenses": [ + "fb544817-ac13-5bb2-e219-0e3bba38b9bf" ], - "holders": [ + "copyrights": [ { - "holder": "Jean-loup Gailly, Brian Raiter and Gilles Vollant.", + "copyright": "Copyright (c) 1995-2010 Jean-loup Gailly, Brian Raiter and Gilles Vollant", "start_line": 10, "end_line": 10 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 1995-2010 Jean-loup Gailly, Brian Raiter and Gilles Vollant.", + "holder": "Jean-loup Gailly, Brian Raiter and Gilles Vollant", "start_line": 10, "end_line": 10 } @@ -5037,10 +6137,11 @@ { "author": "Gilles Vollant", "start_line": 12, - "end_line": 15 + "end_line": 12 } ], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [ { @@ -5074,17 +6175,14 @@ "end_line": 180 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "zlib", "count": 1 @@ -5092,13 +6190,13 @@ ], "copyrights": [ { - "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant.", + "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant", "count": 1 } ], "holders": [ { - "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant.", + "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant", "count": 1 } ], @@ -5130,6 +6228,7 @@ "date": null, "sha1": null, "md5": null, + "sha256": null, "mime_type": null, "file_type": null, "programming_language": null, @@ -5139,26 +6238,34 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "zlib", "count": 2 + }, + { + "value": null, + "count": 1 } ], "copyrights": [ @@ -5181,7 +6288,7 @@ ], "programming_language": [ { - "value": "C++", + "value": "C", "count": 2 } ] @@ -5198,86 +6305,74 @@ "base_name": "infback9", "extension": ".c", "size": 21629, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "17fb362c03755b12f2dda5b12a68cf38162674bd", "md5": "23ff5edec0817da303cb1294c1e4205c", + "sha256": "0a715c85a1ce3bb8b5a18d60941ffabc0186a886bcc66ba2ee0c4115a8e274e9", "mime_type": "text/x-c", "file_type": "C source, ASCII text", - "programming_language": "C++", + "programming_language": "C", "is_binary": false, "is_text": true, "is_archive": false, "is_media": false, "is_source": true, "is_script": false, - "licenses": [ + "detected_license_expression": "zlib", + "detected_license_expression_spdx": "Zlib", + "license_detections": [ { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 12, - "matched_length": 12, - "match_coverage": 100.0, - "rule_relevance": 70 - }, - "matched_text": "For conditions of distribution and use, see copyright notice in zlib.h" + "license_expression": "zlib", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + } + ] } ], - "license_expressions": [ - "zlib" + "license_clues": [], + "percentage_of_license_text": 0.53, + "for_licenses": [ + "1d1a3779-8597-ca5f-0160-cc3bdecf2879" ], - "holders": [ + "copyrights": [ { - "holder": "Mark Adler", + "copyright": "Copyright (c) 1995-2008 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 1995-2008 Mark Adler", + "holder": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "zlib", "count": 1 @@ -5303,7 +6398,7 @@ ], "programming_language": [ { - "value": "C++", + "value": "C", "count": 1 } ] @@ -5320,86 +6415,74 @@ "base_name": "infback9", "extension": ".h", "size": 1594, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "d0486a32b558dcaceded5f0746fad62e680a4734", "md5": "52b1ed99960d3ed7ed60cd20295e64a8", + "sha256": "dda2302f28157fe43a6143f84802af1740393572c2766559593996fd7a5a3245", "mime_type": "text/x-c", "file_type": "C source, ASCII text", - "programming_language": "C++", + "programming_language": "C", "is_binary": false, "is_text": true, "is_archive": false, "is_media": false, "is_source": true, "is_script": false, - "licenses": [ + "detected_license_expression": "zlib", + "detected_license_expression_spdx": "Zlib", + "license_detections": [ { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 12, - "matched_length": 12, - "match_coverage": 100.0, - "rule_relevance": 70 - }, - "matched_text": "For conditions of distribution and use, see copyright notice in zlib.h" + "license_expression": "zlib", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + } + ] } ], - "license_expressions": [ - "zlib" + "license_clues": [], + "percentage_of_license_text": 5.74, + "for_licenses": [ + "1d1a3779-8597-ca5f-0160-cc3bdecf2879" ], - "holders": [ + "copyrights": [ { - "holder": "Mark Adler", + "copyright": "Copyright (c) 2003 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 2003 Mark Adler", + "holder": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": "zlib", "count": 1 @@ -5425,7 +6508,7 @@ ], "programming_language": [ { - "value": "C++", + "value": "C", "count": 1 } ] @@ -5445,6 +6528,7 @@ "date": null, "sha1": null, "md5": null, + "sha256": null, "mime_type": null, "file_type": null, "programming_language": null, @@ -5454,29 +6538,33 @@ "is_media": false, "is_source": false, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": null, "count": 1 }, { - "value": "cmr-no", + "value": "mit-old-style", "count": 1 } ], @@ -5507,9 +6595,13 @@ } ], "programming_language": [ + { + "value": "C", + "count": 1 + }, { "value": "C++", - "count": 2 + "count": 1 } ] }, @@ -5525,73 +6617,64 @@ "base_name": "zstream", "extension": ".h", "size": 9283, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "fca4540d490fff36bb90fd801cf9cd8fc695bb17", "md5": "a980b61c1e8be68d5cdb1236ba6b43e7", + "sha256": "d0343e0c57ff58008b6f29643d289c72713aa2d653fe3dcd2e939fc77e7e20b6", "mime_type": "text/x-c++", "file_type": "C++ source, ASCII text", - "programming_language": "C++", + "programming_language": "C", "is_binary": false, "is_text": true, "is_archive": false, "is_media": false, "is_source": true, "is_script": false, - "licenses": [ + "detected_license_expression": "mit-old-style", + "detected_license_expression_spdx": "LicenseRef-scancode-mit-old-style", + "license_detections": [ { - "key": "cmr-no", - "score": 100.0, - "name": "Christian Michelsen Research AS License", - "short_name": "CMR License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "CMR - Christian Michelsen Research AS", - "homepage_url": null, - "text_url": null, - "reference_url": "https://scancode-licensedb.aboutcode.org/cmr-no", - "spdx_license_key": "", - "spdx_url": null, - "start_line": 9, - "end_line": 15, - "matched_rule": { - "identifier": "cmr-no.LICENSE", - "license_expression": "cmr-no", - "licenses": [ - "cmr-no" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 71, - "matched_length": 71, - "match_coverage": 100.0, - "rule_relevance": 100 - }, - "matched_text": "Permission to use, copy, modify, distribute and sell this software\n * and its documentation for any purpose is hereby granted without fee,\n * provided that the above copyright notice appear in all copies and\n * that both that copyright notice and this permission notice appear\n * in supporting documentation. Christian Michelsen Research AS makes no\n * representations about the suitability of this software for any\n * purpose. It is provided \"as is\" without express or implied warranty" + "license_expression": "mit-old-style", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 9, + "end_line": 15, + "matched_length": 71, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" + } + ] } ], - "license_expressions": [ - "cmr-no" + "license_clues": [], + "percentage_of_license_text": 5.81, + "for_licenses": [ + "ca895ddd-4eca-8b9b-15bc-f972a6d2bde0" ], - "holders": [ + "copyrights": [ { - "holder": "Christian Michelsen Research AS Advanced Computing", + "copyright": "Copyright (c) 1997 Christian Michelsen Research AS Advanced Computing", "start_line": 3, "end_line": 5 } ], - "copyrights": [ + "holders": [ { - "copyright": "Copyright (c) 1997 Christian Michelsen Research AS Advanced Computing", - "start_line": 3, + "holder": "Christian Michelsen Research AS Advanced Computing", + "start_line": 4, "end_line": 5 } ], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [ { @@ -5600,19 +6683,16 @@ "end_line": 7 } ], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { - "value": "cmr-no", + "value": "mit-old-style", "count": 1 } ], @@ -5636,7 +6716,7 @@ ], "programming_language": [ { - "value": "C++", + "value": "C", "count": 1 } ] @@ -5653,9 +6733,10 @@ "base_name": "zstream_test", "extension": ".cpp", "size": 711, - "date": "2017-10-26", + "date": "2022-04-20", "sha1": "e18a6d55cbbd8b832f8d795530553467e5c74fcf", "md5": "d32476bde4e6d5f889092fdff6f8cdb0", + "sha256": "f789df183cc58b78751985466380c656308490a9036eb48a7ef79704c3d3f229", "mime_type": "text/x-c", "file_type": "C source, ASCII text", "programming_language": "C++", @@ -5665,25 +6746,27 @@ "is_media": false, "is_source": true, "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], + "holders": [], "authors": [], - "packages": [], + "package_data": [], + "for_packages": [], "emails": [], "urls": [], - "facets": [ - "core" - ], "is_legal": false, "is_manifest": false, "is_readme": false, "is_top_level": false, "is_key_file": false, "is_generated": false, - "summary": { - "license_expressions": [ + "tallies": { + "detected_license_expression": [ { "value": null, "count": 1 @@ -5720,4 +6803,4 @@ "scan_errors": [] } ] -} +} \ No newline at end of file diff --git a/tests/scancode/data/weird_file_name/expected-posix.json b/tests/scancode/data/weird_file_name/expected-posix.json index 97cc6909014..1afa002e4e2 100644 --- a/tests/scancode/data/weird_file_name/expected-posix.json +++ b/tests/scancode/data/weird_file_name/expected-posix.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "some 'file", diff --git a/tests/summarycode/data/classify/cli.expected.json b/tests/summarycode/data/classify/cli.expected.json index e27875aeb77..d7cda531cad 100644 --- a/tests/summarycode/data/classify/cli.expected.json +++ b/tests/summarycode/data/classify/cli.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "cli", diff --git a/tests/summarycode/data/facet/cli.expected.json b/tests/summarycode/data/facet/cli.expected.json index 57502703d28..9737753813b 100644 --- a/tests/summarycode/data/facet/cli.expected.json +++ b/tests/summarycode/data/facet/cli.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "cli", diff --git a/tests/summarycode/data/generated/cli.expected.json b/tests/summarycode/data/generated/cli.expected.json index 1f19fee0695..5b415d9772c 100644 --- a/tests/summarycode/data/generated/cli.expected.json +++ b/tests/summarycode/data/generated/cli.expected.json @@ -1,4 +1,6 @@ { + "license_references": [], + "rule_references": [], "files": [ { "path": "simple", diff --git a/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json b/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json index 01e0798a5f6..91136cfab1e 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json @@ -17,32 +17,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] }, @@ -63,32 +38,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.0", "rule_identifier": "lgpl-2.0_bare_id.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0_bare_id.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 80, - "licenses": [ - { - "key": "lgpl-2.0", - "name": "GNU Library General Public License 2.0", - "short_name": "LGPL 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.0.LICENSE", - "spdx_license_key": "LGPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0_bare_id.RULE" } ] }, @@ -109,32 +59,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] }, @@ -155,32 +80,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1336.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1336.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1336.RULE" } ] } @@ -273,33 +173,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -391,6 +265,209 @@ } ], "consolidated_packages": [], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "lgpl-2.0", + "short_name": "LGPL 2.0", + "name": "GNU Library General Public License 2.0", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", + "notes": "Per SPDX.org, this license was released June 1991. This license has been\nsuperseded by LGPL v2.1\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.0-only", + "other_spdx_license_keys": [ + "LGPL-2.0", + "LicenseRef-LGPL-2", + "LicenseRef-LGPL-2.0" + ], + "text_urls": [ + "http://www.gnu.org/licenses/lgpl-2.0.html", + "http://www.gnu.org/licenses/lgpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/library.txt" + ], + "other_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", + "http://www.gnu.org/licenses/old-licenses/library.html", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html" + ], + "text": "GNU LIBRARY GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1991 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the library GPL. It is\nnumbered 2 because it goes with version 2 of the ordinary GPL.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Library General Public License, applies to some\nspecially designated Free Software Foundation software, and to any\nother libraries whose authors decide to use it. You can use it for\nyour libraries, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if\nyou distribute copies of the library, or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link a program with the library, you must provide\ncomplete object files to the recipients so that they can relink them\nwith the library, after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nOur method of protecting your rights has two steps: (1) copyright\nthe library, and (2) offer you this license which gives you legal\npermission to copy, distribute and/or modify the library.\n\nAlso, for each distributor's protection, we want to make certain\nthat everyone understands that there is no warranty for this free\nlibrary. If the library is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original\nversion, so that any problems introduced by others will not reflect on\nthe original authors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that companies distributing free\nsoftware will individually obtain patent licenses, thus in effect\ntransforming the program into proprietary software. To prevent this,\nwe have made it clear that any patent must be licensed for everyone's\nfree use or not licensed at all.\n\nMost GNU software, including some libraries, is covered by the ordinary\nGNU General Public License, which was designed for utility programs. This\nlicense, the GNU Library General Public License, applies to certain\ndesignated libraries. This license is quite different from the ordinary\none; be sure to read it in full, and don't assume that anything in it is\nthe same as in the ordinary license.\n\nThe reason we have a separate public license for some libraries is that\nthey blur the distinction we usually make between modifying or adding to a\nprogram and simply using it. Linking a program with a library, without\nchanging the library, is in some sense simply using the library, and is\nanalogous to running a utility program or application program. However, in\na textual and legal sense, the linked executable is a combined work, a\nderivative of the original library, and the ordinary General Public License\ntreats it as such.\n\nBecause of this blurred distinction, using the ordinary General\nPublic License for libraries did not effectively promote software\nsharing, because most developers did not use the libraries. We\nconcluded that weaker conditions might promote sharing better.\n\nHowever, unrestricted linking of non-free programs would deprive the\nusers of those programs of all benefit from the free status of the\nlibraries themselves. This Library General Public License is intended to\npermit developers of non-free programs to use free libraries, while\npreserving your freedom as a user of such programs to change the free\nlibraries that are incorporated in them. (We have not seen how to achieve\nthis as regards changes in header files, but we have achieved it as regards\nchanges in the actual functions of the Library.) The hope is that this\nwill lead to faster development of free libraries.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, while the latter only\nworks together with the library.\n\nNote that it is possible for a library to be covered by the ordinary\nGeneral Public License rather than by this special one.\n\nGNU LIBRARY GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library which\ncontains a notice placed by the copyright holder or other authorized\nparty saying it may be distributed under the terms of this Library\nGeneral Public License (also called \"this License\"). Each licensee is\naddressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n6. As an exception to the Sections above, you may also compile or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nc) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\nd) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe source code distributed need not include anything that is normally\ndistributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Library General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Library General Public\nLicense as published by the Free Software Foundation; either\nversion 2 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLibrary General Public License for more details.\n\nYou should have received a copy of the GNU Library General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "apache-2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.0", + "rule_identifier": "lgpl-2.0_bare_id.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 80 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "apache-2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1336.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100 + } + ], "files": [ { "path": "component-package-build", @@ -620,32 +697,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -717,32 +769,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -814,32 +841,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -911,32 +913,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.0", "rule_identifier": "lgpl-2.0_bare_id.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0_bare_id.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 80, - "licenses": [ - { - "key": "lgpl-2.0", - "name": "GNU Library General Public License 2.0", - "short_name": "LGPL 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.0.LICENSE", - "spdx_license_key": "LGPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0_bare_id.RULE" } ] } @@ -1047,32 +1024,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] } @@ -1139,33 +1091,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -1234,32 +1160,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -1331,32 +1232,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1336.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1336.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1336.RULE" } ] } diff --git a/tests/summarycode/data/plugin_consolidate/component-package-expected.json b/tests/summarycode/data/plugin_consolidate/component-package-expected.json index aa1005f066b..07c1e5309fa 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-expected.json @@ -17,32 +17,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] }, @@ -63,32 +38,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.0", "rule_identifier": "lgpl-2.0_bare_id.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0_bare_id.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 80, - "licenses": [ - { - "key": "lgpl-2.0", - "name": "GNU Library General Public License 2.0", - "short_name": "LGPL 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.0.LICENSE", - "spdx_license_key": "LGPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0_bare_id.RULE" } ] }, @@ -109,32 +59,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] }, @@ -155,32 +80,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1336.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1336.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1336.RULE" } ] } @@ -228,33 +128,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -346,6 +220,209 @@ } ], "consolidated_packages": [], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "lgpl-2.0", + "short_name": "LGPL 2.0", + "name": "GNU Library General Public License 2.0", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", + "notes": "Per SPDX.org, this license was released June 1991. This license has been\nsuperseded by LGPL v2.1\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.0-only", + "other_spdx_license_keys": [ + "LGPL-2.0", + "LicenseRef-LGPL-2", + "LicenseRef-LGPL-2.0" + ], + "text_urls": [ + "http://www.gnu.org/licenses/lgpl-2.0.html", + "http://www.gnu.org/licenses/lgpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/library.txt" + ], + "other_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", + "http://www.gnu.org/licenses/old-licenses/library.html", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html" + ], + "text": "GNU LIBRARY GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1991 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the library GPL. It is\nnumbered 2 because it goes with version 2 of the ordinary GPL.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Library General Public License, applies to some\nspecially designated Free Software Foundation software, and to any\nother libraries whose authors decide to use it. You can use it for\nyour libraries, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if\nyou distribute copies of the library, or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link a program with the library, you must provide\ncomplete object files to the recipients so that they can relink them\nwith the library, after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nOur method of protecting your rights has two steps: (1) copyright\nthe library, and (2) offer you this license which gives you legal\npermission to copy, distribute and/or modify the library.\n\nAlso, for each distributor's protection, we want to make certain\nthat everyone understands that there is no warranty for this free\nlibrary. If the library is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original\nversion, so that any problems introduced by others will not reflect on\nthe original authors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that companies distributing free\nsoftware will individually obtain patent licenses, thus in effect\ntransforming the program into proprietary software. To prevent this,\nwe have made it clear that any patent must be licensed for everyone's\nfree use or not licensed at all.\n\nMost GNU software, including some libraries, is covered by the ordinary\nGNU General Public License, which was designed for utility programs. This\nlicense, the GNU Library General Public License, applies to certain\ndesignated libraries. This license is quite different from the ordinary\none; be sure to read it in full, and don't assume that anything in it is\nthe same as in the ordinary license.\n\nThe reason we have a separate public license for some libraries is that\nthey blur the distinction we usually make between modifying or adding to a\nprogram and simply using it. Linking a program with a library, without\nchanging the library, is in some sense simply using the library, and is\nanalogous to running a utility program or application program. However, in\na textual and legal sense, the linked executable is a combined work, a\nderivative of the original library, and the ordinary General Public License\ntreats it as such.\n\nBecause of this blurred distinction, using the ordinary General\nPublic License for libraries did not effectively promote software\nsharing, because most developers did not use the libraries. We\nconcluded that weaker conditions might promote sharing better.\n\nHowever, unrestricted linking of non-free programs would deprive the\nusers of those programs of all benefit from the free status of the\nlibraries themselves. This Library General Public License is intended to\npermit developers of non-free programs to use free libraries, while\npreserving your freedom as a user of such programs to change the free\nlibraries that are incorporated in them. (We have not seen how to achieve\nthis as regards changes in header files, but we have achieved it as regards\nchanges in the actual functions of the Library.) The hope is that this\nwill lead to faster development of free libraries.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, while the latter only\nworks together with the library.\n\nNote that it is possible for a library to be covered by the ordinary\nGeneral Public License rather than by this special one.\n\nGNU LIBRARY GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library which\ncontains a notice placed by the copyright holder or other authorized\nparty saying it may be distributed under the terms of this Library\nGeneral Public License (also called \"this License\"). Each licensee is\naddressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n6. As an exception to the Sections above, you may also compile or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nc) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\nd) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe source code distributed need not include anything that is normally\ndistributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Library General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Library General Public\nLicense as published by the Free Software Foundation; either\nversion 2 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLibrary General Public License for more details.\n\nYou should have received a copy of the GNU Library General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "apache-2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.0", + "rule_identifier": "lgpl-2.0_bare_id.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 80 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "apache-2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1336.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100 + } + ], "files": [ { "path": "component-package", @@ -459,32 +536,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -556,32 +608,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -653,32 +680,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -750,32 +752,7 @@ "matcher": "2-aho", "license_expression": "lgpl-2.0", "rule_identifier": "lgpl-2.0_bare_id.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0_bare_id.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 80, - "licenses": [ - { - "key": "lgpl-2.0", - "name": "GNU Library General Public License 2.0", - "short_name": "LGPL 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.0.LICENSE", - "spdx_license_key": "LGPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/LGPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0_bare_id.RULE" } ] } @@ -886,32 +863,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] } @@ -978,33 +930,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -1073,32 +999,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -1170,32 +1071,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1336.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1336.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1336.RULE" } ] } diff --git a/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json b/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json index 61603bc4b83..d011eb589c6 100644 --- a/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json +++ b/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json @@ -1911,6 +1911,8 @@ } ], "consolidated_packages": [], + "license_references": null, + "rule_references": null, "files": [ { "path": "e2fsprogs-1.45.4", diff --git a/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json b/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json index ccfcda908a3..a32db7f208f 100644 --- a/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json +++ b/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json @@ -17,32 +17,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_208.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE" }, { "score": 100.0, @@ -53,32 +28,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_840.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE" } ] }, @@ -99,32 +49,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 2, - "rule_relevance": 50, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE" }, { "score": 100.0, @@ -135,32 +60,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -218,6 +118,166 @@ } ], "consolidated_packages": [], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "gpl-1.0-plus", + "short_name": "GPL 1.0 or later", + "name": "GNU General Public License 1.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "notes": "Per SPDX.org, this license was released February 1989.", + "is_builtin": true, + "spdx_license_key": "GPL-1.0-or-later", + "other_spdx_license_keys": [ + "GPL-1.0+", + "LicenseRef-GPL" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "other_urls": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 1, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,\nCambridge, MA 02139, USA.\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 1, February 1989\n\nCopyright (C) 1989 Free Software Foundation, Inc.\n51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe license agreements of most software companies try to keep users\nat the mercy of those companies. By contrast, our General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. The\nGeneral Public License applies to the Free Software Foundation's\nsoftware and to any other program whose authors commit to using it.\nYou can use it for your programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Specifically, the General Public License is designed to make\nsure that you have the freedom to give away or sell copies of free\nsoftware, that you receive source code or can get it if you want it,\nthat you can change the software or use pieces of it in new free\nprograms; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of a such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must tell them their rights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any program or other work which\ncontains a notice placed by the copyright holder saying it may be\ndistributed under the terms of this General Public License. The\n\"Program\", below, refers to any such program or work, and a \"work based\non the Program\" means either the Program or any work containing the\nProgram or a portion of it, either verbatim or with modifications. Each\nlicensee is addressed as \"you\".\n\n1. You may copy and distribute verbatim copies of the Program's source\ncode as you receive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice and\ndisclaimer of warranty; keep intact all the notices that refer to this\nGeneral Public License and to the absence of any warranty; and give any\nother recipients of the Program a copy of this General Public License\nalong with the Program. You may charge a fee for the physical act of\ntransferring a copy.\n\n2. You may modify your copy or copies of the Program or any portion of\nit, and copy and distribute such modifications under the terms of Paragraph\n1 above, provided that you also do the following:\n\na) cause the modified files to carry prominent notices stating that\nyou changed the files and the date of any change; and\n\nb) cause the whole of any work that you distribute or publish, that\nin whole or in part contains the Program or any part thereof, either\nwith or without modifications, to be licensed at no charge to all\nthird parties under the terms of this General Public License (except\nthat you may choose to grant warranty protection to some or all\nthird parties, at your option).\n\nc) If the modified program normally reads commands interactively when\nrun, you must cause it, when started running for such interactive use\nin the simplest and most usual way, to print or display an\nannouncement including an appropriate copyright notice and a notice\nthat there is no warranty (or else, saying that you provide a\nwarranty) and that users may redistribute the program under these\nconditions, and telling the user how to view a copy of this General\nPublic License.\n\nd) You may charge a fee for the physical act of transferring a\ncopy, and you may at your option offer warranty protection in\nexchange for a fee.\n\nMere aggregation of another independent work with the Program (or its\nderivative) on a volume of a storage or distribution medium does not bring\nthe other work under the scope of these terms.\n\n\n3. You may copy and distribute the Program (or a portion or derivative of\nit, under Paragraph 2) in object code or executable form under the terms of\nParagraphs 1 and 2 above provided that you also do one of the following:\n\na) accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nb) accompany it with a written offer, valid for at least three\nyears, to give any third party free (except for a nominal charge\nfor the cost of distribution) a complete machine-readable copy of the\ncorresponding source code, to be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nc) accompany it with the information you received as to where the\ncorresponding source code may be obtained. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form alone.)\n\nSource code for a work means the preferred form of the work for making\nmodifications to it. For an executable file, complete source code means\nall the source code for all modules it contains; but, as a special\nexception, it need not include source code for modules which are standard\nlibraries that accompany the operating system on which the executable\nfile runs, or for standard header files or definitions files that\naccompany that operating system.\n\n4. You may not copy, modify, sublicense, distribute or transfer the\nProgram except as expressly provided under this General Public License.\nAny attempt otherwise to copy, modify, sublicense, distribute or transfer\nthe Program is void, and will automatically terminate your rights to use\nthe Program under this License. However, parties who have received\ncopies, or rights to use copies, from you under this General Public\nLicense will not have their licenses terminated so long as such parties\nremain in full compliance.\n\n5. By copying, distributing or modifying the Program (or any work based\non the Program) you indicate your acceptance of this license to do so,\nand all its terms and conditions.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the original\nlicensor to copy, distribute or modify the Program subject to these\nterms and conditions. You may not impose any further restrictions on the\nrecipients' exercise of the rights granted herein.\n\n\n7. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of the license which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthe license, you may choose any version ever published by the Free Software\nFoundation.\n\n8. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nAppendix: How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to humanity, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these\nterms.\n\nTo do so, attach the following notices to the program. It is safest to\nattach them to the start of each source file to most effectively convey\nthe exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) 19yy \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 1, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA\n\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) 19xx name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the\nappropriate parts of the General Public License. Of course, the\ncommands you use may be called something other than `show w' and `show\nc'; they could even be mouse-clicks or menu items--whatever suits your\nprogram.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nprogram `Gnomovision' (a program to direct compilers to make passes\nat assemblers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + } + ], + "rule_references": [ + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_208.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_840.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_208.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_840.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 2, + "rule_relevance": 50 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + } + ], "files": [ { "path": "license-holder-rollup", @@ -366,32 +426,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_208.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE" }, { "score": 100.0, @@ -402,32 +437,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_840.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE" } ] } @@ -573,32 +583,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_208.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE" }, { "score": 100.0, @@ -609,32 +594,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_840.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE" } ] } @@ -744,32 +704,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 2, - "rule_relevance": 50, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE" }, { "score": 100.0, @@ -780,32 +715,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } diff --git a/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json b/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json index 19d895c22d0..cb58c228a37 100644 --- a/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json +++ b/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json @@ -17,32 +17,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1074.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1074.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1074.RULE" }, { "score": 100.0, @@ -53,32 +28,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1074.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1074.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1074.RULE" } ] } @@ -104,6 +54,92 @@ } ], "consolidated_packages": [], + "license_references": [ + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + } + ], + "rule_references": [ + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1074.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1074.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1074.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1074.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + } + ], "files": [ { "path": "multiple-same-holder-and-license", @@ -180,32 +216,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1074.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1074.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1074.RULE" }, { "score": 100.0, @@ -216,32 +227,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1074.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1074.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1074.RULE" } ] } @@ -323,32 +309,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1074.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1074.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1074.RULE" }, { "score": 100.0, @@ -359,32 +320,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1074.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1074.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1074.RULE" } ] } diff --git a/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json b/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json index 0ddeaeecd5b..a9c88e49249 100644 --- a/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json @@ -17,32 +17,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] }, @@ -63,32 +38,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] } @@ -136,33 +86,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -222,6 +146,135 @@ } ], "consolidated_packages": [], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "apache-2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "apache-2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + } + ], "files": [ { "path": "package-files-not-counted-in-license-holders", @@ -336,32 +389,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] } @@ -428,33 +456,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -523,32 +525,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -622,32 +599,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -721,32 +673,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -820,32 +747,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -917,32 +819,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } diff --git a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json index 7ca14959472..6d64ff25a5d 100644 --- a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json @@ -17,32 +17,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] }, @@ -63,32 +38,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -136,33 +86,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -206,6 +130,111 @@ } ], "consolidated_packages": [], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "apache-2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "apache-2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + } + ], "files": [ { "path": "package", @@ -282,32 +311,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] } @@ -362,33 +366,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -455,32 +433,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -554,32 +507,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -653,32 +581,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } diff --git a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json index f383bb41644..f13c61f99b7 100644 --- a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json @@ -17,32 +17,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] }, @@ -63,32 +38,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -136,33 +86,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -189,6 +113,75 @@ ], "consolidated_components": [], "consolidated_packages": [], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "apache-2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "apache-2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + } + ], "files": [ { "path": "package-manifest", @@ -263,32 +256,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] } @@ -344,33 +312,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } diff --git a/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json b/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json index becaeb489b6..275756cf02d 100644 --- a/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json +++ b/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json @@ -17,32 +17,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" } ] } @@ -84,6 +59,80 @@ } ], "consolidated_packages": [], + "license_references": [ + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + } + ], "files": [ { "path": "report-subdirectory-with-minority-origin", @@ -160,32 +209,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } @@ -257,32 +281,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } @@ -354,32 +353,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } @@ -489,32 +463,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } diff --git a/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json b/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json index a222cde9f3c..ae44d1c169e 100644 --- a/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json +++ b/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json @@ -17,32 +17,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 2, - "rule_relevance": 50, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE" }, { "score": 100.0, @@ -53,32 +28,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] }, @@ -99,32 +49,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_208.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE" }, { "score": 100.0, @@ -135,32 +60,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_840.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE" } ] } @@ -202,6 +102,190 @@ } ], "consolidated_packages": [], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "gpl-1.0-plus", + "short_name": "GPL 1.0 or later", + "name": "GNU General Public License 1.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "notes": "Per SPDX.org, this license was released February 1989.", + "is_builtin": true, + "spdx_license_key": "GPL-1.0-or-later", + "other_spdx_license_keys": [ + "GPL-1.0+", + "LicenseRef-GPL" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "other_urls": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 1, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,\nCambridge, MA 02139, USA.\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 1, February 1989\n\nCopyright (C) 1989 Free Software Foundation, Inc.\n51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe license agreements of most software companies try to keep users\nat the mercy of those companies. By contrast, our General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. The\nGeneral Public License applies to the Free Software Foundation's\nsoftware and to any other program whose authors commit to using it.\nYou can use it for your programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Specifically, the General Public License is designed to make\nsure that you have the freedom to give away or sell copies of free\nsoftware, that you receive source code or can get it if you want it,\nthat you can change the software or use pieces of it in new free\nprograms; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of a such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must tell them their rights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any program or other work which\ncontains a notice placed by the copyright holder saying it may be\ndistributed under the terms of this General Public License. The\n\"Program\", below, refers to any such program or work, and a \"work based\non the Program\" means either the Program or any work containing the\nProgram or a portion of it, either verbatim or with modifications. Each\nlicensee is addressed as \"you\".\n\n1. You may copy and distribute verbatim copies of the Program's source\ncode as you receive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice and\ndisclaimer of warranty; keep intact all the notices that refer to this\nGeneral Public License and to the absence of any warranty; and give any\nother recipients of the Program a copy of this General Public License\nalong with the Program. You may charge a fee for the physical act of\ntransferring a copy.\n\n2. You may modify your copy or copies of the Program or any portion of\nit, and copy and distribute such modifications under the terms of Paragraph\n1 above, provided that you also do the following:\n\na) cause the modified files to carry prominent notices stating that\nyou changed the files and the date of any change; and\n\nb) cause the whole of any work that you distribute or publish, that\nin whole or in part contains the Program or any part thereof, either\nwith or without modifications, to be licensed at no charge to all\nthird parties under the terms of this General Public License (except\nthat you may choose to grant warranty protection to some or all\nthird parties, at your option).\n\nc) If the modified program normally reads commands interactively when\nrun, you must cause it, when started running for such interactive use\nin the simplest and most usual way, to print or display an\nannouncement including an appropriate copyright notice and a notice\nthat there is no warranty (or else, saying that you provide a\nwarranty) and that users may redistribute the program under these\nconditions, and telling the user how to view a copy of this General\nPublic License.\n\nd) You may charge a fee for the physical act of transferring a\ncopy, and you may at your option offer warranty protection in\nexchange for a fee.\n\nMere aggregation of another independent work with the Program (or its\nderivative) on a volume of a storage or distribution medium does not bring\nthe other work under the scope of these terms.\n\n\n3. You may copy and distribute the Program (or a portion or derivative of\nit, under Paragraph 2) in object code or executable form under the terms of\nParagraphs 1 and 2 above provided that you also do one of the following:\n\na) accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nb) accompany it with a written offer, valid for at least three\nyears, to give any third party free (except for a nominal charge\nfor the cost of distribution) a complete machine-readable copy of the\ncorresponding source code, to be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nc) accompany it with the information you received as to where the\ncorresponding source code may be obtained. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form alone.)\n\nSource code for a work means the preferred form of the work for making\nmodifications to it. For an executable file, complete source code means\nall the source code for all modules it contains; but, as a special\nexception, it need not include source code for modules which are standard\nlibraries that accompany the operating system on which the executable\nfile runs, or for standard header files or definitions files that\naccompany that operating system.\n\n4. You may not copy, modify, sublicense, distribute or transfer the\nProgram except as expressly provided under this General Public License.\nAny attempt otherwise to copy, modify, sublicense, distribute or transfer\nthe Program is void, and will automatically terminate your rights to use\nthe Program under this License. However, parties who have received\ncopies, or rights to use copies, from you under this General Public\nLicense will not have their licenses terminated so long as such parties\nremain in full compliance.\n\n5. By copying, distributing or modifying the Program (or any work based\non the Program) you indicate your acceptance of this license to do so,\nand all its terms and conditions.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the original\nlicensor to copy, distribute or modify the Program subject to these\nterms and conditions. You may not impose any further restrictions on the\nrecipients' exercise of the rights granted herein.\n\n\n7. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of the license which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthe license, you may choose any version ever published by the Free Software\nFoundation.\n\n8. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nAppendix: How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to humanity, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these\nterms.\n\nTo do so, attach the following notices to the program. It is safest to\nattach them to the start of each source file to most effectively convey\nthe exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) 19yy \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 1, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA\n\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) 19xx name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the\nappropriate parts of the General Public License. Of course, the\ncommands you use may be called something other than `show w' and `show\nc'; they could even be mouse-clicks or menu items--whatever suits your\nprogram.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nprogram `Gnomovision' (a program to direct compilers to make passes\nat assemblers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + } + ], + "rule_references": [ + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 2, + "rule_relevance": 50 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 2, + "rule_relevance": 50 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 2, + "rule_relevance": 50 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_208.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_840.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + } + ], "files": [ { "path": "return-nested-local-majority", @@ -314,32 +398,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 2, - "rule_relevance": 50, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE" }, { "score": 100.0, @@ -350,32 +409,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -447,32 +481,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 2, - "rule_relevance": 50, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE" }, { "score": 100.0, @@ -483,32 +492,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -618,32 +602,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_208.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE" }, { "score": 100.0, @@ -654,32 +613,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_840.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE" } ] } @@ -751,32 +685,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 2, - "rule_relevance": 50, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE" }, { "score": 100.0, @@ -787,32 +696,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } diff --git a/tests/summarycode/data/plugin_consolidate/zlib-expected.json b/tests/summarycode/data/plugin_consolidate/zlib-expected.json index c2154cbad4b..559e232e9b4 100644 --- a/tests/summarycode/data/plugin_consolidate/zlib-expected.json +++ b/tests/summarycode/data/plugin_consolidate/zlib-expected.json @@ -457,6 +457,8 @@ } ], "consolidated_packages": [], + "license_references": null, + "rule_references": null, "files": [ { "path": "zlib-1.2.11", diff --git a/tests/summarycode/data/score/basic-expected.json b/tests/summarycode/data/score/basic-expected.json index 8a386efeb0f..2b98626df5d 100644 --- a/tests/summarycode/data/score/basic-expected.json +++ b/tests/summarycode/data/score/basic-expected.json @@ -1,4 +1,48 @@ { + "licenses": [ + { + "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "license_expression": "mit", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 19, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" + } + ] + }, + { + "identifier": "ad8a216c-f324-d61f-494c-f105455d2fee", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 7, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" + } + ] + } + ], "summary": { "declared_license_expression": "mit", "license_clarity_score": { @@ -11,6 +55,68 @@ "ambiguous_compound_licensing": false } }, + "license_references": [ + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + } + ], "files": [ { "path": "basic", @@ -36,6 +142,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -86,38 +193,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 79.31, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [ { "copyright": "Copyright (c) Example, Inc.", @@ -180,38 +265,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 64.4, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [ { "copyright": "Copyright (c) 2007 nexB Inc.", @@ -274,38 +337,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 1.83, + "for_licenses": [ + "ad8a216c-f324-d61f-494c-f105455d2fee" + ], "copyrights": [], "holders": [], "authors": [ diff --git a/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json b/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json index e8f2aa4a0e1..efa9ddcfac7 100644 --- a/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json +++ b/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json @@ -1,4 +1,69 @@ { + "licenses": [ + { + "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "license_expression": "mit", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 19, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" + } + ] + }, + { + "identifier": "ad8a216c-f324-d61f-494c-f105455d2fee", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 7, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" + } + ] + }, + { + "identifier": "751d4c34-1372-a14c-636a-47543dc16496", + "license_expression": "gpl-2.0-plus", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 8, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "spdx-license-identifier: gpl-2.0-plus", + "rule_url": null + } + ] + } + ], "summary": { "declared_license_expression": "mit", "license_clarity_score": { @@ -11,6 +76,105 @@ "ambiguous_compound_licensing": false } }, + "license_references": [ + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "spdx-license-identifier: gpl-2.0-plus", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100 + } + ], "files": [ { "path": "inconsistent_licenses_copyleft", @@ -36,6 +200,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -86,38 +251,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 79.31, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [ { "copyright": "Copyright (c) Example, Inc.", @@ -180,38 +323,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 64.4, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [ { "copyright": "Copyright (c) 2007 nexB Inc.", @@ -274,38 +395,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 1.83, + "for_licenses": [ + "ad8a216c-f324-d61f-494c-f105455d2fee" + ], "copyrights": [], "holders": [], "authors": [ @@ -362,38 +461,16 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0-plus", "rule_identifier": "spdx-license-identifier: gpl-2.0-plus", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": null } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "751d4c34-1372-a14c-636a-47543dc16496" + ], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/summarycode/data/score/no_license_ambiguity-expected.json b/tests/summarycode/data/score/no_license_ambiguity-expected.json index 061e2fa4f0f..9a26e882b67 100644 --- a/tests/summarycode/data/score/no_license_ambiguity-expected.json +++ b/tests/summarycode/data/score/no_license_ambiguity-expected.json @@ -1,4 +1,133 @@ { + "licenses": [ + { + "identifier": "672f6c77-3a8c-9aac-41cd-431086630d58", + "license_expression": "mit OR apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 5, + "end_line": 5, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit OR apache-2.0", + "rule_identifier": "mit_or_apache-2.0_14.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_or_apache-2.0_14.RULE" + } + ] + }, + { + "identifier": "56399a0b-4bfa-003e-fbc1-8e5ee4560baf", + "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 94.12, + "start_line": 1, + "end_line": 7, + "matched_length": 48, + "match_coverage": 100.0, + "matcher": "3-seq", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1060.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1060.RULE" + }, + { + "score": 97.83, + "start_line": 6, + "end_line": 9, + "matched_length": 45, + "match_coverage": 100.0, + "matcher": "3-seq", + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_47.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_47.RULE" + } + ] + }, + { + "identifier": "57eec209-3c1b-b197-2e0d-62a521c2130a", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 176, + "matched_length": 1410, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_875.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_875.RULE" + } + ] + }, + { + "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 26, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" + } + ] + }, + { + "identifier": "8aaa1034-ec98-504f-3892-a067d346ca98", + "license_expression": "(mit OR apache-2.0) AND mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 57.69, + "start_line": 152, + "end_line": 157, + "matched_length": 15, + "match_coverage": 57.69, + "matcher": "3-seq", + "license_expression": "mit OR apache-2.0", + "rule_identifier": "mit_or_apache-2.0_9.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_or_apache-2.0_9.RULE" + }, + { + "score": 100.0, + "start_line": 157, + "end_line": 157, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_154.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_154.RULE" + } + ] + } + ], "summary": { "declared_license_expression": "apache-2.0 AND mit", "license_clarity_score": { @@ -11,6 +140,119 @@ "ambiguous_compound_licensing": true } }, + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "mit OR apache-2.0", + "rule_identifier": "mit_or_apache-2.0_14.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1060.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 48, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_47.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 45, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_875.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1410, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + } + ], "files": [ { "path": "no_license_ambiguity", @@ -36,6 +278,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -73,6 +316,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -123,32 +367,7 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1060.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1060.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 48, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1060.RULE" }, { "score": 97.83, @@ -159,53 +378,16 @@ "matcher": "3-seq", "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_47.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_47.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 45, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_47.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 81.11, + "for_licenses": [ + "56399a0b-4bfa-003e-fbc1-8e5ee4560baf" + ], "copyrights": [], "holders": [], "authors": [], @@ -256,53 +438,16 @@ "matcher": "2-aho", "license_expression": "mit OR apache-2.0", "rule_identifier": "mit_or_apache-2.0_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_or_apache-2.0_14.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - }, - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_or_apache-2.0_14.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 1.76, + "for_licenses": [ + "672f6c77-3a8c-9aac-41cd-431086630d58" + ], "copyrights": [ { "copyright": "COPYRIGHT package.metadata.docs.rs", @@ -371,38 +516,16 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_875.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_875.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_875.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "57eec209-3c1b-b197-2e0d-62a521c2130a" + ], "copyrights": [], "holders": [], "authors": [], @@ -453,38 +576,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 92.0, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [ { "copyright": "Copyright 2018", @@ -552,50 +653,7 @@ "matcher": "3-seq", "license_expression": "mit OR apache-2.0", "rule_identifier": "mit_or_apache-2.0_9.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_or_apache-2.0_9.RULE", - "referenced_filenames": [ - "LICENSE-MIT", - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 26, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - }, - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_or_apache-2.0_9.RULE" }, { "score": 100.0, @@ -606,32 +664,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_154.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_154.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_154.RULE" }, { "score": 100.0, @@ -642,38 +675,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 1.69, + "for_licenses": [ + "8aaa1034-ec98-504f-3892-a067d346ca98" + ], "copyrights": [], "holders": [], "authors": [], @@ -711,6 +722,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -748,6 +760,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/summarycode/data/score/no_license_or_copyright-expected.json b/tests/summarycode/data/score/no_license_or_copyright-expected.json index e861aac3ade..778185e1957 100644 --- a/tests/summarycode/data/score/no_license_or_copyright-expected.json +++ b/tests/summarycode/data/score/no_license_or_copyright-expected.json @@ -1,4 +1,5 @@ { + "licenses": [], "summary": { "declared_license_expression": null, "license_clarity_score": { @@ -11,6 +12,8 @@ "ambiguous_compound_licensing": true } }, + "license_references": [], + "rule_references": [], "files": [ { "path": "no_license_or_copyright", @@ -36,6 +39,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -73,6 +77,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -110,6 +115,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -147,6 +153,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ diff --git a/tests/summarycode/data/score/no_license_text-expected.json b/tests/summarycode/data/score/no_license_text-expected.json index 1d593b1ab89..f9a1eac5eeb 100644 --- a/tests/summarycode/data/score/no_license_text-expected.json +++ b/tests/summarycode/data/score/no_license_text-expected.json @@ -1,4 +1,27 @@ { + "licenses": [ + { + "identifier": "ad8a216c-f324-d61f-494c-f105455d2fee", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 7, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" + } + ] + } + ], "summary": { "declared_license_expression": "mit", "license_clarity_score": { @@ -11,6 +34,44 @@ "ambiguous_compound_licensing": false } }, + "license_references": [ + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + } + ], "files": [ { "path": "no_license_text", @@ -36,6 +97,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -73,6 +135,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) Example, Inc.", @@ -122,6 +185,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -172,38 +236,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 1.83, + "for_licenses": [ + "ad8a216c-f324-d61f-494c-f105455d2fee" + ], "copyrights": [], "holders": [], "authors": [ diff --git a/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json b/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json index fae919475a1..7800e320116 100644 --- a/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json +++ b/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json @@ -1,4 +1,123 @@ { + "licenses": [ + { + "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 176, + "matched_length": 1410, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" + } + ] + }, + { + "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 18, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" + } + ] + }, + { + "identifier": "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 80.0, + "start_line": 3, + "end_line": 3, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" + }, + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" + } + ] + }, + { + "identifier": "824ba385-142f-a4b5-1b88-3bbb8282d2bc", + "license_expression": "gpl-1.0-plus AND gpl-2.0 AND gpl-2.0-plus", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_208.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE" + }, + { + "score": 100.0, + "start_line": 2, + "end_line": 2, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_840.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE" + }, + { + "score": 50.0, + "start_line": 2, + "end_line": 2, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "spdx_license_id_gpl-2.0-or-later_for_gpl-2.0-plus.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_gpl-2.0-or-later_for_gpl-2.0-plus.RULE" + } + ] + } + ], "dependencies": [], "packages": [], "summary": { @@ -48,6 +167,225 @@ ], "other_languages": [] }, + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "gpl-1.0-plus", + "short_name": "GPL 1.0 or later", + "name": "GNU General Public License 1.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "notes": "Per SPDX.org, this license was released February 1989.", + "is_builtin": true, + "spdx_license_key": "GPL-1.0-or-later", + "other_spdx_license_keys": [ + "GPL-1.0+", + "LicenseRef-GPL" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "other_urls": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 1, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,\nCambridge, MA 02139, USA.\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 1, February 1989\n\nCopyright (C) 1989 Free Software Foundation, Inc.\n51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe license agreements of most software companies try to keep users\nat the mercy of those companies. By contrast, our General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. The\nGeneral Public License applies to the Free Software Foundation's\nsoftware and to any other program whose authors commit to using it.\nYou can use it for your programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Specifically, the General Public License is designed to make\nsure that you have the freedom to give away or sell copies of free\nsoftware, that you receive source code or can get it if you want it,\nthat you can change the software or use pieces of it in new free\nprograms; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of a such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must tell them their rights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any program or other work which\ncontains a notice placed by the copyright holder saying it may be\ndistributed under the terms of this General Public License. The\n\"Program\", below, refers to any such program or work, and a \"work based\non the Program\" means either the Program or any work containing the\nProgram or a portion of it, either verbatim or with modifications. Each\nlicensee is addressed as \"you\".\n\n1. You may copy and distribute verbatim copies of the Program's source\ncode as you receive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice and\ndisclaimer of warranty; keep intact all the notices that refer to this\nGeneral Public License and to the absence of any warranty; and give any\nother recipients of the Program a copy of this General Public License\nalong with the Program. You may charge a fee for the physical act of\ntransferring a copy.\n\n2. You may modify your copy or copies of the Program or any portion of\nit, and copy and distribute such modifications under the terms of Paragraph\n1 above, provided that you also do the following:\n\na) cause the modified files to carry prominent notices stating that\nyou changed the files and the date of any change; and\n\nb) cause the whole of any work that you distribute or publish, that\nin whole or in part contains the Program or any part thereof, either\nwith or without modifications, to be licensed at no charge to all\nthird parties under the terms of this General Public License (except\nthat you may choose to grant warranty protection to some or all\nthird parties, at your option).\n\nc) If the modified program normally reads commands interactively when\nrun, you must cause it, when started running for such interactive use\nin the simplest and most usual way, to print or display an\nannouncement including an appropriate copyright notice and a notice\nthat there is no warranty (or else, saying that you provide a\nwarranty) and that users may redistribute the program under these\nconditions, and telling the user how to view a copy of this General\nPublic License.\n\nd) You may charge a fee for the physical act of transferring a\ncopy, and you may at your option offer warranty protection in\nexchange for a fee.\n\nMere aggregation of another independent work with the Program (or its\nderivative) on a volume of a storage or distribution medium does not bring\nthe other work under the scope of these terms.\n\n\n3. You may copy and distribute the Program (or a portion or derivative of\nit, under Paragraph 2) in object code or executable form under the terms of\nParagraphs 1 and 2 above provided that you also do one of the following:\n\na) accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nb) accompany it with a written offer, valid for at least three\nyears, to give any third party free (except for a nominal charge\nfor the cost of distribution) a complete machine-readable copy of the\ncorresponding source code, to be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nc) accompany it with the information you received as to where the\ncorresponding source code may be obtained. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form alone.)\n\nSource code for a work means the preferred form of the work for making\nmodifications to it. For an executable file, complete source code means\nall the source code for all modules it contains; but, as a special\nexception, it need not include source code for modules which are standard\nlibraries that accompany the operating system on which the executable\nfile runs, or for standard header files or definitions files that\naccompany that operating system.\n\n4. You may not copy, modify, sublicense, distribute or transfer the\nProgram except as expressly provided under this General Public License.\nAny attempt otherwise to copy, modify, sublicense, distribute or transfer\nthe Program is void, and will automatically terminate your rights to use\nthe Program under this License. However, parties who have received\ncopies, or rights to use copies, from you under this General Public\nLicense will not have their licenses terminated so long as such parties\nremain in full compliance.\n\n5. By copying, distributing or modifying the Program (or any work based\non the Program) you indicate your acceptance of this license to do so,\nand all its terms and conditions.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the original\nlicensor to copy, distribute or modify the Program subject to these\nterms and conditions. You may not impose any further restrictions on the\nrecipients' exercise of the rights granted herein.\n\n\n7. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of the license which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthe license, you may choose any version ever published by the Free Software\nFoundation.\n\n8. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nAppendix: How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to humanity, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these\nterms.\n\nTo do so, attach the following notices to the program. It is safest to\nattach them to the start of each source file to most effectively convey\nthe exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) 19yy \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 1, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA\n\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) 19xx name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the\nappropriate parts of the General Public License. Of course, the\ncommands you use may be called something other than `show w' and `show\nc'; they could even be mouse-clicks or menu items--whatever suits your\nprogram.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nprogram `Gnomovision' (a program to direct compilers to make passes\nat assemblers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1410, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 80 + }, + { + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_208.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_840.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "spdx_license_id_gpl-2.0-or-later_for_gpl-2.0-plus.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 50 + } + ], "files": [ { "path": "codebase", @@ -73,6 +411,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -112,6 +451,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright Example Corp.", @@ -176,38 +516,16 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + ], "copyrights": [], "holders": [], "authors": [], @@ -260,38 +578,16 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [], "holders": [], "authors": [], @@ -331,6 +627,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -383,32 +680,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" }, { "score": 100.0, @@ -419,53 +691,16 @@ "matcher": "2-aho", "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 44.44, + "for_licenses": [ + "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + ], "copyrights": [ { "copyright": "Copyright Example Corp", @@ -527,6 +762,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -579,32 +815,7 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_208.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE" }, { "score": 100.0, @@ -615,32 +826,7 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_840.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0", - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0.LICENSE", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE" }, { "score": 50.0, @@ -651,38 +837,16 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "spdx_license_id_gpl-2.0-or-later_for_gpl-2.0-plus.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_gpl-2.0-or-later_for_gpl-2.0-plus.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 50, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_gpl-2.0-or-later_for_gpl-2.0-plus.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 58.33, + "for_licenses": [ + "824ba385-142f-a4b5-1b88-3bbb8282d2bc" + ], "copyrights": [ { "copyright": "Copyright Example Corp.", diff --git a/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json b/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json index 2b81e01b6d1..50530a14fa1 100644 --- a/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json +++ b/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json @@ -1,4 +1,48 @@ { + "licenses": [ + { + "identifier": "b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f", + "license_expression": "gpl-3.0-plus", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 12, + "matched_length": 102, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_290.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE" + } + ] + }, + { + "identifier": "e68d2a19-4f30-77b2-c51f-8f14b7a097d2", + "license_expression": "gpl-2.0-plus", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 8, + "end_line": 19, + "matched_length": 102, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_119.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_119.RULE" + } + ] + } + ], "dependencies": [], "packages": [], "summary": { @@ -36,6 +80,84 @@ ], "other_languages": [] }, + "license_references": [ + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "gpl-3.0-plus", + "short_name": "GPL 3.0 or later", + "name": "GNU General Public License 3.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "notes": "Per SPDX.org, this license was released 29 June 2007 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-3.0-or-later", + "other_spdx_license_keys": [ + "GPL-3.0+", + "LicenseRef-GPL-3.0-or-later" + ], + "text_urls": [ + "http://www.gnu.org/licenses/gpl-3.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-3.0", + "https://opensource.org/licenses/GPL-3.0", + "https://www.gnu.org/licenses/gpl-3.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + } + ], + "rule_references": [ + { + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_290.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 102, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_119.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 102, + "rule_relevance": 100 + } + ], "files": [ { "path": "bug-1141.tar.gz", @@ -61,6 +183,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -100,6 +223,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -139,6 +263,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -178,6 +303,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -230,38 +356,16 @@ "matcher": "1-hash", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f" + ], "copyrights": [], "holders": [], "authors": [], @@ -301,6 +405,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -340,6 +445,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -379,6 +485,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -418,6 +525,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -470,38 +578,16 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_119.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_119.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_119.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 80.95, + "for_licenses": [ + "e68d2a19-4f30-77b2-c51f-8f14b7a097d2" + ], "copyrights": [ { "copyright": "Copyright (c) 2001 - 2011 Members of the Gmerlin project gmerlin-general@lists.sourceforge.net http://gmerlin.sourceforge.net", @@ -553,6 +639,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2001 - 2011 Members of the Gmerlin project", diff --git a/tests/summarycode/data/summary/holders/clear_holder.expected.json b/tests/summarycode/data/summary/holders/clear_holder.expected.json index a7704ed647d..e7f151f53c8 100644 --- a/tests/summarycode/data/summary/holders/clear_holder.expected.json +++ b/tests/summarycode/data/summary/holders/clear_holder.expected.json @@ -1,4 +1,80 @@ { + "licenses": [ + { + "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 176, + "matched_length": 1410, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" + } + ] + }, + { + "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 18, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" + } + ] + }, + { + "identifier": "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "occurance_count": 3, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 80.0, + "start_line": 3, + "end_line": 3, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" + }, + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" + } + ] + } + ], "dependencies": [], "packages": [], "summary": { @@ -40,6 +116,155 @@ ], "other_languages": [] }, + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1410, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 80 + }, + { + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 80 + }, + { + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 80 + }, + { + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + } + ], "files": [ { "path": "clear_holder", @@ -65,6 +290,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -117,32 +343,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" }, { "score": 100.0, @@ -153,53 +354,16 @@ "matcher": "2-aho", "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 47.06, + "for_licenses": [ + "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + ], "copyrights": [ { "copyright": "Copyright Example Corp.", @@ -274,38 +438,16 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + ], "copyrights": [], "holders": [], "authors": [], @@ -358,38 +500,16 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [], "holders": [], "authors": [], @@ -429,6 +549,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -481,32 +602,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" }, { "score": 100.0, @@ -517,53 +613,16 @@ "matcher": "2-aho", "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 53.33, + "for_licenses": [ + "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + ], "copyrights": [ { "copyright": "Copyright Example Corp", @@ -615,6 +674,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -667,32 +727,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" }, { "score": 100.0, @@ -703,53 +738,16 @@ "matcher": "2-aho", "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 66.67, + "for_licenses": [ + "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + ], "copyrights": [ { "copyright": "Copyright Example Corp.", diff --git a/tests/summarycode/data/summary/holders/combined_holders.expected.json b/tests/summarycode/data/summary/holders/combined_holders.expected.json index 10f456bc124..f764c45275b 100644 --- a/tests/summarycode/data/summary/holders/combined_holders.expected.json +++ b/tests/summarycode/data/summary/holders/combined_holders.expected.json @@ -1,4 +1,80 @@ { + "licenses": [ + { + "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 176, + "matched_length": 1410, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" + } + ] + }, + { + "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 18, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" + } + ] + }, + { + "identifier": "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "occurance_count": 3, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 80.0, + "start_line": 3, + "end_line": 3, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" + }, + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" + } + ] + } + ], "dependencies": [], "packages": [], "summary": { @@ -36,6 +112,155 @@ ], "other_languages": [] }, + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1410, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 80 + }, + { + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 80 + }, + { + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 80 + }, + { + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + } + ], "files": [ { "path": "combined_holders", @@ -61,6 +286,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -113,32 +339,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" }, { "score": 100.0, @@ -149,53 +350,16 @@ "matcher": "2-aho", "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 47.06, + "for_licenses": [ + "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + ], "copyrights": [ { "copyright": "Copyright Example Corp.", @@ -270,38 +434,16 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + ], "copyrights": [], "holders": [], "authors": [], @@ -354,38 +496,16 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [], "holders": [], "authors": [], @@ -425,6 +545,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -477,32 +598,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" }, { "score": 100.0, @@ -513,53 +609,16 @@ "matcher": "2-aho", "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 66.67, + "for_licenses": [ + "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + ], "copyrights": [], "holders": [], "authors": [], @@ -599,6 +658,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -651,32 +711,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" }, { "score": 100.0, @@ -687,53 +722,16 @@ "matcher": "2-aho", "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 88.89, + "for_licenses": [ + "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + ], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json b/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json index 940c36284bf..68ab710b141 100644 --- a/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json +++ b/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json @@ -1,4 +1,48 @@ { + "licenses": [ + { + "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 176, + "matched_length": 1410, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" + } + ] + }, + { + "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 18, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" + } + ] + } + ], "dependencies": [], "packages": [], "summary": { @@ -36,6 +80,83 @@ ], "other_languages": [] }, + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1410, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + } + ], "files": [ { "path": "ambiguous", @@ -61,6 +182,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -100,6 +222,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright Example Corp.", @@ -164,38 +287,16 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + ], "copyrights": [], "holders": [], "authors": [], @@ -248,38 +349,16 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json b/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json index 27ecf0c879e..0fb63c309b7 100644 --- a/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json +++ b/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json @@ -1,4 +1,80 @@ { + "licenses": [ + { + "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 176, + "matched_length": 1410, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" + } + ] + }, + { + "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 18, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" + } + ] + }, + { + "identifier": "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 80.0, + "start_line": 3, + "end_line": 3, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" + }, + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" + } + ] + } + ], "dependencies": [], "packages": [], "summary": { @@ -36,6 +112,107 @@ ], "other_languages": [] }, + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1410, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 80 + }, + { + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + } + ], "files": [ { "path": "unambiguous", @@ -61,6 +238,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -113,32 +291,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" }, { "score": 100.0, @@ -149,53 +302,16 @@ "matcher": "2-aho", "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 57.14, + "for_licenses": [ + "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + ], "copyrights": [ { "copyright": "Copyright Example Corp.", @@ -260,38 +376,16 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + ], "copyrights": [], "holders": [], "authors": [], @@ -344,38 +438,16 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json b/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json index bae0f90e384..8a3e7356e88 100644 --- a/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json +++ b/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json @@ -1,4 +1,143 @@ { + "licenses": [ + { + "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 176, + "matched_length": 1410, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" + } + ] + }, + { + "identifier": "ad8a216c-f324-d61f-494c-f105455d2fee", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 4, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" + } + ] + }, + { + "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 18, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" + } + ] + }, + { + "identifier": "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 80.0, + "start_line": 3, + "end_line": 3, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" + }, + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" + } + ] + }, + { + "identifier": "c6739b12-3643-1e85-cc14-1864411bf945", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" + } + ] + }, + { + "identifier": "d5eb9d8e-3b26-fd74-282d-341e657c08eb", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + } + ] + } + ], "dependencies": [], "packages": [ { @@ -50,33 +189,7 @@ "matcher": "1-spdx-id", "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "MIT", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": null } ] } @@ -149,33 +262,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -239,6 +326,183 @@ ], "other_languages": [] }, + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "matched_text": "MIT" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "apache-2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1410, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "matched_text": "MIT" + }, + { + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 80 + }, + { + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "apache-2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + } + ], "files": [ { "path": "codebase", @@ -264,6 +528,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -316,32 +581,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" }, { "score": 100.0, @@ -352,53 +592,16 @@ "matcher": "2-aho", "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 57.14, + "for_licenses": [ + "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + ], "copyrights": [ { "copyright": "Copyright Example Corp.", @@ -465,38 +668,16 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + ], "copyrights": [], "holders": [], "authors": [], @@ -551,38 +732,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 25.0, + "for_licenses": [ + "ad8a216c-f324-d61f-494c-f105455d2fee" + ], "copyrights": [], "holders": [], "authors": [ @@ -642,33 +801,7 @@ "matcher": "1-spdx-id", "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "MIT", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": null } ] } @@ -740,38 +873,16 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [], "holders": [], "authors": [], @@ -826,38 +937,17 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 40.0, + "for_licenses": [ + "c6739b12-3643-1e85-cc14-1864411bf945", + "d5eb9d8e-3b26-fd74-282d-341e657c08eb" + ], "copyrights": [], "holders": [], "authors": [], @@ -911,33 +1001,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } diff --git a/tests/summarycode/data/summary/single_file/single_file.expected.json b/tests/summarycode/data/summary/single_file/single_file.expected.json index 247e8f1d719..c70299aede4 100644 --- a/tests/summarycode/data/summary/single_file/single_file.expected.json +++ b/tests/summarycode/data/summary/single_file/single_file.expected.json @@ -1,4 +1,27 @@ { + "licenses": [ + { + "identifier": "427d039d-8476-c119-f150-af365b19c42b", + "license_expression": "jetty", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 132, + "matched_length": 996, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "jetty", + "rule_identifier": "jetty.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/jetty.LICENSE" + } + ] + } + ], "dependencies": [], "packages": [], "summary": { @@ -23,6 +46,38 @@ "other_holders": [], "other_languages": [] }, + "license_references": [ + { + "key": "jetty", + "short_name": "Jetty License", + "name": "Jetty License", + "category": "Permissive", + "owner": "Jetty Project", + "homepage_url": "http://www.tinyos.net/tinyos-1.x/tools/java/jars/JETTY-LICENSE.txt", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-jetty", + "text_urls": [ + "http://svn.apache.org/repos/asf/forrest/trunk/tools/jetty/jetty-4.2.19.jar.license.html", + "http://www.tinyos.net/tinyos-1.x/tools/java/jars/JETTY-LICENSE.txt" + ], + "faq_url": "http://en.wikipedia.org/wiki/Jetty_(web_server)", + "text": "Jetty License\n$Revision: 584 $\n\nPreamble:\nThe intent of this document is to state the conditions under which the Jetty\nPackage may be copied, such that the Copyright Holder maintains some semblance\nof control over the development of the package, while giving the users of the\npackage the right to use, distribute and make reasonable modifications to the\nPackage in accordance with the goals and ideals of the Open Source concept as\ndescribed at http://www.opensource.org.\n\nIt is the intent of this license to allow commercial usage of the Jetty package,\nso long as the source code is distributed or suitable visible credit given or\nother arrangements made with the copyright holders.\n\nDefinitions:\n* \"Jetty\" refers to the collection of Java classes that are distributed as a\nHTTP server with servlet capabilities and associated utilities.\n\n* \"Package\" refers to the collection of files distributed by the Copyright\nHolder, and derivatives of that collection of files created through textual\nmodification.\n\n* \"Standard Version\" refers to such a Package if it has not been modified,\nor has been modified in accordance with the wishes of the Copyright Holder.\n\n* \"Copyright Holder\" is whoever is named in the copyright or copyrights for\nthe package. Mort Bay Consulting Pty. Ltd. (Australia) is the \"Copyright Holder\" for\nthe Jetty package.\n\n* \"You\" is you, if you're thinking about copying or distributing this\nPackage.\n\n* \"Reasonable copying fee\" is whatever you can justify on the basis of media\ncost, duplication charges, time of people involved, and so on. (You will not be\nrequired to justify it to the Copyright Holder, but only to the computing\ncommunity at large as a market that must bear the fee.)\n\n* \"Freely Available\" means that no fee is charged for the item itself,\nthough there may be fees involved in handling the item. It also means that\nrecipients of the item may redistribute it under the same conditions they\nreceived it.\n\n0. The Jetty Package is Copyright (c) Mort Bay Consulting Pty. Ltd. (Australia)\nand others. Individual files in this package may contain additional copyright\nnotices. The javax.servlet packages are copyright Sun Microsystems Inc.\n\n1. The Standard Version of the Jetty package is available from\nhttp://jetty.mortbay.org.\n\n2. You may make and distribute verbatim copies of the source form of the\nStandard Version of this Package without restriction, provided that you include\nthis license and all of the original copyright notices and associated\ndisclaimers.\n\n3. You may make and distribute verbatim copies of the compiled form of the\nStandard Version of this Package without restriction, provided that you include\nthis license.\n\n4. You may apply bug fixes, portability fixes and other modifications derived\nfrom the Public Domain or from the Copyright Holder. A Package modified in such\na way shall still be considered the Standard Version.\n\n5. You may otherwise modify your copy of this Package in any way, provided that\nyou insert a prominent notice in each changed file stating how and when you\nchanged that file, and provided that you do at least ONE of the following:\n\na) Place your modifications in the Public Domain or otherwise make them\nFreely Available, such as by posting said modifications to Usenet or an\nequivalent medium, or placing the modifications on a major archive site such as\nftp.uu.net, or by allowing the Copyright Holder to include your modifications in\nthe Standard Version of the Package.\n\nb) Use the modified Package only within your corporation or organization.\n\nc) Rename any non-standard classes so the names do not conflict with\nstandard classes, which must also be provided, and provide a separate manual\npage for each non-standard class that clearly documents how it differs from the\nStandard Version.\n\nd) Make other arrangements with the Copyright Holder.\n\n6. You may distribute modifications or subsets of this Package in source code or\ncompiled form, provided that you do at least ONE of the following:\n\na) Distribute this license and all original copyright messages, together\nwith instructions (in the about dialog, manual page or equivalent) on where to\nget the complete Standard Version.\n\nb) Accompany the distribution with the machine-readable source of the\nPackage with your modifications. The modified package must include this license\nand all of the original copyright notices and associated disclaimers, together\nwith instructions on where to get the complete Standard Version.\n\nc) Make other arrangements with the Copyright Holder.\n\n7. You may charge a reasonable copying fee for any distribution of this Package.\nYou may charge any fee you choose for support of this Package. You may not\ncharge a fee for this Package itself. However, you may distribute this Package\nin aggregate with other (possibly commercial) programs as part of a larger\n(possibly commercial) software distribution provided that you meet the other\ndistribution requirements of this license.\n\n8. Input to or the output produced from the programs of this Package do not\nautomatically fall under the copyright of this Package, but belong to whomever\ngenerated them, and may be sold commercially, and may be aggregated with this\nPackage.\n\n9. Any program subroutines supplied by you and linked into this Package shall\nnot be considered part of this Package.\n\n10. The name of the Copyright Holder may not be used to endorse or promote\nproducts derived from this software without specific prior written permission.\n\n11. This license may change with each release of a Standard Version of the\nPackage. You may choose to use the license associated with version you are using\nor the license of the latest Standard Version.\n\n12. THIS PACKAGE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR IMPLIED\nWARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n\n13. If any superior law implies a warranty, the sole remedy under such shall be,\nat the Copyright Holders option either\na) return of any price paid or\nb) use or reasonable endeavours to repair or replace the software.\n\n14. This license shall be read under the laws of Australia.\n\nThe End\nThis license was derived from the Artistic license published on\nhttp://www.opensource.com" + } + ], + "rule_references": [ + { + "license_expression": "jetty", + "rule_identifier": "jetty.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 996, + "rule_relevance": 100 + } + ], "files": [ { "path": "codebase", @@ -48,6 +103,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -100,38 +156,16 @@ "matcher": "1-hash", "license_expression": "jetty", "rule_identifier": "jetty.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/jetty.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 996, - "rule_relevance": 100, - "licenses": [ - { - "key": "jetty", - "name": "Jetty License", - "short_name": "Jetty License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Jetty Project", - "homepage_url": "http://www.tinyos.net/tinyos-1.x/tools/java/jars/JETTY-LICENSE.txt", - "text_url": "http://svn.apache.org/repos/asf/forrest/trunk/tools/jetty/jetty-4.2.19.jar.license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/jetty", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/jetty.LICENSE", - "spdx_license_key": "LicenseRef-scancode-jetty", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/jetty.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/jetty.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "427d039d-8476-c119-f150-af365b19c42b" + ], "copyrights": [ { "copyright": "Copyright (c) Mort Bay Consulting Pty. Ltd. (Australia) and others", diff --git a/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json b/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json index 0a0bea44344..82b584d4aff 100644 --- a/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json +++ b/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json @@ -1,4 +1,122 @@ { + "licenses": [ + { + "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 20, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" + } + ] + }, + { + "identifier": "ad8a216c-f324-d61f-494c-f105455d2fee", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 6, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" + } + ] + }, + { + "identifier": "04f8db63-e6e3-94d5-ae3a-a1a5f5f6ce6e", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 13, + "end_line": 13, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "pypi_mit_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE" + } + ] + }, + { + "identifier": "fb844411-7214-0f1a-1e8f-45cf1b635d24", + "license_expression": "unknown-license-reference", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 25, + "end_line": 25, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see_license_at_manifest_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_2.RULE" + } + ] + }, + { + "identifier": "a545424e-6bca-63d9-1fbd-c17f2c43ab4b", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 31, + "end_line": 31, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" + }, + { + "score": 100.0, + "start_line": 35, + "end_line": 35, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "pypi_mit_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE" + } + ] + } + ], "dependencies": [], "packages": [ { @@ -55,33 +173,7 @@ "matcher": "1-spdx-id", "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "MIT", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": null } ] }, @@ -100,33 +192,7 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "pypi_mit_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "['License :: OSI Approved :: MIT License']", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE" } ] } @@ -176,6 +242,146 @@ "other_holders": [], "other_languages": [] }, + "license_references": [ + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "matched_text": "MIT" + }, + { + "license_expression": "mit", + "rule_identifier": "pypi_mit_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "['License :: OSI Approved :: MIT License']" + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "matched_text": "MIT" + }, + { + "license_expression": "mit", + "rule_identifier": "pypi_mit_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "['License :: OSI Approved :: MIT License']" + }, + { + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100, + "matched_text": "MIT" + }, + { + "license_expression": "mit", + "rule_identifier": "pypi_mit_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100, + "matched_text": "['License :: OSI Approved :: MIT License']" + }, + { + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "pypi_mit_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + } + ], "files": [ { "path": "pip-22.0.4", @@ -185,6 +391,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "is_legal": false, @@ -202,6 +409,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -234,38 +442,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 93.6, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -285,6 +471,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -304,6 +491,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -336,32 +524,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" } ] }, @@ -380,32 +543,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "pypi_mit_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE" } ] }, @@ -424,34 +562,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see_license_at_manifest_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_2.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_2.RULE" }, { "score": 100.0, @@ -462,38 +573,18 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 1.86, + "for_licenses": [ + "ad8a216c-f324-d61f-494c-f105455d2fee", + "04f8db63-e6e3-94d5-ae3a-a1a5f5f6ce6e", + "fb844411-7214-0f1a-1e8f-45cf1b635d24" + ], "package_data": [ { "type": "pypi", @@ -549,33 +640,7 @@ "matcher": "1-spdx-id", "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "MIT", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": null } ] }, @@ -594,33 +659,7 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "pypi_mit_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "['License :: OSI Approved :: MIT License']", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE" } ] } @@ -662,6 +701,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -681,6 +721,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "is_legal": false, @@ -698,6 +739,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [ { "type": "pypi", @@ -928,6 +970,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [ { "type": "pypi", @@ -970,32 +1013,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } @@ -1047,34 +1065,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see_license_at_manifest_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_2.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_2.RULE" }, { "score": 100.0, @@ -1085,32 +1076,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" }, { "score": 100.0, @@ -1121,38 +1087,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 1.96, + "for_licenses": [ + "fb844411-7214-0f1a-1e8f-45cf1b635d24" + ], "package_data": [ { "type": "pypi", @@ -1195,34 +1139,7 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see_license_at_manifest_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_2.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_2.RULE" }, { "score": 100.0, @@ -1233,32 +1150,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" }, { "score": 100.0, @@ -1269,32 +1161,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } @@ -1346,32 +1213,7 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" }, { "score": 100.0, @@ -1382,38 +1224,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "pypi_mit_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 2.37, + "for_licenses": [ + "a545424e-6bca-63d9-1fbd-c17f2c43ab4b" + ], "package_data": [ { "type": "pypi", @@ -1469,33 +1289,7 @@ "matcher": "1-spdx-id", "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "MIT", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": null } ] }, @@ -1514,33 +1308,7 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "pypi_mit_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "['License :: OSI Approved :: MIT License']", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE" } ] } @@ -1583,6 +1351,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "is_legal": false, @@ -1600,6 +1369,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [], "is_legal": false, @@ -1617,6 +1387,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1636,6 +1407,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1655,6 +1427,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" diff --git a/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json b/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json index b77a809f4f8..90653958aad 100644 --- a/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json +++ b/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json @@ -1,4 +1,27 @@ { + "licenses": [ + { + "identifier": "28a4af66-3385-dc3d-3b4b-27eea19ac8ca", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 14, + "matched_length": 85, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE" + } + ] + } + ], "dependencies": [ { "purl": "pkg:pypi/pybind11", @@ -65,32 +88,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE" } ] } @@ -142,6 +140,61 @@ ], "other_languages": [] }, + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100 + } + ], "files": [ { "path": "codebase", @@ -167,6 +220,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -206,6 +260,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) Example Corporation", @@ -272,38 +327,16 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 53.12, + "for_licenses": [ + "28a4af66-3385-dc3d-3b4b-27eea19ac8ca" + ], "copyrights": [ { "copyright": "Copyright 2020 Google LLC", @@ -379,32 +412,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE" } ] } diff --git a/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json b/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json index 20037f38dfd..b6283c802a2 100644 --- a/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json +++ b/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json @@ -1,4 +1,122 @@ { + "licenses": [ + { + "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 176, + "matched_length": 1410, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" + } + ] + }, + { + "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 18, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" + } + ] + }, + { + "identifier": "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 80.0, + "start_line": 3, + "end_line": 3, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" + }, + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" + } + ] + }, + { + "identifier": "c6739b12-3643-1e85-cc14-1864411bf945", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" + } + ] + }, + { + "identifier": "d5eb9d8e-3b26-fd74-282d-341e657c08eb", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + } + ] + } + ], "dependencies": [], "packages": [ { @@ -50,33 +168,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } @@ -136,6 +228,145 @@ ], "other_languages": [] }, + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "apache-2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1410, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 80 + }, + { + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100, + "matched_text": "apache-2.0" + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + } + ], "files": [ { "path": "codebase", @@ -161,6 +392,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -213,32 +445,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" }, { "score": 100.0, @@ -249,53 +456,16 @@ "matcher": "2-aho", "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 57.14, + "for_licenses": [ + "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + ], "copyrights": [ { "copyright": "Copyright Example Corp.", @@ -362,38 +532,16 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + ], "copyrights": [], "holders": [], "authors": [], @@ -448,38 +596,16 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [], "holders": [], "authors": [], @@ -534,38 +660,17 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 40.0, + "for_licenses": [ + "c6739b12-3643-1e85-cc14-1864411bf945", + "d5eb9d8e-3b26-fd74-282d-341e657c08eb" + ], "copyrights": [], "holders": [], "authors": [], @@ -619,33 +724,7 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" } ] } diff --git a/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json b/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json index dbb1335443e..557931c8dac 100644 --- a/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json +++ b/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json @@ -1,4 +1,80 @@ { + "licenses": [ + { + "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "license_expression": "apache-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 176, + "matched_length": 1410, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" + } + ] + }, + { + "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "license_expression": "mit", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 18, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" + } + ] + }, + { + "identifier": "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 80.0, + "start_line": 3, + "end_line": 3, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" + }, + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" + } + ] + } + ], "dependencies": [], "packages": [], "summary": { @@ -36,6 +112,107 @@ ], "other_languages": [] }, + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1410, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 80 + }, + { + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + } + ], "files": [ { "path": "codebase", @@ -61,6 +238,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -113,32 +291,7 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE" }, { "score": 100.0, @@ -149,53 +302,16 @@ "matcher": "2-aho", "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 57.14, + "for_licenses": [ + "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + ], "copyrights": [ { "copyright": "Copyright Example Corp.", @@ -260,38 +376,16 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + ], "copyrights": [], "holders": [], "authors": [], @@ -344,38 +438,16 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "e60e2912-9996-f235-207c-8ce2b9e55eb9" + ], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/summarycode/data/tallies/copyright_tallies/tallies.expected.json b/tests/summarycode/data/tallies/copyright_tallies/tallies.expected.json index ac0cec441df..eeeb66db15b 100644 --- a/tests/summarycode/data/tallies/copyright_tallies/tallies.expected.json +++ b/tests/summarycode/data/tallies/copyright_tallies/tallies.expected.json @@ -119,6 +119,8 @@ } ] }, + "license_references": [], + "rule_references": [], "files": [ { "path": "scan", diff --git a/tests/summarycode/data/tallies/copyright_tallies/tallies2.expected.json b/tests/summarycode/data/tallies/copyright_tallies/tallies2.expected.json index 1d9bc4fdc9e..815af1468e3 100644 --- a/tests/summarycode/data/tallies/copyright_tallies/tallies2.expected.json +++ b/tests/summarycode/data/tallies/copyright_tallies/tallies2.expected.json @@ -27,6 +27,8 @@ } ] }, + "license_references": [], + "rule_references": [], "files": [ { "path": "scan2", diff --git a/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected.json b/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected.json index 8b8e8e2142d..85fa2ceb049 100644 --- a/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected.json +++ b/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected.json @@ -119,6 +119,8 @@ } ] }, + "license_references": [], + "rule_references": [], "files": [ { "path": "scan", diff --git a/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected2.json b/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected2.json index 8b8e8e2142d..85fa2ceb049 100644 --- a/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected2.json +++ b/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected2.json @@ -119,6 +119,8 @@ } ] }, + "license_references": [], + "rule_references": [], "files": [ { "path": "scan", diff --git a/tests/summarycode/data/tallies/copyright_tallies/tallies_key_files.expected.json b/tests/summarycode/data/tallies/copyright_tallies/tallies_key_files.expected.json index f34a3363f24..f15e802cd74 100644 --- a/tests/summarycode/data/tallies/copyright_tallies/tallies_key_files.expected.json +++ b/tests/summarycode/data/tallies/copyright_tallies/tallies_key_files.expected.json @@ -143,6 +143,8 @@ "authors": [], "programming_language": [] }, + "license_references": [], + "rule_references": [], "files": [ { "path": "scan", diff --git a/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json b/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json index 1a99ec86615..5c55f3d9e5f 100644 --- a/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json +++ b/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json @@ -1,4 +1,48 @@ { + "licenses": [ + { + "identifier": "b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f", + "license_expression": "gpl-3.0-plus", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 12, + "matched_length": 102, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_290.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE" + } + ] + }, + { + "identifier": "e68d2a19-4f30-77b2-c51f-8f14b7a097d2", + "license_expression": "gpl-2.0-plus", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 8, + "end_line": 19, + "matched_length": 102, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_119.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_119.RULE" + } + ] + } + ], "dependencies": [], "packages": [], "tallies": { @@ -65,6 +109,84 @@ "authors": [], "programming_language": [] }, + "license_references": [ + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "gpl-3.0-plus", + "short_name": "GPL 3.0 or later", + "name": "GNU General Public License 3.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "notes": "Per SPDX.org, this license was released 29 June 2007 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-3.0-or-later", + "other_spdx_license_keys": [ + "GPL-3.0+", + "LicenseRef-GPL-3.0-or-later" + ], + "text_urls": [ + "http://www.gnu.org/licenses/gpl-3.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-3.0", + "https://opensource.org/licenses/GPL-3.0", + "https://www.gnu.org/licenses/gpl-3.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + } + ], + "rule_references": [ + { + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_290.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 102, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_119.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 102, + "rule_relevance": 100 + } + ], "files": [ { "path": "bug-1141.tar.gz", @@ -90,6 +212,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -130,6 +253,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -170,6 +294,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -210,6 +335,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -263,38 +389,16 @@ "matcher": "1-hash", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-3.0-plus", - "name": "GNU General Public License 3.0 or later", - "short_name": "GPL 3.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-3.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-3.0-plus.LICENSE", - "spdx_license_key": "GPL-3.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-3.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f" + ], "copyrights": [], "holders": [], "authors": [], @@ -337,6 +441,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -379,6 +484,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -419,6 +525,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -459,6 +566,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -512,38 +620,16 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_119.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_119.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_119.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 80.95, + "for_licenses": [ + "e68d2a19-4f30-77b2-c51f-8f14b7a097d2" + ], "copyrights": [ { "copyright": "Copyright (c) 2001 - 2011 Members of the Gmerlin project gmerlin-general@lists.sourceforge.net http://gmerlin.sourceforge.net", @@ -598,6 +684,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2001 - 2011 Members of the Gmerlin project", diff --git a/tests/summarycode/data/tallies/full_tallies/tallies.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies.expected.json index 96973b4ab2c..28f25be7d06 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies.expected.json @@ -1,4 +1,216 @@ { + "licenses": [ + { + "identifier": "c7a96db7-de74-527f-da8d-b573175736b4", + "license_expression": "cc0-1.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.69, + "start_line": 1, + "end_line": 98, + "matched_length": 978, + "match_coverage": 99.69, + "matcher": "3-seq", + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" + } + ] + }, + { + "identifier": "8755d5fd-6521-04e7-ace1-4344b99647e3", + "license_expression": "artistic-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 198, + "end_line": 198, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" + } + ] + }, + { + "identifier": "9c6f31cf-0e74-9f00-c846-b76477e312c2", + "license_expression": "zlib", + "occurance_count": 9, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + } + ] + }, + { + "identifier": "866b02ed-ff4b-379e-e254-8ebc15ceae23", + "license_expression": "zlib", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 23, + "matched_length": 144, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" + } + ] + }, + { + "identifier": "126b3e65-1401-e7e2-8359-60042a41771c", + "license_expression": "lgpl-2.1-plus", + "occurance_count": 3, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 20, + "matched_length": 125, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" + } + ] + }, + { + "identifier": "26ed35f7-744b-aeec-b973-783eeb6928b4", + "license_expression": "cc-by-2.5", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 14, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" + } + ] + }, + { + "identifier": "ab43ac21-eeae-978d-b391-58e77ab54a8c", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 25, + "matched_length": 176, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" + } + ] + }, + { + "identifier": "b015a903-1844-66d2-fd10-6e5e24a7b011", + "license_expression": "boost-1.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 32, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" + } + ] + }, + { + "identifier": "b242753c-a31d-3db4-b77a-92bdef5c5389", + "license_expression": "zlib", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 17, + "end_line": 31, + "matched_length": 132, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE" + } + ] + }, + { + "identifier": "41d50a44-94c9-224f-adc2-02743727be1a", + "license_expression": "mit-old-style", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 9, + "end_line": 15, + "matched_length": 71, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" + } + ] + } + ], "dependencies": [ { "purl": "pkg:npm/abbrev", @@ -3304,33 +3516,7 @@ "matcher": "1-hash", "license_expression": "artistic-2.0", "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "Artistic-2.0", - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE" } ] } @@ -3535,6 +3721,422 @@ } ] }, + "license_references": [ + { + "key": "ada-linking-exception", + "short_name": "Ada linking exception to GPL 2.0 or later", + "name": "Ada linking exception to GPL 2.0 or later", + "category": "Copyleft Limited", + "owner": "Dmitriy Anisimkov", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", + "other_urls": [ + "http://zlib-ada.sourceforge.net/", + "http://ada-ru.org/" + ], + "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", + "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." + }, + { + "key": "artistic-2.0", + "short_name": "Artistic 2.0", + "name": "Artistic License 2.0", + "category": "Copyleft Limited", + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "Artistic-2.0", + "osi_license_key": "Artistic-2.0", + "text_urls": [ + "https://www.perlfoundation.org/artistic_license_2_0", + "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" + ], + "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", + "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", + "other_urls": [ + "http://www.perlfoundation.org/artistic_license_2_0", + "https://opensource.org/licenses/artistic-license-2.0", + "https://www.opensource.org/licenses/artistic-license-2.0", + "https://www.perlfoundation.org/artistic-license-20.html" + ], + "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "boost-1.0", + "short_name": "Boost 1.0", + "name": "Boost Software License 1.0", + "category": "Permissive", + "owner": "Boost", + "homepage_url": "http://www.boost.org/users/license.html", + "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "BSL-1.0", + "text_urls": [ + "http://www.boost.org/LICENSE_1_0.txt" + ], + "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", + "other_urls": [ + "http://www.boost.org/users/license.html", + "http://www.opensource.org/licenses/BSL-1.0", + "https://opensource.org/licenses/BSL-1.0" + ], + "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." + }, + { + "key": "cc-by-2.5", + "short_name": "CC-BY-2.5", + "name": "Creative Commons Attribution License 2.5", + "category": "Permissive", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by/2.5/", + "is_builtin": true, + "spdx_license_key": "CC-BY-2.5", + "text_urls": [ + "http://creativecommons.org/licenses/by/2.5/legalcode" + ], + "other_urls": [ + "https://creativecommons.org/licenses/by/2.5/legalcode" + ], + "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." + }, + { + "key": "cc0-1.0", + "short_name": "CC0-1.0", + "name": "Creative Commons CC0 1.0 Universal", + "category": "Public Domain", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", + "is_builtin": true, + "spdx_license_key": "CC0-1.0", + "text_urls": [ + "http://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", + "other_urls": [ + "https://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." + }, + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "mit-old-style", + "short_name": "MIT Old Style", + "name": "MIT Old Style", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-mit-old-style", + "text_urls": [ + "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" + ], + "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." + }, + { + "key": "zlib", + "short_name": "ZLIB License", + "name": "ZLIB License", + "category": "Permissive", + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "notes": "Per SPDX.org, this is OSI certified", + "is_builtin": true, + "spdx_license_key": "Zlib", + "text_urls": [ + "http://www.gzip.org/zlib/zlib_license.html" + ], + "osi_url": "http://www.opensource.org/licenses/zlib-license.php", + "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", + "other_urls": [ + "http://www.opensource.org/licenses/Zlib", + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "minimum_coverage": 50, + "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." + } + ], + "rule_references": [ + { + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50, + "matched_text": "Artistic-2.0" + }, + { + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 981, + "rule_relevance": 100 + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50, + "matched_text": "Artistic-2.0" + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 14, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 176, + "rule_relevance": 100 + }, + { + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "referenced_filenames": [ + "LICENSE_1_0.txt" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 32, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 71, + "rule_relevance": 100 + } + ], "files": [ { "path": "scan", @@ -3560,6 +4162,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -3594,6 +4197,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -3630,6 +4234,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -3679,38 +4284,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 79.62, + "for_licenses": [ + "126b3e65-1401-e7e2-8359-60042a41771c" + ], "copyrights": [ { "copyright": "Copyright 2005, JBoss Inc., and individual contributors", @@ -3772,38 +4355,16 @@ "matcher": "2-aho", "license_expression": "cc-by-2.5", "rule_identifier": "cc-by-2.5_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 100, - "licenses": [ - { - "key": "cc-by-2.5", - "name": "Creative Commons Attribution License 2.5", - "short_name": "CC-BY-2.5", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by/2.5/", - "text_url": "http://creativecommons.org/licenses/by/2.5/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-2.5", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-2.5.LICENSE", - "spdx_license_key": "CC-BY-2.5", - "spdx_url": "https://spdx.org/licenses/CC-BY-2.5" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 19.72, + "for_licenses": [ + "26ed35f7-744b-aeec-b973-783eeb6928b4" + ], "copyrights": [ { "copyright": "Copyright (c) 2005 Brian Goetz and Tim Peierls", @@ -3871,38 +4432,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 78.62, + "for_licenses": [ + "126b3e65-1401-e7e2-8359-60042a41771c" + ], "copyrights": [ { "copyright": "Copyright 2010, Red Hat, Inc. and individual contributors", @@ -3951,6 +4490,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ @@ -3993,6 +4533,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ @@ -4048,38 +4589,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 78.12, + "for_licenses": [ + "126b3e65-1401-e7e2-8359-60042a41771c" + ], "copyrights": [ { "copyright": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", @@ -4128,6 +4647,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ @@ -4170,6 +4690,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -4206,6 +4727,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -4255,34 +4777,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -4293,38 +4788,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 42.86, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2011 Mark Adler", @@ -4386,38 +4859,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 69.57, + "for_licenses": [ + "866b02ed-ff4b-379e-e254-8ebc15ceae23" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", @@ -4479,34 +4930,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -4517,38 +4941,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 20.34, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly", @@ -4610,38 +5012,16 @@ "matcher": "3-seq", "license_expression": "cc0-1.0", "rule_identifier": "cc0-1.0_155.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100, - "licenses": [ - { - "key": "cc0-1.0", - "name": "Creative Commons CC0 1.0 Universal", - "short_name": "CC0-1.0", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", - "text_url": "http://creativecommons.org/publicdomain/zero/1.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc0-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc0-1.0.LICENSE", - "spdx_license_key": "CC0-1.0", - "spdx_url": "https://spdx.org/licenses/CC0-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "c7a96db7-de74-527f-da8d-b573175736b4" + ], "copyrights": [], "holders": [], "authors": [], @@ -4691,38 +5071,16 @@ "matcher": "2-aho", "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 0.1, + "for_licenses": [ + "8755d5fd-6521-04e7-ace1-4344b99647e3" + ], "copyrights": [], "holders": [], "authors": [ @@ -6957,33 +7315,7 @@ "matcher": "1-hash", "license_expression": "artistic-2.0", "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "Artistic-2.0", - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE" } ] } @@ -7807,6 +8139,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -7843,6 +8176,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -7892,53 +8226,16 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus WITH ada-linking-exception", "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - }, - { - "key": "ada-linking-exception", - "name": "Ada linking exception to GPL 2.0 or later", - "short_name": "Ada linking exception to GPL 2.0 or later", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Dmitriy Anisimkov", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/ada-linking-exception", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ada-linking-exception.LICENSE", - "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ada-linking-exception.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 94.12, + "for_licenses": [ + "ab43ac21-eeae-978d-b391-58e77ab54a8c" + ], "copyrights": [ { "copyright": "Copyright (c) 2002-2004 Dmitriy Anisimkov", @@ -8000,34 +8297,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -8038,38 +8308,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 42.86, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2011 Mark Adler", @@ -8131,34 +8379,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -8169,38 +8390,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 40.0, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", @@ -8262,34 +8461,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -8300,38 +8472,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2012 Jean-loup Gailly", @@ -8380,6 +8530,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -8416,6 +8567,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2004 by Henrik Ravn", @@ -8477,40 +8629,16 @@ "matcher": "2-aho", "license_expression": "boost-1.0", "rule_identifier": "boost-1.0_21.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE", - "referenced_filenames": [ - "LICENSE_1_0.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100, - "licenses": [ - { - "key": "boost-1.0", - "name": "Boost Software License 1.0", - "short_name": "Boost 1.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "text_url": "http://www.boost.org/LICENSE_1_0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/boost-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/boost-1.0.LICENSE", - "spdx_license_key": "BSL-1.0", - "spdx_url": "https://spdx.org/licenses/BSL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 88.89, + "for_licenses": [ + "b015a903-1844-66d2-fd10-6e5e24a7b011" + ], "copyrights": [ { "copyright": "Copyright Henrik Ravn 2004", @@ -8559,6 +8687,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -8608,38 +8737,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "b242753c-a31d-3db4-b77a-92bdef5c5389" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2010 Jean-loup Gailly, Brian Raiter and Gilles Vollant", @@ -8694,6 +8801,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -8743,40 +8851,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 44.44, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2008 Mark Adler", @@ -8838,40 +8922,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 2003 Mark Adler", @@ -8920,6 +8980,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -8969,38 +9030,16 @@ "matcher": "2-aho", "license_expression": "mit-old-style", "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit-old-style", - "name": "MIT Old Style", - "short_name": "MIT Old Style", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit-old-style", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit-old-style.LICENSE", - "spdx_license_key": "LicenseRef-scancode-mit-old-style", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit-old-style.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 79.78, + "for_licenses": [ + "41d50a44-94c9-224f-adc2-02743727be1a" + ], "copyrights": [ { "copyright": "Copyright (c) 1997 Christian Michelsen Research AS Advanced Computing", @@ -9062,38 +9101,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 84.21, + "for_licenses": [ + "866b02ed-ff4b-379e-e254-8ebc15ceae23" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", @@ -9155,34 +9172,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -9193,38 +9183,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 37.5, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly", @@ -9286,34 +9254,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -9324,38 +9265,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 20.34, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly", diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json index 372032f46d6..e6d279ce575 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json @@ -1,4 +1,216 @@ { + "licenses": [ + { + "identifier": "c7a96db7-de74-527f-da8d-b573175736b4", + "license_expression": "cc0-1.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.69, + "start_line": 1, + "end_line": 98, + "matched_length": 978, + "match_coverage": 99.69, + "matcher": "3-seq", + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" + } + ] + }, + { + "identifier": "8755d5fd-6521-04e7-ace1-4344b99647e3", + "license_expression": "artistic-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 198, + "end_line": 198, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" + } + ] + }, + { + "identifier": "9c6f31cf-0e74-9f00-c846-b76477e312c2", + "license_expression": "zlib", + "occurance_count": 9, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + } + ] + }, + { + "identifier": "866b02ed-ff4b-379e-e254-8ebc15ceae23", + "license_expression": "zlib", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 23, + "matched_length": 144, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" + } + ] + }, + { + "identifier": "126b3e65-1401-e7e2-8359-60042a41771c", + "license_expression": "lgpl-2.1-plus", + "occurance_count": 3, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 20, + "matched_length": 125, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" + } + ] + }, + { + "identifier": "26ed35f7-744b-aeec-b973-783eeb6928b4", + "license_expression": "cc-by-2.5", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 14, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" + } + ] + }, + { + "identifier": "ab43ac21-eeae-978d-b391-58e77ab54a8c", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 25, + "matched_length": 176, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" + } + ] + }, + { + "identifier": "b015a903-1844-66d2-fd10-6e5e24a7b011", + "license_expression": "boost-1.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 32, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" + } + ] + }, + { + "identifier": "b242753c-a31d-3db4-b77a-92bdef5c5389", + "license_expression": "zlib", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 17, + "end_line": 31, + "matched_length": 132, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE" + } + ] + }, + { + "identifier": "41d50a44-94c9-224f-adc2-02743727be1a", + "license_expression": "mit-old-style", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 9, + "end_line": 15, + "matched_length": 71, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" + } + ] + } + ], "dependencies": [ { "purl": "pkg:npm/abbrev", @@ -3304,33 +3516,7 @@ "matcher": "1-hash", "license_expression": "artistic-2.0", "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "Artistic-2.0", - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE" } ] } @@ -3788,6 +3974,422 @@ } } ], + "license_references": [ + { + "key": "ada-linking-exception", + "short_name": "Ada linking exception to GPL 2.0 or later", + "name": "Ada linking exception to GPL 2.0 or later", + "category": "Copyleft Limited", + "owner": "Dmitriy Anisimkov", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", + "other_urls": [ + "http://zlib-ada.sourceforge.net/", + "http://ada-ru.org/" + ], + "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", + "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." + }, + { + "key": "artistic-2.0", + "short_name": "Artistic 2.0", + "name": "Artistic License 2.0", + "category": "Copyleft Limited", + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "Artistic-2.0", + "osi_license_key": "Artistic-2.0", + "text_urls": [ + "https://www.perlfoundation.org/artistic_license_2_0", + "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" + ], + "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", + "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", + "other_urls": [ + "http://www.perlfoundation.org/artistic_license_2_0", + "https://opensource.org/licenses/artistic-license-2.0", + "https://www.opensource.org/licenses/artistic-license-2.0", + "https://www.perlfoundation.org/artistic-license-20.html" + ], + "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "boost-1.0", + "short_name": "Boost 1.0", + "name": "Boost Software License 1.0", + "category": "Permissive", + "owner": "Boost", + "homepage_url": "http://www.boost.org/users/license.html", + "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "BSL-1.0", + "text_urls": [ + "http://www.boost.org/LICENSE_1_0.txt" + ], + "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", + "other_urls": [ + "http://www.boost.org/users/license.html", + "http://www.opensource.org/licenses/BSL-1.0", + "https://opensource.org/licenses/BSL-1.0" + ], + "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." + }, + { + "key": "cc-by-2.5", + "short_name": "CC-BY-2.5", + "name": "Creative Commons Attribution License 2.5", + "category": "Permissive", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by/2.5/", + "is_builtin": true, + "spdx_license_key": "CC-BY-2.5", + "text_urls": [ + "http://creativecommons.org/licenses/by/2.5/legalcode" + ], + "other_urls": [ + "https://creativecommons.org/licenses/by/2.5/legalcode" + ], + "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." + }, + { + "key": "cc0-1.0", + "short_name": "CC0-1.0", + "name": "Creative Commons CC0 1.0 Universal", + "category": "Public Domain", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", + "is_builtin": true, + "spdx_license_key": "CC0-1.0", + "text_urls": [ + "http://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", + "other_urls": [ + "https://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." + }, + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "mit-old-style", + "short_name": "MIT Old Style", + "name": "MIT Old Style", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-mit-old-style", + "text_urls": [ + "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" + ], + "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." + }, + { + "key": "zlib", + "short_name": "ZLIB License", + "name": "ZLIB License", + "category": "Permissive", + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "notes": "Per SPDX.org, this is OSI certified", + "is_builtin": true, + "spdx_license_key": "Zlib", + "text_urls": [ + "http://www.gzip.org/zlib/zlib_license.html" + ], + "osi_url": "http://www.opensource.org/licenses/zlib-license.php", + "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", + "other_urls": [ + "http://www.opensource.org/licenses/Zlib", + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "minimum_coverage": 50, + "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." + } + ], + "rule_references": [ + { + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50, + "matched_text": "Artistic-2.0" + }, + { + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 981, + "rule_relevance": 100 + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50, + "matched_text": "Artistic-2.0" + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 14, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 176, + "rule_relevance": 100 + }, + { + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "referenced_filenames": [ + "LICENSE_1_0.txt" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 32, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 71, + "rule_relevance": 100 + } + ], "files": [ { "path": "scan", @@ -3813,6 +4415,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -3850,6 +4453,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -3889,6 +4493,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -3941,38 +4546,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 79.62, + "for_licenses": [ + "126b3e65-1401-e7e2-8359-60042a41771c" + ], "copyrights": [ { "copyright": "Copyright 2005, JBoss Inc., and individual contributors", @@ -4045,38 +4628,16 @@ "matcher": "2-aho", "license_expression": "cc-by-2.5", "rule_identifier": "cc-by-2.5_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 100, - "licenses": [ - { - "key": "cc-by-2.5", - "name": "Creative Commons Attribution License 2.5", - "short_name": "CC-BY-2.5", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by/2.5/", - "text_url": "http://creativecommons.org/licenses/by/2.5/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-2.5", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-2.5.LICENSE", - "spdx_license_key": "CC-BY-2.5", - "spdx_url": "https://spdx.org/licenses/CC-BY-2.5" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 19.72, + "for_licenses": [ + "26ed35f7-744b-aeec-b973-783eeb6928b4" + ], "copyrights": [ { "copyright": "Copyright (c) 2005 Brian Goetz and Tim Peierls", @@ -4160,38 +4721,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 78.62, + "for_licenses": [ + "126b3e65-1401-e7e2-8359-60042a41771c" + ], "copyrights": [ { "copyright": "Copyright 2010, Red Hat, Inc. and individual contributors", @@ -4251,6 +4790,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ @@ -4298,6 +4838,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ @@ -4358,38 +4899,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 78.12, + "for_licenses": [ + "126b3e65-1401-e7e2-8359-60042a41771c" + ], "copyrights": [ { "copyright": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", @@ -4449,6 +4968,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ @@ -4496,6 +5016,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -4548,6 +5069,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -4600,34 +5122,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -4638,38 +5133,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 42.86, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2011 Mark Adler", @@ -4736,38 +5209,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 69.57, + "for_licenses": [ + "866b02ed-ff4b-379e-e254-8ebc15ceae23" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", @@ -4851,34 +5302,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -4889,38 +5313,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 20.34, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly", @@ -4987,38 +5389,16 @@ "matcher": "3-seq", "license_expression": "cc0-1.0", "rule_identifier": "cc0-1.0_155.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100, - "licenses": [ - { - "key": "cc0-1.0", - "name": "Creative Commons CC0 1.0 Universal", - "short_name": "CC0-1.0", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", - "text_url": "http://creativecommons.org/publicdomain/zero/1.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc0-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc0-1.0.LICENSE", - "spdx_license_key": "CC0-1.0", - "spdx_url": "https://spdx.org/licenses/CC0-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "c7a96db7-de74-527f-da8d-b573175736b4" + ], "copyrights": [], "holders": [], "authors": [], @@ -5073,38 +5453,16 @@ "matcher": "2-aho", "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 0.1, + "for_licenses": [ + "8755d5fd-6521-04e7-ace1-4344b99647e3" + ], "copyrights": [], "holders": [], "authors": [ @@ -7339,33 +7697,7 @@ "matcher": "1-hash", "license_expression": "artistic-2.0", "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "Artistic-2.0", - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE" } ] } @@ -8476,6 +8808,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -8515,6 +8848,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -8567,53 +8901,16 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus WITH ada-linking-exception", "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - }, - { - "key": "ada-linking-exception", - "name": "Ada linking exception to GPL 2.0 or later", - "short_name": "Ada linking exception to GPL 2.0 or later", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Dmitriy Anisimkov", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/ada-linking-exception", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ada-linking-exception.LICENSE", - "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ada-linking-exception.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 94.12, + "for_licenses": [ + "ab43ac21-eeae-978d-b391-58e77ab54a8c" + ], "copyrights": [ { "copyright": "Copyright (c) 2002-2004 Dmitriy Anisimkov", @@ -8680,34 +8977,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -8718,38 +8988,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 42.86, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2011 Mark Adler", @@ -8816,34 +9064,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -8854,38 +9075,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 40.0, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", @@ -8952,34 +9151,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -8990,38 +9162,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2012 Jean-loup Gailly", @@ -9075,6 +9225,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -9114,6 +9265,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2004 by Henrik Ravn", @@ -9180,40 +9332,16 @@ "matcher": "2-aho", "license_expression": "boost-1.0", "rule_identifier": "boost-1.0_21.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE", - "referenced_filenames": [ - "LICENSE_1_0.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100, - "licenses": [ - { - "key": "boost-1.0", - "name": "Boost Software License 1.0", - "short_name": "Boost 1.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "text_url": "http://www.boost.org/LICENSE_1_0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/boost-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/boost-1.0.LICENSE", - "spdx_license_key": "BSL-1.0", - "spdx_url": "https://spdx.org/licenses/BSL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 88.89, + "for_licenses": [ + "b015a903-1844-66d2-fd10-6e5e24a7b011" + ], "copyrights": [ { "copyright": "Copyright Henrik Ravn 2004", @@ -9273,6 +9401,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -9325,38 +9454,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "b242753c-a31d-3db4-b77a-92bdef5c5389" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2010 Jean-loup Gailly, Brian Raiter and Gilles Vollant", @@ -9432,6 +9539,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -9484,40 +9592,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 44.44, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2008 Mark Adler", @@ -9584,40 +9668,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 2003 Mark Adler", @@ -9671,6 +9731,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -9723,38 +9784,16 @@ "matcher": "2-aho", "license_expression": "mit-old-style", "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit-old-style", - "name": "MIT Old Style", - "short_name": "MIT Old Style", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit-old-style", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit-old-style.LICENSE", - "spdx_license_key": "LicenseRef-scancode-mit-old-style", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit-old-style.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 79.78, + "for_licenses": [ + "41d50a44-94c9-224f-adc2-02743727be1a" + ], "copyrights": [ { "copyright": "Copyright (c) 1997 Christian Michelsen Research AS Advanced Computing", @@ -9827,38 +9866,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 84.21, + "for_licenses": [ + "866b02ed-ff4b-379e-e254-8ebc15ceae23" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", @@ -9936,34 +9953,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -9974,38 +9964,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 37.5, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly", @@ -10072,34 +10040,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -10110,38 +10051,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 20.34, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly", diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json index 84c104c43df..2c26fa87a5e 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json @@ -1,4 +1,216 @@ { + "licenses": [ + { + "identifier": "c7a96db7-de74-527f-da8d-b573175736b4", + "license_expression": "cc0-1.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.69, + "start_line": 1, + "end_line": 98, + "matched_length": 978, + "match_coverage": 99.69, + "matcher": "3-seq", + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" + } + ] + }, + { + "identifier": "8755d5fd-6521-04e7-ace1-4344b99647e3", + "license_expression": "artistic-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 198, + "end_line": 198, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" + } + ] + }, + { + "identifier": "9c6f31cf-0e74-9f00-c846-b76477e312c2", + "license_expression": "zlib", + "occurance_count": 9, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + } + ] + }, + { + "identifier": "866b02ed-ff4b-379e-e254-8ebc15ceae23", + "license_expression": "zlib", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 23, + "matched_length": 144, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" + } + ] + }, + { + "identifier": "126b3e65-1401-e7e2-8359-60042a41771c", + "license_expression": "lgpl-2.1-plus", + "occurance_count": 3, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 20, + "matched_length": 125, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" + } + ] + }, + { + "identifier": "26ed35f7-744b-aeec-b973-783eeb6928b4", + "license_expression": "cc-by-2.5", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 14, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" + } + ] + }, + { + "identifier": "ab43ac21-eeae-978d-b391-58e77ab54a8c", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 25, + "matched_length": 176, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" + } + ] + }, + { + "identifier": "b015a903-1844-66d2-fd10-6e5e24a7b011", + "license_expression": "boost-1.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 32, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" + } + ] + }, + { + "identifier": "b242753c-a31d-3db4-b77a-92bdef5c5389", + "license_expression": "zlib", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 17, + "end_line": 31, + "matched_length": 132, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE" + } + ] + }, + { + "identifier": "41d50a44-94c9-224f-adc2-02743727be1a", + "license_expression": "mit-old-style", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 9, + "end_line": 15, + "matched_length": 71, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" + } + ] + } + ], "dependencies": [ { "purl": "pkg:npm/abbrev", @@ -3304,33 +3516,7 @@ "matcher": "1-hash", "license_expression": "artistic-2.0", "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "Artistic-2.0", - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE" } ] } @@ -3535,6 +3721,422 @@ } ] }, + "license_references": [ + { + "key": "ada-linking-exception", + "short_name": "Ada linking exception to GPL 2.0 or later", + "name": "Ada linking exception to GPL 2.0 or later", + "category": "Copyleft Limited", + "owner": "Dmitriy Anisimkov", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", + "other_urls": [ + "http://zlib-ada.sourceforge.net/", + "http://ada-ru.org/" + ], + "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", + "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." + }, + { + "key": "artistic-2.0", + "short_name": "Artistic 2.0", + "name": "Artistic License 2.0", + "category": "Copyleft Limited", + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "Artistic-2.0", + "osi_license_key": "Artistic-2.0", + "text_urls": [ + "https://www.perlfoundation.org/artistic_license_2_0", + "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" + ], + "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", + "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", + "other_urls": [ + "http://www.perlfoundation.org/artistic_license_2_0", + "https://opensource.org/licenses/artistic-license-2.0", + "https://www.opensource.org/licenses/artistic-license-2.0", + "https://www.perlfoundation.org/artistic-license-20.html" + ], + "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "boost-1.0", + "short_name": "Boost 1.0", + "name": "Boost Software License 1.0", + "category": "Permissive", + "owner": "Boost", + "homepage_url": "http://www.boost.org/users/license.html", + "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "BSL-1.0", + "text_urls": [ + "http://www.boost.org/LICENSE_1_0.txt" + ], + "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", + "other_urls": [ + "http://www.boost.org/users/license.html", + "http://www.opensource.org/licenses/BSL-1.0", + "https://opensource.org/licenses/BSL-1.0" + ], + "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." + }, + { + "key": "cc-by-2.5", + "short_name": "CC-BY-2.5", + "name": "Creative Commons Attribution License 2.5", + "category": "Permissive", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by/2.5/", + "is_builtin": true, + "spdx_license_key": "CC-BY-2.5", + "text_urls": [ + "http://creativecommons.org/licenses/by/2.5/legalcode" + ], + "other_urls": [ + "https://creativecommons.org/licenses/by/2.5/legalcode" + ], + "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." + }, + { + "key": "cc0-1.0", + "short_name": "CC0-1.0", + "name": "Creative Commons CC0 1.0 Universal", + "category": "Public Domain", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", + "is_builtin": true, + "spdx_license_key": "CC0-1.0", + "text_urls": [ + "http://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", + "other_urls": [ + "https://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." + }, + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "mit-old-style", + "short_name": "MIT Old Style", + "name": "MIT Old Style", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-mit-old-style", + "text_urls": [ + "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" + ], + "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." + }, + { + "key": "zlib", + "short_name": "ZLIB License", + "name": "ZLIB License", + "category": "Permissive", + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "notes": "Per SPDX.org, this is OSI certified", + "is_builtin": true, + "spdx_license_key": "Zlib", + "text_urls": [ + "http://www.gzip.org/zlib/zlib_license.html" + ], + "osi_url": "http://www.opensource.org/licenses/zlib-license.php", + "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", + "other_urls": [ + "http://www.opensource.org/licenses/Zlib", + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "minimum_coverage": 50, + "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." + } + ], + "rule_references": [ + { + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50, + "matched_text": "Artistic-2.0" + }, + { + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 981, + "rule_relevance": 100 + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50, + "matched_text": "Artistic-2.0" + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 14, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 176, + "rule_relevance": 100 + }, + { + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "referenced_filenames": [ + "LICENSE_1_0.txt" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 32, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 71, + "rule_relevance": 100 + } + ], "files": [ { "path": "scan", @@ -3560,6 +4162,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -3774,6 +4377,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -3886,6 +4490,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -4011,38 +4616,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 79.62, + "for_licenses": [ + "126b3e65-1401-e7e2-8359-60042a41771c" + ], "copyrights": [ { "copyright": "Copyright 2005, JBoss Inc., and individual contributors", @@ -4136,38 +4719,16 @@ "matcher": "2-aho", "license_expression": "cc-by-2.5", "rule_identifier": "cc-by-2.5_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 100, - "licenses": [ - { - "key": "cc-by-2.5", - "name": "Creative Commons Attribution License 2.5", - "short_name": "CC-BY-2.5", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by/2.5/", - "text_url": "http://creativecommons.org/licenses/by/2.5/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-2.5", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-2.5.LICENSE", - "spdx_license_key": "CC-BY-2.5", - "spdx_url": "https://spdx.org/licenses/CC-BY-2.5" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 19.72, + "for_licenses": [ + "26ed35f7-744b-aeec-b973-783eeb6928b4" + ], "copyrights": [ { "copyright": "Copyright (c) 2005 Brian Goetz and Tim Peierls", @@ -4267,38 +4828,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 78.62, + "for_licenses": [ + "126b3e65-1401-e7e2-8359-60042a41771c" + ], "copyrights": [ { "copyright": "Copyright 2010, Red Hat, Inc. and individual contributors", @@ -4379,6 +4918,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ @@ -4453,6 +4993,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ @@ -4540,38 +5081,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 78.12, + "for_licenses": [ + "126b3e65-1401-e7e2-8359-60042a41771c" + ], "copyrights": [ { "copyright": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", @@ -4652,6 +5171,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ @@ -4726,6 +5246,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -4794,6 +5315,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -4895,34 +5417,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -4933,38 +5428,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 42.86, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2011 Mark Adler", @@ -5058,38 +5531,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 69.57, + "for_licenses": [ + "866b02ed-ff4b-379e-e254-8ebc15ceae23" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", @@ -5183,34 +5634,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -5221,38 +5645,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 20.34, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly", @@ -5346,38 +5748,16 @@ "matcher": "3-seq", "license_expression": "cc0-1.0", "rule_identifier": "cc0-1.0_155.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100, - "licenses": [ - { - "key": "cc0-1.0", - "name": "Creative Commons CC0 1.0 Universal", - "short_name": "CC0-1.0", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", - "text_url": "http://creativecommons.org/publicdomain/zero/1.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc0-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc0-1.0.LICENSE", - "spdx_license_key": "CC0-1.0", - "spdx_url": "https://spdx.org/licenses/CC0-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "c7a96db7-de74-527f-da8d-b573175736b4" + ], "copyrights": [], "holders": [], "authors": [], @@ -5459,38 +5839,16 @@ "matcher": "2-aho", "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 0.1, + "for_licenses": [ + "8755d5fd-6521-04e7-ace1-4344b99647e3" + ], "copyrights": [], "holders": [], "authors": [ @@ -7725,33 +8083,7 @@ "matcher": "1-hash", "license_expression": "artistic-2.0", "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "Artistic-2.0", - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE" } ] } @@ -8607,6 +8939,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -8755,6 +9088,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -8835,53 +9169,16 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus WITH ada-linking-exception", "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - }, - { - "key": "ada-linking-exception", - "name": "Ada linking exception to GPL 2.0 or later", - "short_name": "Ada linking exception to GPL 2.0 or later", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Dmitriy Anisimkov", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/ada-linking-exception", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ada-linking-exception.LICENSE", - "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ada-linking-exception.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 94.12, + "for_licenses": [ + "ab43ac21-eeae-978d-b391-58e77ab54a8c" + ], "copyrights": [ { "copyright": "Copyright (c) 2002-2004 Dmitriy Anisimkov", @@ -8975,34 +9272,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -9013,38 +9283,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 42.86, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2011 Mark Adler", @@ -9138,34 +9386,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -9176,38 +9397,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 40.0, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", @@ -9301,34 +9500,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -9339,38 +9511,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2012 Jean-loup Gailly", @@ -9451,6 +9601,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -9527,6 +9678,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2004 by Henrik Ravn", @@ -9620,40 +9772,16 @@ "matcher": "2-aho", "license_expression": "boost-1.0", "rule_identifier": "boost-1.0_21.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE", - "referenced_filenames": [ - "LICENSE_1_0.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100, - "licenses": [ - { - "key": "boost-1.0", - "name": "Boost Software License 1.0", - "short_name": "Boost 1.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "text_url": "http://www.boost.org/LICENSE_1_0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/boost-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/boost-1.0.LICENSE", - "spdx_license_key": "BSL-1.0", - "spdx_url": "https://spdx.org/licenses/BSL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 88.89, + "for_licenses": [ + "b015a903-1844-66d2-fd10-6e5e24a7b011" + ], "copyrights": [ { "copyright": "Copyright Henrik Ravn 2004", @@ -9734,6 +9862,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -9819,38 +9948,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "b242753c-a31d-3db4-b77a-92bdef5c5389" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2010 Jean-loup Gailly, Brian Raiter and Gilles Vollant", @@ -9937,6 +10044,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -10022,40 +10130,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 44.44, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2008 Mark Adler", @@ -10149,40 +10233,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 2003 Mark Adler", @@ -10263,6 +10323,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -10348,38 +10409,16 @@ "matcher": "2-aho", "license_expression": "mit-old-style", "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit-old-style", - "name": "MIT Old Style", - "short_name": "MIT Old Style", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit-old-style", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit-old-style.LICENSE", - "spdx_license_key": "LicenseRef-scancode-mit-old-style", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit-old-style.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 79.78, + "for_licenses": [ + "41d50a44-94c9-224f-adc2-02743727be1a" + ], "copyrights": [ { "copyright": "Copyright (c) 1997 Christian Michelsen Research AS Advanced Computing", @@ -10473,38 +10512,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 84.21, + "for_licenses": [ + "866b02ed-ff4b-379e-e254-8ebc15ceae23" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", @@ -10598,34 +10615,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -10636,38 +10626,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 37.5, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly", @@ -10761,34 +10729,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -10799,38 +10740,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 20.34, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly", diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines b/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines index 1a103005cf1..12a69a2d0aa 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines +++ b/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines @@ -14,7 +14,7 @@ "--tallies-key-files": true }, "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", - "output_format_version": "2.0.0", + "output_format_version": "3.0.0", "message": null, "errors": [], "warnings": [], @@ -32,6 +32,220 @@ } ] }, + { + "licenses": [ + { + "identifier": "c7a96db7-de74-527f-da8d-b573175736b4", + "license_expression": "cc0-1.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.69, + "start_line": 1, + "end_line": 98, + "matched_length": 978, + "match_coverage": 99.69, + "matcher": "3-seq", + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" + } + ] + }, + { + "identifier": "8755d5fd-6521-04e7-ace1-4344b99647e3", + "license_expression": "artistic-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 198, + "end_line": 198, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" + } + ] + }, + { + "identifier": "9c6f31cf-0e74-9f00-c846-b76477e312c2", + "license_expression": "zlib", + "occurance_count": 9, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + } + ] + }, + { + "identifier": "866b02ed-ff4b-379e-e254-8ebc15ceae23", + "license_expression": "zlib", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 23, + "matched_length": 144, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" + } + ] + }, + { + "identifier": "126b3e65-1401-e7e2-8359-60042a41771c", + "license_expression": "lgpl-2.1-plus", + "occurance_count": 3, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 20, + "matched_length": 125, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" + } + ] + }, + { + "identifier": "26ed35f7-744b-aeec-b973-783eeb6928b4", + "license_expression": "cc-by-2.5", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 14, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" + } + ] + }, + { + "identifier": "ab43ac21-eeae-978d-b391-58e77ab54a8c", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 25, + "matched_length": 176, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" + } + ] + }, + { + "identifier": "b015a903-1844-66d2-fd10-6e5e24a7b011", + "license_expression": "boost-1.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 32, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" + } + ] + }, + { + "identifier": "b242753c-a31d-3db4-b77a-92bdef5c5389", + "license_expression": "zlib", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 17, + "end_line": 31, + "matched_length": 132, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE" + } + ] + }, + { + "identifier": "41d50a44-94c9-224f-adc2-02743727be1a", + "license_expression": "mit-old-style", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 9, + "end_line": 15, + "matched_length": 71, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" + } + ] + } + ] + }, { "tallies": { "detected_license_expression": [ @@ -237,6 +451,400 @@ "programming_language": [] } }, + { + "license_references": [ + { + "key": "ada-linking-exception", + "short_name": "Ada linking exception to GPL 2.0 or later", + "name": "Ada linking exception to GPL 2.0 or later", + "category": "Copyleft Limited", + "owner": "Dmitriy Anisimkov", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", + "other_urls": [ + "http://zlib-ada.sourceforge.net/", + "http://ada-ru.org/" + ], + "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", + "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." + }, + { + "key": "artistic-2.0", + "short_name": "Artistic 2.0", + "name": "Artistic License 2.0", + "category": "Copyleft Limited", + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "Artistic-2.0", + "osi_license_key": "Artistic-2.0", + "text_urls": [ + "https://www.perlfoundation.org/artistic_license_2_0", + "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" + ], + "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", + "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", + "other_urls": [ + "http://www.perlfoundation.org/artistic_license_2_0", + "https://opensource.org/licenses/artistic-license-2.0", + "https://www.opensource.org/licenses/artistic-license-2.0", + "https://www.perlfoundation.org/artistic-license-20.html" + ], + "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "boost-1.0", + "short_name": "Boost 1.0", + "name": "Boost Software License 1.0", + "category": "Permissive", + "owner": "Boost", + "homepage_url": "http://www.boost.org/users/license.html", + "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "BSL-1.0", + "text_urls": [ + "http://www.boost.org/LICENSE_1_0.txt" + ], + "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", + "other_urls": [ + "http://www.boost.org/users/license.html", + "http://www.opensource.org/licenses/BSL-1.0", + "https://opensource.org/licenses/BSL-1.0" + ], + "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." + }, + { + "key": "cc-by-2.5", + "short_name": "CC-BY-2.5", + "name": "Creative Commons Attribution License 2.5", + "category": "Permissive", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by/2.5/", + "is_builtin": true, + "spdx_license_key": "CC-BY-2.5", + "text_urls": [ + "http://creativecommons.org/licenses/by/2.5/legalcode" + ], + "other_urls": [ + "https://creativecommons.org/licenses/by/2.5/legalcode" + ], + "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." + }, + { + "key": "cc0-1.0", + "short_name": "CC0-1.0", + "name": "Creative Commons CC0 1.0 Universal", + "category": "Public Domain", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", + "is_builtin": true, + "spdx_license_key": "CC0-1.0", + "text_urls": [ + "http://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", + "other_urls": [ + "https://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." + }, + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "mit-old-style", + "short_name": "MIT Old Style", + "name": "MIT Old Style", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-mit-old-style", + "text_urls": [ + "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" + ], + "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." + }, + { + "key": "zlib", + "short_name": "ZLIB License", + "name": "ZLIB License", + "category": "Permissive", + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "notes": "Per SPDX.org, this is OSI certified", + "is_builtin": true, + "spdx_license_key": "Zlib", + "text_urls": [ + "http://www.gzip.org/zlib/zlib_license.html" + ], + "osi_url": "http://www.opensource.org/licenses/zlib-license.php", + "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", + "other_urls": [ + "http://www.opensource.org/licenses/Zlib", + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "minimum_coverage": 50, + "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." + } + ] + }, + { + "rule_references": [ + { + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 981, + "rule_relevance": 100 + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 14, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 176, + "rule_relevance": 100 + }, + { + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "referenced_filenames": [ + "LICENSE_1_0.txt" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 32, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 71, + "rule_relevance": 100 + } + ] + }, { "files": [ { @@ -263,6 +871,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -317,38 +926,16 @@ "matcher": "3-seq", "license_expression": "cc0-1.0", "rule_identifier": "cc0-1.0_155.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100, - "licenses": [ - { - "key": "cc0-1.0", - "name": "Creative Commons CC0 1.0 Universal", - "short_name": "CC0-1.0", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", - "text_url": "http://creativecommons.org/publicdomain/zero/1.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc0-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc0-1.0.LICENSE", - "spdx_license_key": "CC0-1.0", - "spdx_url": "https://spdx.org/licenses/CC0-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "c7a96db7-de74-527f-da8d-b573175736b4" + ], "copyrights": [], "holders": [], "authors": [], @@ -403,38 +990,16 @@ "matcher": "2-aho", "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 0.1, + "for_licenses": [ + "8755d5fd-6521-04e7-ace1-4344b99647e3" + ], "copyrights": [], "holders": [], "authors": [ @@ -482,6 +1047,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -523,6 +1089,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -577,34 +1144,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -615,38 +1155,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 42.86, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2011 Mark Adler", @@ -713,38 +1231,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 69.57, + "for_licenses": [ + "866b02ed-ff4b-379e-e254-8ebc15ceae23" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", @@ -811,34 +1307,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -849,38 +1318,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 20.34, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly", @@ -934,6 +1381,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -975,6 +1423,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -1029,38 +1478,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 79.62, + "for_licenses": [ + "126b3e65-1401-e7e2-8359-60042a41771c" + ], "copyrights": [ { "copyright": "Copyright 2005, JBoss Inc., and individual contributors", @@ -1127,38 +1554,16 @@ "matcher": "2-aho", "license_expression": "cc-by-2.5", "rule_identifier": "cc-by-2.5_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 100, - "licenses": [ - { - "key": "cc-by-2.5", - "name": "Creative Commons Attribution License 2.5", - "short_name": "CC-BY-2.5", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by/2.5/", - "text_url": "http://creativecommons.org/licenses/by/2.5/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-2.5", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-2.5.LICENSE", - "spdx_license_key": "CC-BY-2.5", - "spdx_url": "https://spdx.org/licenses/CC-BY-2.5" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 19.72, + "for_licenses": [ + "26ed35f7-744b-aeec-b973-783eeb6928b4" + ], "copyrights": [ { "copyright": "Copyright (c) 2005 Brian Goetz and Tim Peierls", @@ -1231,38 +1636,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 78.62, + "for_licenses": [ + "126b3e65-1401-e7e2-8359-60042a41771c" + ], "copyrights": [ { "copyright": "Copyright 2010, Red Hat, Inc. and individual contributors", @@ -1316,6 +1699,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ @@ -1363,6 +1747,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ @@ -1423,38 +1808,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 78.12, + "for_licenses": [ + "126b3e65-1401-e7e2-8359-60042a41771c" + ], "copyrights": [ { "copyright": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", @@ -1508,6 +1871,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ @@ -1555,6 +1919,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -1609,34 +1974,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -1647,38 +1985,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 42.86, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2011 Mark Adler", @@ -1745,34 +2061,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -1783,38 +2072,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 40.0, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", @@ -1881,34 +2148,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -1919,38 +2159,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2012 Jean-loup Gailly", @@ -2017,38 +2235,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 84.21, + "for_licenses": [ + "866b02ed-ff4b-379e-e254-8ebc15ceae23" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", @@ -2115,34 +2311,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -2153,38 +2322,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 37.5, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly", @@ -2251,34 +2398,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -2289,38 +2409,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 20.34, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly", @@ -2374,6 +2472,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -2428,53 +2527,16 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus WITH ada-linking-exception", "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - }, - { - "key": "ada-linking-exception", - "name": "Ada linking exception to GPL 2.0 or later", - "short_name": "Ada linking exception to GPL 2.0 or later", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Dmitriy Anisimkov", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/ada-linking-exception", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ada-linking-exception.LICENSE", - "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ada-linking-exception.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 94.12, + "for_licenses": [ + "ab43ac21-eeae-978d-b391-58e77ab54a8c" + ], "copyrights": [ { "copyright": "Copyright (c) 2002-2004 Dmitriy Anisimkov", @@ -2528,6 +2590,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -2569,6 +2632,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2004 by Henrik Ravn", @@ -2635,40 +2699,16 @@ "matcher": "2-aho", "license_expression": "boost-1.0", "rule_identifier": "boost-1.0_21.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE", - "referenced_filenames": [ - "LICENSE_1_0.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100, - "licenses": [ - { - "key": "boost-1.0", - "name": "Boost Software License 1.0", - "short_name": "Boost 1.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "text_url": "http://www.boost.org/LICENSE_1_0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/boost-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/boost-1.0.LICENSE", - "spdx_license_key": "BSL-1.0", - "spdx_url": "https://spdx.org/licenses/BSL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 88.89, + "for_licenses": [ + "b015a903-1844-66d2-fd10-6e5e24a7b011" + ], "copyrights": [ { "copyright": "Copyright Henrik Ravn 2004", @@ -2722,6 +2762,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -2776,38 +2817,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "b242753c-a31d-3db4-b77a-92bdef5c5389" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2010 Jean-loup Gailly, Brian Raiter and Gilles Vollant", @@ -2867,6 +2886,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -2921,40 +2941,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 44.44, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2008 Mark Adler", @@ -3021,40 +3017,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 2003 Mark Adler", @@ -3108,6 +3080,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -3162,38 +3135,16 @@ "matcher": "2-aho", "license_expression": "mit-old-style", "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit-old-style", - "name": "MIT Old Style", - "short_name": "MIT Old Style", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit-old-style", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit-old-style.LICENSE", - "spdx_license_key": "LicenseRef-scancode-mit-old-style", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit-old-style.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 79.78, + "for_licenses": [ + "41d50a44-94c9-224f-adc2-02743727be1a" + ], "copyrights": [ { "copyright": "Copyright (c) 1997 Christian Michelsen Research AS Advanced Computing", diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json index d4cddfffabe..9691cd05a4a 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json @@ -1,4 +1,216 @@ { + "licenses": [ + { + "identifier": "c7a96db7-de74-527f-da8d-b573175736b4", + "license_expression": "cc0-1.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.69, + "start_line": 1, + "end_line": 98, + "matched_length": 978, + "match_coverage": 99.69, + "matcher": "3-seq", + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" + } + ] + }, + { + "identifier": "8755d5fd-6521-04e7-ace1-4344b99647e3", + "license_expression": "artistic-2.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 198, + "end_line": 198, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" + } + ] + }, + { + "identifier": "9c6f31cf-0e74-9f00-c846-b76477e312c2", + "license_expression": "zlib", + "occurance_count": 9, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + } + ] + }, + { + "identifier": "866b02ed-ff4b-379e-e254-8ebc15ceae23", + "license_expression": "zlib", + "occurance_count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 23, + "matched_length": 144, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" + } + ] + }, + { + "identifier": "126b3e65-1401-e7e2-8359-60042a41771c", + "license_expression": "lgpl-2.1-plus", + "occurance_count": 3, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 7, + "end_line": 20, + "matched_length": 125, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" + } + ] + }, + { + "identifier": "26ed35f7-744b-aeec-b973-783eeb6928b4", + "license_expression": "cc-by-2.5", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 14, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" + } + ] + }, + { + "identifier": "ab43ac21-eeae-978d-b391-58e77ab54a8c", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 25, + "matched_length": 176, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" + } + ] + }, + { + "identifier": "b015a903-1844-66d2-fd10-6e5e24a7b011", + "license_expression": "boost-1.0", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 32, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" + } + ] + }, + { + "identifier": "b242753c-a31d-3db4-b77a-92bdef5c5389", + "license_expression": "zlib", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 17, + "end_line": 31, + "matched_length": 132, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE" + } + ] + }, + { + "identifier": "41d50a44-94c9-224f-adc2-02743727be1a", + "license_expression": "mit-old-style", + "occurance_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 9, + "end_line": 15, + "matched_length": 71, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" + } + ] + } + ], "tallies": { "detected_license_expression": [ { @@ -200,6 +412,396 @@ ], "programming_language": [] }, + "license_references": [ + { + "key": "ada-linking-exception", + "short_name": "Ada linking exception to GPL 2.0 or later", + "name": "Ada linking exception to GPL 2.0 or later", + "category": "Copyleft Limited", + "owner": "Dmitriy Anisimkov", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", + "other_urls": [ + "http://zlib-ada.sourceforge.net/", + "http://ada-ru.org/" + ], + "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", + "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." + }, + { + "key": "artistic-2.0", + "short_name": "Artistic 2.0", + "name": "Artistic License 2.0", + "category": "Copyleft Limited", + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "Artistic-2.0", + "osi_license_key": "Artistic-2.0", + "text_urls": [ + "https://www.perlfoundation.org/artistic_license_2_0", + "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" + ], + "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", + "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", + "other_urls": [ + "http://www.perlfoundation.org/artistic_license_2_0", + "https://opensource.org/licenses/artistic-license-2.0", + "https://www.opensource.org/licenses/artistic-license-2.0", + "https://www.perlfoundation.org/artistic-license-20.html" + ], + "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "boost-1.0", + "short_name": "Boost 1.0", + "name": "Boost Software License 1.0", + "category": "Permissive", + "owner": "Boost", + "homepage_url": "http://www.boost.org/users/license.html", + "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "BSL-1.0", + "text_urls": [ + "http://www.boost.org/LICENSE_1_0.txt" + ], + "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", + "other_urls": [ + "http://www.boost.org/users/license.html", + "http://www.opensource.org/licenses/BSL-1.0", + "https://opensource.org/licenses/BSL-1.0" + ], + "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." + }, + { + "key": "cc-by-2.5", + "short_name": "CC-BY-2.5", + "name": "Creative Commons Attribution License 2.5", + "category": "Permissive", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by/2.5/", + "is_builtin": true, + "spdx_license_key": "CC-BY-2.5", + "text_urls": [ + "http://creativecommons.org/licenses/by/2.5/legalcode" + ], + "other_urls": [ + "https://creativecommons.org/licenses/by/2.5/legalcode" + ], + "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." + }, + { + "key": "cc0-1.0", + "short_name": "CC0-1.0", + "name": "Creative Commons CC0 1.0 Universal", + "category": "Public Domain", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", + "is_builtin": true, + "spdx_license_key": "CC0-1.0", + "text_urls": [ + "http://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", + "other_urls": [ + "https://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." + }, + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "mit-old-style", + "short_name": "MIT Old Style", + "name": "MIT Old Style", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-mit-old-style", + "text_urls": [ + "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" + ], + "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." + }, + { + "key": "zlib", + "short_name": "ZLIB License", + "name": "ZLIB License", + "category": "Permissive", + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "notes": "Per SPDX.org, this is OSI certified", + "is_builtin": true, + "spdx_license_key": "Zlib", + "text_urls": [ + "http://www.gzip.org/zlib/zlib_license.html" + ], + "osi_url": "http://www.opensource.org/licenses/zlib-license.php", + "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", + "other_urls": [ + "http://www.opensource.org/licenses/Zlib", + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "minimum_coverage": 50, + "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." + } + ], + "rule_references": [ + { + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 981, + "rule_relevance": 100 + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 14, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 176, + "rule_relevance": 100 + }, + { + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "referenced_filenames": [ + "LICENSE_1_0.txt" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 32, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 71, + "rule_relevance": 100 + } + ], "files": [ { "path": "scan", @@ -225,6 +827,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -262,6 +865,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -299,6 +903,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -349,38 +954,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 79.62, + "for_licenses": [ + "126b3e65-1401-e7e2-8359-60042a41771c" + ], "copyrights": [ { "copyright": "Copyright 2005, JBoss Inc., and individual contributors", @@ -443,38 +1026,16 @@ "matcher": "2-aho", "license_expression": "cc-by-2.5", "rule_identifier": "cc-by-2.5_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 100, - "licenses": [ - { - "key": "cc-by-2.5", - "name": "Creative Commons Attribution License 2.5", - "short_name": "CC-BY-2.5", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by/2.5/", - "text_url": "http://creativecommons.org/licenses/by/2.5/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-2.5", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-by-2.5.LICENSE", - "spdx_license_key": "CC-BY-2.5", - "spdx_url": "https://spdx.org/licenses/CC-BY-2.5" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 19.72, + "for_licenses": [ + "26ed35f7-744b-aeec-b973-783eeb6928b4" + ], "copyrights": [ { "copyright": "Copyright (c) 2005 Brian Goetz and Tim Peierls", @@ -543,38 +1104,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 78.62, + "for_licenses": [ + "126b3e65-1401-e7e2-8359-60042a41771c" + ], "copyrights": [ { "copyright": "Copyright 2010, Red Hat, Inc. and individual contributors", @@ -624,6 +1163,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ @@ -667,6 +1207,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ @@ -723,38 +1264,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/lgpl-2.1-plus.LICENSE", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 78.12, + "for_licenses": [ + "126b3e65-1401-e7e2-8359-60042a41771c" + ], "copyrights": [ { "copyright": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", @@ -804,6 +1323,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [ @@ -847,6 +1367,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -884,6 +1405,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -934,34 +1456,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -972,38 +1467,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 42.86, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2011 Mark Adler", @@ -1066,38 +1539,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 69.57, + "for_licenses": [ + "866b02ed-ff4b-379e-e254-8ebc15ceae23" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", @@ -1160,34 +1611,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -1198,38 +1622,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 20.34, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly", @@ -1292,38 +1694,16 @@ "matcher": "3-seq", "license_expression": "cc0-1.0", "rule_identifier": "cc0-1.0_155.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100, - "licenses": [ - { - "key": "cc0-1.0", - "name": "Creative Commons CC0 1.0 Universal", - "short_name": "CC0-1.0", - "category": "Public Domain", - "is_exception": false, - "is_unknown": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", - "text_url": "http://creativecommons.org/publicdomain/zero/1.0/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc0-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc0-1.0.LICENSE", - "spdx_license_key": "CC0-1.0", - "spdx_url": "https://spdx.org/licenses/CC0-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_licenses": [ + "c7a96db7-de74-527f-da8d-b573175736b4" + ], "copyrights": [], "holders": [], "authors": [], @@ -1374,38 +1754,16 @@ "matcher": "2-aho", "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 0.1, + "for_licenses": [ + "8755d5fd-6521-04e7-ace1-4344b99647e3" + ], "copyrights": [], "holders": [], "authors": [ @@ -1449,6 +1807,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -1486,6 +1845,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -1536,53 +1896,16 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus WITH ada-linking-exception", "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-2.0-plus", - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later" - }, - { - "key": "ada-linking-exception", - "name": "Ada linking exception to GPL 2.0 or later", - "short_name": "Ada linking exception to GPL 2.0 or later", - "category": "Copyleft Limited", - "is_exception": true, - "is_unknown": false, - "owner": "Dmitriy Anisimkov", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/ada-linking-exception", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ada-linking-exception.LICENSE", - "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ada-linking-exception.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 94.12, + "for_licenses": [ + "ab43ac21-eeae-978d-b391-58e77ab54a8c" + ], "copyrights": [ { "copyright": "Copyright (c) 2002-2004 Dmitriy Anisimkov", @@ -1645,34 +1968,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -1683,38 +1979,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 42.86, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2011 Mark Adler", @@ -1777,34 +2051,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -1815,38 +2062,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 40.0, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", @@ -1909,34 +2134,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -1947,38 +2145,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2012 Jean-loup Gailly", @@ -2028,6 +2204,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -2065,6 +2242,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [ { "copyright": "Copyright (c) 2004 by Henrik Ravn", @@ -2127,40 +2305,16 @@ "matcher": "2-aho", "license_expression": "boost-1.0", "rule_identifier": "boost-1.0_21.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE", - "referenced_filenames": [ - "LICENSE_1_0.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100, - "licenses": [ - { - "key": "boost-1.0", - "name": "Boost Software License 1.0", - "short_name": "Boost 1.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "text_url": "http://www.boost.org/LICENSE_1_0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/boost-1.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/boost-1.0.LICENSE", - "spdx_license_key": "BSL-1.0", - "spdx_url": "https://spdx.org/licenses/BSL-1.0" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 88.89, + "for_licenses": [ + "b015a903-1844-66d2-fd10-6e5e24a7b011" + ], "copyrights": [ { "copyright": "Copyright Henrik Ravn 2004", @@ -2210,6 +2364,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -2260,38 +2415,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE" } ] } ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "b242753c-a31d-3db4-b77a-92bdef5c5389" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2010 Jean-loup Gailly, Brian Raiter and Gilles Vollant", @@ -2347,6 +2480,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -2397,40 +2531,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 44.44, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2008 Mark Adler", @@ -2493,40 +2603,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 50.0, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 2003 Mark Adler", @@ -2576,6 +2662,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, + "for_licenses": [], "copyrights": [], "holders": [], "authors": [], @@ -2626,38 +2713,16 @@ "matcher": "2-aho", "license_expression": "mit-old-style", "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit-old-style", - "name": "MIT Old Style", - "short_name": "MIT Old Style", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit-old-style", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit-old-style.LICENSE", - "spdx_license_key": "LicenseRef-scancode-mit-old-style", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit-old-style.LICENSE" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 79.78, + "for_licenses": [ + "41d50a44-94c9-224f-adc2-02743727be1a" + ], "copyrights": [ { "copyright": "Copyright (c) 1997 Christian Michelsen Research AS Advanced Computing", @@ -2720,38 +2785,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 84.21, + "for_licenses": [ + "866b02ed-ff4b-379e-e254-8ebc15ceae23" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", @@ -2814,34 +2857,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -2852,38 +2868,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 37.5, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly", @@ -2946,34 +2940,7 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" }, { "score": 100.0, @@ -2984,38 +2951,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100, - "licenses": [ - { - "key": "zlib", - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib" - } - ] + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" } ] } ], "license_clues": [], "percentage_of_license_text": 20.34, + "for_licenses": [ + "9c6f31cf-0e74-9f00-c846-b76477e312c2" + ], "copyrights": [ { "copyright": "Copyright (c) 1995-2013 Jean-loup Gailly", diff --git a/tests/summarycode/data/tallies/packages/expected.json b/tests/summarycode/data/tallies/packages/expected.json index c16e41e5c5d..1fccd6cc3ad 100644 --- a/tests/summarycode/data/tallies/packages/expected.json +++ b/tests/summarycode/data/tallies/packages/expected.json @@ -1154,6 +1154,8 @@ } ], "tallies": {}, + "license_references": [], + "rule_references": [], "files": [ { "path": "scan", From 9a7e4a60ee037fbfc688245254e01e534127a5b8 Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Tue, 20 Dec 2022 03:26:26 +0530 Subject: [PATCH 05/11] Make licenses referance default in license detection * removes the `--licenses-reference` CLI option and plugin * the license_references and license_rule_references attributes are now default with `--license` option and the same has been removed from match level data to avoid data duplication. * tests are reorganized and files renamed Signed-off-by: Ayan Sinha Mahapatra --- setup-mini.cfg | 1 - setup.cfg | 1 - src/formattedcode/output_debian.py | 2 +- src/formattedcode/output_spdx.py | 2 +- src/licensedcode/licenses_reference.py | 290 +++ src/licensedcode/plugin_licenses_reference.py | 281 --- ...e-reference-works-with-clues.expected.json | 1445 +++++++++++ .../python.LICENSE | 0 ...-matched-text-with-reference.expected.json | 493 ++++ .../scan-with-reference.expected.json} | 210 +- .../scan/copyr.java | 0 .../scan/package.json | 0 ...e-reference-works-with-clues.expected.json | 2239 ----------------- ...-matched-text-with-reference.expected.json | 644 ----- .../scan-with-reference.expected.json | 641 ----- ...eference.py => test_licenses_reference.py} | 33 +- 16 files changed, 2340 insertions(+), 3942 deletions(-) create mode 100644 src/licensedcode/licenses_reference.py delete mode 100644 src/licensedcode/plugin_licenses_reference.py create mode 100644 tests/licensedcode/data/licenses_reference_reporting/license-reference-works-with-clues.expected.json rename tests/licensedcode/data/{plugin_licenses_reference => licenses_reference_reporting}/python.LICENSE (100%) create mode 100644 tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json rename tests/licensedcode/data/{plugin_licenses_reference/scan-without-reference.expected.json => licenses_reference_reporting/scan-with-reference.expected.json} (97%) rename tests/licensedcode/data/{plugin_licenses_reference => licenses_reference_reporting}/scan/copyr.java (100%) rename tests/licensedcode/data/{plugin_licenses_reference => licenses_reference_reporting}/scan/package.json (100%) delete mode 100644 tests/licensedcode/data/plugin_licenses_reference/license-reference-works-with-clues.expected.json delete mode 100644 tests/licensedcode/data/plugin_licenses_reference/scan-matched-text-with-reference.expected.json delete mode 100644 tests/licensedcode/data/plugin_licenses_reference/scan-with-reference.expected.json rename tests/licensedcode/{test_plugin_licenses_reference.py => test_licenses_reference.py} (52%) diff --git a/setup-mini.cfg b/setup-mini.cfg index d3761207f56..e9b9fa35222 100644 --- a/setup-mini.cfg +++ b/setup-mini.cfg @@ -189,7 +189,6 @@ scancode_post_scan = is-license-text = licensedcode.plugin_license_text:IsLicenseText filter-clues = cluecode.plugin_filter_clues:RedundantCluesFilter consolidate = summarycode.plugin_consolidate:Consolidator - licenses-reference = licensedcode.plugin_licenses_reference:LicensesReference # scancode_output_filter is the entry point for filter plugins executed after diff --git a/setup.cfg b/setup.cfg index 5cd4800782e..aa909813a33 100644 --- a/setup.cfg +++ b/setup.cfg @@ -190,7 +190,6 @@ scancode_post_scan = is-license-text = licensedcode.plugin_license_text:IsLicenseText filter-clues = cluecode.plugin_filter_clues:RedundantCluesFilter consolidate = summarycode.plugin_consolidate:Consolidator - licenses-reference = licensedcode.plugin_licenses_reference:LicensesReference # scancode_output_filter is the entry point for filter plugins executed after diff --git a/src/formattedcode/output_debian.py b/src/formattedcode/output_debian.py index afecee98916..24c6c0c76f6 100644 --- a/src/formattedcode/output_debian.py +++ b/src/formattedcode/output_debian.py @@ -17,7 +17,7 @@ from plugincode.output import output_impl from plugincode.output import OutputPlugin from licensedcode.detection import get_matches_from_detection_mappings -from licensedcode.plugin_licenses_reference import get_matched_text_from_reference_data +from licensedcode.licenses_reference import get_matched_text_from_reference_data from scancode import notice """ diff --git a/src/formattedcode/output_spdx.py b/src/formattedcode/output_spdx.py index 9ce2921ab31..78dfec6debc 100644 --- a/src/formattedcode/output_spdx.py +++ b/src/formattedcode/output_spdx.py @@ -31,7 +31,7 @@ from commoncode.text import python_safe_name from formattedcode import FileOptionType from licensedcode.detection import get_matches_from_detection_mappings -from licensedcode.plugin_licenses_reference import get_matched_text_from_reference_data +from licensedcode.licenses_reference import get_matched_text_from_reference_data from plugincode.output import output_impl from plugincode.output import OutputPlugin import scancode_config diff --git a/src/licensedcode/licenses_reference.py b/src/licensedcode/licenses_reference.py new file mode 100644 index 00000000000..8ae6e961a27 --- /dev/null +++ b/src/licensedcode/licenses_reference.py @@ -0,0 +1,290 @@ +# +# Copyright (c) nexB Inc. and others. All rights reserved. +# ScanCode is a trademark of nexB Inc. +# SPDX-License-Identifier: Apache-2.0 +# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. +# See https://github.com/nexB/scancode-toolkit for support or download. +# See https://aboutcode.org for more information about nexB OSS projects. +# + +import os +import logging +from license_expression import Licensing + + +TRACE_REFERENCE = os.environ.get('SCANCODE_DEBUG_LICENSE_REFERENCE', False) +TRACE_EXTRACT = os.environ.get('SCANCODE_DEBUG_LICENSE_REFERENCE_EXTRACT', False) + +def logger_debug(*args): + pass + + +logger = logging.getLogger(__name__) + +if TRACE_REFERENCE or TRACE_EXTRACT: + import sys + logging.basicConfig(stream=sys.stdout) + logger.setLevel(logging.DEBUG) + + def logger_debug(*args): + return logger.debug(' '.join(isinstance(a, str) and a or repr(a) for a in args)) + + +def populate_license_references(codebase): + """ + Get unique License and Rule data from all license detections in a codebase-level + list and only refer to them in the resource level detections. + """ + licexps = [] + rules_data = [] + + if not hasattr(codebase.attributes, 'license_detections'): + return + + has_packages = False + if hasattr(codebase.attributes, 'packages'): + has_packages = True + + if has_packages: + codebase_packages = codebase.attributes.packages + for pkg in codebase_packages: + if TRACE_REFERENCE: + logger_debug( + f'populate_license_references: codebase.packages', + f'extract_license_rules_reference_data from: {pkg["purl"]}\n', + ) + + license_rules_reference_data = extract_license_rules_reference_data( + license_detections=pkg['license_detections'] + ) + if license_rules_reference_data: + rules_data.extend(license_rules_reference_data) + licexps.append(pkg['declared_license_expression']) + + # This license rules reference data is duplicate as `licenses` is a + # top level summary of all unique license detections but this function + # is called as the side effect is removing the reference attributes + # from license matches + + if TRACE_REFERENCE: + identifiers = [ + detection["identifier"] + for detection in codebase.attributes.license_detections + ] + logger_debug( + f'populate_license_references: codebase.license_detections', + f'extract_license_rules_reference_data from: {identifiers}\n', + ) + _discard = extract_license_rules_reference_data(codebase.attributes.license_detections) + + for resource in codebase.walk(): + + # Get license_expressions from both package and license detections + license_licexp = getattr(resource, 'detected_license_expression') + if license_licexp: + licexps.append(license_licexp) + + if has_packages: + package_data = getattr(resource, 'package_data', []) or [] + package_licexps = [ + pkg['declared_license_expression'] + for pkg in package_data + ] + licexps.extend(package_licexps) + + # Get license matches from both package and license detections + package_license_detections = [] + for pkg in package_data: + if not pkg['license_detections']: + continue + + package_license_detections.extend(pkg['license_detections']) + + license_rules_reference_data = extract_license_rules_reference_data( + license_detections=package_license_detections + ) + if license_rules_reference_data: + rules_data.extend(license_rules_reference_data) + + license_detections = getattr(resource, 'license_detections', []) or [] + license_clues = getattr(resource, 'license_clues', []) or [] + + license_rules_reference_data = extract_license_rules_reference_data( + license_detections=license_detections, + license_matches=license_clues, + ) + if license_rules_reference_data: + rules_data.extend(license_rules_reference_data) + + codebase.save_resource(resource) + + license_references = get_license_references(license_expressions=licexps) + codebase.attributes.license_references.extend(license_references) + + rule_references = get_unique_rule_references(rules_data=rules_data) + codebase.attributes.license_rule_references.extend(rule_references) + + if TRACE_REFERENCE: + logger_debug( + f'populate_license_references: codebase.license_references', + f'license_expressions: {licexps}\n', + f'license_references: {license_references}\n', + f'rules_data: {rules_data}\n', + f'rule_references: {rule_references}\n', + ) + raise Exception() + + +def add_detection_to_license_references(codebase, license_detection_mappings): + + license_expressions = [ + detection["license_expression"] + for detection in license_detection_mappings + ] + license_references = get_license_references(license_expressions=license_expressions) + license_rules_reference_data = extract_license_rules_reference_data( + license_detections=license_detection_mappings, + ) + rule_references = get_unique_rule_references(rules_data=license_rules_reference_data) + add_license_references_to_codebase(codebase, license_references, rule_references) + + +def add_license_references_to_codebase(codebase, license_references, rule_references): + + license_references_new = [] + rule_references_new = [] + + license_keys = set() + rule_identifiers = set() + + for license_reference in codebase.attributes.license_references: + license_keys.add(license_reference["key"]) + + for rule_reference in codebase.attributes.license_rule_references: + rule_identifiers.add(rule_reference["rule_identifier"]) + + for license_reference in license_references: + if not license_reference["key"] in license_keys: + license_references_new.append(license_reference) + + for rule_reference in rule_references: + if not rule_reference["rule_identifier"] in rule_identifiers: + rule_references_new.append(rule_reference) + + codebase.attributes.license_references.extend(license_references_new) + codebase.attributes.license_rule_references.extend(rule_references_new) + + +def get_matched_text_from_reference_data(codebase, rule_identifier): + for rule_reference_data in codebase.attributes.license_rule_references: + if rule_reference_data["rule_identifier"] == rule_identifier: + matched_text = getattr(rule_reference_data, "matched_text", None) or None + return matched_text + + +def get_license_references(license_expressions, licensing=Licensing()): + """ + Get a list of unique License data from a list of `license_expression` strings. + """ + from licensedcode.cache import get_licenses_db + + license_keys = set() + license_references = [] + + for expression in license_expressions: + if expression: + license_keys.update(licensing.license_keys(expression)) + + db = get_licenses_db() + for key in sorted(license_keys): + license_references.append( + db[key].to_dict(include_ignorables=False, include_text=True) + ) + + return license_references + + +def get_unique_rule_references(rules_data): + """ + Get a list of unique Rule data from a list of Rule data. + """ + rule_identifiers = set() + rules_references = [] + + for rule_data in rules_data: + + rule_identifier = rule_data['rule_identifier'] + if rule_identifier not in rule_identifiers: + rule_identifiers.update(rule_identifier) + rules_references.append(rule_data) + + return rules_references + + +def extract_license_rules_reference_data(license_detections=None, license_matches=None): + """ + Get Rule data for references from a list of LicenseDetections. + + Also removes this data from the list of LicenseMatch in detections, + apart from the `rule_identifier` as this data is referenced at top-level + by this attribute. + """ + rule_identifiers = set() + rules_reference_data = [] + + if license_detections: + + for detection in license_detections: + if not detection: + continue + + for match in detection['matches']: + + rule_identifier = match['rule_identifier'] + if 'referenced_filenames' in match: + ref_data = get_reference_data(match) + + if rule_identifier not in rule_identifiers: + rule_identifiers.update(rule_identifier) + rules_reference_data.append(ref_data) + + if TRACE_EXTRACT: + logger_debug( + f'extract_license_rules_reference_data:', + f'rule_identifier: {rule_identifier}\n', + f'ref_data: {ref_data}\n', + f'match: {match}\n', + f'rules_reference_data: {rules_reference_data}\n', + ) + + if license_matches: + + for match in license_matches: + + rule_identifier = match['rule_identifier'] + ref_data = get_reference_data(match) + + if rule_identifier not in rule_identifiers: + rule_identifiers.update(rule_identifier) + rules_reference_data.append(ref_data) + + return rules_reference_data + + +def get_reference_data(match): + + ref_data = {} + ref_data['license_expression'] = match['license_expression'] + ref_data['rule_identifier'] = match['rule_identifier'] + ref_data['referenced_filenames'] = match.pop('referenced_filenames') + ref_data['is_license_text'] = match.pop('is_license_text') + ref_data['is_license_notice'] = match.pop('is_license_notice') + ref_data['is_license_reference'] = match.pop('is_license_reference') + ref_data['is_license_tag'] = match.pop('is_license_tag') + ref_data['is_license_intro'] = match.pop('is_license_intro') + ref_data['rule_length'] = match.pop('rule_length') + ref_data['rule_relevance'] = match.pop('rule_relevance') + + _ = match.pop('licenses') + + return ref_data diff --git a/src/licensedcode/plugin_licenses_reference.py b/src/licensedcode/plugin_licenses_reference.py deleted file mode 100644 index d82ccd12963..00000000000 --- a/src/licensedcode/plugin_licenses_reference.py +++ /dev/null @@ -1,281 +0,0 @@ -# -# Copyright (c) nexB Inc. and others. All rights reserved. -# ScanCode is a trademark of nexB Inc. -# SPDX-License-Identifier: Apache-2.0 -# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. -# See https://github.com/nexB/scancode-toolkit for support or download. -# See https://aboutcode.org for more information about nexB OSS projects. -# - -import attr - -from commoncode.cliutils import PluggableCommandLineOption -from commoncode.cliutils import POST_SCAN_GROUP -from license_expression import Licensing -from plugincode.post_scan import PostScanPlugin -from plugincode.post_scan import post_scan_impl - -from licensedcode.detection import LicenseDetection -from licensedcode.detection import UniqueDetection - -# Set to True to enable debug tracing -TRACE = False - -if TRACE: - import logging - import sys - - logger = logging.getLogger(__name__) - - def logger_debug(*args): - return logger.debug(' '.join(isinstance(a, str) and a or repr(a) for a in args)) - - logging.basicConfig(stream=sys.stdout) - logger.setLevel(logging.DEBUG) -else: - - def logger_debug(*args): - pass - - -@post_scan_impl -class LicensesReference(PostScanPlugin): - """ - Add a reference list of all licenses data and text. - """ - codebase_attributes = dict( - license_references=attr.ib(default=attr.Factory(list)), - rule_references=attr.ib(default=attr.Factory(list)) - ) - - sort_order = 500 - - options = [ - PluggableCommandLineOption(('--no-licenses-reference',), - is_flag=True, - default=True, - help='Include a reference of all the licenses referenced in this ' - 'scan with the data details and full texts.', - help_group=POST_SCAN_GROUP) - ] - - def is_enabled(self, no_licenses_reference, **kwargs): - return no_licenses_reference - - def process_codebase(self, codebase, no_licenses_reference, **kwargs): - """ - Get unique License and Rule data from all license detections in a codebase-level - list and only refer to them in the resource level detections. - """ - licexps = [] - rules_data = [] - - if not hasattr(codebase.attributes, 'licenses'): - return - - has_packages = False - if hasattr(codebase.attributes, 'packages'): - has_packages = True - - if has_packages: - codebase_packages = codebase.attributes.packages - for pkg in codebase_packages: - rules_data.extend( - get_license_rules_reference_data( - license_detections=pkg['license_detections'] - ) - ) - licexps.append(pkg['declared_license_expression']) - - # This license rules reference data is duplicate as `licenses` is a - # top level summary of all unique license detections but this function - # is called as the side effect is removing the reference attributes - # from license matches - try: - _discard = get_license_rules_reference_data(codebase.attributes.licenses) - except KeyError: - pass - - for resource in codebase.walk(): - - # Get license_expressions from both package and license detections - license_licexp = getattr(resource, 'detected_license_expression') - if license_licexp: - licexps.append(license_licexp) - - if has_packages: - package_data = getattr(resource, 'package_data', []) or [] - package_licexps = [ - pkg['declared_license_expression'] - for pkg in package_data - ] - licexps.extend(package_licexps) - - # Get license matches from both package and license detections - package_license_detections = [] - for pkg in package_data: - if not pkg['license_detections']: - continue - - package_license_detections.extend(pkg['license_detections']) - - try: - rules_data.extend( - get_license_rules_reference_data(license_detections=package_license_detections) - ) - except KeyError: - pass - - license_detections = getattr(resource, 'license_detections', []) or [] - license_clues = getattr(resource, 'license_clues', []) or [] - - try: - rules_data.extend( - get_license_rules_reference_data( - license_detections=license_detections, - license_clues=license_clues, - ) - ) - except KeyError: - pass - - codebase.save_resource(resource) - - license_references = get_license_references(license_expressions=licexps) - codebase.attributes.license_references.extend(license_references) - - rule_references = get_unique_rule_references(rules_data=rules_data) - codebase.attributes.rule_references.extend(rule_references) - - -def get_matched_text_from_reference_data(codebase, rule_identifier): - for rule_reference_data in codebase.attributes.rule_references: - if rule_reference_data["rule_identifier"] == rule_identifier: - matched_text = getattr(rule_reference_data, "matched_text", None) or None - return matched_text - -def get_license_references(license_expressions, licensing=Licensing()): - """ - Get a list of unique License data from a list of `license_expression` strings. - """ - from licensedcode.cache import get_licenses_db - - license_keys = set() - license_references = [] - - for expression in license_expressions: - if expression: - license_keys.update(licensing.license_keys(expression)) - - db = get_licenses_db() - for key in sorted(license_keys): - license_references.append( - db[key].to_dict(include_ignorables=False, include_text=True) - ) - - return license_references - - -def get_unique_rule_references(rules_data): - """ - Get a list of unique Rule data from a list of Rule data. - """ - rule_identifiers = set() - rules_references = [] - - for rule_data in rules_data: - - rule_identifier = rule_data['rule_identifier'] - if rule_identifier not in rule_identifiers: - rule_identifiers.update(rule_identifier) - rules_references.append(rule_data) - - return rules_references - - -def get_license_rules_reference_data(license_detections, license_clues=None): - """ - Get Rule data for references from a list of LicenseDetections. - - Also removes this data from the list of LicenseMatch in detections, - apart from the `rule_identifier` as this data is referenced at top-level - by this attribute. - """ - rule_identifiers = set() - rules_reference_data = [] - - if license_detections: - - for detection in license_detections: - if not detection: - continue - - for match in detection['matches']: - - rule_identifier = match['rule_identifier'] - ref_data = get_reference_data(match) - - if rule_identifier not in rule_identifiers: - rule_identifiers.update(rule_identifier) - rules_reference_data.append(ref_data) - - if license_clues: - - for match in license_clues: - - rule_identifier = match['rule_identifier'] - ref_data = get_reference_data(match) - - if rule_identifier not in rule_identifiers: - rule_identifiers.update(rule_identifier) - rules_reference_data.append(ref_data) - - return rules_reference_data - - -def get_reference_data(match): - - ref_data = {} - ref_data['license_expression'] = match['license_expression'] - ref_data['rule_identifier'] = match['rule_identifier'] - ref_data['referenced_filenames'] = match.pop('referenced_filenames') - ref_data['is_license_text'] = match.pop('is_license_text') - ref_data['is_license_notice'] = match.pop('is_license_notice') - ref_data['is_license_reference'] = match.pop('is_license_reference') - ref_data['is_license_tag'] = match.pop('is_license_tag') - ref_data['is_license_intro'] = match.pop('is_license_intro') - ref_data['rule_length'] = match.pop('rule_length') - ref_data['rule_relevance'] = match.pop('rule_relevance') - - if 'matched_text' in match: - ref_data['matched_text'] = match.pop('matched_text') - - _ = match.pop('licenses') - - return ref_data - - -def get_license_detection_references(license_detections_by_path): - """ - Get LicenseDetection data for references from a mapping of path:[LicenseDetection], - i.e. path and a list of LicenseDetection at that path. - - Also removes `matches` and `detection_log` from each LicenseDetection mapping - and only keeps a LicenseExpression string and an computed identifier per detection, - as this LicenseDetection data is referenced at top-level by the identifier. - """ - detection_objects = [] - - for path, detections in license_detections_by_path.items(): - - for detection in detections: - detection_obj = LicenseDetection(**detection) - _matches = detection.pop('matches') - _detection_log = detection.pop('detection_log') - detection_obj.file_region = detection_obj.get_file_region(path=path) - detection["id"] = detection_obj.identifier - - detection_objects.append(detection_obj) - - detection_references = UniqueDetection.get_unique_detections(detection_objects) - return detection_references diff --git a/tests/licensedcode/data/licenses_reference_reporting/license-reference-works-with-clues.expected.json b/tests/licensedcode/data/licenses_reference_reporting/license-reference-works-with-clues.expected.json new file mode 100644 index 00000000000..7bb5c2a0caf --- /dev/null +++ b/tests/licensedcode/data/licenses_reference_reporting/license-reference-works-with-clues.expected.json @@ -0,0 +1,1445 @@ +{ + "license_detections": [ + { + "identifier": "python#f9a5ba7d-9d66-5878-a0bd-1afe42fe0bd9", + "license_expression": "python", + "occurrence_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 23, + "end_line": 26, + "matched_length": 35, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "python", + "rule_identifier": "python_not_not-a-license_269.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_not_not-a-license_269.RULE" + } + ] + }, + { + "identifier": "other_copyleft_and_gpl_1_0_plus#a9ef94dc-a60e-21b6-82b8-77454e7751c0", + "license_expression": "other-copyleft AND gpl-1.0-plus", + "occurrence_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 80.0, + "start_line": 62, + "end_line": 62, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "other-copyleft", + "rule_identifier": "other-copyleft_24.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE" + }, + { + "score": 100.0, + "start_line": 62, + "end_line": 63, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_200.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_200.RULE" + }, + { + "score": 85.0, + "start_line": 63, + "end_line": 63, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_351.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE" + }, + { + "score": 85.0, + "start_line": 64, + "end_line": 65, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_351.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE" + }, + { + "score": 80.0, + "start_line": 65, + "end_line": 65, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "other-copyleft", + "rule_identifier": "other-copyleft_24.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE" + }, + { + "score": 100.0, + "start_line": 66, + "end_line": 66, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_194.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_194.RULE" + }, + { + "score": 80.0, + "start_line": 68, + "end_line": 68, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "other-copyleft", + "rule_identifier": "other-copyleft_24.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE" + }, + { + "score": 85.0, + "start_line": 71, + "end_line": 71, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_351.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE" + } + ] + }, + { + "identifier": "python_and_python_cwi#3136274a-0a35-5bea-9531-6e328486ea3b", + "license_expression": "python AND python-cwi", + "occurrence_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 90.52, + "start_line": 77, + "end_line": 255, + "matched_length": 1385, + "match_coverage": 90.52, + "matcher": "3-seq", + "license_expression": "python", + "rule_identifier": "python_2019.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_2019.RULE" + }, + { + "score": 100.0, + "start_line": 257, + "end_line": 272, + "matched_length": 145, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "python-cwi", + "rule_identifier": "python-cwi.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python-cwi.LICENSE" + } + ] + }, + { + "identifier": "bzip2_libbzip_2010#4854df4f-b9f8-1a96-92bd-44873ee7c7c5", + "license_expression": "bzip2-libbzip-2010", + "occurrence_count": 1, + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 274, + "end_line": 274, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE" + }, + { + "score": 100.0, + "start_line": 281, + "end_line": 310, + "matched_length": 233, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bzip2-libbzip-2010", + "rule_identifier": "bzip2-libbzip-2010.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bzip2-libbzip-2010.LICENSE" + } + ] + }, + { + "identifier": "sleepycat#82c2d26c-feb1-2257-3b27-0e92e4721958", + "license_expression": "sleepycat", + "occurrence_count": 1, + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 317, + "end_line": 317, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE" + }, + { + "score": 100.0, + "start_line": 334, + "end_line": 351, + "matched_length": 174, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "sleepycat", + "rule_identifier": "sleepycat_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/sleepycat_5.RULE" + } + ] + }, + { + "identifier": "bsd_simplified#d90f717a-d127-c345-d8a9-dc828c2be7e6", + "license_expression": "bsd-simplified", + "occurrence_count": 1, + "detection_log": [ + "license-clues", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 33.71, + "start_line": 358, + "end_line": 363, + "matched_length": 59, + "match_coverage": 33.71, + "matcher": "3-seq", + "license_expression": "bsd-simplified", + "rule_identifier": "bsd-simplified_242.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_242.RULE" + } + ] + }, + { + "identifier": "bsd_new#e65e2324-d4b0-5ad8-3314-a798683d13e3", + "license_expression": "bsd-new", + "occurrence_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 369, + "end_line": 391, + "matched_length": 213, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_19.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_19.RULE" + } + ] + }, + { + "identifier": "bsd_new#4c57e726-e851-a66a-1dbe-d6106bcb4751", + "license_expression": "bsd-new", + "occurrence_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 397, + "end_line": 419, + "matched_length": 213, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_943.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_943.RULE" + } + ] + }, + { + "identifier": "openssl_ssleay#7a0dc499-dddd-4bf1-2d0d-9a84c910b0bc", + "license_expression": "openssl-ssleay", + "occurrence_count": 1, + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 422, + "end_line": 422, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE" + }, + { + "score": 100.0, + "start_line": 428, + "end_line": 432, + "matched_length": 56, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "openssl-ssleay", + "rule_identifier": "openssl-ssleay_43.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_43.RULE" + }, + { + "score": 100.0, + "start_line": 434, + "end_line": 434, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "openssl-ssleay", + "rule_identifier": "openssl-ssleay_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_2.RULE" + } + ] + }, + { + "identifier": "openssl#dacfdecf-b752-23a6-37ba-f98e7d93554a", + "license_expression": "openssl", + "occurrence_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 440, + "end_line": 487, + "matched_length": 332, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "openssl", + "rule_identifier": "openssl_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl_1.RULE" + } + ] + }, + { + "identifier": "ssleay_windows#50e05b6f-8602-75e7-7568-c3b4e72fec38", + "license_expression": "ssleay-windows", + "occurrence_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 497, + "end_line": 548, + "matched_length": 453, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "ssleay-windows", + "rule_identifier": "ssleay-windows.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/ssleay-windows.LICENSE" + } + ] + }, + { + "identifier": "tcl#d352cc42-40ca-8f87-931e-725ee0a85c3e", + "license_expression": "tcl", + "occurrence_count": 1, + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 552, + "end_line": 552, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE" + }, + { + "score": 100.0, + "start_line": 554, + "end_line": 593, + "matched_length": 345, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "tcl", + "rule_identifier": "tcl.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/tcl.LICENSE" + } + ] + }, + { + "identifier": "tcl#e49b63d5-028c-f39c-035e-68c9e6c60e34", + "license_expression": "tcl", + "occurrence_count": 1, + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 595, + "end_line": 595, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE" + }, + { + "score": 100.0, + "start_line": 597, + "end_line": 635, + "matched_length": 341, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "tcl", + "rule_identifier": "tcl_14.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/tcl_14.RULE" + } + ] + } + ], + "license_references": [ + { + "key": "bsd-new", + "short_name": "BSD-3-Clause", + "name": "BSD-3-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-3-Clause", + "other_spdx_license_keys": [ + "LicenseRef-scancode-libzip" + ], + "osi_license_key": "BSD-3-Clause", + "text_urls": [ + "http://www.opensource.org/licenses/BSD-3-Clause" + ], + "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "other_urls": [ + "http://framework.zend.com/license/new-bsd", + "https://opensource.org/licenses/BSD-3-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "bsd-simplified", + "short_name": "BSD-2-Clause", + "name": "BSD-2-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-2-Clause", + "other_spdx_license_keys": [ + "BSD-2-Clause-NetBSD", + "BSD-2" + ], + "text_urls": [ + "http://opensource.org/licenses/bsd-license.php" + ], + "osi_url": "http://opensource.org/licenses/bsd-license.php", + "other_urls": [ + "http://spdx.org/licenses/BSD-2-Clause", + "http://www.freebsd.org/copyright/copyright.html", + "https://opensource.org/licenses/BSD-2-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." + }, + { + "key": "bzip2-libbzip-2010", + "short_name": "bzip2 License 2010", + "name": "bzip2 License 2010", + "category": "Permissive", + "owner": "bzip", + "homepage_url": "https://github.com/asimonov-im/bzip2/blob/master/LICENSE", + "notes": "until bzip2 1.0.6 there is only one license and not two as listed in SPDX. Therefore we only track one such license.", + "is_builtin": true, + "spdx_license_key": "bzip2-1.0.6", + "other_spdx_license_keys": [ + "bzip2-1.0.5" + ], + "other_urls": [ + "http://bzip.org/1.0.5/bzip2-manual-1.0.5.html", + "http://www.bzip.org/", + "https://sourceware.org/git/?p=bzip2.git;a=blob;f=LICENSE;hb=bzip2-1.0.6" + ], + "text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. The origin of this software must not be misrepresented; you must\nnot claim that you wrote the original software. If you use this\nsoftware in a product, an acknowledgment in the product\ndocumentation would be appreciated but is not required.\n\n3. Altered source versions must be plainly marked as such, and must\nnot be misrepresented as being the original software.\n\n4. The name of the author may not be used to endorse or promote\nproducts derived from this software without specific prior written\npermission.\n\nTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS\nOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\nWHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "gpl-1.0-plus", + "short_name": "GPL 1.0 or later", + "name": "GNU General Public License 1.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "notes": "Per SPDX.org, this license was released February 1989.", + "is_builtin": true, + "spdx_license_key": "GPL-1.0-or-later", + "other_spdx_license_keys": [ + "GPL-1.0+", + "LicenseRef-GPL" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "other_urls": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 1, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,\nCambridge, MA 02139, USA.\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 1, February 1989\n\nCopyright (C) 1989 Free Software Foundation, Inc.\n51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe license agreements of most software companies try to keep users\nat the mercy of those companies. By contrast, our General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. The\nGeneral Public License applies to the Free Software Foundation's\nsoftware and to any other program whose authors commit to using it.\nYou can use it for your programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Specifically, the General Public License is designed to make\nsure that you have the freedom to give away or sell copies of free\nsoftware, that you receive source code or can get it if you want it,\nthat you can change the software or use pieces of it in new free\nprograms; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of a such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must tell them their rights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any program or other work which\ncontains a notice placed by the copyright holder saying it may be\ndistributed under the terms of this General Public License. The\n\"Program\", below, refers to any such program or work, and a \"work based\non the Program\" means either the Program or any work containing the\nProgram or a portion of it, either verbatim or with modifications. Each\nlicensee is addressed as \"you\".\n\n1. You may copy and distribute verbatim copies of the Program's source\ncode as you receive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice and\ndisclaimer of warranty; keep intact all the notices that refer to this\nGeneral Public License and to the absence of any warranty; and give any\nother recipients of the Program a copy of this General Public License\nalong with the Program. You may charge a fee for the physical act of\ntransferring a copy.\n\n2. You may modify your copy or copies of the Program or any portion of\nit, and copy and distribute such modifications under the terms of Paragraph\n1 above, provided that you also do the following:\n\na) cause the modified files to carry prominent notices stating that\nyou changed the files and the date of any change; and\n\nb) cause the whole of any work that you distribute or publish, that\nin whole or in part contains the Program or any part thereof, either\nwith or without modifications, to be licensed at no charge to all\nthird parties under the terms of this General Public License (except\nthat you may choose to grant warranty protection to some or all\nthird parties, at your option).\n\nc) If the modified program normally reads commands interactively when\nrun, you must cause it, when started running for such interactive use\nin the simplest and most usual way, to print or display an\nannouncement including an appropriate copyright notice and a notice\nthat there is no warranty (or else, saying that you provide a\nwarranty) and that users may redistribute the program under these\nconditions, and telling the user how to view a copy of this General\nPublic License.\n\nd) You may charge a fee for the physical act of transferring a\ncopy, and you may at your option offer warranty protection in\nexchange for a fee.\n\nMere aggregation of another independent work with the Program (or its\nderivative) on a volume of a storage or distribution medium does not bring\nthe other work under the scope of these terms.\n\n\n3. You may copy and distribute the Program (or a portion or derivative of\nit, under Paragraph 2) in object code or executable form under the terms of\nParagraphs 1 and 2 above provided that you also do one of the following:\n\na) accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nb) accompany it with a written offer, valid for at least three\nyears, to give any third party free (except for a nominal charge\nfor the cost of distribution) a complete machine-readable copy of the\ncorresponding source code, to be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nc) accompany it with the information you received as to where the\ncorresponding source code may be obtained. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form alone.)\n\nSource code for a work means the preferred form of the work for making\nmodifications to it. For an executable file, complete source code means\nall the source code for all modules it contains; but, as a special\nexception, it need not include source code for modules which are standard\nlibraries that accompany the operating system on which the executable\nfile runs, or for standard header files or definitions files that\naccompany that operating system.\n\n4. You may not copy, modify, sublicense, distribute or transfer the\nProgram except as expressly provided under this General Public License.\nAny attempt otherwise to copy, modify, sublicense, distribute or transfer\nthe Program is void, and will automatically terminate your rights to use\nthe Program under this License. However, parties who have received\ncopies, or rights to use copies, from you under this General Public\nLicense will not have their licenses terminated so long as such parties\nremain in full compliance.\n\n5. By copying, distributing or modifying the Program (or any work based\non the Program) you indicate your acceptance of this license to do so,\nand all its terms and conditions.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the original\nlicensor to copy, distribute or modify the Program subject to these\nterms and conditions. You may not impose any further restrictions on the\nrecipients' exercise of the rights granted herein.\n\n\n7. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of the license which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthe license, you may choose any version ever published by the Free Software\nFoundation.\n\n8. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nAppendix: How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to humanity, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these\nterms.\n\nTo do so, attach the following notices to the program. It is safest to\nattach them to the start of each source file to most effectively convey\nthe exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) 19yy \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 1, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA\n\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) 19xx name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the\nappropriate parts of the General Public License. Of course, the\ncommands you use may be called something other than `show w' and `show\nc'; they could even be mouse-clicks or menu items--whatever suits your\nprogram.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nprogram `Gnomovision' (a program to direct compilers to make passes\nat assemblers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "openssl", + "short_name": "OpenSSL License", + "name": "OpenSSL License", + "category": "Permissive", + "owner": "OpenSSL", + "homepage_url": "http://openssl.org/source/license.html", + "notes": "This is the OpenSSL license proper, without the SSLEay part. The SPDX\nOpenSSL identifier does not apply here. Instead it matches the openssl-\nssleay license.\n", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-openssl", + "faq_url": "http://www.openssl.org/support/faq.html", + "other_urls": [ + "http://www.openssl.org/source/license.html" + ], + "minimum_coverage": 70, + "text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the\ndistribution.\n\n3. All advertising materials mentioning features or use of this\nsoftware must display the following acknowledgment:\n\"This product includes software developed by the OpenSSL Project\nfor use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)\"\n\n4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to\nendorse or promote products derived from this software without\nprior written permission. For written permission, please contact\nlicensing@OpenSSL.org.\n\n5. Products derived from this software may not be called \"OpenSSL\"\nnor may \"OpenSSL\" appear in their names without prior written\npermission of the OpenSSL Project.\n\n6. Redistributions of any form whatsoever must retain the following\nacknowledgment:\n\"This product includes software developed by the OpenSSL Project\nfor use in the OpenSSL Toolkit (http://www.OpenSSL.org/)\"\n\nTHIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY\nEXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR\nITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\nSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\nOF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "openssl-ssleay", + "short_name": "OpenSSL/SSLeay License", + "name": "OpenSSL/SSLeay License", + "category": "Permissive", + "owner": "OpenSSL", + "homepage_url": "http://www.openssl.org/source/license.html", + "notes": "Per SPDX.org, the OpenSSL toolkit stays under a dual license, i.e. both the\nconditions of the OpenSSL License and the original SSLeay license apply to\nthe toolkit.\n", + "is_builtin": true, + "spdx_license_key": "OpenSSL", + "text_urls": [ + "http://www.openssl.org/source/license.html", + "https://www.openssl.org/source/license-openssl-ssleay.txt" + ], + "faq_url": "http://www.openssl.org/support/faq.html", + "minimum_coverage": 70, + "text": "LICENSE ISSUES\n==============\n\nThe OpenSSL toolkit stays under a dual license, i.e. both the conditions of\nthe OpenSSL License and the original SSLeay license apply to the toolkit.\nSee below for the actual license texts. Actually both licenses are BSD-style\nOpen Source licenses. In case of any license issues related to OpenSSL\nplease contact openssl-core@openssl.org.\n\nOpenSSL License\n---------------\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the\ndistribution.\n\n3. All advertising materials mentioning features or use of this\nsoftware must display the following acknowledgment:\n\"This product includes software developed by the OpenSSL Project\nfor use in the OpenSSL Toolkit. (http://www.openssl.org/)\"\n\n4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to\nendorse or promote products derived from this software without\nprior written permission. For written permission, please contact\nopenssl-core@openssl.org.\n\n5. Products derived from this software may not be called \"OpenSSL\"\nnor may \"OpenSSL\" appear in their names without prior written\npermission of the OpenSSL Project.\n\n6. Redistributions of any form whatsoever must retain the following\nacknowledgment:\n\"This product includes software developed by the OpenSSL Project\nfor use in the OpenSSL Toolkit (http://www.openssl.org/)\"\n\nTHIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY\nEXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR\nITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\nSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\nOF THE POSSIBILITY OF SUCH DAMAGE.\n\n\nThis product includes cryptographic software written by Eric Young\n(eay@cryptsoft.com). This product includes software written by Tim\nHudson (tjh@cryptsoft.com).\n\n\nOriginal SSLeay License\n-----------------------\n\nCopyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)\nAll rights reserved.\n\nThis package is an SSL implementation written\nby Eric Young (eay@cryptsoft.com).\nThe implementation was written so as to conform with Netscapes SSL.\n\nThis library is free for commercial and non-commercial use as long as\nthe following conditions are aheared to. The following conditions\napply to all code found in this distribution, be it the RC4, RSA,\nlhash, DES, etc., code; not just the SSL code. The SSL documentation\nincluded with this distribution is covered by the same copyright terms\nexcept that the holder is Tim Hudson (tjh@cryptsoft.com).\n\nCopyright remains Eric Young's, and as such any Copyright notices in\nthe code are not to be removed.\nIf this package is used in a product, Eric Young should be given attribution\nas the author of the parts of the library used.\nThis can be in the form of a textual message at program startup or\nin documentation (online or textual) provided with the package.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n1. Redistributions of source code must retain the copyright\nnotice, this list of conditions and the following disclaimer.\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in the\ndocumentation and/or other materials provided with the distribution.\n3. All advertising materials mentioning features or use of this software\nmust display the following acknowledgement:\n\"This product includes cryptographic software written by\nEric Young (eay@cryptsoft.com)\"\nThe word 'cryptographic' can be left out if the rouines from the library\nbeing used are not cryptographic related :-).\n4. If you include any Windows specific code (or a derivative thereof) from\nthe apps directory (application code) you must include an acknowledgement:\n\"This product includes software written by Tim Hudson (tjh@cryptsoft.com)\"\n\nTHIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\nOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\nOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE.\n\nThe licence and distribution terms for any publically available version or\nderivative of this code cannot be changed. i.e. this code cannot simply be\ncopied and put under another distribution licence\n[including the GNU Public Licence.]" + }, + { + "key": "other-copyleft", + "short_name": "Other Copyleft Licenses", + "name": "Other Copyleft Licenses", + "category": "Copyleft", + "owner": "nexB", + "notes": "this is a catch all and ellipsis to deal with some cases when a large\nnumber of ancillary yet similar licenses may be reported as one.\n", + "is_builtin": true, + "is_generic": true, + "spdx_license_key": "LicenseRef-scancode-other-copyleft", + "text": "This component contains third-party subcomponents licensed under\none or more copyleft licenses in the style of GPL, LGPL, MPL or EPL.\nThe license obligations of these subcomponents may apply when a subcomponent\ndepending on how the subcomponent is used and/or redistributed." + }, + { + "key": "python", + "short_name": "Python License 2.0", + "name": "Python Software Foundation License v2", + "category": "Permissive", + "owner": "Python Software Foundation (PSF)", + "homepage_url": "http://docs.python.org/license.html", + "is_builtin": true, + "spdx_license_key": "Python-2.0", + "text_urls": [ + "http://spdx.org/licenses/Python-2.0" + ], + "osi_url": "http://www.opensource.org/licenses/Python-2.0", + "other_urls": [ + "http://opensource.org/licenses/PythonSoftFoundation.php", + "http://www.gnu.org/licenses/license-list.html#PythonOld", + "https://opensource.org/licenses/Python-2.0" + ], + "text": "PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2\n--------------------------------------------\n\n1. This LICENSE AGREEMENT is between the Python Software Foundation\n(\"PSF\"), and the Individual or Organization (\"Licensee\") accessing and\notherwise using this software (\"Python\") in source or binary form and\nits associated documentation.\n\n2. Subject to the terms and conditions of this License Agreement, PSF hereby\ngrants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,\nanalyze, test, perform and/or display publicly, prepare derivative works,\ndistribute, and otherwise use Python alone or in any derivative version,\nprovided, however, that PSF's License Agreement and PSF's notice of copyright,\ni.e., \"Copyright (c) Python Software Foundation;\nAll Rights Reserved\" are retained in Python alone or in any derivative version\nprepared by Licensee.\n\n3. In the event Licensee prepares a derivative work that is based on\nor incorporates Python or any part thereof, and wants to make\nthe derivative work available to others as provided herein, then\nLicensee hereby agrees to include in any such work a brief summary of\nthe changes made to Python.\n\n4. PSF is making Python available to Licensee on an \"AS IS\"\nbasis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\nFOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS\nA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,\nOR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n6. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n7. Nothing in this License Agreement shall be deemed to create any\nrelationship of agency, partnership, or joint venture between PSF and\nLicensee. This License Agreement does not grant permission to use PSF\ntrademarks or trade name in a trademark sense to endorse or promote\nproducts or services of Licensee, or any third party.\n\n8. By copying, installing or otherwise using Python, Licensee\nagrees to be bound by the terms and conditions of this License\nAgreement.\n\n\nBEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0\n-------------------------------------------\n\nBEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1\n\n1. This LICENSE AGREEMENT is between BeOpen.com (\"BeOpen\"), having an\noffice at 160 Saratoga Avenue, Santa Clara, CA 95051, and the\nIndividual or Organization (\"Licensee\") accessing and otherwise using\nthis software in source or binary form and its associated\ndocumentation (\"the Software\").\n\n2. Subject to the terms and conditions of this BeOpen Python License\nAgreement, BeOpen hereby grants Licensee a non-exclusive,\nroyalty-free, world-wide license to reproduce, analyze, test, perform\nand/or display publicly, prepare derivative works, distribute, and\notherwise use the Software alone or in any derivative version,\nprovided, however, that the BeOpen Python License is retained in the\nSoftware, alone or in any derivative version prepared by Licensee.\n\n3. BeOpen is making the Software available to Licensee on an \"AS IS\"\nbasis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE\nSOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS\nAS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY\nDERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n5. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n6. This License Agreement shall be governed by and interpreted in all\nrespects by the law of the State of California, excluding conflict of\nlaw provisions. Nothing in this License Agreement shall be deemed to\ncreate any relationship of agency, partnership, or joint venture\nbetween BeOpen and Licensee. This License Agreement does not grant\npermission to use BeOpen trademarks or trade names in a trademark\nsense to endorse or promote products or services of Licensee, or any\nthird party. As an exception, the \"BeOpen Python\" logos available at\nhttp://www.pythonlabs.com/logos.html may be used according to the\npermissions granted on that web page.\n\n7. By copying, installing or otherwise using the software, Licensee\nagrees to be bound by the terms and conditions of this License\nAgreement.\n\n\nCNRI LICENSE AGREEMENT FOR PYTHON 1.6.1\n---------------------------------------\n\n1. This LICENSE AGREEMENT is between the Corporation for National\nResearch Initiatives, having an office at 1895 Preston White Drive,\nReston, VA 20191 (\"CNRI\"), and the Individual or Organization\n(\"Licensee\") accessing and otherwise using Python 1.6.1 software in\nsource or binary form and its associated documentation.\n\n2. Subject to the terms and conditions of this License Agreement, CNRI\nhereby grants Licensee a nonexclusive, royalty-free, world-wide\nlicense to reproduce, analyze, test, perform and/or display publicly,\nprepare derivative works, distribute, and otherwise use Python 1.6.1\nalone or in any derivative version, provided, however, that CNRI's\nLicense Agreement and CNRI's notice of copyright, i.e., \"Copyright (c)\n1995-2001 Corporation for National Research Initiatives; All Rights\nReserved\" are retained in Python 1.6.1 alone or in any derivative\nversion prepared by Licensee. Alternately, in lieu of CNRI's License\nAgreement, Licensee may substitute the following text (omitting the\nquotes): \"Python 1.6.1 is made available subject to the terms and\nconditions in CNRI's License Agreement. This Agreement together with\nPython 1.6.1 may be located on the Internet using the following\nunique, persistent identifier (known as a handle): 1895.22/1013. This\nAgreement may also be obtained from a proxy server on the Internet\nusing the following URL: http://hdl.handle.net/1895.22/1013\".\n\n3. In the event Licensee prepares a derivative work that is based on\nor incorporates Python 1.6.1 or any part thereof, and wants to make\nthe derivative work available to others as provided herein, then\nLicensee hereby agrees to include in any such work a brief summary of\nthe changes made to Python 1.6.1.\n\n4. CNRI is making Python 1.6.1 available to Licensee on an \"AS IS\"\nbasis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\n1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS\nA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,\nOR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n6. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n7. This License Agreement shall be governed by the federal\nintellectual property law of the United States, including without\nlimitation the federal copyright law, and, to the extent such\nU.S. federal law does not apply, by the law of the Commonwealth of\nVirginia, excluding Virginia's conflict of law provisions.\nNotwithstanding the foregoing, with regard to derivative works based\non Python 1.6.1 that incorporate non-separable material that was\npreviously distributed under the GNU General Public License (GPL), the\nlaw of the Commonwealth of Virginia shall govern this License\nAgreement only as to issues arising under or with respect to\nParagraphs 4, 5, and 7 of this License Agreement. Nothing in this\nLicense Agreement shall be deemed to create any relationship of\nagency, partnership, or joint venture between CNRI and Licensee. This\nLicense Agreement does not grant permission to use CNRI trademarks or\ntrade name in a trademark sense to endorse or promote products or\nservices of Licensee, or any third party.\n\n8. By clicking on the \"ACCEPT\" button where indicated, or by copying,\ninstalling or otherwise using Python 1.6.1, Licensee agrees to be\nbound by the terms and conditions of this License Agreement.\n\nACCEPT\n\n\nCWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2\n--------------------------------------------------\n\nCopyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,\nThe Netherlands. All rights reserved.\n\nPermission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose and without fee is hereby granted,\nprovided that the above copyright notice appear in all copies and that\nboth that copyright notice and this permission notice appear in\nsupporting documentation, and that the name of Stichting Mathematisch\nCentrum or CWI not be used in advertising or publicity pertaining to\ndistribution of the software without specific, written prior\npermission.\n\nSTICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO\nTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE\nFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\nOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + }, + { + "key": "python-cwi", + "short_name": "Python CWI License", + "name": "Python CWI License Agreement", + "category": "Permissive", + "owner": "Python Software Foundation (PSF)", + "homepage_url": "http://docs.python.org/license.html", + "notes": "This is the old license of Python as used from inception from 0.9.0 thru\n1.2 versions. This is a MIT/BSD-style license that is rather rare these\ndays but also unique. It is also found at the bottom of the current Python\nlicense text.\n", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-python-cwi", + "text": "Permission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose and without fee is hereby granted,\nprovided that the above copyright notice appear in all copies and that\nboth that copyright notice and this permission notice appear in\nsupporting documentation, and that the name of Stichting Mathematisch\nCentrum or CWI not be used in advertising or publicity pertaining to\ndistribution of the software without specific, written prior\npermission.\n\nSTICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO\nTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE\nFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\nOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + }, + { + "key": "sleepycat", + "short_name": "Sleepycat License", + "name": "Sleepycat License (Berkeley Database License)", + "category": "Copyleft", + "owner": "Oracle Corporation", + "homepage_url": "http://opensource.org/licenses/sleepycat.html", + "notes": "Per SPDX.org, this license is OSI certified", + "is_builtin": true, + "spdx_license_key": "Sleepycat", + "text_urls": [ + "http://www.oracle.com/technology/software/products/berkeley-db/htdocs/oslicense.html" + ], + "osi_url": "http://opensource.org/licenses/sleepycat.html", + "faq_url": "https://docs.oracle.com/cd/E17076_05/html/license/license_db.html", + "other_urls": [ + "http://www.opensource.org/licenses/Sleepycat", + "http://www.opensource.org/licenses/sleepycat.php", + "https://opensource.org/licenses/Sleepycat" + ], + "text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in the\ndocumentation and/or other materials provided with the distribution.\n3. Redistributions in any form must be accompanied by information on\nhow to obtain complete source code for the DB software and any\naccompanying software that uses the DB software. The source code\nmust either be included in the distribution or be available for no\nmore than the cost of distribution plus a nominal fee, and must be\nfreely redistributable under reasonable conditions. For an\nexecutable file, complete source code means the source code for all\nmodules it contains. It does not include source code for modules or\nfiles that typically accompany the major components of the operating\nsystem on which the executable file runs.\n\nTHIS SOFTWARE IS PROVIDED BY ORACLE CORPORATION ``AS IS'' AND ANY EXPRESS\nOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL ORACLE CORPORATION\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\nTHE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "ssleay-windows", + "short_name": "Original SSLeay License with Windows Clause", + "name": "Original SSLeay License with Windows Clause", + "category": "Permissive", + "owner": "OpenSSL", + "homepage_url": "https://www.openssl.org/source/license.html", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-ssleay-windows", + "text_urls": [ + "http://www.openssl.org/source/license.html" + ], + "other_urls": [ + "http://h71000.www7.hp.com/doc/83final/ba554_90007/apcs02.html" + ], + "text": "This package is an SSL implementation written by Eric Young (eay@cryptsoft.com).\nThe implementation was written so as to conform with Netscapes SSL.\n\nThis library is free for commercial and non-commercial use as long as\nthe following conditions are aheared to. The following conditions\napply to all code found in this distribution, be it the RC4, RSA,\nlhash, DES, etc., code; not just the SSL code. The SSL documentation\nincluded with this distribution is covered by the same copyright terms\nexcept that the holder is Tim Hudson (tjh@cryptsoft.com).\n\nCopyright remains Eric Young's, and as such any Copyright notices in\nthe code are not to be removed.\nIf this package is used in a product, Eric Young should be given attribution\nas the author of the parts of the library used.\nThis can be in the form of a textual message at program startup or\nin documentation (online or textual) provided with the package.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n1. Redistributions of source code must retain the copyright\nnotice, this list of conditions and the following disclaimer.\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in the\ndocumentation and/or other materials provided with the distribution.\n3. All advertising materials mentioning features or use of this software\nmust display the following acknowledgement:\n\"This product includes cryptographic software written by\nEric Young (eay@cryptsoft.com)\"\nThe word 'cryptographic' can be left out if the rouines from the library\nbeing used are not cryptographic related :-).\n4. If you include any Windows specific code (or a derivative thereof) from\nthe apps directory (application code) you must include an acknowledgement:\n\"This product includes software written by Tim Hudson (tjh@cryptsoft.com)\"\n\nTHIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\nOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\nOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE.\n\nThe licence and distribution terms for any publically available version or\nderivative of this code cannot be changed. i.e. this code cannot simply be\ncopied and put under another distribution licence\n[including the GNU Public Licence.]" + }, + { + "key": "tcl", + "short_name": "TCL/TK License", + "name": "TCL/TK License", + "category": "Permissive", + "owner": "Tcl Developer Xchange", + "homepage_url": "http://www.tcl.tk/software/tcltk/license.html", + "is_builtin": true, + "spdx_license_key": "TCL", + "text_urls": [ + "http://www.tcl.tk/software/tcltk/license.html" + ], + "other_urls": [ + "http://fedoraproject.org/wiki/Licensing/TCL", + "https://fedoraproject.org/wiki/Licensing/TCL" + ], + "text": "This software is copyrighted by the Regents of the University of\nCalifornia, Sun Microsystems, Inc., Scriptics Corporation, ActiveState\nCorporation and other parties. The following terms apply to all files\nassociated with the software unless explicitly disclaimed in\nindividual files.\n\nThe authors hereby grant permission to use, copy, modify, distribute,\nand license this software and its documentation for any purpose, provided\nthat existing copyright notices are retained in all copies and that this\nnotice is included verbatim in any distributions. No written agreement,\nlicense, or royalty fee is required for any of the authorized uses.\nModifications to this software may be copyrighted by their authors\nand need not follow the licensing terms described here, provided that\nthe new terms are clearly indicated on the first page of each file where\nthey apply.\n\nIN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY\nFOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES\nARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY\nDERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,\nINCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.\nTHIS SOFTWARE IS PROVIDED ON AN \"AS IS\" BASIS, AND THE AUTHORS AND\nDISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT,\nUPDATES, ENHANCEMENTS, OR MODIFICATIONS.\n\nGOVERNMENT USE: If you are acquiring this software on behalf of the\nU.S. government, the Government shall have only \"Restricted Rights\"\nin the software and related documentation as defined in the Federal\nAcquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you\nare acquiring the software on behalf of the Department of Defense, the\nsoftware shall be classified as \"Commercial Computer Software\" and the\nGovernment shall have only \"Restricted Rights\" as defined in Clause\n252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the\nauthors grant the U.S. Government and others acting in its behalf\npermission to use and distribute the software in accordance with the\nterms specified in this license." + } + ], + "license_rule_references": [ + { + "license_expression": "python", + "rule_identifier": "python_not_not-a-license_269.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 35, + "rule_relevance": 100 + }, + { + "license_expression": "other-copyleft", + "rule_identifier": "other-copyleft_24.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 80 + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_200.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_351.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 85 + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_351.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 85 + }, + { + "license_expression": "other-copyleft", + "rule_identifier": "other-copyleft_24.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 80 + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_194.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "other-copyleft", + "rule_identifier": "other-copyleft_24.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 80 + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_351.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 85 + }, + { + "license_expression": "python", + "rule_identifier": "python_2019.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1530, + "rule_relevance": 100 + }, + { + "license_expression": "python-cwi", + "rule_identifier": "python-cwi.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 145, + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100 + }, + { + "license_expression": "bzip2-libbzip-2010", + "rule_identifier": "bzip2-libbzip-2010.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 233, + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100 + }, + { + "license_expression": "sleepycat", + "rule_identifier": "sleepycat_5.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 174, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-simplified", + "rule_identifier": "bsd-simplified_242.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 175, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_19.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 213, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_943.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 213, + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100 + }, + { + "license_expression": "openssl-ssleay", + "rule_identifier": "openssl-ssleay_43.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 56, + "rule_relevance": 100 + }, + { + "license_expression": "openssl-ssleay", + "rule_identifier": "openssl-ssleay_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "openssl", + "rule_identifier": "openssl_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 332, + "rule_relevance": 100 + }, + { + "license_expression": "ssleay-windows", + "rule_identifier": "ssleay-windows.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 453, + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100 + }, + { + "license_expression": "tcl", + "rule_identifier": "tcl.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 345, + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": true, + "rule_length": 6, + "rule_relevance": 100 + }, + { + "license_expression": "tcl", + "rule_identifier": "tcl_14.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 341, + "rule_relevance": 100 + } + ], + "files": [ + { + "path": "python.LICENSE", + "type": "file", + "detected_license_expression": "python AND (other-copyleft AND gpl-1.0-plus) AND (python AND python-cwi) AND bzip2-libbzip-2010 AND sleepycat AND bsd-simplified AND bsd-new AND openssl-ssleay AND openssl AND ssleay-windows AND tcl", + "detected_license_expression_spdx": "Python-2.0 AND (LicenseRef-scancode-other-copyleft AND GPL-1.0-or-later) AND (Python-2.0 AND LicenseRef-scancode-python-cwi) AND bzip2-1.0.6 AND Sleepycat AND BSD-2-Clause AND BSD-3-Clause AND OpenSSL AND LicenseRef-scancode-openssl AND LicenseRef-scancode-ssleay-windows AND TCL", + "license_detections": [ + { + "license_expression": "python", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 23, + "end_line": 26, + "matched_length": 35, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "python", + "rule_identifier": "python_not_not-a-license_269.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_not_not-a-license_269.RULE", + "matched_text": "All Python releases are Open Source (see http://www.opensource.org for\nthe Open Source Definition). Historically, most, but not all, Python\nreleases have also been GPL-compatible; the table below summarizes\nthe various releases." + } + ] + }, + { + "license_expression": "other-copyleft AND gpl-1.0-plus", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 80.0, + "start_line": 62, + "end_line": 62, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "other-copyleft", + "rule_identifier": "other-copyleft_24.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", + "matched_text": "(1) GPL-compatible doesn't mean that we're distributing Python under" + }, + { + "score": 100.0, + "start_line": 62, + "end_line": 63, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_200.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_200.RULE", + "matched_text": "(1) GPL-compatible doesn't mean that we're distributing Python under\n the GPL. All Python licenses, unlike the GPL, let you distribute" + }, + { + "score": 85.0, + "start_line": 63, + "end_line": 63, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_351.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", + "matched_text": " the GPL. All Python licenses, unlike the GPL, let you distribute" + }, + { + "score": 85.0, + "start_line": 64, + "end_line": 65, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_351.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", + "matched_text": " a modified version without making your changes open source. The\n GPL-compatible licenses make it possible to combine Python with" + }, + { + "score": 80.0, + "start_line": 65, + "end_line": 65, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "other-copyleft", + "rule_identifier": "other-copyleft_24.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", + "matched_text": " GPL-compatible licenses make it possible to combine Python with" + }, + { + "score": 100.0, + "start_line": 66, + "end_line": 66, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_194.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_194.RULE", + "matched_text": " other software that is released under the GPL; the others don't." + }, + { + "score": 80.0, + "start_line": 68, + "end_line": 68, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "other-copyleft", + "rule_identifier": "other-copyleft_24.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", + "matched_text": "(2) According to Richard Stallman, 1.6.1 is not GPL-compatible," + }, + { + "score": 85.0, + "start_line": 71, + "end_line": 71, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_351.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", + "matched_text": " is \"not incompatible\" with the GPL." + } + ] + }, + { + "license_expression": "python AND python-cwi", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 90.52, + "start_line": 77, + "end_line": 255, + "matched_length": 1385, + "match_coverage": 90.52, + "matcher": "3-seq", + "license_expression": "python", + "rule_identifier": "python_2019.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_2019.RULE", + "matched_text": "B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON\n===============================================================\n\nPYTHON SOFTWARE FOUNDATION LICENSE VERSION 2\n--------------------------------------------\n\n1. This LICENSE AGREEMENT is between the Python Software Foundation\n(\"PSF\"), and the Individual or Organization (\"Licensee\") accessing and\notherwise using this software (\"Python\") in source or binary form and\nits associated documentation.\n\n2. Subject to the terms and conditions of this License Agreement, PSF\nhereby grants Licensee a nonexclusive, royalty-free, world-wide\nlicense to reproduce, analyze, test, perform and/or display publicly,\nprepare derivative works, distribute, and otherwise use Python\nalone or in any derivative version, provided, however, that PSF's\nLicense Agreement and PSF's notice of copyright, i.e., \"Copyright (c)\n2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Python Software Foundation; \nAll Rights Reserved\" are retained in Python alone or in any derivative \nversion prepared by Licensee.\n\n3. In the event Licensee prepares a derivative work that is based on\nor incorporates Python or any part thereof, and wants to make\nthe derivative work available to others as provided herein, then\nLicensee hereby agrees to include in any such work a brief summary of\nthe changes made to Python.\n\n4. PSF is making Python available to Licensee on an \"AS IS\"\nbasis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\nFOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS\nA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,\nOR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n6. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n7. Nothing in this License Agreement shall be deemed to create any\nrelationship of agency, partnership, or joint venture between PSF and\nLicensee. This License Agreement does not grant permission to use PSF\ntrademarks or trade name in a trademark sense to endorse or promote\nproducts or services of Licensee, or any third party.\n\n8. By copying, installing or otherwise using Python, Licensee\nagrees to be bound by the terms and conditions of this License\nAgreement.\n\n\nBEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0\n-------------------------------------------\n\nBEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1\n\n1. This LICENSE AGREEMENT is between BeOpen.com (\"BeOpen\"), having an\noffice at 160 Saratoga Avenue, Santa Clara, CA 95051, and the\nIndividual or Organization (\"Licensee\") accessing and otherwise using\nthis software in source or binary form and its associated\ndocumentation (\"the Software\").\n\n2. Subject to the terms and conditions of this BeOpen Python License\nAgreement, BeOpen hereby grants Licensee a non-exclusive,\nroyalty-free, world-wide license to reproduce, analyze, test, perform\nand/or display publicly, prepare derivative works, distribute, and\notherwise use the Software alone or in any derivative version,\nprovided, however, that the BeOpen Python License is retained in the\nSoftware, alone or in any derivative version prepared by Licensee.\n\n3. BeOpen is making the Software available to Licensee on an \"AS IS\"\nbasis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE\nSOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS\nAS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY\nDERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n5. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n6. This License Agreement shall be governed by and interpreted in all\nrespects by the law of the State of California, excluding conflict of\nlaw provisions. Nothing in this License Agreement shall be deemed to\ncreate any relationship of agency, partnership, or joint venture\nbetween BeOpen and Licensee. This License Agreement does not grant\npermission to use BeOpen trademarks or trade names in a trademark\nsense to endorse or promote products or services of Licensee, or any\nthird party. As an exception, the \"BeOpen Python\" logos available at\nhttp://www.pythonlabs.com/logos.html may be used according to the\npermissions granted on that web page.\n\n7. By copying, installing or otherwise using the software, Licensee\nagrees to be bound by the terms and conditions of this License\nAgreement.\n\n\nCNRI LICENSE AGREEMENT FOR PYTHON 1.6.1\n---------------------------------------\n\n1. This LICENSE AGREEMENT is between the Corporation for National\nResearch Initiatives, having an office at 1895 Preston White Drive,\nReston, VA 20191 (\"CNRI\"), and the Individual or Organization\n(\"Licensee\") accessing and otherwise using Python 1.6.1 software in\nsource or binary form and its associated documentation.\n\n2. Subject to the terms and conditions of this License Agreement, CNRI\nhereby grants Licensee a nonexclusive, royalty-free, world-wide\nlicense to reproduce, analyze, test, perform and/or display publicly,\nprepare derivative works, distribute, and otherwise use Python 1.6.1\nalone or in any derivative version, provided, however, that CNRI's\nLicense Agreement and CNRI's notice of copyright, i.e., \"Copyright (c)\n1995-2001 Corporation for National Research Initiatives; All Rights\nReserved\" are retained in Python 1.6.1 alone or in any derivative\nversion prepared by Licensee. Alternately, in lieu of CNRI's License\nAgreement, Licensee may substitute the following text (omitting the\nquotes): \"Python 1.6.1 is made available subject to the terms and\nconditions in CNRI's License Agreement. This Agreement together with\nPython 1.6.1 may be located on the Internet using the following\nunique, persistent identifier (known as a handle): 1895.22/1013. This\nAgreement may also be obtained from a proxy server on the Internet\nusing the following URL: http://hdl.handle.net/1895.22/1013\".\n\n3. In the event Licensee prepares a derivative work that is based on\nor incorporates Python 1.6.1 or any part thereof, and wants to make\nthe derivative work available to others as provided herein, then\nLicensee hereby agrees to include in any such work a brief summary of\nthe changes made to Python 1.6.1.\n\n4. CNRI is making Python 1.6.1 available to Licensee on an \"AS IS\"\nbasis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\n1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS\nA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,\nOR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n6. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n7. This License Agreement shall be governed by the federal\nintellectual property law of the United States, including without\nlimitation the federal copyright law, and, to the extent such\nU.S. federal law does not apply, by the law of the Commonwealth of\nVirginia, excluding Virginia's conflict of law provisions.\nNotwithstanding the foregoing, with regard to derivative works based\non Python 1.6.1 that incorporate non-separable material that was\npreviously distributed under the GNU General Public License (GPL), the\nlaw of the Commonwealth of Virginia shall govern this License\nAgreement only as to issues arising under or with respect to\nParagraphs 4, 5, and 7 of this License Agreement. Nothing in this\nLicense Agreement shall be deemed to create any relationship of\nagency, partnership, or joint venture between CNRI and Licensee. This\nLicense Agreement does not grant permission to use CNRI trademarks or\ntrade name in a trademark sense to endorse or promote products or\nservices of Licensee, or any third party.\n\n8. By clicking on the \"ACCEPT\" button where indicated, or by copying,\ninstalling or otherwise using Python 1.6.1, Licensee agrees to be\nbound by the terms and conditions of this License Agreement.\n\n ACCEPT\n\n\nCWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2\n--------------------------------------------------\n\nCopyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,\nThe Netherlands. All rights reserved." + }, + { + "score": 100.0, + "start_line": 257, + "end_line": 272, + "matched_length": 145, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "python-cwi", + "rule_identifier": "python-cwi.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python-cwi.LICENSE", + "matched_text": "Permission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose and without fee is hereby granted,\nprovided that the above copyright notice appear in all copies and that\nboth that copyright notice and this permission notice appear in\nsupporting documentation, and that the name of Stichting Mathematisch\nCentrum or CWI not be used in advertising or publicity pertaining to\ndistribution of the software without specific, written prior\npermission.\n\nSTICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO\nTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE\nFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\nOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + } + ] + }, + { + "license_expression": "bzip2-libbzip-2010", + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 274, + "end_line": 274, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "matched_text": "This copy of Python includes a copy of bzip2, which is licensed under the following terms:" + }, + { + "score": 100.0, + "start_line": 281, + "end_line": 310, + "matched_length": 233, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bzip2-libbzip-2010", + "rule_identifier": "bzip2-libbzip-2010.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE", + "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n2. The origin of this software must not be misrepresented; you must \n not claim that you wrote the original software. If you use this \n software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n3. Altered source versions must be plainly marked as such, and must\n not be misrepresented as being the original software.\n\n4. The name of the author may not be used to endorse or promote \n products derived from this software without specific prior written \n permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS\nOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\nWHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + } + ] + }, + { + "license_expression": "sleepycat", + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 317, + "end_line": 317, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "matched_text": "This copy of Python includes a copy of db, which is licensed under the following terms:" + }, + { + "score": 100.0, + "start_line": 334, + "end_line": 351, + "matched_length": 174, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "sleepycat", + "rule_identifier": "sleepycat_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/sleepycat_5.RULE", + "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. Redistributions in any form must be accompanied by information on\n * how to obtain complete source code for the DB software and any\n * accompanying software that uses the DB software. The source code\n * must either be included in the distribution or be available for no\n * more than the cost of distribution plus a nominal fee, and must be\n * freely redistributable under reasonable conditions. For an\n * executable file, complete source code means the source code for all\n * modules it contains. It does not include source code for modules or\n * files that typically accompany the major components of the operating\n * system on which the executable file runs." + } + ] + }, + { + "license_expression": "bsd-simplified", + "detection_log": [ + "license-clues", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 33.71, + "start_line": 358, + "end_line": 363, + "matched_length": 59, + "match_coverage": 33.71, + "matcher": "3-seq", + "license_expression": "bsd-simplified", + "rule_identifier": "bsd-simplified_242.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_242.RULE", + "matched_text": " * 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\n * THE POSSIBILITY OF SUCH DAMAGE." + } + ] + }, + { + "license_expression": "bsd-new", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 369, + "end_line": 391, + "matched_length": 213, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_19.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_19.RULE", + "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." + } + ] + }, + { + "license_expression": "bsd-new", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 397, + "end_line": 419, + "matched_length": 213, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_943.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_943.RULE", + "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 HARVARD AND ITS 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 HARVARD OR ITS 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." + } + ] + }, + { + "license_expression": "openssl-ssleay", + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 422, + "end_line": 422, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "matched_text": "This copy of Python includes a copy of openssl, which is licensed under the following terms:" + }, + { + "score": 100.0, + "start_line": 428, + "end_line": 432, + "matched_length": 56, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "openssl-ssleay", + "rule_identifier": "openssl-ssleay_43.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_43.RULE", + "matched_text": " 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": 434, + "end_line": 434, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "openssl-ssleay", + "rule_identifier": "openssl-ssleay_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_2.RULE", + "matched_text": " OpenSSL License" + } + ] + }, + { + "license_expression": "openssl", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 440, + "end_line": 487, + "matched_length": 332, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "openssl", + "rule_identifier": "openssl_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl_1.RULE", + "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)." + } + ] + }, + { + "license_expression": "ssleay-windows", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 497, + "end_line": 548, + "matched_length": 453, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "ssleay-windows", + "rule_identifier": "ssleay-windows.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ssleay-windows.LICENSE", + "matched_text": " * 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.]" + } + ] + }, + { + "license_expression": "tcl", + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 552, + "end_line": 552, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "matched_text": "This copy of Python includes a copy of tcl, which is licensed under the following terms:" + }, + { + "score": 100.0, + "start_line": 554, + "end_line": 593, + "matched_length": 345, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "tcl", + "rule_identifier": "tcl.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/tcl.LICENSE", + "matched_text": "This software is copyrighted by the Regents of the University of\nCalifornia, Sun Microsystems, Inc., Scriptics Corporation, ActiveState\nCorporation and other parties. The following terms apply to all files\nassociated with the software unless explicitly disclaimed in\nindividual files.\n\nThe authors hereby grant permission to use, copy, modify, distribute,\nand license this software and its documentation for any purpose, provided\nthat existing copyright notices are retained in all copies and that this\nnotice is included verbatim in any distributions. No written agreement,\nlicense, or royalty fee is required for any of the authorized uses.\nModifications to this software may be copyrighted by their authors\nand need not follow the licensing terms described here, provided that\nthe new terms are clearly indicated on the first page of each file where\nthey apply.\n\nIN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY\nFOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES\nARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY\nDERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,\nINCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE\nIS PROVIDED ON AN \"AS IS\" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE\nNO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR\nMODIFICATIONS.\n\nGOVERNMENT USE: If you are acquiring this software on behalf of the\nU.S. government, the Government shall have only \"Restricted Rights\"\nin the software and related documentation as defined in the Federal \nAcquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you\nare acquiring the software on behalf of the Department of Defense, the\nsoftware shall be classified as \"Commercial Computer Software\" and the\nGovernment shall have only \"Restricted Rights\" as defined in Clause\n252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the\nauthors grant the U.S. Government and others acting in its behalf\npermission to use and distribute the software in accordance with the\nterms specified in this license." + } + ] + }, + { + "license_expression": "tcl", + "detection_log": [ + "unknown-intro-followed-by-match" + ], + "matches": [ + { + "score": 100.0, + "start_line": 595, + "end_line": 595, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "license-intro_50.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "matched_text": "This copy of Python includes a copy of tk, which is licensed under the following terms:" + }, + { + "score": 100.0, + "start_line": 597, + "end_line": 635, + "matched_length": 341, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "tcl", + "rule_identifier": "tcl_14.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/tcl_14.RULE", + "matched_text": "This software is copyrighted by the Regents of the University of\nCalifornia, Sun Microsystems, Inc., and other parties. The following\nterms apply to all files associated with the software unless explicitly\ndisclaimed in individual files.\n\nThe authors hereby grant permission to use, copy, modify, distribute,\nand license this software and its documentation for any purpose, provided\nthat existing copyright notices are retained in all copies and that this\nnotice is included verbatim in any distributions. No written agreement,\nlicense, or royalty fee is required for any of the authorized uses.\nModifications to this software may be copyrighted by their authors\nand need not follow the licensing terms described here, provided that\nthe new terms are clearly indicated on the first page of each file where\nthey apply.\n\nIN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY\nFOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES\nARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY\nDERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,\nINCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE\nIS PROVIDED ON AN \"AS IS\" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE\nNO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR\nMODIFICATIONS.\n\nGOVERNMENT USE: If you are acquiring this software on behalf of the\nU.S. government, the Government shall have only \"Restricted Rights\"\nin the software and related documentation as defined in the Federal \nAcquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you\nare acquiring the software on behalf of the Department of Defense, the\nsoftware shall be classified as \"Commercial Computer Software\" and the\nGovernment shall have only \"Restricted Rights\" as defined in Clause\n252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the\nauthors grant the U.S. Government and others acting in its behalf\npermission to use and distribute the software in accordance with the\nterms specified in this license." + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 83.64, + "for_license_detections": [ + "python#f9a5ba7d-9d66-5878-a0bd-1afe42fe0bd9", + "other_copyleft_and_gpl_1_0_plus#a9ef94dc-a60e-21b6-82b8-77454e7751c0", + "python_and_python_cwi#3136274a-0a35-5bea-9531-6e328486ea3b", + "bzip2_libbzip_2010#4854df4f-b9f8-1a96-92bd-44873ee7c7c5", + "sleepycat#82c2d26c-feb1-2257-3b27-0e92e4721958", + "bsd_simplified#d90f717a-d127-c345-d8a9-dc828c2be7e6", + "bsd_new#e65e2324-d4b0-5ad8-3314-a798683d13e3", + "bsd_new#4c57e726-e851-a66a-1dbe-d6106bcb4751", + "openssl_ssleay#7a0dc499-dddd-4bf1-2d0d-9a84c910b0bc", + "openssl#dacfdecf-b752-23a6-37ba-f98e7d93554a", + "ssleay_windows#50e05b6f-8602-75e7-7568-c3b4e72fec38", + "tcl#d352cc42-40ca-8f87-931e-725ee0a85c3e", + "tcl#e49b63d5-028c-f39c-035e-68c9e6c60e34" + ], + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/licensedcode/data/plugin_licenses_reference/python.LICENSE b/tests/licensedcode/data/licenses_reference_reporting/python.LICENSE similarity index 100% rename from tests/licensedcode/data/plugin_licenses_reference/python.LICENSE rename to tests/licensedcode/data/licenses_reference_reporting/python.LICENSE diff --git a/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json b/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json new file mode 100644 index 00000000000..a41d20b9505 --- /dev/null +++ b/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json @@ -0,0 +1,493 @@ +{ + "license_detections": [ + { + "identifier": "apache_2_0_and__mit_or_bsd_simplified#6bc05a2e-db2d-cf02-757a-3805bbf81f2e", + "license_expression": "apache-2.0 AND (mit OR bsd-simplified)", + "occurrence_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 16, + "matched_length": 119, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" + }, + { + "score": 100.0, + "start_line": 19, + "end_line": 19, + "matched_length": 8, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "mit OR bsd-simplified", + "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", + "rule_url": null + } + ] + }, + { + "identifier": "artistic_2_0#c69ba991-eda9-d458-568a-670d821906e2", + "license_expression": "artistic-2.0", + "occurrence_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 28, + "end_line": 28, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" + } + ] + }, + { + "identifier": "artistic_2_0_or_mit#2bc704cf-ef68-50b0-a7f0-b3a137ac7246", + "license_expression": "artistic-2.0 OR mit", + "occurrence_count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "artistic-2.0 OR mit", + "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", + "rule_url": null + } + ] + } + ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "artistic-2.0", + "short_name": "Artistic 2.0", + "name": "Artistic License 2.0", + "category": "Copyleft Limited", + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "Artistic-2.0", + "osi_license_key": "Artistic-2.0", + "text_urls": [ + "https://www.perlfoundation.org/artistic_license_2_0", + "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" + ], + "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", + "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", + "other_urls": [ + "http://www.perlfoundation.org/artistic_license_2_0", + "https://opensource.org/licenses/artistic-license-2.0", + "https://www.opensource.org/licenses/artistic-license-2.0", + "https://www.perlfoundation.org/artistic-license-20.html" + ], + "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "bsd-simplified", + "short_name": "BSD-2-Clause", + "name": "BSD-2-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-2-Clause", + "other_spdx_license_keys": [ + "BSD-2-Clause-NetBSD", + "BSD-2" + ], + "text_urls": [ + "http://opensource.org/licenses/bsd-license.php" + ], + "osi_url": "http://opensource.org/licenses/bsd-license.php", + "other_urls": [ + "http://spdx.org/licenses/BSD-2-Clause", + "http://www.freebsd.org/copyright/copyright.html", + "https://opensource.org/licenses/BSD-2-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "license_rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100 + }, + { + "license_expression": "mit OR bsd-simplified", + "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100 + }, + { + "license_expression": "artistic-2.0 OR mit", + "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + } + ], + "dependencies": [], + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "npm", + "version": "2.13.5", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "a package manager for JavaScript", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me" + } + ], + "keywords": [ + "package manager", + "modules", + "install", + "package.json" + ], + "homepage_url": "https://docs.npmjs.com/", + "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "size": null, + "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "http://github.com/npm/npm/issues", + "code_view_url": null, + "vcs_url": "git+https://github.com/npm/npm.git", + "copyright": null, + "declared_license_expression": "artistic-2.0 OR mit", + "declared_license_expression_spdx": "Artistic-2.0 OR MIT", + "license_detections": [ + { + "license_expression": "artistic-2.0 OR mit", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "artistic-2.0 OR mit", + "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", + "rule_url": null, + "matched_text": "Artistic-2.0 OR MIT" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['Artistic-2.0 OR MIT']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/npm", + "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "api_data_url": "https://registry.npmjs.org/npm/2.13.5", + "package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "scan/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/npm@2.13.5" + } + ], + "files": [ + { + "path": "scan", + "type": "directory", + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_license_detections": [], + "package_data": [], + "for_packages": [], + "scan_errors": [] + }, + { + "path": "scan/copyr.java", + "type": "file", + "detected_license_expression": "apache-2.0 AND (mit OR bsd-simplified)", + "detected_license_expression_spdx": "Apache-2.0 AND (MIT OR BSD-2-Clause)", + "license_detections": [ + { + "license_expression": "apache-2.0 AND (mit OR bsd-simplified)", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 16, + "matched_length": 119, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "matched_text": " * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License." + }, + { + "score": 100.0, + "start_line": 19, + "end_line": 19, + "matched_length": 8, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "mit OR bsd-simplified", + "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", + "rule_url": null, + "matched_text": "SPDX-License-Identifier: MIT or BSD-2-Clause" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 100.0, + "for_license_detections": [ + "apache_2_0_and__mit_or_bsd_simplified#6bc05a2e-db2d-cf02-757a-3805bbf81f2e" + ], + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "scan_errors": [] + }, + { + "path": "scan/package.json", + "type": "file", + "detected_license_expression": "artistic-2.0", + "detected_license_expression_spdx": "Artistic-2.0", + "license_detections": [ + { + "license_expression": "artistic-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 28, + "end_line": 28, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", + "matched_text": " \"license\": \"Artistic-2.0 OR MIT\"," + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 5.0, + "for_license_detections": [ + "artistic_2_0#c69ba991-eda9-d458-568a-670d821906e2", + "artistic_2_0_or_mit#2bc704cf-ef68-50b0-a7f0-b3a137ac7246" + ], + "package_data": [ + { + "type": "npm", + "namespace": null, + "name": "npm", + "version": "2.13.5", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "a package manager for JavaScript", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me" + } + ], + "keywords": [ + "package manager", + "modules", + "install", + "package.json" + ], + "homepage_url": "https://docs.npmjs.com/", + "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "size": null, + "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "http://github.com/npm/npm/issues", + "code_view_url": null, + "vcs_url": "git+https://github.com/npm/npm.git", + "copyright": null, + "declared_license_expression": "artistic-2.0 OR mit", + "declared_license_expression_spdx": "Artistic-2.0 OR MIT", + "license_detections": [ + { + "license_expression": "artistic-2.0 OR mit", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "artistic-2.0 OR mit", + "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", + "rule_url": null, + "matched_text": "Artistic-2.0 OR MIT" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['Artistic-2.0 OR MIT']", + "notice_text": null, + "source_packages": [], + "file_references": [], + "extra_data": {}, + "dependencies": [], + "repository_homepage_url": "https://www.npmjs.com/package/npm", + "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "api_data_url": "https://registry.npmjs.org/npm/2.13.5", + "datasource_id": "npm_package_json", + "purl": "pkg:npm/npm@2.13.5" + } + ], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/licensedcode/data/plugin_licenses_reference/scan-without-reference.expected.json b/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json similarity index 97% rename from tests/licensedcode/data/plugin_licenses_reference/scan-without-reference.expected.json rename to tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json index d4cebc0dda5..4443b55a546 100644 --- a/tests/licensedcode/data/plugin_licenses_reference/scan-without-reference.expected.json +++ b/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "43444665-1eb3-02f0-09a9-336b2186d8ce", + "identifier": "apache_2_0_and__mit_or_bsd_simplified#43444665-1eb3-02f0-09a9-336b2186d8ce", "license_expression": "apache-2.0 AND (mit OR bsd-simplified)", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -33,9 +33,9 @@ ] }, { - "identifier": "8755d5fd-6521-04e7-ace1-4344b99647e3", + "identifier": "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3", "license_expression": "artistic-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -54,9 +54,9 @@ ] }, { - "identifier": "2bc704cf-ef68-50b0-a7f0-b3a137ac7246", + "identifier": "artistic_2_0_or_mit#2bc704cf-ef68-50b0-a7f0-b3a137ac7246", "license_expression": "artistic-2.0 OR mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -75,87 +75,6 @@ ] } ], - "dependencies": [], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "npm", - "version": "2.13.5", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": "a package manager for JavaScript", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me" - } - ], - "keywords": [ - "package manager", - "modules", - "install", - "package.json" - ], - "homepage_url": "https://docs.npmjs.com/", - "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "size": null, - "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": "http://github.com/npm/npm/issues", - "code_view_url": null, - "vcs_url": "git+https://github.com/npm/npm.git", - "copyright": null, - "declared_license_expression": "artistic-2.0 OR mit", - "declared_license_expression_spdx": "Artistic-2.0 OR MIT", - "license_detections": [ - { - "license_expression": "artistic-2.0 OR mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0 OR MIT']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/npm", - "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "api_data_url": "https://registry.npmjs.org/npm/2.13.5", - "package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "scan/package.json" - ], - "datasource_ids": [ - "npm_package_json" - ], - "purl": "pkg:npm/npm@2.13.5" - } - ], "license_references": [ { "key": "apache-2.0", @@ -257,20 +176,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ - { - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Artistic-2.0 OR MIT" - }, + "license_rule_references": [ { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", @@ -307,8 +213,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Artistic-2.0 OR MIT" + "rule_relevance": 100 }, { "license_expression": "artistic-2.0", @@ -323,6 +228,88 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "npm", + "version": "2.13.5", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "a package manager for JavaScript", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me" + } + ], + "keywords": [ + "package manager", + "modules", + "install", + "package.json" + ], + "homepage_url": "https://docs.npmjs.com/", + "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "size": null, + "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "http://github.com/npm/npm/issues", + "code_view_url": null, + "vcs_url": "git+https://github.com/npm/npm.git", + "copyright": null, + "declared_license_expression": "artistic-2.0 OR mit", + "declared_license_expression_spdx": "Artistic-2.0 OR MIT", + "license_detections": [ + { + "license_expression": "artistic-2.0 OR mit", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "artistic-2.0 OR mit", + "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", + "rule_url": null, + "matched_text": "Artistic-2.0 OR MIT" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['Artistic-2.0 OR MIT']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/npm", + "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "api_data_url": "https://registry.npmjs.org/npm/2.13.5", + "package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "scan/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/npm@2.13.5" + } + ], "files": [ { "path": "scan", @@ -332,7 +319,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -376,8 +363,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "43444665-1eb3-02f0-09a9-336b2186d8ce" + "for_license_detections": [ + "apache_2_0_and__mit_or_bsd_simplified#43444665-1eb3-02f0-09a9-336b2186d8ce" ], "package_data": [], "for_packages": [ @@ -413,9 +400,9 @@ ], "license_clues": [], "percentage_of_license_text": 5.0, - "for_licenses": [ - "8755d5fd-6521-04e7-ace1-4344b99647e3", - "2bc704cf-ef68-50b0-a7f0-b3a137ac7246" + "for_license_detections": [ + "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3", + "artistic_2_0_or_mit#2bc704cf-ef68-50b0-a7f0-b3a137ac7246" ], "package_data": [ { @@ -472,7 +459,8 @@ "matcher": "1-spdx-id", "license_expression": "artistic-2.0 OR mit", "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null + "rule_url": null, + "matched_text": "Artistic-2.0 OR MIT" } ] } diff --git a/tests/licensedcode/data/plugin_licenses_reference/scan/copyr.java b/tests/licensedcode/data/licenses_reference_reporting/scan/copyr.java similarity index 100% rename from tests/licensedcode/data/plugin_licenses_reference/scan/copyr.java rename to tests/licensedcode/data/licenses_reference_reporting/scan/copyr.java diff --git a/tests/licensedcode/data/plugin_licenses_reference/scan/package.json b/tests/licensedcode/data/licenses_reference_reporting/scan/package.json similarity index 100% rename from tests/licensedcode/data/plugin_licenses_reference/scan/package.json rename to tests/licensedcode/data/licenses_reference_reporting/scan/package.json diff --git a/tests/licensedcode/data/plugin_licenses_reference/license-reference-works-with-clues.expected.json b/tests/licensedcode/data/plugin_licenses_reference/license-reference-works-with-clues.expected.json deleted file mode 100644 index 863b4cba80e..00000000000 --- a/tests/licensedcode/data/plugin_licenses_reference/license-reference-works-with-clues.expected.json +++ /dev/null @@ -1,2239 +0,0 @@ -{ - "licenses": [ - { - "identifier": "f9a5ba7d-9d66-5878-a0bd-1afe42fe0bd9", - "license_expression": "python", - "occurance_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 23, - "end_line": 26, - "matched_length": 35, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "python", - "rule_identifier": "python_not_not-a-license_269.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_not_not-a-license_269.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100, - "licenses": [ - { - "key": "python", - "name": "Python Software Foundation License v2", - "short_name": "Python License 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Python Software Foundation (PSF)", - "homepage_url": "http://docs.python.org/license.html", - "text_url": "http://spdx.org/licenses/Python-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/python", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python.LICENSE", - "spdx_license_key": "Python-2.0", - "spdx_url": "https://spdx.org/licenses/Python-2.0" - } - ] - } - ] - }, - { - "identifier": "a9ef94dc-a60e-21b6-82b8-77454e7751c0", - "license_expression": "other-copyleft AND gpl-1.0-plus", - "occurance_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 80.0, - "start_line": 62, - "end_line": 62, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "other-copyleft", - "rule_identifier": "other-copyleft_24.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 80, - "licenses": [ - { - "key": "other-copyleft", - "name": "Other Copyleft Licenses", - "short_name": "Other Copyleft Licenses", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-copyleft", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-copyleft", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE" - } - ] - }, - { - "score": 100.0, - "start_line": 62, - "end_line": 63, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_200.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_200.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] - }, - { - "score": 85.0, - "start_line": 63, - "end_line": 63, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_351.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 85, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] - }, - { - "score": 85.0, - "start_line": 64, - "end_line": 65, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_351.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 85, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] - }, - { - "score": 80.0, - "start_line": 65, - "end_line": 65, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "other-copyleft", - "rule_identifier": "other-copyleft_24.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 80, - "licenses": [ - { - "key": "other-copyleft", - "name": "Other Copyleft Licenses", - "short_name": "Other Copyleft Licenses", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-copyleft", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-copyleft", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE" - } - ] - }, - { - "score": 100.0, - "start_line": 66, - "end_line": 66, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_194.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_194.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] - }, - { - "score": 80.0, - "start_line": 68, - "end_line": 68, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "other-copyleft", - "rule_identifier": "other-copyleft_24.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 80, - "licenses": [ - { - "key": "other-copyleft", - "name": "Other Copyleft Licenses", - "short_name": "Other Copyleft Licenses", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-copyleft", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-copyleft", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE" - } - ] - }, - { - "score": 85.0, - "start_line": 71, - "end_line": 71, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_351.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 85, - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] - } - ] - }, - { - "identifier": "3136274a-0a35-5bea-9531-6e328486ea3b", - "license_expression": "python AND python-cwi", - "occurance_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 90.52, - "start_line": 77, - "end_line": 255, - "matched_length": 1385, - "match_coverage": 90.52, - "matcher": "3-seq", - "license_expression": "python", - "rule_identifier": "python_2019.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_2019.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1530, - "rule_relevance": 100, - "licenses": [ - { - "key": "python", - "name": "Python Software Foundation License v2", - "short_name": "Python License 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Python Software Foundation (PSF)", - "homepage_url": "http://docs.python.org/license.html", - "text_url": "http://spdx.org/licenses/Python-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/python", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python.LICENSE", - "spdx_license_key": "Python-2.0", - "spdx_url": "https://spdx.org/licenses/Python-2.0" - } - ] - }, - { - "score": 100.0, - "start_line": 257, - "end_line": 272, - "matched_length": 145, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "python-cwi", - "rule_identifier": "python-cwi.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python-cwi.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 145, - "rule_relevance": 100, - "licenses": [ - { - "key": "python-cwi", - "name": "Python CWI License Agreement", - "short_name": "Python CWI License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Python Software Foundation (PSF)", - "homepage_url": "http://docs.python.org/license.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/python-cwi", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python-cwi.LICENSE", - "spdx_license_key": "LicenseRef-scancode-python-cwi", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python-cwi.LICENSE" - } - ] - } - ] - }, - { - "identifier": "4854df4f-b9f8-1a96-92bd-44873ee7c7c5", - "license_expression": "bzip2-libbzip-2010", - "occurance_count": 1, - "detection_log": [ - "unknown-intro-followed-by-match" - ], - "matches": [ - { - "score": 100.0, - "start_line": 274, - "end_line": 274, - "matched_length": 6, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] - }, - { - "score": 100.0, - "start_line": 281, - "end_line": 310, - "matched_length": 233, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bzip2-libbzip-2010", - "rule_identifier": "bzip2-libbzip-2010.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bzip2-libbzip-2010.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 233, - "rule_relevance": 100, - "licenses": [ - { - "key": "bzip2-libbzip-2010", - "name": "bzip2 License 2010", - "short_name": "bzip2 License 2010", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "bzip", - "homepage_url": "https://github.com/asimonov-im/bzip2/blob/master/LICENSE", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/bzip2-libbzip-2010", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE", - "spdx_license_key": "bzip2-1.0.6", - "spdx_url": "https://spdx.org/licenses/bzip2-1.0.6" - } - ] - } - ] - }, - { - "identifier": "82c2d26c-feb1-2257-3b27-0e92e4721958", - "license_expression": "sleepycat", - "occurance_count": 1, - "detection_log": [ - "unknown-intro-followed-by-match" - ], - "matches": [ - { - "score": 100.0, - "start_line": 317, - "end_line": 317, - "matched_length": 6, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] - }, - { - "score": 100.0, - "start_line": 334, - "end_line": 351, - "matched_length": 174, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "sleepycat", - "rule_identifier": "sleepycat_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/sleepycat_5.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 174, - "rule_relevance": 100, - "licenses": [ - { - "key": "sleepycat", - "name": "Sleepycat License (Berkeley Database License)", - "short_name": "Sleepycat License", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Oracle Corporation", - "homepage_url": "http://opensource.org/licenses/sleepycat.html", - "text_url": "http://www.oracle.com/technology/software/products/berkeley-db/htdocs/oslicense.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/sleepycat", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/sleepycat.LICENSE", - "spdx_license_key": "Sleepycat", - "spdx_url": "https://spdx.org/licenses/Sleepycat" - } - ] - } - ] - }, - { - "identifier": "d90f717a-d127-c345-d8a9-dc828c2be7e6", - "license_expression": "bsd-simplified", - "occurance_count": 1, - "detection_log": [ - "license-clues", - "not-license-clues-as-more-detections-present" - ], - "matches": [ - { - "score": 33.71, - "start_line": 358, - "end_line": 363, - "matched_length": 59, - "match_coverage": 33.71, - "matcher": "3-seq", - "license_expression": "bsd-simplified", - "rule_identifier": "bsd-simplified_242.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_242.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 175, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-simplified", - "name": "BSD-2-Clause", - "short_name": "BSD-2-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "text_url": "http://opensource.org/licenses/bsd-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", - "spdx_license_key": "BSD-2-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" - } - ] - } - ] - }, - { - "identifier": "e65e2324-d4b0-5ad8-3314-a798683d13e3", - "license_expression": "bsd-new", - "occurance_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 369, - "end_line": 391, - "matched_length": 213, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_19.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_19.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 213, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] - } - ] - }, - { - "identifier": "4c57e726-e851-a66a-1dbe-d6106bcb4751", - "license_expression": "bsd-new", - "occurance_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 397, - "end_line": 419, - "matched_length": 213, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_943.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_943.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 213, - "rule_relevance": 100, - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] - } - ] - }, - { - "identifier": "7a0dc499-dddd-4bf1-2d0d-9a84c910b0bc", - "license_expression": "openssl-ssleay", - "occurance_count": 1, - "detection_log": [ - "unknown-intro-followed-by-match" - ], - "matches": [ - { - "score": 100.0, - "start_line": 422, - "end_line": 422, - "matched_length": 6, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] - }, - { - "score": 100.0, - "start_line": 428, - "end_line": 432, - "matched_length": 56, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "openssl-ssleay", - "rule_identifier": "openssl-ssleay_43.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_43.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 56, - "rule_relevance": 100, - "licenses": [ - { - "key": "openssl-ssleay", - "name": "OpenSSL/SSLeay License", - "short_name": "OpenSSL/SSLeay License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "OpenSSL", - "homepage_url": "http://www.openssl.org/source/license.html", - "text_url": "http://www.openssl.org/source/license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/openssl-ssleay", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl-ssleay.LICENSE", - "spdx_license_key": "OpenSSL", - "spdx_url": "https://spdx.org/licenses/OpenSSL" - } - ] - }, - { - "score": 100.0, - "start_line": 434, - "end_line": 434, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "openssl-ssleay", - "rule_identifier": "openssl-ssleay_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "licenses": [ - { - "key": "openssl-ssleay", - "name": "OpenSSL/SSLeay License", - "short_name": "OpenSSL/SSLeay License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "OpenSSL", - "homepage_url": "http://www.openssl.org/source/license.html", - "text_url": "http://www.openssl.org/source/license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/openssl-ssleay", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl-ssleay.LICENSE", - "spdx_license_key": "OpenSSL", - "spdx_url": "https://spdx.org/licenses/OpenSSL" - } - ] - } - ] - }, - { - "identifier": "dacfdecf-b752-23a6-37ba-f98e7d93554a", - "license_expression": "openssl", - "occurance_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 440, - "end_line": 487, - "matched_length": 332, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "openssl", - "rule_identifier": "openssl_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 332, - "rule_relevance": 100, - "licenses": [ - { - "key": "openssl", - "name": "OpenSSL License", - "short_name": "OpenSSL License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "OpenSSL", - "homepage_url": "http://openssl.org/source/license.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/openssl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl.LICENSE", - "spdx_license_key": "LicenseRef-scancode-openssl", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl.LICENSE" - } - ] - } - ] - }, - { - "identifier": "50e05b6f-8602-75e7-7568-c3b4e72fec38", - "license_expression": "ssleay-windows", - "occurance_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 497, - "end_line": 548, - "matched_length": 453, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "ssleay-windows", - "rule_identifier": "ssleay-windows.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/ssleay-windows.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 453, - "rule_relevance": 100, - "licenses": [ - { - "key": "ssleay-windows", - "name": "Original SSLeay License with Windows Clause", - "short_name": "Original SSLeay License with Windows Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "OpenSSL", - "homepage_url": "https://www.openssl.org/source/license.html", - "text_url": "http://www.openssl.org/source/license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/ssleay-windows", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ssleay-windows.LICENSE", - "spdx_license_key": "LicenseRef-scancode-ssleay-windows", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ssleay-windows.LICENSE" - } - ] - } - ] - }, - { - "identifier": "d352cc42-40ca-8f87-931e-725ee0a85c3e", - "license_expression": "tcl", - "occurance_count": 1, - "detection_log": [ - "unknown-intro-followed-by-match" - ], - "matches": [ - { - "score": 100.0, - "start_line": 552, - "end_line": 552, - "matched_length": 6, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] - }, - { - "score": 100.0, - "start_line": 554, - "end_line": 593, - "matched_length": 345, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "tcl", - "rule_identifier": "tcl.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/tcl.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 345, - "rule_relevance": 100, - "licenses": [ - { - "key": "tcl", - "name": "TCL/TK License", - "short_name": "TCL/TK License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Tcl Developer Xchange", - "homepage_url": "http://www.tcl.tk/software/tcltk/license.html", - "text_url": "http://www.tcl.tk/software/tcltk/license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/tcl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/tcl.LICENSE", - "spdx_license_key": "TCL", - "spdx_url": "https://spdx.org/licenses/TCL" - } - ] - } - ] - }, - { - "identifier": "e49b63d5-028c-f39c-035e-68c9e6c60e34", - "license_expression": "tcl", - "occurance_count": 1, - "detection_log": [ - "unknown-intro-followed-by-match" - ], - "matches": [ - { - "score": 100.0, - "start_line": 595, - "end_line": 595, - "matched_length": 6, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] - }, - { - "score": 100.0, - "start_line": 597, - "end_line": 635, - "matched_length": 341, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "tcl", - "rule_identifier": "tcl_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/tcl_14.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 341, - "rule_relevance": 100, - "licenses": [ - { - "key": "tcl", - "name": "TCL/TK License", - "short_name": "TCL/TK License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Tcl Developer Xchange", - "homepage_url": "http://www.tcl.tk/software/tcltk/license.html", - "text_url": "http://www.tcl.tk/software/tcltk/license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/tcl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/tcl.LICENSE", - "spdx_license_key": "TCL", - "spdx_url": "https://spdx.org/licenses/TCL" - } - ] - } - ] - } - ], - "files": [ - { - "path": "python.LICENSE", - "type": "file", - "detected_license_expression": "python AND (other-copyleft AND gpl-1.0-plus) AND (python AND python-cwi) AND bzip2-libbzip-2010 AND sleepycat AND bsd-simplified AND bsd-new AND openssl-ssleay AND openssl AND ssleay-windows AND tcl", - "detected_license_expression_spdx": "Python-2.0 AND (LicenseRef-scancode-other-copyleft AND GPL-1.0-or-later) AND (Python-2.0 AND LicenseRef-scancode-python-cwi) AND bzip2-1.0.6 AND Sleepycat AND BSD-2-Clause AND BSD-3-Clause AND OpenSSL AND LicenseRef-scancode-openssl AND LicenseRef-scancode-ssleay-windows AND TCL", - "license_detections": [ - { - "license_expression": "python", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 23, - "end_line": 26, - "matched_length": 35, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "python", - "rule_identifier": "python_not_not-a-license_269.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_not_not-a-license_269.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100, - "matched_text": "All Python releases are Open Source (see http://www.opensource.org for\nthe Open Source Definition). Historically, most, but not all, Python\nreleases have also been GPL-compatible; the table below summarizes\nthe various releases.", - "licenses": [ - { - "key": "python", - "name": "Python Software Foundation License v2", - "short_name": "Python License 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Python Software Foundation (PSF)", - "homepage_url": "http://docs.python.org/license.html", - "text_url": "http://spdx.org/licenses/Python-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/python", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python.LICENSE", - "spdx_license_key": "Python-2.0", - "spdx_url": "https://spdx.org/licenses/Python-2.0" - } - ] - } - ] - }, - { - "license_expression": "other-copyleft AND gpl-1.0-plus", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 80.0, - "start_line": 62, - "end_line": 62, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "other-copyleft", - "rule_identifier": "other-copyleft_24.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 80, - "matched_text": "(1) GPL-compatible doesn't mean that we're distributing Python under", - "licenses": [ - { - "key": "other-copyleft", - "name": "Other Copyleft Licenses", - "short_name": "Other Copyleft Licenses", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-copyleft", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-copyleft", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE" - } - ] - }, - { - "score": 100.0, - "start_line": 62, - "end_line": 63, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_200.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_200.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "(1) GPL-compatible doesn't mean that we're distributing Python under\n the GPL. All Python licenses, unlike the GPL, let you distribute", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] - }, - { - "score": 85.0, - "start_line": 63, - "end_line": 63, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_351.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 85, - "matched_text": " the GPL. All Python licenses, unlike the GPL, let you distribute", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] - }, - { - "score": 85.0, - "start_line": 64, - "end_line": 65, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_351.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 85, - "matched_text": " a modified version without making your changes open source. The\n GPL-compatible licenses make it possible to combine Python with", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] - }, - { - "score": 80.0, - "start_line": 65, - "end_line": 65, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "other-copyleft", - "rule_identifier": "other-copyleft_24.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 80, - "matched_text": " GPL-compatible licenses make it possible to combine Python with", - "licenses": [ - { - "key": "other-copyleft", - "name": "Other Copyleft Licenses", - "short_name": "Other Copyleft Licenses", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-copyleft", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-copyleft", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE" - } - ] - }, - { - "score": 100.0, - "start_line": 66, - "end_line": 66, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_194.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_194.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": " other software that is released under the GPL; the others don't.", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] - }, - { - "score": 80.0, - "start_line": 68, - "end_line": 68, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "other-copyleft", - "rule_identifier": "other-copyleft_24.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 80, - "matched_text": "(2) According to Richard Stallman, 1.6.1 is not GPL-compatible,", - "licenses": [ - { - "key": "other-copyleft", - "name": "Other Copyleft Licenses", - "short_name": "Other Copyleft Licenses", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "nexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/other-copyleft", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE", - "spdx_license_key": "LicenseRef-scancode-other-copyleft", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE" - } - ] - }, - { - "score": 85.0, - "start_line": 71, - "end_line": 71, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_351.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 85, - "matched_text": " is \"not incompatible\" with the GPL.", - "licenses": [ - { - "key": "gpl-1.0-plus", - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-1.0-plus", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-1.0-plus.LICENSE", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later" - } - ] - } - ] - }, - { - "license_expression": "python AND python-cwi", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 90.52, - "start_line": 77, - "end_line": 255, - "matched_length": 1385, - "match_coverage": 90.52, - "matcher": "3-seq", - "license_expression": "python", - "rule_identifier": "python_2019.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_2019.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1530, - "rule_relevance": 100, - "matched_text": "B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON\n===============================================================\n\nPYTHON SOFTWARE FOUNDATION LICENSE VERSION 2\n--------------------------------------------\n\n1. This LICENSE AGREEMENT is between the Python Software Foundation\n(\"PSF\"), and the Individual or Organization (\"Licensee\") accessing and\notherwise using this software (\"Python\") in source or binary form and\nits associated documentation.\n\n2. Subject to the terms and conditions of this License Agreement, PSF\nhereby grants Licensee a nonexclusive, royalty-free, world-wide\nlicense to reproduce, analyze, test, perform and/or display publicly,\nprepare derivative works, distribute, and otherwise use Python\nalone or in any derivative version, provided, however, that PSF's\nLicense Agreement and PSF's notice of copyright, i.e., \"Copyright (c)\n2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Python Software Foundation; \nAll Rights Reserved\" are retained in Python alone or in any derivative \nversion prepared by Licensee.\n\n3. In the event Licensee prepares a derivative work that is based on\nor incorporates Python or any part thereof, and wants to make\nthe derivative work available to others as provided herein, then\nLicensee hereby agrees to include in any such work a brief summary of\nthe changes made to Python.\n\n4. PSF is making Python available to Licensee on an \"AS IS\"\nbasis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\nFOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS\nA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,\nOR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n6. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n7. Nothing in this License Agreement shall be deemed to create any\nrelationship of agency, partnership, or joint venture between PSF and\nLicensee. This License Agreement does not grant permission to use PSF\ntrademarks or trade name in a trademark sense to endorse or promote\nproducts or services of Licensee, or any third party.\n\n8. By copying, installing or otherwise using Python, Licensee\nagrees to be bound by the terms and conditions of this License\nAgreement.\n\n\nBEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0\n-------------------------------------------\n\nBEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1\n\n1. This LICENSE AGREEMENT is between BeOpen.com (\"BeOpen\"), having an\noffice at 160 Saratoga Avenue, Santa Clara, CA 95051, and the\nIndividual or Organization (\"Licensee\") accessing and otherwise using\nthis software in source or binary form and its associated\ndocumentation (\"the Software\").\n\n2. Subject to the terms and conditions of this BeOpen Python License\nAgreement, BeOpen hereby grants Licensee a non-exclusive,\nroyalty-free, world-wide license to reproduce, analyze, test, perform\nand/or display publicly, prepare derivative works, distribute, and\notherwise use the Software alone or in any derivative version,\nprovided, however, that the BeOpen Python License is retained in the\nSoftware, alone or in any derivative version prepared by Licensee.\n\n3. BeOpen is making the Software available to Licensee on an \"AS IS\"\nbasis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE\nSOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS\nAS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY\nDERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n5. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n6. This License Agreement shall be governed by and interpreted in all\nrespects by the law of the State of California, excluding conflict of\nlaw provisions. Nothing in this License Agreement shall be deemed to\ncreate any relationship of agency, partnership, or joint venture\nbetween BeOpen and Licensee. This License Agreement does not grant\npermission to use BeOpen trademarks or trade names in a trademark\nsense to endorse or promote products or services of Licensee, or any\nthird party. As an exception, the \"BeOpen Python\" logos available at\nhttp://www.pythonlabs.com/logos.html may be used according to the\npermissions granted on that web page.\n\n7. By copying, installing or otherwise using the software, Licensee\nagrees to be bound by the terms and conditions of this License\nAgreement.\n\n\nCNRI LICENSE AGREEMENT FOR PYTHON 1.6.1\n---------------------------------------\n\n1. This LICENSE AGREEMENT is between the Corporation for National\nResearch Initiatives, having an office at 1895 Preston White Drive,\nReston, VA 20191 (\"CNRI\"), and the Individual or Organization\n(\"Licensee\") accessing and otherwise using Python 1.6.1 software in\nsource or binary form and its associated documentation.\n\n2. Subject to the terms and conditions of this License Agreement, CNRI\nhereby grants Licensee a nonexclusive, royalty-free, world-wide\nlicense to reproduce, analyze, test, perform and/or display publicly,\nprepare derivative works, distribute, and otherwise use Python 1.6.1\nalone or in any derivative version, provided, however, that CNRI's\nLicense Agreement and CNRI's notice of copyright, i.e., \"Copyright (c)\n1995-2001 Corporation for National Research Initiatives; All Rights\nReserved\" are retained in Python 1.6.1 alone or in any derivative\nversion prepared by Licensee. Alternately, in lieu of CNRI's License\nAgreement, Licensee may substitute the following text (omitting the\nquotes): \"Python 1.6.1 is made available subject to the terms and\nconditions in CNRI's License Agreement. This Agreement together with\nPython 1.6.1 may be located on the Internet using the following\nunique, persistent identifier (known as a handle): 1895.22/1013. This\nAgreement may also be obtained from a proxy server on the Internet\nusing the following URL: http://hdl.handle.net/1895.22/1013\".\n\n3. In the event Licensee prepares a derivative work that is based on\nor incorporates Python 1.6.1 or any part thereof, and wants to make\nthe derivative work available to others as provided herein, then\nLicensee hereby agrees to include in any such work a brief summary of\nthe changes made to Python 1.6.1.\n\n4. CNRI is making Python 1.6.1 available to Licensee on an \"AS IS\"\nbasis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\n1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS\nA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,\nOR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n6. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n7. This License Agreement shall be governed by the federal\nintellectual property law of the United States, including without\nlimitation the federal copyright law, and, to the extent such\nU.S. federal law does not apply, by the law of the Commonwealth of\nVirginia, excluding Virginia's conflict of law provisions.\nNotwithstanding the foregoing, with regard to derivative works based\non Python 1.6.1 that incorporate non-separable material that was\npreviously distributed under the GNU General Public License (GPL), the\nlaw of the Commonwealth of Virginia shall govern this License\nAgreement only as to issues arising under or with respect to\nParagraphs 4, 5, and 7 of this License Agreement. Nothing in this\nLicense Agreement shall be deemed to create any relationship of\nagency, partnership, or joint venture between CNRI and Licensee. This\nLicense Agreement does not grant permission to use CNRI trademarks or\ntrade name in a trademark sense to endorse or promote products or\nservices of Licensee, or any third party.\n\n8. By clicking on the \"ACCEPT\" button where indicated, or by copying,\ninstalling or otherwise using Python 1.6.1, Licensee agrees to be\nbound by the terms and conditions of this License Agreement.\n\n ACCEPT\n\n\nCWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2\n--------------------------------------------------\n\nCopyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,\nThe Netherlands. All rights reserved.", - "licenses": [ - { - "key": "python", - "name": "Python Software Foundation License v2", - "short_name": "Python License 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Python Software Foundation (PSF)", - "homepage_url": "http://docs.python.org/license.html", - "text_url": "http://spdx.org/licenses/Python-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/python", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python.LICENSE", - "spdx_license_key": "Python-2.0", - "spdx_url": "https://spdx.org/licenses/Python-2.0" - } - ] - }, - { - "score": 100.0, - "start_line": 257, - "end_line": 272, - "matched_length": 145, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "python-cwi", - "rule_identifier": "python-cwi.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python-cwi.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 145, - "rule_relevance": 100, - "matched_text": "Permission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose and without fee is hereby granted,\nprovided that the above copyright notice appear in all copies and that\nboth that copyright notice and this permission notice appear in\nsupporting documentation, and that the name of Stichting Mathematisch\nCentrum or CWI not be used in advertising or publicity pertaining to\ndistribution of the software without specific, written prior\npermission.\n\nSTICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO\nTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE\nFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\nOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.", - "licenses": [ - { - "key": "python-cwi", - "name": "Python CWI License Agreement", - "short_name": "Python CWI License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Python Software Foundation (PSF)", - "homepage_url": "http://docs.python.org/license.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/python-cwi", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python-cwi.LICENSE", - "spdx_license_key": "LicenseRef-scancode-python-cwi", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python-cwi.LICENSE" - } - ] - } - ] - }, - { - "license_expression": "bzip2-libbzip-2010", - "detection_log": [ - "unknown-intro-followed-by-match" - ], - "matches": [ - { - "score": 100.0, - "start_line": 274, - "end_line": 274, - "matched_length": 6, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "This copy of Python includes a copy of bzip2, which is licensed under the following terms:", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] - }, - { - "score": 100.0, - "start_line": 281, - "end_line": 310, - "matched_length": 233, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bzip2-libbzip-2010", - "rule_identifier": "bzip2-libbzip-2010.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 233, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n2. The origin of this software must not be misrepresented; you must \n not claim that you wrote the original software. If you use this \n software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n3. Altered source versions must be plainly marked as such, and must\n not be misrepresented as being the original software.\n\n4. The name of the author may not be used to endorse or promote \n products derived from this software without specific prior written \n permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS\nOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\nWHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", - "licenses": [ - { - "key": "bzip2-libbzip-2010", - "name": "bzip2 License 2010", - "short_name": "bzip2 License 2010", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "bzip", - "homepage_url": "https://github.com/asimonov-im/bzip2/blob/master/LICENSE", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/bzip2-libbzip-2010", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE", - "spdx_license_key": "bzip2-1.0.6", - "spdx_url": "https://spdx.org/licenses/bzip2-1.0.6" - } - ] - } - ] - }, - { - "license_expression": "sleepycat", - "detection_log": [ - "unknown-intro-followed-by-match" - ], - "matches": [ - { - "score": 100.0, - "start_line": 317, - "end_line": 317, - "matched_length": 6, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "This copy of Python includes a copy of db, which is licensed under the following terms:", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] - }, - { - "score": 100.0, - "start_line": 334, - "end_line": 351, - "matched_length": 174, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "sleepycat", - "rule_identifier": "sleepycat_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/sleepycat_5.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 174, - "rule_relevance": 100, - "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. Redistributions in any form must be accompanied by information on\n * how to obtain complete source code for the DB software and any\n * accompanying software that uses the DB software. The source code\n * must either be included in the distribution or be available for no\n * more than the cost of distribution plus a nominal fee, and must be\n * freely redistributable under reasonable conditions. For an\n * executable file, complete source code means the source code for all\n * modules it contains. It does not include source code for modules or\n * files that typically accompany the major components of the operating\n * system on which the executable file runs.", - "licenses": [ - { - "key": "sleepycat", - "name": "Sleepycat License (Berkeley Database License)", - "short_name": "Sleepycat License", - "category": "Copyleft", - "is_exception": false, - "is_unknown": false, - "owner": "Oracle Corporation", - "homepage_url": "http://opensource.org/licenses/sleepycat.html", - "text_url": "http://www.oracle.com/technology/software/products/berkeley-db/htdocs/oslicense.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/sleepycat", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/sleepycat.LICENSE", - "spdx_license_key": "Sleepycat", - "spdx_url": "https://spdx.org/licenses/Sleepycat" - } - ] - } - ] - }, - { - "license_expression": "bsd-simplified", - "detection_log": [ - "license-clues", - "not-license-clues-as-more-detections-present" - ], - "matches": [ - { - "score": 33.71, - "start_line": 358, - "end_line": 363, - "matched_length": 59, - "match_coverage": 33.71, - "matcher": "3-seq", - "license_expression": "bsd-simplified", - "rule_identifier": "bsd-simplified_242.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_242.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 175, - "rule_relevance": 100, - "matched_text": " * 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\n * THE POSSIBILITY OF SUCH DAMAGE.", - "licenses": [ - { - "key": "bsd-simplified", - "name": "BSD-2-Clause", - "short_name": "BSD-2-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "text_url": "http://opensource.org/licenses/bsd-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", - "spdx_license_key": "BSD-2-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" - } - ] - } - ] - }, - { - "license_expression": "bsd-new", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 369, - "end_line": 391, - "matched_length": 213, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_19.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_19.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 213, - "rule_relevance": 100, - "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.", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] - } - ] - }, - { - "license_expression": "bsd-new", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 397, - "end_line": 419, - "matched_length": 213, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_943.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_943.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 213, - "rule_relevance": 100, - "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 HARVARD AND ITS 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 HARVARD OR ITS 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.", - "licenses": [ - { - "key": "bsd-new", - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-new", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-new.LICENSE", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause" - } - ] - } - ] - }, - { - "license_expression": "openssl-ssleay", - "detection_log": [ - "unknown-intro-followed-by-match" - ], - "matches": [ - { - "score": 100.0, - "start_line": 422, - "end_line": 422, - "matched_length": 6, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "This copy of Python includes a copy of openssl, which is licensed under the following terms:", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] - }, - { - "score": 100.0, - "start_line": 428, - "end_line": 432, - "matched_length": 56, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "openssl-ssleay", - "rule_identifier": "openssl-ssleay_43.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_43.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 56, - "rule_relevance": 100, - "matched_text": " 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.", - "licenses": [ - { - "key": "openssl-ssleay", - "name": "OpenSSL/SSLeay License", - "short_name": "OpenSSL/SSLeay License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "OpenSSL", - "homepage_url": "http://www.openssl.org/source/license.html", - "text_url": "http://www.openssl.org/source/license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/openssl-ssleay", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl-ssleay.LICENSE", - "spdx_license_key": "OpenSSL", - "spdx_url": "https://spdx.org/licenses/OpenSSL" - } - ] - }, - { - "score": 100.0, - "start_line": 434, - "end_line": 434, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "openssl-ssleay", - "rule_identifier": "openssl-ssleay_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": " OpenSSL License", - "licenses": [ - { - "key": "openssl-ssleay", - "name": "OpenSSL/SSLeay License", - "short_name": "OpenSSL/SSLeay License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "OpenSSL", - "homepage_url": "http://www.openssl.org/source/license.html", - "text_url": "http://www.openssl.org/source/license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/openssl-ssleay", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl-ssleay.LICENSE", - "spdx_license_key": "OpenSSL", - "spdx_url": "https://spdx.org/licenses/OpenSSL" - } - ] - } - ] - }, - { - "license_expression": "openssl", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 440, - "end_line": 487, - "matched_length": 332, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "openssl", - "rule_identifier": "openssl_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 332, - "rule_relevance": 100, - "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).", - "licenses": [ - { - "key": "openssl", - "name": "OpenSSL License", - "short_name": "OpenSSL License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "OpenSSL", - "homepage_url": "http://openssl.org/source/license.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/openssl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl.LICENSE", - "spdx_license_key": "LicenseRef-scancode-openssl", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/openssl.LICENSE" - } - ] - } - ] - }, - { - "license_expression": "ssleay-windows", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 497, - "end_line": 548, - "matched_length": 453, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "ssleay-windows", - "rule_identifier": "ssleay-windows.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ssleay-windows.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 453, - "rule_relevance": 100, - "matched_text": " * 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.]", - "licenses": [ - { - "key": "ssleay-windows", - "name": "Original SSLeay License with Windows Clause", - "short_name": "Original SSLeay License with Windows Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "OpenSSL", - "homepage_url": "https://www.openssl.org/source/license.html", - "text_url": "http://www.openssl.org/source/license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/ssleay-windows", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ssleay-windows.LICENSE", - "spdx_license_key": "LicenseRef-scancode-ssleay-windows", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ssleay-windows.LICENSE" - } - ] - } - ] - }, - { - "license_expression": "tcl", - "detection_log": [ - "unknown-intro-followed-by-match" - ], - "matches": [ - { - "score": 100.0, - "start_line": 552, - "end_line": 552, - "matched_length": 6, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "This copy of Python includes a copy of tcl, which is licensed under the following terms:", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] - }, - { - "score": 100.0, - "start_line": 554, - "end_line": 593, - "matched_length": 345, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "tcl", - "rule_identifier": "tcl.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/tcl.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 345, - "rule_relevance": 100, - "matched_text": "This software is copyrighted by the Regents of the University of\nCalifornia, Sun Microsystems, Inc., Scriptics Corporation, ActiveState\nCorporation and other parties. The following terms apply to all files\nassociated with the software unless explicitly disclaimed in\nindividual files.\n\nThe authors hereby grant permission to use, copy, modify, distribute,\nand license this software and its documentation for any purpose, provided\nthat existing copyright notices are retained in all copies and that this\nnotice is included verbatim in any distributions. No written agreement,\nlicense, or royalty fee is required for any of the authorized uses.\nModifications to this software may be copyrighted by their authors\nand need not follow the licensing terms described here, provided that\nthe new terms are clearly indicated on the first page of each file where\nthey apply.\n\nIN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY\nFOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES\nARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY\nDERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,\nINCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE\nIS PROVIDED ON AN \"AS IS\" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE\nNO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR\nMODIFICATIONS.\n\nGOVERNMENT USE: If you are acquiring this software on behalf of the\nU.S. government, the Government shall have only \"Restricted Rights\"\nin the software and related documentation as defined in the Federal \nAcquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you\nare acquiring the software on behalf of the Department of Defense, the\nsoftware shall be classified as \"Commercial Computer Software\" and the\nGovernment shall have only \"Restricted Rights\" as defined in Clause\n252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the\nauthors grant the U.S. Government and others acting in its behalf\npermission to use and distribute the software in accordance with the\nterms specified in this license.", - "licenses": [ - { - "key": "tcl", - "name": "TCL/TK License", - "short_name": "TCL/TK License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Tcl Developer Xchange", - "homepage_url": "http://www.tcl.tk/software/tcltk/license.html", - "text_url": "http://www.tcl.tk/software/tcltk/license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/tcl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/tcl.LICENSE", - "spdx_license_key": "TCL", - "spdx_url": "https://spdx.org/licenses/TCL" - } - ] - } - ] - }, - { - "license_expression": "tcl", - "detection_log": [ - "unknown-intro-followed-by-match" - ], - "matches": [ - { - "score": 100.0, - "start_line": 595, - "end_line": 595, - "matched_length": 6, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100, - "matched_text": "This copy of Python includes a copy of tk, which is licensed under the following terms:", - "licenses": [ - { - "key": "unknown-license-reference", - "name": "Unknown License file reference", - "short_name": "Unknown License reference", - "category": "Unstated License", - "is_exception": false, - "is_unknown": true, - "owner": "Unspecified", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/unknown-license-reference", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE", - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" - } - ] - }, - { - "score": 100.0, - "start_line": 597, - "end_line": 635, - "matched_length": 341, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "tcl", - "rule_identifier": "tcl_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/tcl_14.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 341, - "rule_relevance": 100, - "matched_text": "This software is copyrighted by the Regents of the University of\nCalifornia, Sun Microsystems, Inc., and other parties. The following\nterms apply to all files associated with the software unless explicitly\ndisclaimed in individual files.\n\nThe authors hereby grant permission to use, copy, modify, distribute,\nand license this software and its documentation for any purpose, provided\nthat existing copyright notices are retained in all copies and that this\nnotice is included verbatim in any distributions. No written agreement,\nlicense, or royalty fee is required for any of the authorized uses.\nModifications to this software may be copyrighted by their authors\nand need not follow the licensing terms described here, provided that\nthe new terms are clearly indicated on the first page of each file where\nthey apply.\n\nIN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY\nFOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES\nARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY\nDERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,\nINCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE\nIS PROVIDED ON AN \"AS IS\" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE\nNO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR\nMODIFICATIONS.\n\nGOVERNMENT USE: If you are acquiring this software on behalf of the\nU.S. government, the Government shall have only \"Restricted Rights\"\nin the software and related documentation as defined in the Federal \nAcquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you\nare acquiring the software on behalf of the Department of Defense, the\nsoftware shall be classified as \"Commercial Computer Software\" and the\nGovernment shall have only \"Restricted Rights\" as defined in Clause\n252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the\nauthors grant the U.S. Government and others acting in its behalf\npermission to use and distribute the software in accordance with the\nterms specified in this license.", - "licenses": [ - { - "key": "tcl", - "name": "TCL/TK License", - "short_name": "TCL/TK License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Tcl Developer Xchange", - "homepage_url": "http://www.tcl.tk/software/tcltk/license.html", - "text_url": "http://www.tcl.tk/software/tcltk/license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/tcl", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/tcl.LICENSE", - "spdx_license_key": "TCL", - "spdx_url": "https://spdx.org/licenses/TCL" - } - ] - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 83.64, - "for_licenses": [ - "f9a5ba7d-9d66-5878-a0bd-1afe42fe0bd9", - "a9ef94dc-a60e-21b6-82b8-77454e7751c0", - "3136274a-0a35-5bea-9531-6e328486ea3b", - "4854df4f-b9f8-1a96-92bd-44873ee7c7c5", - "82c2d26c-feb1-2257-3b27-0e92e4721958", - "d90f717a-d127-c345-d8a9-dc828c2be7e6", - "e65e2324-d4b0-5ad8-3314-a798683d13e3", - "4c57e726-e851-a66a-1dbe-d6106bcb4751", - "7a0dc499-dddd-4bf1-2d0d-9a84c910b0bc", - "dacfdecf-b752-23a6-37ba-f98e7d93554a", - "50e05b6f-8602-75e7-7568-c3b4e72fec38", - "d352cc42-40ca-8f87-931e-725ee0a85c3e", - "e49b63d5-028c-f39c-035e-68c9e6c60e34" - ], - "scan_errors": [] - } - ] -} \ No newline at end of file diff --git a/tests/licensedcode/data/plugin_licenses_reference/scan-matched-text-with-reference.expected.json b/tests/licensedcode/data/plugin_licenses_reference/scan-matched-text-with-reference.expected.json deleted file mode 100644 index 02333df50f8..00000000000 --- a/tests/licensedcode/data/plugin_licenses_reference/scan-matched-text-with-reference.expected.json +++ /dev/null @@ -1,644 +0,0 @@ -{ - "licenses": [ - { - "identifier": "6bc05a2e-db2d-cf02-757a-3805bbf81f2e", - "license_expression": "apache-2.0 AND (mit OR bsd-simplified)", - "occurance_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 3, - "end_line": 16, - "matched_length": 119, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] - }, - { - "score": 100.0, - "start_line": 19, - "end_line": 19, - "matched_length": 8, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "mit OR bsd-simplified", - "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - }, - { - "key": "bsd-simplified", - "name": "BSD-2-Clause", - "short_name": "BSD-2-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "text_url": "http://opensource.org/licenses/bsd-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", - "spdx_license_key": "BSD-2-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" - } - ] - } - ] - }, - { - "identifier": "c69ba991-eda9-d458-568a-670d821906e2", - "license_expression": "artistic-2.0", - "occurance_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 28, - "end_line": 28, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] - } - ] - }, - { - "identifier": "2bc704cf-ef68-50b0-a7f0-b3a137ac7246", - "license_expression": "artistic-2.0 OR mit", - "occurance_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] - } - ] - } - ], - "dependencies": [], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "npm", - "version": "2.13.5", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": "a package manager for JavaScript", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me" - } - ], - "keywords": [ - "package manager", - "modules", - "install", - "package.json" - ], - "homepage_url": "https://docs.npmjs.com/", - "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "size": null, - "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": "http://github.com/npm/npm/issues", - "code_view_url": null, - "vcs_url": "git+https://github.com/npm/npm.git", - "copyright": null, - "declared_license_expression": "artistic-2.0 OR mit", - "declared_license_expression_spdx": "Artistic-2.0 OR MIT", - "license_detections": [ - { - "license_expression": "artistic-2.0 OR mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Artistic-2.0 OR MIT", - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0 OR MIT']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/npm", - "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "api_data_url": "https://registry.npmjs.org/npm/2.13.5", - "package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "scan/package.json" - ], - "datasource_ids": [ - "npm_package_json" - ], - "purl": "pkg:npm/npm@2.13.5" - } - ], - "files": [ - { - "path": "scan", - "type": "directory", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_licenses": [], - "package_data": [], - "for_packages": [], - "scan_errors": [] - }, - { - "path": "scan/copyr.java", - "type": "file", - "detected_license_expression": "apache-2.0 AND (mit OR bsd-simplified)", - "detected_license_expression_spdx": "Apache-2.0 AND (MIT OR BSD-2-Clause)", - "license_detections": [ - { - "license_expression": "apache-2.0 AND (mit OR bsd-simplified)", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 3, - "end_line": 16, - "matched_length": 119, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100, - "matched_text": " * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.", - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] - }, - { - "score": 100.0, - "start_line": 19, - "end_line": 19, - "matched_length": 8, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "mit OR bsd-simplified", - "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: MIT or BSD-2-Clause", - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - }, - { - "key": "bsd-simplified", - "name": "BSD-2-Clause", - "short_name": "BSD-2-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "text_url": "http://opensource.org/licenses/bsd-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", - "spdx_license_key": "BSD-2-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" - } - ] - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 100.0, - "for_licenses": [ - "6bc05a2e-db2d-cf02-757a-3805bbf81f2e" - ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], - "scan_errors": [] - }, - { - "path": "scan/package.json", - "type": "file", - "detected_license_expression": "artistic-2.0", - "detected_license_expression_spdx": "Artistic-2.0", - "license_detections": [ - { - "license_expression": "artistic-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 28, - "end_line": 28, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": " \"license\": \"Artistic-2.0 OR MIT\",", - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 5.0, - "for_licenses": [ - "c69ba991-eda9-d458-568a-670d821906e2", - "2bc704cf-ef68-50b0-a7f0-b3a137ac7246" - ], - "package_data": [ - { - "type": "npm", - "namespace": null, - "name": "npm", - "version": "2.13.5", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": "a package manager for JavaScript", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me" - } - ], - "keywords": [ - "package manager", - "modules", - "install", - "package.json" - ], - "homepage_url": "https://docs.npmjs.com/", - "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "size": null, - "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": "http://github.com/npm/npm/issues", - "code_view_url": null, - "vcs_url": "git+https://github.com/npm/npm.git", - "copyright": null, - "declared_license_expression": "artistic-2.0 OR mit", - "declared_license_expression_spdx": "Artistic-2.0 OR MIT", - "license_detections": [ - { - "license_expression": "artistic-2.0 OR mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Artistic-2.0 OR MIT", - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0 OR MIT']", - "notice_text": null, - "source_packages": [], - "file_references": [], - "extra_data": {}, - "dependencies": [], - "repository_homepage_url": "https://www.npmjs.com/package/npm", - "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "api_data_url": "https://registry.npmjs.org/npm/2.13.5", - "datasource_id": "npm_package_json", - "purl": "pkg:npm/npm@2.13.5" - } - ], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], - "scan_errors": [] - } - ] -} \ No newline at end of file diff --git a/tests/licensedcode/data/plugin_licenses_reference/scan-with-reference.expected.json b/tests/licensedcode/data/plugin_licenses_reference/scan-with-reference.expected.json deleted file mode 100644 index b801d906434..00000000000 --- a/tests/licensedcode/data/plugin_licenses_reference/scan-with-reference.expected.json +++ /dev/null @@ -1,641 +0,0 @@ -{ - "licenses": [ - { - "identifier": "43444665-1eb3-02f0-09a9-336b2186d8ce", - "license_expression": "apache-2.0 AND (mit OR bsd-simplified)", - "occurance_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 3, - "end_line": 16, - "matched_length": 119, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] - }, - { - "score": 100.0, - "start_line": 19, - "end_line": 19, - "matched_length": 8, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "mit OR bsd-simplified", - "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - }, - { - "key": "bsd-simplified", - "name": "BSD-2-Clause", - "short_name": "BSD-2-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "text_url": "http://opensource.org/licenses/bsd-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", - "spdx_license_key": "BSD-2-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" - } - ] - } - ] - }, - { - "identifier": "8755d5fd-6521-04e7-ace1-4344b99647e3", - "license_expression": "artistic-2.0", - "occurance_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 28, - "end_line": 28, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] - } - ] - }, - { - "identifier": "2bc704cf-ef68-50b0-a7f0-b3a137ac7246", - "license_expression": "artistic-2.0 OR mit", - "occurance_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] - } - ] - } - ], - "dependencies": [], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "npm", - "version": "2.13.5", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": "a package manager for JavaScript", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me" - } - ], - "keywords": [ - "package manager", - "modules", - "install", - "package.json" - ], - "homepage_url": "https://docs.npmjs.com/", - "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "size": null, - "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": "http://github.com/npm/npm/issues", - "code_view_url": null, - "vcs_url": "git+https://github.com/npm/npm.git", - "copyright": null, - "declared_license_expression": "artistic-2.0 OR mit", - "declared_license_expression_spdx": "Artistic-2.0 OR MIT", - "license_detections": [ - { - "license_expression": "artistic-2.0 OR mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Artistic-2.0 OR MIT", - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0 OR MIT']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/npm", - "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "api_data_url": "https://registry.npmjs.org/npm/2.13.5", - "package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "scan/package.json" - ], - "datasource_ids": [ - "npm_package_json" - ], - "purl": "pkg:npm/npm@2.13.5" - } - ], - "files": [ - { - "path": "scan", - "type": "directory", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_licenses": [], - "package_data": [], - "for_packages": [], - "scan_errors": [] - }, - { - "path": "scan/copyr.java", - "type": "file", - "detected_license_expression": "apache-2.0 AND (mit OR bsd-simplified)", - "detected_license_expression_spdx": "Apache-2.0 AND (MIT OR BSD-2-Clause)", - "license_detections": [ - { - "license_expression": "apache-2.0 AND (mit OR bsd-simplified)", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 3, - "end_line": 16, - "matched_length": 119, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ] - }, - { - "score": 100.0, - "start_line": 19, - "end_line": 19, - "matched_length": 8, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "mit OR bsd-simplified", - "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100, - "licenses": [ - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - }, - { - "key": "bsd-simplified", - "name": "BSD-2-Clause", - "short_name": "BSD-2-Clause", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "text_url": "http://opensource.org/licenses/bsd-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/bsd-simplified", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-simplified.LICENSE", - "spdx_license_key": "BSD-2-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-2-Clause" - } - ] - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 100.0, - "for_licenses": [ - "43444665-1eb3-02f0-09a9-336b2186d8ce" - ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], - "scan_errors": [] - }, - { - "path": "scan/package.json", - "type": "file", - "detected_license_expression": "artistic-2.0", - "detected_license_expression_spdx": "Artistic-2.0", - "license_detections": [ - { - "license_expression": "artistic-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 28, - "end_line": 28, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - } - ] - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 5.0, - "for_licenses": [ - "8755d5fd-6521-04e7-ace1-4344b99647e3", - "2bc704cf-ef68-50b0-a7f0-b3a137ac7246" - ], - "package_data": [ - { - "type": "npm", - "namespace": null, - "name": "npm", - "version": "2.13.5", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": "a package manager for JavaScript", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me" - } - ], - "keywords": [ - "package manager", - "modules", - "install", - "package.json" - ], - "homepage_url": "https://docs.npmjs.com/", - "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "size": null, - "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": "http://github.com/npm/npm/issues", - "code_view_url": null, - "vcs_url": "git+https://github.com/npm/npm.git", - "copyright": null, - "declared_license_expression": "artistic-2.0 OR mit", - "declared_license_expression_spdx": "Artistic-2.0 OR MIT", - "license_detections": [ - { - "license_expression": "artistic-2.0 OR mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null, - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Artistic-2.0 OR MIT", - "licenses": [ - { - "key": "artistic-2.0", - "name": "Artistic License 2.0", - "short_name": "Artistic 2.0", - "category": "Copyleft Limited", - "is_exception": false, - "is_unknown": false, - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "text_url": "https://www.perlfoundation.org/artistic_license_2_0", - "reference_url": "https://scancode-licensedb.aboutcode.org/artistic-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/artistic-2.0.LICENSE", - "spdx_license_key": "Artistic-2.0", - "spdx_url": "https://spdx.org/licenses/Artistic-2.0" - }, - { - "key": "mit", - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT" - } - ] - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0 OR MIT']", - "notice_text": null, - "source_packages": [], - "file_references": [], - "extra_data": {}, - "dependencies": [], - "repository_homepage_url": "https://www.npmjs.com/package/npm", - "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "api_data_url": "https://registry.npmjs.org/npm/2.13.5", - "datasource_id": "npm_package_json", - "purl": "pkg:npm/npm@2.13.5" - } - ], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], - "scan_errors": [] - } - ] -} \ No newline at end of file diff --git a/tests/licensedcode/test_plugin_licenses_reference.py b/tests/licensedcode/test_licenses_reference.py similarity index 52% rename from tests/licensedcode/test_plugin_licenses_reference.py rename to tests/licensedcode/test_licenses_reference.py index 672330a4dbe..fa6a43e5f59 100644 --- a/tests/licensedcode/test_plugin_licenses_reference.py +++ b/tests/licensedcode/test_licenses_reference.py @@ -20,52 +20,41 @@ test_env.test_data_dir = os.path.join(os.path.dirname(__file__), 'data') -def test_license_scans_without_no_reference(): - test_dir = test_env.get_test_loc('plugin_licenses_reference/scan', copy=True) - result_file = test_env.get_temp_file('json') - args = ['--license', '--package', test_dir, '--json-pp', result_file, '--verbose'] - run_scan_click(args) - check_json_scan( - test_env.get_test_loc('plugin_licenses_reference/scan-without-reference.expected.json'), - result_file, remove_file_date=True, remove_uuid=True, regen=REGEN_TEST_FIXTURES, - ) - - -def test_no_licenses_reference_works(): - test_dir = test_env.get_test_loc('plugin_licenses_reference/scan', copy=True) +def test_licenses_reference_works(): + test_dir = test_env.get_test_loc('licenses_reference_reporting/scan', copy=True) result_file = test_env.get_temp_file('json') args = [ - '--license', '--package', '--no-licenses-reference', + '--license', '--package', test_dir, '--json-pp', result_file, '--verbose' ] run_scan_click(args) check_json_scan( - test_env.get_test_loc('plugin_licenses_reference/scan-with-reference.expected.json'), + test_env.get_test_loc('licenses_reference_reporting/scan-with-reference.expected.json'), result_file, remove_file_date=True, remove_uuid=True, regen=REGEN_TEST_FIXTURES, ) -def test_no_licenses_reference_works_with_matched_text(): - test_dir = test_env.get_test_loc('plugin_licenses_reference/scan', copy=True) +def test_licenses_reference_works_with_matched_text(): + test_dir = test_env.get_test_loc('licenses_reference_reporting/scan', copy=True) result_file = test_env.get_temp_file('json') args = [ - '--license', '--package', '--no-licenses-reference', '--license-text', + '--license', '--package', '--license-text', test_dir, '--json-pp', result_file, '--verbose' ] run_scan_click(args) check_json_scan( - test_env.get_test_loc('plugin_licenses_reference/scan-matched-text-with-reference.expected.json'), + test_env.get_test_loc('licenses_reference_reporting/scan-matched-text-with-reference.expected.json'), result_file, remove_file_date=True, remove_uuid=True, regen=REGEN_TEST_FIXTURES, ) def test_licenses_reference_works_with_license_clues(): - test_dir = test_env.get_test_loc('plugin_licenses_reference/python.LICENSE', copy=True) + test_dir = test_env.get_test_loc('licenses_reference_reporting/python.LICENSE', copy=True) result_file = test_env.get_temp_file('json') args = [ - '--license', '--no-licenses-reference', '--license-text', + '--license', '--license-text', test_dir, '--json-pp', result_file, '--verbose' ] run_scan_click(args) check_json_scan( - test_env.get_test_loc('plugin_licenses_reference/license-reference-works-with-clues.expected.json'), + test_env.get_test_loc('licenses_reference_reporting/license-reference-works-with-clues.expected.json'), result_file, remove_file_date=True, remove_uuid=True, regen=REGEN_TEST_FIXTURES, ) From 890b2973144838e9625fb16da3fc1f10d5d7381d Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Tue, 20 Dec 2022 03:34:40 +0530 Subject: [PATCH 06/11] Refactor license detection to use rehydrated objects * Due to license references being default, reference data isn't inlined anymore, so we need to use the cache to get this data and also rehydrate them into objects to be able to post process license related info. * Use license objects wherever possible instead of mappings. Signed-off-by: Ayan Sinha Mahapatra --- src/cluecode/plugin_filter_clues.py | 4 +- src/licensedcode/detection.py | 202 +++++++++++------- src/licensedcode/index.py | 5 + src/licensedcode/match.py | 16 +- src/licensedcode/models.py | 27 +++ src/licensedcode/plugin_license.py | 47 ++-- src/packagedcode/licensing.py | 72 ++++--- src/packagedcode/plugin_package.py | 6 +- src/scancode/api.py | 5 +- src/summarycode/score.py | 74 ++++--- .../test_plugin_license_detection.py | 11 - 11 files changed, 295 insertions(+), 174 deletions(-) diff --git a/src/cluecode/plugin_filter_clues.py b/src/cluecode/plugin_filter_clues.py index 32ac8535ae3..51700407c23 100644 --- a/src/cluecode/plugin_filter_clues.py +++ b/src/cluecode/plugin_filter_clues.py @@ -63,10 +63,8 @@ def process_codebase(self, codebase, **kwargs): from licensedcode.cache import get_index - rules_by_id = {r.identifier: r for r in get_index().rules_by_rid} - for resource in codebase.walk(): - filtered = filter_ignorable_resource_clues(resource, rules_by_id) + filtered = filter_ignorable_resource_clues(resource, get_index().rules_by_id) if filtered: filtered.save(codebase) diff --git a/src/licensedcode/detection.py b/src/licensedcode/detection.py index bd81bee14ef..367a9b75779 100644 --- a/src/licensedcode/detection.py +++ b/src/licensedcode/detection.py @@ -21,21 +21,20 @@ from license_expression import Licensing from commoncode.resource import clean_path +from commoncode.text import python_safe_name from licensedcode.cache import get_index from licensedcode.cache import get_cache from licensedcode.match import LicenseMatch from licensedcode.match import set_matched_lines from licensedcode.models import Rule from licensedcode.models import BasicRule +from licensedcode.models import SpdxRule from licensedcode.models import compute_relevance from licensedcode.spans import Span from licensedcode.tokenize import query_tokenizer from licensedcode.query import Query from licensedcode.query import LINES_THRESHOLD - -from scancode.api import SPDX_LICENSE_URL -from scancode.api import SCANCODE_LICENSEDB_URL - +from licensedcode.licenses_reference import extract_license_rules_reference_data """ LicenseDetection data structure and processing. @@ -195,7 +194,8 @@ def from_matches( package_license=False, ): """ - Return a LicenseDetection created out of `matches` list of LicenseMatch. + Return a LicenseDetection created out of `matches` list of + LicenseMatch objects. If `analysis` is , `matches` are not analyzed again for license_expression creation. @@ -212,7 +212,7 @@ def from_matches( ) detection_log, license_expression = get_detected_license_expression( - matches=matches, + license_match_objects=matches, analysis=analysis, post_scan=post_scan, ) @@ -289,6 +289,12 @@ def identifier(self): md_hash.update(identifier_string.encode('utf-8')) return str(uuid.UUID(md_hash.hexdigest())) + @property + def identifier_with_expression(self): + id_safe_expression = python_safe_name(s=str(self.license_expression)) + return "{}#{}".format(id_safe_expression, self.identifier) + + def get_start_end_line(self): """ Returns start and end line for a license detection issue, from the @@ -419,8 +425,6 @@ def to_dict( self, include_text=False, license_text_diagnostics=False, - license_url_template=SCANCODE_LICENSEDB_URL, - spdx_license_url=SPDX_LICENSE_URL, whole_lines=True, ): """ @@ -439,8 +443,6 @@ def dict_fields(attr, value): match.get_mapping( include_text=include_text, license_text_diagnostics=license_text_diagnostics, - license_url_template=license_url_template, - spdx_license_url=spdx_license_url, whole_lines=whole_lines, ) ) @@ -463,8 +465,11 @@ class LicenseDetectionFromResult(LicenseDetection): """ @classmethod - def from_license_detection_mapping(cls, license_detection_mapping, file_path): - + def from_license_detection_mapping( + cls, + license_detection_mapping, + file_path + ): matches_from_results = matches_from_license_match_mappings( license_match_mappings=license_detection_mapping["matches"] ) @@ -479,8 +484,10 @@ def from_license_detection_mapping(cls, license_detection_mapping, file_path): return detection -def detections_from_license_detection_mappings(license_detection_mappings, file_path): - +def detections_from_license_detection_mappings( + license_detection_mappings, + file_path, +): license_detections = [] for license_detection_mapping in license_detection_mappings: @@ -523,26 +530,27 @@ class LicenseMatchFromResult(LicenseMatch): def score(self): return self.match_score - + def len(self): return self.matched_length - + def coverage(self): return self.match_coverage @property - def matched_text(self): + def matched_text(self, whole_lines=False, highlight=True): return self.text - + @property def identifier(self): return self.rule.identifier @classmethod - def from_license_match_mapping(cls, license_match_mapping): + def from_license_match_mapping(cls, license_match_mapping, license_rule_reference): rule = RuleFromResult.from_license_match_mapping( license_match_mapping=license_match_mapping, + license_rule_reference=license_rule_reference, ) if "matched_text" in license_match_mapping: @@ -567,35 +575,81 @@ def from_license_match_mapping(cls, license_match_mapping): @attr.s class RuleFromResult(BasicRule): + def license_keys(self, licensing=Licensing()): + return licensing.license_keys(self.license_expression) + @classmethod - def from_license_match_mapping(cls, license_match_mapping): - return cls( - license_expression=license_match_mapping["license_expression"], - identifier=license_match_mapping["rule_identifier"], - referenced_filenames=license_match_mapping["referenced_filenames"], - is_license_text=license_match_mapping["is_license_text"], - is_license_notice=license_match_mapping["is_license_notice"], - is_license_reference=license_match_mapping["is_license_reference"], - is_license_tag=license_match_mapping["is_license_tag"], - is_license_intro=license_match_mapping["is_license_intro"], - length=license_match_mapping["rule_length"], - relevance=license_match_mapping["rule_relevance"], - ) + def from_license_match_mapping(cls, license_match_mapping, license_rule_reference): + if license_rule_reference: + return cls( + license_expression=license_match_mapping["license_expression"], + identifier=license_match_mapping["rule_identifier"], + referenced_filenames=license_rule_reference["referenced_filenames"], + is_license_text=license_rule_reference["is_license_text"], + is_license_notice=license_rule_reference["is_license_notice"], + is_license_reference=license_rule_reference["is_license_reference"], + is_license_tag=license_rule_reference["is_license_tag"], + is_license_intro=license_rule_reference["is_license_intro"], + length=license_rule_reference["rule_length"], + relevance=license_rule_reference["rule_relevance"], + ) + else: + return cls( + license_expression=license_match_mapping["license_expression"], + identifier=license_match_mapping["rule_identifier"], + referenced_filenames=license_match_mapping["referenced_filenames"], + is_license_text=license_match_mapping["is_license_text"], + is_license_notice=license_match_mapping["is_license_notice"], + is_license_reference=license_match_mapping["is_license_reference"], + is_license_tag=license_match_mapping["is_license_tag"], + is_license_intro=license_match_mapping["is_license_intro"], + length=license_match_mapping["rule_length"], + relevance=license_match_mapping["rule_relevance"], + ) -def matches_from_license_match_mappings(license_match_mappings): +def matches_from_license_match_mappings(license_match_mappings): license_matches = [] for license_match_mapping in license_match_mappings: + matcher = license_match_mapping["matcher"] + rule_identifier = license_match_mapping["rule_identifier"] + if matcher == "1-spdx-id": + rule = SpdxRule( + license_expression=license_match_mapping["license_expression"], + text=license_match_mapping.get("matched_text", None), + length=license_match_mapping["matched_length"], + ) + elif rule_identifier == 'package-manifest-unknown': + rule = UnDetectedRule( + license_expression=license_match_mapping["license_expression"], + text=license_match_mapping.get("matched_text", None), + length=license_match_mapping["matched_length"], + ) + else: + rule = get_index().rules_by_id[rule_identifier] + + license_rule_reference = rule.get_reference_data(matcher=matcher) license_matches.append( LicenseMatchFromResult.from_license_match_mapping( - license_match_mapping=license_match_mapping + license_match_mapping=license_match_mapping, + license_rule_reference=license_rule_reference, ) ) return license_matches +def mappings_from_license_match_objects(license_matches): + + license_match_mappings = [ + license_match.get_mapping() + for license_match in license_matches + ] + _rules_data = extract_license_rules_reference_data(license_matches=license_match_mappings) + return license_match_mappings + + @attr.s class UniqueDetection: """ @@ -603,7 +657,7 @@ class UniqueDetection: """ identifier = attr.ib(default=None) license_expression = attr.ib(default=None) - occurance_count = attr.ib(default=None) + occurrence_count = attr.ib(default=None) detection_log = attr.ib(default=attr.Factory(list)) matches = attr.ib(default=attr.Factory(list)) files = attr.ib(factory=list) @@ -635,17 +689,17 @@ def get_unique_detections(cls, license_detections): files = list(file_regions) unique_license_detections.append( cls( - identifier=detection.identifier, + identifier=detection.identifier_with_expression, license_expression=detection_mapping["license_expression"], detection_log=detection_mapping["detection_log"], matches=detection_mapping["matches"], - occurance_count=len(files), + occurrence_count=len(files), files=files, ) ) return unique_license_detections - + def to_dict(self): def dict_fields(attr, value): if attr.name == 'files': @@ -899,15 +953,15 @@ def has_unknown_intro_before_detection(license_matches): return has_unknown_intro_before_detection -def filter_license_intros(license_matches): +def filter_license_intros(license_match_objects): """ Return a filtered ``license_matches`` list of LicenseMatch objects removing spurious matches to license introduction statements (e.g. `is_license_intro` Rules.) """ - filtered_matches = [match for match in license_matches if not is_license_intro(match)] + filtered_matches = [match for match in license_match_objects if not is_license_intro(match)] if not filtered_matches: - return license_matches + return license_match_objects else: return filtered_matches @@ -934,23 +988,20 @@ def is_license_reference_local_file(license_match): `referenced_filename`, i.e. contains a license reference to a local file, otherwise return False. """ - if type(license_match) == dict: - return bool(license_match['referenced_filenames']) - else: - return bool(license_match.rule.referenced_filenames) + return bool(license_match.rule.referenced_filenames) -def filter_license_references(license_matches): +def filter_license_references(license_match_objects): """ Return a filtered ``license_matches`` list of LicenseMatch objects removing matches which had references to local files with licenses. """ - filtered_matches = [match for match in license_matches if not is_license_reference_local_file(match)] + filtered_matches = [match for match in license_match_objects if not is_license_reference_local_file(match)] if TRACE: - logger_debug(f"detection: filter_license_references: license_matches: {license_matches}: filtered_matches: {filtered_matches}") + logger_debug(f"detection: filter_license_references: license_matches: {license_match_objects}: filtered_matches: {filtered_matches}") if not filtered_matches: - return license_matches + return license_match_objects else: return filtered_matches @@ -966,7 +1017,7 @@ def has_references_to_local_files(license_matches): ) -def get_detected_license_expression(matches, analysis, post_scan=False): +def get_detected_license_expression(analysis, license_match_objects=None, license_match_mappings=None, post_scan=False): """ Return a tuple of (detection_log, combined_expression) by combining a `matches` list of LicenseMatch objects according to the `analysis` string. @@ -974,8 +1025,14 @@ def get_detected_license_expression(matches, analysis, post_scan=False): If `post_scan` is True, this function is being called from outside the main license detection. """ + if not license_match_mappings and not license_match_objects: + raise Exception(f"Either license_match_mappings or license_match_objects must be provided") + + if license_match_mappings: + license_match_objects = matches_from_license_match_mappings(license_match_mappings) + if TRACE or TRACE_ANALYSIS: - logger_debug(f'license_matches {matches}', f'package_license {analysis}', f'post_scan: {post_scan}') + logger_debug(f'license_matches {license_match_objects}', f'package_license {analysis}', f'post_scan: {post_scan}') matches_for_expression = None combined_expression = None @@ -990,56 +1047,56 @@ def get_detected_license_expression(matches, analysis, post_scan=False): elif analysis == DetectionCategory.UNDETECTED_LICENSE.value: if TRACE_ANALYSIS: logger_debug(f'analysis {DetectionCategory.UNDETECTED_LICENSE.value}') - matches_for_expression = matches + matches_for_expression = license_match_objects detection_log.append(DetectionRule.UNDETECTED_LICENSE.value) elif analysis == DetectionCategory.UNKNOWN_INTRO_BEFORE_DETECTION.value: if TRACE_ANALYSIS: logger_debug(f'analysis {DetectionCategory.UNKNOWN_INTRO_BEFORE_DETECTION.value}') - matches_for_expression = filter_license_intros(matches) + matches_for_expression = filter_license_intros(license_match_objects) detection_log.append(DetectionRule.UNKNOWN_INTRO_FOLLOWED_BY_MATCH.value) elif post_scan: if analysis == DetectionCategory.UNKNOWN_REFERENCE_IN_FILE_TO_PACKAGE.value: if TRACE_ANALYSIS: logger_debug(f'analysis {DetectionCategory.UNKNOWN_REFERENCE_IN_FILE_TO_PACKAGE.value}') - matches_for_expression = filter_license_references(matches) + matches_for_expression = filter_license_references(license_match_objects) detection_log.append(DetectionRule.UNKNOWN_REFERENCE_IN_FILE_TO_PACKAGE.value) elif analysis == DetectionCategory.UNKNOWN_REFERENCE_IN_FILE_TO_NONEXISTENT_PACKAGE.value: if TRACE_ANALYSIS: logger_debug(f'analysis {DetectionCategory.UNKNOWN_REFERENCE_IN_FILE_TO_NONEXISTENT_PACKAGE.value}') - matches_for_expression = filter_license_references(matches) + matches_for_expression = filter_license_references(license_match_objects) detection_log.append(DetectionRule.UNKNOWN_REFERENCE_IN_FILE_TO_NONEXISTENT_PACKAGE.value) elif analysis == DetectionCategory.UNKNOWN_FILE_REFERENCE_LOCAL.value: if TRACE_ANALYSIS: logger_debug(f'analysis {DetectionCategory.UNKNOWN_FILE_REFERENCE_LOCAL.value}') - matches_for_expression = filter_license_references(matches) + matches_for_expression = filter_license_references(license_match_objects) detection_log.append(DetectionRule.UNKNOWN_REFERENCE_TO_LOCAL_FILE.value) elif analysis == DetectionCategory.PACKAGE_UNKNOWN_FILE_REFERENCE_LOCAL.value: if TRACE_ANALYSIS: logger_debug(f'analysis {DetectionCategory.PACKAGE_UNKNOWN_FILE_REFERENCE_LOCAL.value}') - matches_for_expression = filter_license_references(matches) + matches_for_expression = filter_license_references(license_match_objects) detection_log.append(DetectionRule.PACKAGE_UNKNOWN_REFERENCE_TO_LOCAL_FILE.value) elif analysis == DetectionCategory.PACKAGE_ADD_FROM_SIBLING_FILE.value: if TRACE_ANALYSIS: logger_debug(f'analysis {DetectionCategory.PACKAGE_ADD_FROM_SIBLING_FILE.value}') - matches_for_expression = filter_license_references(matches) + matches_for_expression = filter_license_references(license_match_objects) detection_log.append(DetectionRule.PACKAGE_ADD_FROM_SIBLING_FILE.value) elif analysis == DetectionCategory.PACKAGE_ADD_FROM_FILE.value: if TRACE_ANALYSIS: logger_debug(f'analysis {DetectionCategory.PACKAGE_ADD_FROM_FILE.value}') - matches_for_expression = filter_license_references(matches) + matches_for_expression = filter_license_references(license_match_objects) detection_log.append(DetectionRule.PACKAGE_ADD_FROM_FILE.value) elif analysis == DetectionCategory.UNKNOWN_MATCH.value: if TRACE_ANALYSIS: logger_debug(f'analysis {DetectionCategory.UNKNOWN_MATCH.value}') - matches_for_expression = matches + matches_for_expression = license_match_objects detection_log.append(DetectionRule.UNKNOWN_MATCH.value) elif analysis == DetectionCategory.LICENSE_CLUES.value: @@ -1051,20 +1108,15 @@ def get_detected_license_expression(matches, analysis, post_scan=False): else: if TRACE_ANALYSIS: logger_debug(f'analysis {DetectionRule.NOT_COMBINED.value}') - matches_for_expression = matches + matches_for_expression = license_match_objects detection_log.append(DetectionRule.NOT_COMBINED.value) if TRACE: logger_debug(f'matches_for_expression: {matches_for_expression}', f'detection_log: {detection_log}') - if isinstance(matches[0], dict): - combined_expression = combine_expressions( - expressions=[match['license_expression'] for match in matches_for_expression] - ) - else: - combined_expression = combine_expressions( - expressions=[match.rule.license_expression for match in matches_for_expression] - ) + combined_expression = combine_expressions( + expressions=[match.rule.license_expression for match in matches_for_expression] + ) if TRACE or TRACE_ANALYSIS: logger_debug(f'combined_expression {combined_expression}') @@ -1189,7 +1241,7 @@ def get_matches_from_detection_mappings(license_detections): return license_matches -def get_license_keys_from_detections(license_detections): +def get_license_keys_from_detections(license_detections, licensing=Licensing()): """ Return a list of unique license key strings from a list of LicenseDetection mappings. @@ -1198,8 +1250,12 @@ def get_license_keys_from_detections(license_detections): matches = get_matches_from_detection_mappings(license_detections) for match in matches: - licenses = match.get('licenses') - license_keys.update([entry.get('key') for entry in licenses]) + license_keys.update( + licensing.license_keys( + expression=match.get('license_expression'), + unique=True + ) + ) return list(license_keys) @@ -1309,7 +1365,7 @@ def get_referenced_filenames(license_matches): """ unique_filenames = [] for license_match in license_matches: - for filename in license_match['referenced_filenames']: + for filename in license_match.rule.referenced_filenames: if filename not in unique_filenames: unique_filenames.append(filename) diff --git a/src/licensedcode/index.py b/src/licensedcode/index.py index 5c8f68ddcde..3aff1b0e8eb 100644 --- a/src/licensedcode/index.py +++ b/src/licensedcode/index.py @@ -131,6 +131,7 @@ class LicenseIndex(object): 'digit_only_tids', 'tokens_by_tid', + 'rules_by_id', 'rules_by_rid', 'tids_by_rid', @@ -190,6 +191,9 @@ def __init__( # Note: all the following are mappings-like (using lists) of # rid-> data are lists of data where the index is the rule id. + # mapping of rule identifiers -> rule objects + self.rules_by_id = {} + # maping-like of rule_id -> rule objects proper self.rules_by_rid = [] @@ -305,6 +309,7 @@ def _add_rules( dictionary[sts] = stid self.rules_by_rid = rules_by_rid = list(rules) + self.rules_by_id = {r.identifier: r for r in self.rules_by_rid} if TRACE_INDEXING: for _rid, _rule in enumerate(rules_by_rid): logger_debug('rules_by_rid:', _rid, _rule) diff --git a/src/licensedcode/match.py b/src/licensedcode/match.py index 738ddeec420..7452ade5cea 100644 --- a/src/licensedcode/match.py +++ b/src/licensedcode/match.py @@ -22,6 +22,13 @@ from licensedcode.tokenize import index_tokenizer from licensedcode.tokenize import matched_query_text_tokenizer + +from scancode.api import SPDX_LICENSE_URL +from scancode.api import SCANCODE_LICENSEDB_URL +from scancode.api import SCANCODE_LICENSE_URL +from scancode.api import SCANCODE_LICENSE_RULE_URL +from scancode.api import SCANCODE_RULE_URL + """ LicenseMatch data structure and processing. A key feature is merging and filtering of matches. @@ -755,8 +762,8 @@ def matched_text( def get_mapping( self, - license_url_template, - spdx_license_url, + license_url_template=SCANCODE_LICENSEDB_URL, + spdx_license_url=SPDX_LICENSE_URL, include_text=False, license_text_diagnostics=False, whole_lines=True, @@ -777,11 +784,6 @@ def get_mapping( else: matched_text = self.matched_text(whole_lines=False, highlight=False) - SCANCODE_DATA_BASE_URL = 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data' - SCANCODE_LICENSE_URL = SCANCODE_DATA_BASE_URL + '/licenses/{}.LICENSE' - SCANCODE_LICENSE_RULE_URL = SCANCODE_DATA_BASE_URL + '/licenses/{}' - SCANCODE_RULE_URL = SCANCODE_DATA_BASE_URL + '/rules/{}' - result = {} # Detection Level Information diff --git a/src/licensedcode/models.py b/src/licensedcode/models.py index 5c87540e229..202583d3d5d 100644 --- a/src/licensedcode/models.py +++ b/src/licensedcode/models.py @@ -45,6 +45,8 @@ from licensedcode.tokenize import key_phrase_tokenizer from licensedcode.tokenize import KEY_PHRASE_OPEN from licensedcode.tokenize import KEY_PHRASE_CLOSE +from scancode.api import SCANCODE_LICENSE_RULE_URL +from scancode.api import SCANCODE_RULE_URL """ Reference License and license Rule structures persisted as a combo of a YAML @@ -1770,6 +1772,31 @@ def get_min_high_matched_length(self, unique=False): return (self.min_high_matched_length_unique if unique else self.min_high_matched_length) + def get_reference_data(self, matcher=None): + + data = {} + + data['license_expression'] = self.license_expression + data['rule_identifier'] = self.identifier + if matcher: + if matcher == "1-spdx-id": + data['rule_url'] = None + elif self.is_from_license: + data['rule_url'] = SCANCODE_LICENSE_RULE_URL.format(self.identifier) + else: + data['rule_url'] = SCANCODE_RULE_URL.format(self.identifier) + + data['referenced_filenames'] = self.referenced_filenames + data['is_license_text'] = self.is_license_text + data['is_license_notice'] = self.is_license_notice + data['is_license_reference'] = self.is_license_reference + data['is_license_tag'] = self.is_license_tag + data['is_license_intro'] = self.is_license_intro + data['rule_length'] = self.length + data['rule_relevance'] = self.relevance + + return data + def to_dict(self, include_text=False): """ Return an ordered mapping of self, excluding texts unless diff --git a/src/licensedcode/plugin_license.py b/src/licensedcode/plugin_license.py index dc06f2ef778..7db98ef3127 100644 --- a/src/licensedcode/plugin_license.py +++ b/src/licensedcode/plugin_license.py @@ -24,7 +24,6 @@ from licensedcode.detection import get_detected_license_expression from licensedcode.detection import get_matches_from_detection_mappings from licensedcode.detection import get_referenced_filenames -from licensedcode.detection import SCANCODE_LICENSEDB_URL from licensedcode.detection import LicenseDetection from licensedcode.detection import group_matches from licensedcode.detection import process_detections @@ -32,6 +31,8 @@ from licensedcode.detection import detections_from_license_detection_mappings from licensedcode.detection import matches_from_license_match_mappings from licensedcode.detection import UniqueDetection +from licensedcode.detection import LicenseDetectionFromResult +from licensedcode.licenses_reference import populate_license_references from packagedcode.utils import combine_expressions from scancode.api import SCANCODE_LICENSEDB_URL @@ -64,11 +65,13 @@ class LicenseScanner(ScanPlugin): ('license_detections', attr.ib(default=attr.Factory(list))), ('license_clues', attr.ib(default=attr.Factory(list))), ('percentage_of_license_text', attr.ib(default=0)), - ('for_licenses', attr.ib(default=attr.Factory(list))), + ('for_license_detections', attr.ib(default=attr.Factory(list))), ]) codebase_attributes = dict( - licenses=attr.ib(default=attr.Factory(list)), + license_detections=attr.ib(default=attr.Factory(list)), + license_references=attr.ib(default=attr.Factory(list)), + license_rule_references=attr.ib(default=attr.Factory(list)) ) sort_order = 2 @@ -209,28 +212,30 @@ def process_codebase(self, codebase, **kwargs): f'after : {license_expressions_after}' ) - populate_for_licenses_in_resources( + populate_for_license_detections_in_resources( codebase=codebase, detections=unique_license_detections, ) - codebase.attributes.licenses.extend([ + codebase.attributes.license_detections.extend([ unique_detection.to_dict() for unique_detection in unique_license_detections ]) + populate_license_references(codebase) -def populate_for_licenses_in_resources(codebase, detections): + +def populate_for_license_detections_in_resources(codebase, detections): for detection in detections: if TRACE: logger_debug( - f'populate_for_licenses_in_resources:', + f'populate_for_license_detections_in_resources:', f'for detection: {detection.license_expression}\n', f'file paths: {detection.files}', ) for file_region in detection.files: resource = codebase.get_resource(path=file_region.path) - resource.for_licenses.append(detection.identifier) + resource.for_license_detections.append(detection.identifier) def collect_license_detections(codebase): @@ -243,7 +248,7 @@ def collect_license_detections(codebase): if hasattr(codebase.root, 'license_detections'): has_licenses = True - + all_license_detections = [] for resource in codebase.walk(): @@ -346,16 +351,22 @@ def add_referenced_license_matches_for_detections(resource, codebase): if not resource.is_file: return - license_detections = resource.license_detections - if not license_detections: + license_detection_mappings = resource.license_detections + if not license_detection_mappings: return modified = False - for detection in license_detections: + for license_detection_mapping in license_detection_mappings: + + license_detection_object = LicenseDetectionFromResult.from_license_detection_mapping( + license_detection_mapping=license_detection_mapping, + file_path=resource.path, + ) detection_modified = False - matches = detection["matches"] - referenced_filenames = get_referenced_filenames(matches) + license_match_mappings = license_detection_mapping["matches"] + referenced_filenames = get_referenced_filenames(license_detection_object.matches) + if not referenced_filenames: continue @@ -369,7 +380,7 @@ def add_referenced_license_matches_for_detections(resource, codebase): if referenced_resource and referenced_resource.license_detections: modified = True detection_modified = True - matches.extend( + license_match_mappings.extend( get_matches_from_detection_mappings( license_detections=referenced_resource.license_detections ) @@ -379,12 +390,12 @@ def add_referenced_license_matches_for_detections(resource, codebase): continue detection_log, license_expression = get_detected_license_expression( - matches=matches, + license_match_mappings=license_match_mappings, analysis=DetectionCategory.UNKNOWN_FILE_REFERENCE_LOCAL.value, post_scan=True, ) - detection["license_expression"] = str(license_expression) - detection["detection_log"] = detection_log + license_detection_mapping["license_expression"] = str(license_expression) + license_detection_mapping["detection_log"] = detection_log if modified: license_expressions = [ diff --git a/src/packagedcode/licensing.py b/src/packagedcode/licensing.py index daa426d0fc7..08ba64363cd 100644 --- a/src/packagedcode/licensing.py +++ b/src/packagedcode/licensing.py @@ -23,6 +23,8 @@ from licensedcode.detection import get_referenced_filenames from licensedcode.detection import find_referenced_resource from licensedcode.detection import detect_licenses +from licensedcode.detection import LicenseDetectionFromResult +from licensedcode.licenses_reference import extract_license_rules_reference_data from licensedcode.spans import Span from licensedcode import query @@ -75,20 +77,25 @@ def add_referenced_license_matches_for_package(resource, codebase, no_licenses): return for pkg in package_data: - - license_detections = pkg["license_detections"] - if not license_detections: + + license_detection_mappings = pkg["license_detections"] + if not license_detection_mappings: continue modified = False - for detection in license_detections: + for license_detection_mapping in license_detection_mappings: + license_detection_object = LicenseDetectionFromResult.from_license_detection_mapping( + license_detection_mapping=license_detection_mapping, + file_path=resource.path, + ) + detection_modified = False - matches = detection["matches"] - referenced_filenames = get_referenced_filenames(matches) + license_match_mappings = license_detection_mapping["matches"] + referenced_filenames = get_referenced_filenames(license_detection_object.matches) if not referenced_filenames: - continue - + continue + for referenced_filename in referenced_filenames: referenced_resource = find_referenced_resource( referenced_filename=referenced_filename, @@ -103,13 +110,17 @@ def add_referenced_license_matches_for_package(resource, codebase, no_licenses): referenced_license_detections = get_license_detection_mappings( location=referenced_resource.location ) + _references = extract_license_rules_reference_data( + license_detections=referenced_license_detections + ) + else: referenced_license_detections = referenced_resource.license_detections if referenced_license_detections: modified = True detection_modified = True - matches.extend( + license_match_mappings.extend( get_matches_from_detection_mappings( license_detections=referenced_license_detections ) @@ -119,17 +130,17 @@ def add_referenced_license_matches_for_package(resource, codebase, no_licenses): continue detection_log, license_expression = get_detected_license_expression( - matches=matches, + license_match_mappings=license_match_mappings, analysis=DetectionCategory.PACKAGE_UNKNOWN_FILE_REFERENCE_LOCAL.value, post_scan=True, ) - detection["license_expression"] = str(license_expression) - detection["detection_log"] = detection_log + license_detection_mapping["license_expression"] = str(license_expression) + license_detection_mapping["detection_log"] = detection_log if modified: license_expressions = [ detection["license_expression"] - for detection in license_detections + for detection in license_detection_mappings ] pkg["declared_license_expression"] = combine_expressions( @@ -161,18 +172,23 @@ def add_referenced_license_detection_from_package(resource, codebase, no_license if not resource.is_file: return - license_detections = resource.license_detections - if not license_detections: + license_detection_mappings = resource.license_detections + if not license_detection_mappings: return codebase_packages = codebase.attributes.packages modified = False - for detection in license_detections: + for license_detection_mapping in license_detection_mappings: + + license_detection_object = LicenseDetectionFromResult.from_license_detection_mapping( + license_detection_mapping=license_detection_mapping, + file_path=resource.path, + ) detection_modified = False - license_matches = detection["matches"] - referenced_filenames = get_referenced_filenames(license_matches=license_matches) + license_match_mappings = license_detection_mapping["matches"] + referenced_filenames = get_referenced_filenames(license_matches=license_detection_object.matches) if not referenced_filenames: continue @@ -201,7 +217,7 @@ def add_referenced_license_detection_from_package(resource, codebase, no_license for sibling_detection in sibling_license_detections: modified = True detection_modified = True - license_matches.extend(sibling_detection["matches"]) + license_match_mappings.extend(sibling_detection["matches"]) analysis = DetectionCategory.UNKNOWN_REFERENCE_IN_FILE_TO_NONEXISTENT_PACKAGE.value else: @@ -216,25 +232,25 @@ def add_referenced_license_detection_from_package(resource, codebase, no_license for pkg_detection in pkg_detections: modified = True detection_modified = True - license_matches.extend(pkg_detection["matches"]) + license_match_mappings.extend(pkg_detection["matches"]) analysis = DetectionCategory.UNKNOWN_REFERENCE_IN_FILE_TO_PACKAGE.value if not detection_modified: continue detection_log, license_expression = get_detected_license_expression( - matches=license_matches, + license_match_mappings=license_match_mappings, analysis=analysis, post_scan=True, ) - detection["license_expression"] = str(license_expression) - detection["detection_log"] = detection_log + license_detection_mapping["license_expression"] = str(license_expression) + license_detection_mapping["detection_log"] = detection_log if modified: license_expressions = [ detection["license_expression"] - for detection in license_detections + for detection in license_detection_mappings ] resource.detected_license_expression = combine_expressions( @@ -303,7 +319,7 @@ def is_legal_or_readme(resource): is_readme = check_resource_name_start_and_end(resource=resource, STARTS_ENDS=README_STARTS_ENDS) if is_legal or is_readme: return True - + return False @@ -337,8 +353,10 @@ def get_license_detections_from_sibling_file(resource, codebase, no_licenses): analysis=DetectionCategory.PACKAGE_ADD_FROM_SIBLING_FILE.value, post_scan=True, ) - for detection in detections: - license_detections.append(detection) + _references = extract_license_rules_reference_data( + license_detections=detections, + ) + license_detections.extend(detections) else: license_detections.extend(sibling.license_detections) diff --git a/src/packagedcode/plugin_package.py b/src/packagedcode/plugin_package.py index b0e83ee3683..0e1f819e974 100644 --- a/src/packagedcode/plugin_package.py +++ b/src/packagedcode/plugin_package.py @@ -25,6 +25,7 @@ from licensedcode.cache import build_spdx_license_expression from licensedcode.cache import get_cache from licensedcode.detection import DetectionRule +from licensedcode.licenses_reference import extract_license_rules_reference_data from packagedcode import get_package_handler from packagedcode.licensing import add_referenced_license_matches_for_package from packagedcode.licensing import add_referenced_license_detection_from_package @@ -220,6 +221,9 @@ def add_license_from_file(resource, codebase, no_licenses): if no_licenses: license_detections_file = get_license_detection_mappings(location=resource.location) + _references = extract_license_rules_reference_data( + license_detections=license_detections_file, + ) else: license_detections_file = resource.license_detections @@ -249,7 +253,7 @@ def add_license_from_file(resource, codebase, no_licenses): license_expression = get_license_expression_from_detection_mappings( detections=license_detections_file, valid_expression=True - ) + ) pkg["declared_license_expression"] = license_expression pkg["declared_license_expression_spdx"] = str(build_spdx_license_expression( license_expression=license_expression, diff --git a/src/scancode/api.py b/src/scancode/api.py index 08252e679c3..2f2e7968518 100644 --- a/src/scancode/api.py +++ b/src/scancode/api.py @@ -144,7 +144,10 @@ def get_urls(location, threshold=50, **kwargs): SPDX_LICENSE_URL = 'https://spdx.org/licenses/{}' DEJACODE_LICENSE_URL = 'https://enterprise.dejacode.com/urn/urn:dje:license:{}' SCANCODE_LICENSEDB_URL = 'https://scancode-licensedb.aboutcode.org/{}' - +SCANCODE_DATA_BASE_URL = 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data' +SCANCODE_LICENSE_URL = SCANCODE_DATA_BASE_URL + '/licenses/{}.LICENSE' +SCANCODE_LICENSE_RULE_URL = SCANCODE_DATA_BASE_URL + '/licenses/{}' +SCANCODE_RULE_URL = SCANCODE_DATA_BASE_URL + '/rules/{}' def get_licenses( location, diff --git a/src/summarycode/score.py b/src/summarycode/score.py index 48d5df65725..63c7a39add7 100644 --- a/src/summarycode/score.py +++ b/src/summarycode/score.py @@ -17,6 +17,8 @@ from packagedcode.utils import combine_expressions from licensedcode.detection import get_matches_from_detection_mappings +from licensedcode.detection import matches_from_license_match_mappings +from licensedcode.cache import get_cache # Tracing flags TRACE = False @@ -130,7 +132,8 @@ def compute_license_score(codebase): field_name='license_detections', key_files_only=True, ) - declared_licenses = get_matches_from_detection_mappings(license_detections) + license_match_mappings = get_matches_from_detection_mappings(license_detections) + license_match_objects = matches_from_license_match_mappings(license_match_mappings) declared_license_expressions = get_field_values_from_codebase_resources( codebase=codebase, field_name='detected_license_expression', @@ -139,7 +142,7 @@ def compute_license_score(codebase): ) unique_declared_license_expressions = unique(declared_license_expressions) - declared_license_categories = get_license_categories(declared_licenses) + declared_license_categories = get_license_categories(license_match_objects) copyrights = get_field_values_from_codebase_resources( codebase=codebase, field_name='copyrights', key_files_only=True @@ -148,17 +151,18 @@ def compute_license_score(codebase): other_license_detections = get_field_values_from_codebase_resources( codebase=codebase, field_name='license_detections', key_files_only=False ) - other_licenses = get_matches_from_detection_mappings(other_license_detections) + other_license_match_mappings = get_matches_from_detection_mappings(other_license_detections) + other_license_match_objects = matches_from_license_match_mappings(other_license_match_mappings) - scoring_elements.declared_license = bool(declared_licenses) + scoring_elements.declared_license = bool(license_match_objects) if scoring_elements.declared_license: scoring_elements.score += 40 - scoring_elements.identification_precision = check_declared_licenses(declared_licenses) + scoring_elements.identification_precision = check_declared_licenses(license_match_objects) if scoring_elements.identification_precision: scoring_elements.score += 40 - scoring_elements.has_license_text = check_for_license_texts(declared_licenses) + scoring_elements.has_license_text = check_for_license_texts(license_match_objects) if scoring_elements.has_license_text: scoring_elements.score += 10 @@ -169,7 +173,7 @@ def compute_license_score(codebase): is_permissively_licensed = check_declared_license_categories(declared_license_categories) if is_permissively_licensed: scoring_elements.conflicting_license_categories = check_for_conflicting_licenses( - other_licenses + other_license_match_objects ) if scoring_elements.conflicting_license_categories and scoring_elements.score > 0: scoring_elements.score -= 20 @@ -248,21 +252,21 @@ class LicenseFilter(object): ) -def is_good_license(detected_license): +def is_good_license(license_match_object): """ Return True if a `detected license` mapping is considered to be a high quality conclusive match. """ - score = detected_license['score'] - coverage = detected_license.get('match_coverage') or 0 - relevance = detected_license.get('rule_relevance') or 0 + score = license_match_object.score() + coverage = license_match_object.coverage() + relevance = license_match_object.rule.relevance match_types = dict( [ - ('is_license_text', detected_license['is_license_text']), - ('is_license_notice', detected_license['is_license_notice']), - ('is_license_reference', detected_license['is_license_reference']), - ('is_license_tag', detected_license['is_license_tag']), - ('is_license_intro', detected_license['is_license_intro']), + ('is_license_text', license_match_object.rule.is_license_text), + ('is_license_notice', license_match_object.rule.is_license_notice), + ('is_license_reference', license_match_object.rule.is_license_reference), + ('is_license_tag', license_match_object.rule.is_license_tag), + ('is_license_intro', license_match_object.rule.is_license_intro), ] ) matched = False @@ -289,13 +293,13 @@ def is_good_license(detected_license): return False -def check_declared_licenses(declared_licenses): +def check_declared_licenses(license_match_objects): """ - Check if at least one of the licenses in `declared_licenses` is good. + Check if at least one of the licenses in `license_match_objects` is good. If so, return True. Otherwise, return False. """ - return any(is_good_license(declared_license) for declared_license in declared_licenses) + return any(is_good_license(license_match_object) for license_match_object in license_match_objects) def get_field_values_from_codebase_resources( @@ -335,38 +339,42 @@ def get_field_values_from_codebase_resources( return values -def get_categories_from_match(license_match): +def get_categories_from_match(license_match, licensing=Licensing()): """ Return a list of license category strings from a single LicenseMatch mapping. """ - licenses = license_match.get('licenses') - return [license_info.get('category') for license_info in licenses] + license_keys = licensing.license_keys(license_match.rule.license_expression) + cache = get_cache() + return [ + cache.db[license_key].category + for license_key in license_keys + ] -def get_license_categories(declared_licenses): +def get_license_categories(license_match_objects): """ - Return a list of license category strings from `license_infos` + Return a list of license category strings from `license_match_objects` """ license_categories = [] - for match in declared_licenses: + for match in license_match_objects: for category in get_categories_from_match(match): if category not in license_categories: license_categories.append(category) return license_categories -def check_for_license_texts(declared_licenses): +def check_for_license_texts(license_match_objects): """ - Check if any license in `declared_licenses` is from a license text or notice. + Check if any license in `license_match_objects` is from a license text or notice. If so, return True. Otherwise, return False. """ - for declared_license in declared_licenses: + for license_match_object in license_match_objects: if any( [ - declared_license.get('is_license_text', False), - declared_license.get('is_license_notice', False), + license_match_object.rule.is_license_text, + license_match_object.rule.is_license_notice, ] ): return True @@ -395,15 +403,15 @@ def check_declared_license_categories(declared_licenses): return True -def check_for_conflicting_licenses(other_licenses): +def check_for_conflicting_licenses(other_license_match_objects): """ Check if there is a license in `other_licenses` that conflicts with permissive licenses. If so, return True. Otherwise, return False. """ - for license_match in other_licenses: - for category in get_categories_from_match(license_match): + for license_match_object in other_license_match_objects: + for category in get_categories_from_match(license_match_object): if category in CONFLICTING_LICENSE_CATEGORIES: return True return False diff --git a/tests/licensedcode/test_plugin_license_detection.py b/tests/licensedcode/test_plugin_license_detection.py index 77938d6fcfe..6689285a22d 100644 --- a/tests/licensedcode/test_plugin_license_detection.py +++ b/tests/licensedcode/test_plugin_license_detection.py @@ -207,17 +207,6 @@ def test_license_match_referenced_filename(): check_json_scan(test_loc, result_file, regen=REGEN_TEST_FIXTURES) -def test_get_referenced_filenames(): - license_matches = [ - {'referenced_filenames' : ['LICENSE.txt', 'COPYING']}, - {'referenced_filenames' : ['COPYING', 'LICENSE.txt']}, - {'referenced_filenames' : ['copying']}, - {'referenced_filenames' : []}, - ] - expected = ['LICENSE.txt', 'COPYING', 'copying'] - assert get_referenced_filenames(license_matches) == expected - - def test_find_referenced_resource(): # Setup: Create a new scan to use for a virtual codebase test_dir = test_env.get_test_loc('plugin_license/license_reference/scan/scan-ref', copy=True) From 4cf84c71d5a66d991241393f2b97f2c2d735b80b Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Tue, 20 Dec 2022 03:43:01 +0530 Subject: [PATCH 07/11] Regenerate test expectations * rename top level attirbute `licenses` -> `license_detections` * rename top level attribute `rule_references` to `license_rule_references` * include license_expression in identifier * use the correct spelling for occurrance * include matched_text in matches instead of reference data * file level attribute `for_licenses` changed to `for_license_detections` * fix bugs including license rule references correctly * make license references default to `--licenses` Signed-off-by: Ayan Sinha Mahapatra --- .../license-detection-reference.rst | 2 +- .../emails-threshold.expected.json | 2 - .../plugin_email_url/emails.expected.json | 2 - .../urls-threshold.expected.json | 2 - .../data/plugin_email_url/urls.expected.json | 2 - .../filtered-expected.json | 12 +- .../filtered-expected2.json | 12 +- .../filtered-expected3.json | 12 +- .../authors.expected.json | 2 - .../holders.expected.json | 2 - .../formattedcode/data/cyclonedx/expected.xml | 6 +- .../data/json/simple-expected.json | 10 +- .../data/json/simple-expected.jsonpp | 10 +- .../data/json/tree/expected.json | 22 +- .../data/yaml/simple-expected.yaml | 12 +- .../data/yaml/tree/expected.yaml | 24 +- .../license-expression/scan.expected.json | 20 +- .../spdx-expressions.expected.json | 24 +- .../license-ref-see-copying.expected.json | 46 +- .../license_reference/scan-ref.expected.json | 46 +- ...-unknown-reference-copyright.expected.json | 91 +- ...unknown-ref-to-key-file-root.expected.json | 200 +- .../license_url/license_url.expected.json | 14 +- .../package/package.expected.json | 136 +- .../scan/e2fsprogs-expected.json | 20 +- .../scan/ffmpeg-license.expected.json | 144 +- .../sqlite/sqlite.expected.json | 1100 +- .../text/scan-diag.expected.json | 32 +- .../plugin_license/text/scan.expected.json | 32 +- .../text_long_lines/scan-diag.expected.json | 32 +- .../text_long_lines/scan.expected.json | 32 +- ...n-unknown-intro-dual-license.expected.json | 36 +- ...tro-eclipse-foundation-tycho.expected.json | 356 +- ...own-intro-eclipse-foundation.expected.json | 24 +- ...nown-intro-long-gaps-between.expected.json | 42 +- ...intro-with-imperfect-matches.expected.json | 36 +- .../policy-codebase.expected.json | 48 +- .../plugin_license_text/scan.expected.json | 88 +- .../data/about/aboutfiles.expected.json | 2 - ...-container-layer.tar.xz-scan-expected.json | 2 - .../rootfs/alpine-rootfs.tar.xz-expected.json | 2 - .../data/bower/scan-expected.json | 2 - .../data/build/bazel/end2end-expected.json | 2 - .../data/build/buck/end2end-expected.json | 2 - .../end2end/build.gradle-expected.json | 2 - .../data/cargo/scan.expected.json | 2 - .../data/chef/package.scan.expected.json | 2 - .../assemble/many-podspecs-expected.json | 2 - .../assemble/multiple-podspec-expected.json | 2 - .../assemble/single-podspec-expected.json | 2 - .../assemble/solo/Podfile-expected.json | 2 - .../assemble/solo/Podfile.lock-expected.json | 2 - .../solo/RxDataSources.podspec-expected.json | 2 - .../data/debian/basic-rootfs-expected.json | 2 - ...-container-layer.tar.xz.scan-expected.json | 2 - .../data/debian/end-to-end.tgz.expected.json | 2 - .../debian/ubuntu-var-lib-dpkg/expected.json | 2 - ...instance-expected-with-test-manifests.json | 2 - ...n-package-instance-expected-with-uuid.json | 2 - .../python-package-instance-expected.json | 2 - .../activemq-camel.expected.json | 125 +- ...tivemq-camel_without_license.expected.json | 2 - .../google-built-collection.expected.json | 115 +- ...t-collection_without_license.expected.json | 2 - .../flutter_playtabs_bridge.expected.json | 249 +- ...ytabs_bridge_without_license.expected.json | 2 - .../nanopb.expected.json | 176 +- .../nanopb_without_license.expected.json | 2 - .../reference-to-package/base.expected.json | 180 +- .../fusiondirectory.expected.json | 11149 ++++++++-------- .../google_appengine_sdk.expected.json | 721 +- .../paddlenlp.expected.json | 476 +- .../physics.expected.json | 328 +- .../reference-to-package/samba.expected.json | 1174 +- .../maven_misc/extracted-jar-expected.json | 2 - .../data/npm/electron/package.expected.json | 2 - .../get_package_resources.scan.expected.json | 2 - .../npm/private-and-yarn/scan.expected.json | 2 - .../data/npm/private/scan.expected.json | 2 - .../data/npm/scan-nested/scan.expected.json | 2 - .../data/plugin/about-package-expected.json | 2 - .../data/plugin/bower-package-expected.json | 2 - .../data/plugin/cargo-package-expected.json | 2 - .../data/plugin/chef-package-expected.json | 2 - .../data/plugin/com-package-expected.json | 2 - .../data/plugin/conda-package-expected.json | 2 - .../data/plugin/cran-package-expected.json | 2 - .../data/plugin/freebsd-package-expected.json | 2 - .../data/plugin/haxe-package-expected.json | 2 - .../data/plugin/maven-package-expected.json | 2 - .../data/plugin/mui-package-expected.json | 2 - .../data/plugin/mum-package-expected.json | 2 - .../data/plugin/mun-package-expected.json | 2 - .../data/plugin/npm-package-expected.json | 2 - .../data/plugin/nuget-package-expected.json | 2 - .../data/plugin/opam-package-expected.json | 2 - .../plugin/phpcomposer-package-expected.json | 2 - .../data/plugin/pubspec-expected.json | 2 - .../data/plugin/pubspec-lock-expected.json | 2 - .../data/plugin/python-package-expected.json | 2 - .../data/plugin/rpm-package-expected.json | 2 - .../plugin/rubygems-package-expected.json | 2 - .../data/plugin/sys-package-expected.json | 2 - .../data/plugin/tlb-package-expected.json | 2 - .../data/plugin/win_pe-package-expected.json | 2 - .../data/plugin/winmd-package-expected.json | 2 - .../site-packages/site-packages-expected.json | 2 - .../data/pypi/solo-metadata/expected.json | 2 - .../data/pypi/solo-setup/expected.json | 2 - .../pip-22.0.4-pypi-package-expected.json | 2 - ...ip-22.0.4-pypi-package-setup-expected.json | 2 - .../celery-expected.json | 2 - .../daglib_wheel_extracted-expected.json | 2 - .../expected-results.json | 2 - .../data/altpath/copyright.expected.json | 2 - .../data/composer/composer.expected.json | 2 - .../data/failing/patchelf.expected.json | 2 - tests/scancode/data/help/help.txt | 2 - tests/scancode/data/info/all.expected.json | 38 +- .../data/info/all.rooted.expected.json | 40 +- tests/scancode/data/info/basic.expected.json | 2 - .../data/info/basic.rooted.expected.json | 2 - .../data/info/email_url_info.expected.json | 2 - .../scancode/data/license_text/test.expected | 18 +- tests/scancode/data/merge_scans/expected.json | 2 - .../data/non_utf8/expected-linux.json | 2 - .../with_info.expected.json | 2 - .../plugin_only_findings/basic.expected.json | 24 +- .../plugin_only_findings/errors.expected.json | 2 - .../plugin_only_findings/info.expected.json | 2 - ...-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json | 2 - .../data/single/iproute.expected.json | 2 - .../unicodepath.expected-linux.json | 14 +- .../unicodepath.expected-linux.json--quiet | 14 +- .../unicodepath.expected-linux.json--verbose | 14 +- .../unicodepath.expected-linux.json-q | 14 +- .../unicodepath.expected-linux.json-v | 14 +- .../data/virtual_idempotent/codebase.json | 128 +- .../data/weird_file_name/expected-posix.json | 2 - .../data/classify/cli.expected.json | 2 - .../summarycode/data/facet/cli.expected.json | 2 - .../data/generated/cli.expected.json | 2 - .../component-package-build-expected.json | 438 +- .../component-package-expected.json | 344 +- .../e2fsprogs-expected.json | 2 - .../license-holder-rollup-expected.json | 142 +- ...iple-same-holder-and-license-expected.json | 60 +- ...t-counted-in-license-holders-expected.json | 266 +- .../package-fileset-expected.json | 224 +- .../package-manifest-expected.json | 148 +- ...rectory-with-minority-origin-expected.json | 102 +- ...return-nested-local-majority-expected.json | 108 +- .../plugin_consolidate/zlib-expected.json | 2 - .../data/score/basic-expected.json | 50 +- ...consistent_licenses_copyleft-expected.json | 58 +- .../score/no_license_ambiguity-expected.json | 103 +- .../no_license_or_copyright-expected.json | 14 +- .../data/score/no_license_text-expected.json | 42 +- ...nflicting_license_categories.expected.json | 142 +- .../summary/end-2-end/bug-1141.expected.json | 112 +- .../holders/clear_holder.expected.json | 124 +- .../holders/combined_holders.expected.json | 116 +- .../license_ambiguity/ambiguous.expected.json | 98 +- .../unambiguous.expected.json | 104 +- .../multiple_package_data.expected.json | 388 +- .../single_file/single_file.expected.json | 62 +- .../summary-without-holder-pypi.expected.json | 388 +- ...holder_from_package_resource.expected.json | 112 +- .../with_package_data.expected.json | 286 +- .../without_package_data.expected.json | 104 +- .../copyright_tallies/tallies.expected.json | 2 - .../copyright_tallies/tallies2.expected.json | 2 - .../tallies_details.expected.json | 2 - .../tallies_details.expected2.json | 2 - .../tallies_key_files.expected.json | 2 - .../tallies/end-2-end/bug-1141.expected.json | 170 +- .../full_tallies/tallies.expected.json | 1950 +-- .../tallies_by_facet.expected.json | 1950 +-- .../tallies_details.expected.json | 1950 +-- ...lies_key_files-details.expected.json-lines | 640 +- .../tallies_key_files.expected.json | 630 +- .../data/tallies/packages/expected.json | 2 - 182 files changed, 14916 insertions(+), 14437 deletions(-) diff --git a/docs/source/explanations/license-detection-reference.rst b/docs/source/explanations/license-detection-reference.rst index 18b4b90d13a..ee3c5f5bfe5 100644 --- a/docs/source/explanations/license-detection-reference.rst +++ b/docs/source/explanations/license-detection-reference.rst @@ -528,7 +528,7 @@ After:: "text": "Apache License\nVersion 2.0, {Truncated text}" } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", diff --git a/tests/cluecode/data/plugin_email_url/emails-threshold.expected.json b/tests/cluecode/data/plugin_email_url/emails-threshold.expected.json index 4bcf172a9af..c5b021e9eb1 100644 --- a/tests/cluecode/data/plugin_email_url/emails-threshold.expected.json +++ b/tests/cluecode/data/plugin_email_url/emails-threshold.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "3w-xxxx.c", diff --git a/tests/cluecode/data/plugin_email_url/emails.expected.json b/tests/cluecode/data/plugin_email_url/emails.expected.json index bd9c6882eb6..36b0033b788 100644 --- a/tests/cluecode/data/plugin_email_url/emails.expected.json +++ b/tests/cluecode/data/plugin_email_url/emails.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "3w-xxxx.c", diff --git a/tests/cluecode/data/plugin_email_url/urls-threshold.expected.json b/tests/cluecode/data/plugin_email_url/urls-threshold.expected.json index 6c622759120..97de3048fff 100644 --- a/tests/cluecode/data/plugin_email_url/urls-threshold.expected.json +++ b/tests/cluecode/data/plugin_email_url/urls-threshold.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "3w-xxxx.c", diff --git a/tests/cluecode/data/plugin_email_url/urls.expected.json b/tests/cluecode/data/plugin_email_url/urls.expected.json index 1b26798d0d0..a729f46b21a 100644 --- a/tests/cluecode/data/plugin_email_url/urls.expected.json +++ b/tests/cluecode/data/plugin_email_url/urls.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "3w-xxxx.c", diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected.json index ec255c9b6bd..99b3a960806 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "81b019ea-ed6c-17e3-1cfc-fad8557f8cac", + "identifier": "apache_1_1#81b019ea-ed6c-17e3-1cfc-fad8557f8cac", "license_expression": "apache-1.1", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -45,7 +45,7 @@ "text": "The Apache Software License, Version 1.1\n\nCopyright (c) 2000 The Apache Software Foundation. All rights\nreserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the\ndistribution.\n\n3. The end-user documentation included with the redistribution,\nif any, must include the following acknowledgment:\n\"This product includes software developed by the\nApache Software Foundation (http://www.apache.org/).\"\nAlternately, this acknowledgment may appear in the software itself,\nif and wherever such third-party acknowledgments normally appear.\n\n4. The names \"Apache\" and \"Apache Software Foundation\" must\nnot be used to endorse or promote products derived from this\nsoftware without prior written permission. For written\npermission, please contact apache@apache.org.\n\n5. Products derived from this software may not be called \"Apache\",\nnor may \"Apache\" appear in their name, without prior written\npermission of the Apache Software Foundation.\n\nTHIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED\nWARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR\nITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\nUSE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\nOF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "apache-1.1", "rule_identifier": "apache-1.1_63.RULE", @@ -104,8 +104,8 @@ ], "license_clues": [], "percentage_of_license_text": 92.44, - "for_licenses": [ - "81b019ea-ed6c-17e3-1cfc-fad8557f8cac" + "for_license_detections": [ + "apache_1_1#81b019ea-ed6c-17e3-1cfc-fad8557f8cac" ], "copyrights": [ { diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json index 7ed36161439..a423ddba1fe 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "7b7e2330-4841-998b-3287-06b5bc6e5a90", + "identifier": "pygres_2_2#7b7e2330-4841-998b-3287-06b5bc6e5a90", "license_expression": "pygres-2.2", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -37,7 +37,7 @@ "text": "PyGres, version 2.2 A Python interface for PostgreSQL database. Written by\nD'Arcy J.M. Cain, (darcy@druid.net). Based heavily on code written by\nPascal Andre, andre@chimay.via.ecp.fr. Copyright (c) 1995, Pascal Andre\n(andre@via.ecp.fr).\n\nPermission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose, without fee, and without a written\nagreement is hereby granted, provided that the above copyright notice and\nthis paragraph and the following two paragraphs appear in all copies or in\nany new file that contains a substantial portion of this file.\n\nIN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,\nSPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,\nARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE\nAUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED\nTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN \"AS IS\" BASIS, AND THE\nAUTHOR HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,\nENHANCEMENTS, OR MODIFICATIONS.\n\nFurther modifications copyright 1997, 1998, 1999 by D'Arcy J.M. Cain\n(darcy@druid.net) subject to the same terms and conditions as above." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "pygres-2.2", "rule_identifier": "pygres-2.2_2.RULE", @@ -96,8 +96,8 @@ ], "license_clues": [], "percentage_of_license_text": 69.38, - "for_licenses": [ - "7b7e2330-4841-998b-3287-06b5bc6e5a90" + "for_license_detections": [ + "pygres_2_2#7b7e2330-4841-998b-3287-06b5bc6e5a90" ], "copyrights": [ { diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json index b05630b46c8..ef6b01a4d31 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "043db187-9376-d7a9-e89b-d027667acb34", + "identifier": "pcre#043db187-9376-d7a9-e89b-d027667acb34", "license_expression": "pcre", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -38,7 +38,7 @@ "text": "PCRE LICENCE\n------------\n\nPCRE is a library of functions to support regular expressions whose\nsyntax and semantics are as close as possible to those of the Perl 5\nlanguage.\n\nWritten by: Philip Hazel \nUniversity of Cambridge Computing Service, Cambridge, England.\nPhone: +44 1223 334714.\nCopyright (c) 1997-2001 University of Cambridge\n\nPermission is granted to anyone to use this software for any purpose on\nany computer system, and to redistribute it freely, subject to the\nfollowing restrictions:\n\n1. This software is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n2. The origin of this software must not be misrepresented, either by\nexplicit claim or by omission. In practice, this means that if you use\nPCRE in software which you distribute to others, commercially or\notherwise, you must put a sentence like this\n\"Regular expression support is provided by the PCRE library package,\nwhich is open source software, written by Philip Hazel, and copyright by\nthe University of Cambridge, England\"\n\nsomewhere reasonably visible in your documentation and in any relevant\nfiles or online help data or similar.\n\nA reference to the ftp site for the source, that is, to\nftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\nshould also be given in the documentation.\n\n3. Altered versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n4. If PCRE is embedded in any software that is released under the GNU\nGeneral Purpose Licence (GPL), or Lesser General Purpose Licence (LGPL),\nthen the terms of that licence shall supersede any condition above with\nwhich it is incompatible.\n\nThe documentation for PCRE, supplied in the \"doc\" directory, is\ndistributed under the same terms as the software itself.\n\nEnd PCRE LICENCE" } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "pcre", "rule_identifier": "pcre.LICENSE", @@ -97,8 +97,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "043db187-9376-d7a9-e89b-d027667acb34" + "for_license_detections": [ + "pcre#043db187-9376-d7a9-e89b-d027667acb34" ], "copyrights": [ { diff --git a/tests/cluecode/data/plugin_ignore_copyrights/authors.expected.json b/tests/cluecode/data/plugin_ignore_copyrights/authors.expected.json index 5bac2a0c030..eece5f5db84 100644 --- a/tests/cluecode/data/plugin_ignore_copyrights/authors.expected.json +++ b/tests/cluecode/data/plugin_ignore_copyrights/authors.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "basic.tgz", diff --git a/tests/cluecode/data/plugin_ignore_copyrights/holders.expected.json b/tests/cluecode/data/plugin_ignore_copyrights/holders.expected.json index 5bac2a0c030..eece5f5db84 100644 --- a/tests/cluecode/data/plugin_ignore_copyrights/holders.expected.json +++ b/tests/cluecode/data/plugin_ignore_copyrights/holders.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "basic.tgz", diff --git a/tests/formattedcode/data/cyclonedx/expected.xml b/tests/formattedcode/data/cyclonedx/expected.xml index b1c117c46c8..2f95ac00406 100644 --- a/tests/formattedcode/data/cyclonedx/expected.xml +++ b/tests/formattedcode/data/cyclonedx/expected.xml @@ -1,12 +1,12 @@ - + - 2022-05-31T23:32:59Z + 2022-12-19T19:26:42Z AboutCode.org scancode-toolkit - 31.0.0b5 + 32.0.0 diff --git a/tests/formattedcode/data/json/simple-expected.json b/tests/formattedcode/data/json/simple-expected.json index 318b11b887a..f344897fe30 100644 --- a/tests/formattedcode/data/json/simple-expected.json +++ b/tests/formattedcode/data/json/simple-expected.json @@ -1,9 +1,9 @@ { - "licenses": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "simple", @@ -29,7 +29,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -64,7 +64,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", diff --git a/tests/formattedcode/data/json/simple-expected.jsonpp b/tests/formattedcode/data/json/simple-expected.jsonpp index 318b11b887a..f344897fe30 100644 --- a/tests/formattedcode/data/json/simple-expected.jsonpp +++ b/tests/formattedcode/data/json/simple-expected.jsonpp @@ -1,9 +1,9 @@ { - "licenses": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "simple", @@ -29,7 +29,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -64,7 +64,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", diff --git a/tests/formattedcode/data/json/tree/expected.json b/tests/formattedcode/data/json/tree/expected.json index 1f87c2a53a0..b5fef4c87c2 100644 --- a/tests/formattedcode/data/json/tree/expected.json +++ b/tests/formattedcode/data/json/tree/expected.json @@ -1,9 +1,9 @@ { - "licenses": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "copy1.c", @@ -29,7 +29,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", @@ -76,7 +76,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", @@ -123,7 +123,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", @@ -170,7 +170,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -205,7 +205,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", @@ -252,7 +252,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", @@ -299,7 +299,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", @@ -346,7 +346,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2000 ACME, Inc.", diff --git a/tests/formattedcode/data/yaml/simple-expected.yaml b/tests/formattedcode/data/yaml/simple-expected.yaml index 32aea945cfa..566d538099e 100644 --- a/tests/formattedcode/data/yaml/simple-expected.yaml +++ b/tests/formattedcode/data/yaml/simple-expected.yaml @@ -24,14 +24,14 @@ headers: cpu_architecture: 64 platform: Linux-5.14.0-1054-oem-x86_64-with-glibc2.29 platform_version: '#61-Ubuntu SMP Fri Oct 14 13:05:50 UTC 2022' - python_version: "3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]" + python_version: "3.8.10 (default, Nov 14 2022, 12:59:47) \n[GCC 9.4.0]" spdx_license_list_version: '3.17' files_count: 1 -licenses: [] +license_detections: [] +license_references: [] +license_rule_references: [] dependencies: [] packages: [] -license_references: [] -rule_references: [] files: - path: simple type: directory @@ -56,7 +56,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' - for_licenses: [] + for_license_detections: [] copyrights: [] holders: [] authors: [] @@ -89,7 +89,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' - for_licenses: [] + for_license_detections: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 diff --git a/tests/formattedcode/data/yaml/tree/expected.yaml b/tests/formattedcode/data/yaml/tree/expected.yaml index cf1a9de8e03..0ca4f47fe60 100644 --- a/tests/formattedcode/data/yaml/tree/expected.yaml +++ b/tests/formattedcode/data/yaml/tree/expected.yaml @@ -25,14 +25,14 @@ headers: cpu_architecture: 64 platform: Linux-5.14.0-1054-oem-x86_64-with-glibc2.29 platform_version: '#61-Ubuntu SMP Fri Oct 14 13:05:50 UTC 2022' - python_version: "3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]" + python_version: "3.8.10 (default, Nov 14 2022, 12:59:47) \n[GCC 9.4.0]" spdx_license_list_version: '3.17' files_count: 7 -licenses: [] +license_detections: [] +license_references: [] +license_rule_references: [] dependencies: [] packages: [] -license_references: [] -rule_references: [] files: - path: copy1.c type: file @@ -57,7 +57,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' - for_licenses: [] + for_license_detections: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 @@ -96,7 +96,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' - for_licenses: [] + for_license_detections: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 @@ -135,7 +135,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' - for_licenses: [] + for_license_detections: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 @@ -174,7 +174,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' - for_licenses: [] + for_license_detections: [] copyrights: [] holders: [] authors: [] @@ -207,7 +207,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' - for_licenses: [] + for_license_detections: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 @@ -246,7 +246,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' - for_licenses: [] + for_license_detections: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 @@ -285,7 +285,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' - for_licenses: [] + for_license_detections: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 @@ -324,7 +324,7 @@ files: license_detections: [] license_clues: [] percentage_of_license_text: '0' - for_licenses: [] + for_license_detections: [] copyrights: - copyright: Copyright (c) 2000 ACME, Inc. start_line: 1 diff --git a/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json b/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json index 786f7984804..8c886ef57d8 100644 --- a/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "c0668fcd-2d15-caa1-2e29-7df8daec68a5", + "identifier": "apache_1_0#c0668fcd-2d15-caa1-2e29-7df8daec68a5", "license_expression": "apache-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "51fb40ac-0b3a-03c4-2532-40ada1cb7912", + "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#51fb40ac-0b3a-03c4-2532-40ada1cb7912", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -130,7 +130,7 @@ "text": "NOTE! This copyright does *not* cover user programs that use kernel\nservices by normal system calls - this is merely considered normal use\nof the kernel, and does *not* fall under the heading of \"derived work\".\nAlso note that the GPL below is copyrighted by the Free Software\nFoundation, but the instance of code that it refers to (the Linux\nkernel) is copyrighted by me and others who actually wrote it.\n\nAlso note that the only valid version of the GPL as far as the kernel\nis concerned is _this_ particular version of the license (ie v2, not\nv2.2 or v3.x or whatever), unless explicitly otherwise stated.\n\nLinus Torvalds" } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "apache-1.0", "rule_identifier": "apache-1.0.LICENSE", @@ -185,8 +185,8 @@ ], "license_clues": [], "percentage_of_license_text": 97.61, - "for_licenses": [ - "c0668fcd-2d15-caa1-2e29-7df8daec68a5" + "for_license_detections": [ + "apache_1_0#c0668fcd-2d15-caa1-2e29-7df8daec68a5" ], "scan_errors": [] }, @@ -218,8 +218,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "51fb40ac-0b3a-03c4-2532-40ada1cb7912" + "for_license_detections": [ + "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#51fb40ac-0b3a-03c4-2532-40ada1cb7912" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json b/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json index ad69811b8a7..1d2d542766d 100644 --- a/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json +++ b/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "6a62dd92-d687-5046-a149-47edab69491d", + "identifier": "zlib_and_apache_2_0#6a62dd92-d687-5046-a149-47edab69491d", "license_expression": "zlib AND apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -85,7 +85,7 @@ "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "zlib", "rule_identifier": "spdx-license-identifier: zlib", @@ -96,8 +96,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 4, - "rule_relevance": 100, - "matched_text": "https://licenses.nuget.org/Zlib" + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -109,8 +108,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 6, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: Apache-2.0" + "rule_relevance": 100 } ], "files": [ @@ -135,7 +133,8 @@ "matcher": "1-spdx-id", "license_expression": "zlib", "rule_identifier": "spdx-license-identifier: zlib", - "rule_url": null + "rule_url": null, + "matched_text": "https://licenses.nuget.org/Zlib" }, { "score": 100.0, @@ -146,15 +145,16 @@ "matcher": "1-spdx-id", "license_expression": "apache-2.0", "rule_identifier": "spdx-license-identifier: apache-2.0", - "rule_url": null + "rule_url": null, + "matched_text": "SPDX-License-Identifier: Apache-2.0" } ] } ], "license_clues": [], "percentage_of_license_text": 90.91, - "for_licenses": [ - "6a62dd92-d687-5046-a149-47edab69491d" + "for_license_detections": [ + "zlib_and_apache_2_0#6a62dd92-d687-5046-a149-47edab69491d" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json b/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json index 52ad2b06a44..44238d522d3 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "f76efb47-fed2-ece2-85a7-be5297788421", + "identifier": "apache_2_0#f76efb47-fed2-ece2-85a7-be5297788421", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "589846e0-5ae8-148c-1e24-c9a3b337f0f6", + "identifier": "unknown_license_reference#589846e0-5ae8-148c-1e24-c9a3b337f0f6", "license_expression": "unknown-license-reference", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -72,7 +72,7 @@ "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", @@ -83,8 +83,21 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 4, - "rule_relevance": 100, - "matched_text": "license: apache 2.0" + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_91.RULE", + "referenced_filenames": [ + "COPYING" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100 } ], "files": [ @@ -109,15 +122,16 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "matched_text": "license: apache 2.0" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "f76efb47-fed2-ece2-85a7-be5297788421" + "for_license_detections": [ + "apache_2_0#f76efb47-fed2-ece2-85a7-be5297788421" ], "scan_errors": [] }, @@ -142,7 +156,8 @@ "matcher": "1-hash", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_91.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_91.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_91.RULE", + "matched_text": "This is free software. See COPYING for details." }, { "score": 100.0, @@ -153,15 +168,16 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "matched_text": "license: apache 2.0" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "589846e0-5ae8-148c-1e24-c9a3b337f0f6" + "for_license_detections": [ + "unknown_license_reference#589846e0-5ae8-148c-1e24-c9a3b337f0f6" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json b/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json index 38f49d8ab27..740e05c412c 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "74e8eedf-db6a-01e4-830f-8ac6e27be365", + "identifier": "mit#74e8eedf-db6a-01e4-830f-8ac6e27be365", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "77d29bdd-8b2e-96ec-6420-8c5107d3eabe", + "identifier": "unknown_license_reference#77d29bdd-8b2e-96ec-6420-8c5107d3eabe", "license_expression": "unknown-license-reference", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -67,7 +67,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "mit", "rule_identifier": "mit_66.RULE", @@ -78,8 +78,21 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 10, - "rule_relevance": 100, - "matched_text": "that is licensed under [MIT](http://opensource.org/licenses/MIT)." + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_25.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 } ], "files": [ @@ -104,15 +117,16 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "mit_66.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_66.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_66.RULE", + "matched_text": "that is licensed under [MIT](http://opensource.org/licenses/MIT)." } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "74e8eedf-db6a-01e4-830f-8ac6e27be365" + "for_license_detections": [ + "mit#74e8eedf-db6a-01e4-830f-8ac6e27be365" ], "scan_errors": [] }, @@ -137,7 +151,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_25.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_25.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_25.RULE", + "matched_text": "license\": \"SEE LICENSE IN LICENSE." }, { "score": 100.0, @@ -148,15 +163,16 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "mit_66.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_66.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_66.RULE", + "matched_text": "that is licensed under [MIT](http://opensource.org/licenses/MIT)." } ] } ], "license_clues": [], "percentage_of_license_text": 0.2, - "for_licenses": [ - "77d29bdd-8b2e-96ec-6420-8c5107d3eabe" + "for_license_detections": [ + "unknown_license_reference#77d29bdd-8b2e-96ec-6420-8c5107d3eabe" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json b/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json index d39d17634a7..696e60005f1 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "cb2d1ad5-873d-6301-d317-22a999e29333", + "identifier": "unknown_license_reference#cb2d1ad5-873d-6301-d317-22a999e29333", "license_expression": "unknown-license-reference", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "f8587161-833d-692c-3d76-0d68eb040d40", + "identifier": "x11_xconsortium_veillard#f8587161-833d-692c-3d76-0d68eb040d40", "license_expression": "x11-xconsortium-veillard", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "0fca325a-cfc9-3067-2426-a2e81f63954e", + "identifier": "unknown_license_reference#0fca325a-cfc9-3067-2426-a2e81f63954e", "license_expression": "unknown-license-reference", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -81,7 +81,7 @@ "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 fur- nished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nExcept as contained in this notice, the name of Daniel Veillard 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 him." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_30.RULE", @@ -94,8 +94,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 8, - "rule_relevance": 100, - "matched_text": "See Copyright for the status of this software." + "rule_relevance": 100 }, { "license_expression": "x11-xconsortium-veillard", @@ -107,8 +106,35 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 199, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is fur-\nnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\nNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nDANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-\nNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nExcept as contained in this notice, the name of Daniel Veillard shall not\nbe used in advertising or otherwise to promote the sale, use or other deal-\nings in this Software without prior written authorization from him." + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_30.RULE", + "referenced_filenames": [ + "Copyright" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 8, + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_108.RULE", + "referenced_filenames": [ + "Copyright" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100 } ], "files": [ @@ -133,15 +159,16 @@ "matcher": "2-aho", "license_expression": "x11-xconsortium-veillard", "rule_identifier": "x11-xconsortium-veillard.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is fur-\nnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\nNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nDANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-\nNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nExcept as contained in this notice, the name of Daniel Veillard shall not\nbe used in advertising or otherwise to promote the sale, use or other deal-\nings in this Software without prior written authorization from him." } ] } ], "license_clues": [], "percentage_of_license_text": 81.89, - "for_licenses": [ - "f8587161-833d-692c-3d76-0d68eb040d40" + "for_license_detections": [ + "x11_xconsortium_veillard#f8587161-833d-692c-3d76-0d68eb040d40" ], "scan_errors": [] }, @@ -166,7 +193,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_30.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_30.RULE", + "matched_text": "See Copyright for the status of this software." }, { "score": 100.0, @@ -177,15 +205,16 @@ "matcher": "2-aho", "license_expression": "x11-xconsortium-veillard", "rule_identifier": "x11-xconsortium-veillard.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is fur-\nnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\nNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nDANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-\nNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nExcept as contained in this notice, the name of Daniel Veillard shall not\nbe used in advertising or otherwise to promote the sale, use or other deal-\nings in this Software without prior written authorization from him." } ] } ], "license_clues": [], "percentage_of_license_text": 1.32, - "for_licenses": [ - "cb2d1ad5-873d-6301-d317-22a999e29333" + "for_license_detections": [ + "unknown_license_reference#cb2d1ad5-873d-6301-d317-22a999e29333" ], "scan_errors": [] }, @@ -210,7 +239,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_30.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_30.RULE", + "matched_text": "See Copyright for the status of this software." }, { "score": 100.0, @@ -221,15 +251,16 @@ "matcher": "2-aho", "license_expression": "x11-xconsortium-veillard", "rule_identifier": "x11-xconsortium-veillard.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is fur-\nnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\nNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nDANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-\nNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nExcept as contained in this notice, the name of Daniel Veillard shall not\nbe used in advertising or otherwise to promote the sale, use or other deal-\nings in this Software without prior written authorization from him." } ] } ], "license_clues": [], "percentage_of_license_text": 0.1, - "for_licenses": [ - "cb2d1ad5-873d-6301-d317-22a999e29333" + "for_license_detections": [ + "unknown_license_reference#cb2d1ad5-873d-6301-d317-22a999e29333" ], "scan_errors": [] }, @@ -241,7 +272,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "scan_errors": [] }, { @@ -252,7 +283,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "scan_errors": [] }, { @@ -276,7 +307,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_108.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_108.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_108.RULE", + "matched_text": "Copy: See Copyright for the status of this software." }, { "score": 100.0, @@ -287,15 +319,16 @@ "matcher": "2-aho", "license_expression": "x11-xconsortium-veillard", "rule_identifier": "x11-xconsortium-veillard.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is fur-\nnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\nNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nDANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-\nNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nExcept as contained in this notice, the name of Daniel Veillard shall not\nbe used in advertising or otherwise to promote the sale, use or other deal-\nings in this Software without prior written authorization from him." } ] } ], "license_clues": [], "percentage_of_license_text": 2.47, - "for_licenses": [ - "0fca325a-cfc9-3067-2426-a2e81f63954e" + "for_license_detections": [ + "unknown_license_reference#0fca325a-cfc9-3067-2426-a2e81f63954e" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json b/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json index 2f8ba7aef6b..19921dccc0c 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "e7257024-d126-956a-74bb-495572281351", + "identifier": "unknown_license_reference#e7257024-d126-956a-74bb-495572281351", "license_expression": "unknown-license-reference", - "occurance_count": 4, + "occurrence_count": 4, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "26a4c3aa-d426-9e04-08af-0c92585a1998", + "identifier": "mit#26a4c3aa-d426-9e04-08af-0c92585a1998", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "a103b5a9-df52-531b-ca52-7c2967858cd9", + "identifier": "mit#a103b5a9-df52-531b-ca52-7c2967858cd9", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -75,9 +75,9 @@ ] }, { - "identifier": "a97190f9-e182-1c66-a517-fc3368d5b248", + "identifier": "mit#a97190f9-e182-1c66-a517-fc3368d5b248", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -96,9 +96,9 @@ ] }, { - "identifier": "b0986273-a9c0-9bfc-a7e4-7324f777dfbe", + "identifier": "mit#b0986273-a9c0-9bfc-a7e4-7324f777dfbe", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -117,9 +117,9 @@ ] }, { - "identifier": "5af45262-306f-3814-a419-bcbdaadfae4d", + "identifier": "mit#5af45262-306f-3814-a419-bcbdaadfae4d", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -162,7 +162,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see-license_1.RULE", @@ -175,8 +175,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 2, - "rule_relevance": 100, - "matched_text": "See LICENSE.)" + "rule_relevance": 100 }, { "license_expression": "mit", @@ -188,8 +187,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 4, - "rule_relevance": 100, - "matched_text": "The MIT License (MIT)" + "rule_relevance": 100 }, { "license_expression": "mit", @@ -201,8 +199,35 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 161, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE." + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see-license_1.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see-license_1.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 }, { "license_expression": "mit", @@ -214,8 +239,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 2, - "rule_relevance": 100, - "matched_text": "mit\ncopyright:" + "rule_relevance": 100 }, { "license_expression": "mit", @@ -227,8 +251,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 2, - "rule_relevance": 100, - "matched_text": "license\": \"MIT\"," + "rule_relevance": 100 }, { "license_expression": "mit", @@ -240,8 +263,35 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License\n=======\n\n[MIT](LICENSE)." + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit_1187.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see-license_1.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 } ], "files": [ @@ -266,7 +316,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_26.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", + "matched_text": "The MIT License (MIT)" }, { "score": 100.0, @@ -277,15 +328,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE." } ] } ], "license_clues": [], "percentage_of_license_text": 95.38, - "for_licenses": [ - "a103b5a9-df52-531b-ca52-7c2967858cd9" + "for_license_detections": [ + "mit#a103b5a9-df52-531b-ca52-7c2967858cd9" ], "scan_errors": [] }, @@ -310,15 +362,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_31.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_31.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_31.RULE", + "matched_text": "License\n=======\n\n[MIT](LICENSE)." } ] } ], "license_clues": [], "percentage_of_license_text": 0.3, - "for_licenses": [ - "b0986273-a9c0-9bfc-a7e4-7324f777dfbe" + "for_license_detections": [ + "mit#b0986273-a9c0-9bfc-a7e4-7324f777dfbe" ], "scan_errors": [] }, @@ -343,7 +396,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see-license_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE", + "matched_text": "See LICENSE.)" }, { "score": 100.0, @@ -354,7 +408,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_26.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", + "matched_text": "The MIT License (MIT)" }, { "score": 100.0, @@ -365,15 +420,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE." } ] } ], "license_clues": [], "percentage_of_license_text": 0.83, - "for_licenses": [ - "e7257024-d126-956a-74bb-495572281351" + "for_license_detections": [ + "unknown_license_reference#e7257024-d126-956a-74bb-495572281351" ], "scan_errors": [] }, @@ -398,7 +454,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see-license_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE", + "matched_text": "See LICENSE.)" }, { "score": 100.0, @@ -409,7 +466,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_26.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", + "matched_text": "The MIT License (MIT)" }, { "score": 100.0, @@ -420,15 +478,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE." } ] } ], "license_clues": [], "percentage_of_license_text": 5.71, - "for_licenses": [ - "e7257024-d126-956a-74bb-495572281351" + "for_license_detections": [ + "unknown_license_reference#e7257024-d126-956a-74bb-495572281351" ], "scan_errors": [] }, @@ -453,7 +512,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see-license_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE", + "matched_text": "See LICENSE.)" }, { "score": 100.0, @@ -464,7 +524,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_26.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", + "matched_text": "The MIT License (MIT)" }, { "score": 100.0, @@ -475,15 +536,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE." } ] } ], "license_clues": [], "percentage_of_license_text": 1.14, - "for_licenses": [ - "e7257024-d126-956a-74bb-495572281351" + "for_license_detections": [ + "unknown_license_reference#e7257024-d126-956a-74bb-495572281351" ], "scan_errors": [] }, @@ -508,15 +570,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_1114.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1114.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1114.RULE", + "matched_text": "mit\ncopyright:" } ] } ], "license_clues": [], "percentage_of_license_text": 3.7, - "for_licenses": [ - "26a4c3aa-d426-9e04-08af-0c92585a1998" + "for_license_detections": [ + "mit#26a4c3aa-d426-9e04-08af-0c92585a1998" ], "scan_errors": [] }, @@ -541,15 +604,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", + "matched_text": "license\": \"MIT\"," } ] } ], "license_clues": [], "percentage_of_license_text": 2.67, - "for_licenses": [ - "a97190f9-e182-1c66-a517-fc3368d5b248" + "for_license_detections": [ + "mit#a97190f9-e182-1c66-a517-fc3368d5b248" ], "scan_errors": [] }, @@ -574,7 +638,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_1187.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1187.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1187.RULE", + "matched_text": "License: MIT. (See LICENSE.)" }, { "score": 100.0, @@ -585,7 +650,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_26.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", + "matched_text": "The MIT License (MIT)" }, { "score": 100.0, @@ -596,15 +662,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE." } ] } ], "license_clues": [], "percentage_of_license_text": 2.52, - "for_licenses": [ - "5af45262-306f-3814-a419-bcbdaadfae4d" + "for_license_detections": [ + "mit#5af45262-306f-3814-a419-bcbdaadfae4d" ], "scan_errors": [] }, @@ -616,7 +683,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "scan_errors": [] }, { @@ -640,7 +707,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see-license_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE", + "matched_text": "See LICENSE.)" }, { "score": 100.0, @@ -651,7 +719,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_26.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", + "matched_text": "The MIT License (MIT)" }, { "score": 100.0, @@ -662,15 +731,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE." } ] } ], "license_clues": [], "percentage_of_license_text": 4.65, - "for_licenses": [ - "e7257024-d126-956a-74bb-495572281351" + "for_license_detections": [ + "unknown_license_reference#e7257024-d126-956a-74bb-495572281351" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json b/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json index ecd5dfaa474..8a480d17497 100644 --- a/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json +++ b/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "c0668fcd-2d15-caa1-2e29-7df8daec68a5", + "identifier": "apache_1_0#c0668fcd-2d15-caa1-2e29-7df8daec68a5", "license_expression": "apache-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -40,7 +40,7 @@ "text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the\ndistribution.\n\n3. All advertising materials mentioning features or use of this\nsoftware must display the following acknowledgment:\n\"This product includes software developed by the Apache Group\nfor use in the Apache HTTP server project (http://www.apache.org/).\"\n\n4. The names \"Apache Server\" and \"Apache Group\" must not be used to\nendorse or promote products derived from this software without\nprior written permission. For written permission, please contact\napache@apache.org.\n\n5. Products derived from this software may not be called \"Apache\"\nnor may \"Apache\" appear in their names without prior written\npermission of the Apache Group.\n\n6. Redistributions of any form whatsoever must retain the following\nacknowledgment:\n\"This product includes software developed by the Apache Group\nfor use in the Apache HTTP server project (http://www.apache.org/).\"\n\nTHIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\nEXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\nITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\nSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\nOF THE POSSIBILITY OF SUCH DAMAGE.\n====================================================================\n\nThis software consists of voluntary contributions made by many\nindividuals on behalf of the Apache Group and was originally based\non public domain software written at the National Center for\nSupercomputing Applications, University of Illinois, Urbana-Champaign.\nFor more information on the Apache Group and the Apache HTTP server\nproject, please see ." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "apache-1.0", "rule_identifier": "apache-1.0.LICENSE", @@ -63,7 +63,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "scan_errors": [] }, { @@ -94,8 +94,8 @@ ], "license_clues": [], "percentage_of_license_text": 97.61, - "for_licenses": [ - "c0668fcd-2d15-caa1-2e29-7df8daec68a5" + "for_license_detections": [ + "apache_1_0#c0668fcd-2d15-caa1-2e29-7df8daec68a5" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/package/package.expected.json b/tests/licensedcode/data/plugin_license/package/package.expected.json index d15b5601a8a..cb78ec1db99 100644 --- a/tests/licensedcode/data/plugin_license/package/package.expected.json +++ b/tests/licensedcode/data/plugin_license/package/package.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "a56e6f7d-76c6-b3b6-1dfa-7667ccf44fcc", + "identifier": "mit#a56e6f7d-76c6-b3b6-1dfa-7667ccf44fcc", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "ef6d2c56-a637-62b0-4f8d-c66f8f2da55b", + "identifier": "mit#ef6d2c56-a637-62b0-4f8d-c66f8f2da55b", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,6 +43,56 @@ ] } ], + "license_references": [ + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "license_rule_references": [ + { + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit_272.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + } + ], "dependencies": [ { "purl": "pkg:npm/dicer", @@ -128,7 +178,8 @@ "matcher": "1-spdx-id", "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null + "rule_url": null, + "matched_text": "MIT" } ] } @@ -153,70 +204,6 @@ "purl": "pkg:npm/busboy@0.2.14" } ], - "license_references": [ - { - "key": "mit", - "short_name": "MIT License", - "name": "MIT License", - "category": "Permissive", - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "MIT", - "text_urls": [ - "http://opensource.org/licenses/mit-license.php" - ], - "osi_url": "http://www.opensource.org/licenses/MIT", - "faq_url": "https://ieeexplore.ieee.org/document/9263265", - "other_urls": [ - "https://opensource.com/article/18/3/patent-grant-mit-license", - "https://opensource.com/article/19/4/history-mit-license", - "https://opensource.org/licenses/MIT" - ], - "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." - } - ], - "rule_references": [ - { - "license_expression": "mit", - "rule_identifier": "spdx-license-identifier: mit", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "MIT" - }, - { - "license_expression": "mit", - "rule_identifier": "spdx-license-identifier: mit", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "MIT" - }, - { - "license_expression": "mit", - "rule_identifier": "mit_272.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - } - ], "files": [ { "path": "package.json", @@ -246,9 +233,9 @@ ], "license_clues": [], "percentage_of_license_text": 4.05, - "for_licenses": [ - "a56e6f7d-76c6-b3b6-1dfa-7667ccf44fcc", - "ef6d2c56-a637-62b0-4f8d-c66f8f2da55b" + "for_license_detections": [ + "mit#a56e6f7d-76c6-b3b6-1dfa-7667ccf44fcc", + "mit#ef6d2c56-a637-62b0-4f8d-c66f8f2da55b" ], "package_data": [ { @@ -305,7 +292,8 @@ "matcher": "1-spdx-id", "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null + "rule_url": null, + "matched_text": "MIT" } ] } diff --git a/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json b/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json index 8b71ebd6244..433fbc9c4bc 100644 --- a/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json +++ b/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "c356b4b4-d67f-a20e-2b27-6b846b248f17", + "identifier": "none#c356b4b4-d67f-a20e-2b27-6b846b248f17", "license_expression": null, - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "license-clues" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "7a8b2654-e2b3-da24-ce96-d08ca2d4d8c3", + "identifier": "gpl_2_0_and_patent_disclaimer#7a8b2654-e2b3-da24-ce96-d08ca2d4d8c3", "license_expression": "gpl-2.0 AND patent-disclaimer", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -90,7 +90,7 @@ "text": "" } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "lgpl-2.0-plus", "rule_identifier": "lgpl-2.0-plus_65.RULE", @@ -137,8 +137,8 @@ } ], "percentage_of_license_text": 22.73, - "for_licenses": [ - "c356b4b4-d67f-a20e-2b27-6b846b248f17" + "for_license_detections": [ + "none#c356b4b4-d67f-a20e-2b27-6b846b248f17" ], "scan_errors": [] }, @@ -170,8 +170,8 @@ ], "license_clues": [], "percentage_of_license_text": 95.36, - "for_licenses": [ - "7a8b2654-e2b3-da24-ce96-d08ca2d4d8c3" + "for_license_detections": [ + "gpl_2_0_and_patent_disclaimer#7a8b2654-e2b3-da24-ce96-d08ca2d4d8c3" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json b/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json index 98bd02a112a..32cd4dfd569 100644 --- a/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json +++ b/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "14099f19-eb98-27ed-cc72-38bbf5c0a1e7", + "identifier": "lgpl_2_1_plus_and_other_permissive_and_gpl_2_0_plus#14099f19-eb98-27ed-cc72-38bbf5c0a1e7", "license_expression": "lgpl-2.1-plus AND other-permissive AND gpl-2.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "b16770da-ae1c-5e72-d72a-ca61d8d81ae9", + "identifier": "gpl_1_0_plus#b16770da-ae1c-5e72-d72a-ca61d8d81ae9", "license_expression": "gpl-1.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "possible-false-positive", "not-license-clues-as-more-detections-present" @@ -44,9 +44,9 @@ ] }, { - "identifier": "c47094e3-d257-d183-2320-782b7720ff17", + "identifier": "lgpl_3_0_and_lgpl_3_0_plus_and__lgpl_3_0_and_gpl_3_0#c47094e3-d257-d183-2320-782b7720ff17", "license_expression": "lgpl-3.0 AND lgpl-3.0-plus AND (lgpl-3.0 AND gpl-3.0)", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -87,9 +87,9 @@ ] }, { - "identifier": "86d0b13f-7abd-19fb-ddb8-941d97380f00", + "identifier": "ijg_and_mit#86d0b13f-7abd-19fb-ddb8-941d97380f00", "license_expression": "ijg AND mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -130,9 +130,9 @@ ] }, { - "identifier": "aeb7da71-ec9e-bc5f-52f3-4e9299af7bb1", + "identifier": "gpl_1_0_plus#aeb7da71-ec9e-bc5f-52f3-4e9299af7bb1", "license_expression": "gpl-1.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -151,9 +151,9 @@ ] }, { - "identifier": "5f2ed903-ee9f-f370-5de1-07fbc6f1e0fd", + "identifier": "gpl_2_0_and_apache_2_0_and_lgpl_3_0_plus#5f2ed903-ee9f-f370-5de1-07fbc6f1e0fd", "license_expression": "gpl-2.0 AND apache-2.0 AND lgpl-3.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -194,9 +194,9 @@ ] }, { - "identifier": "a54d7281-05a0-24e4-ef42-199dd7d49606", + "identifier": "gpl_2_0_and_lgpl_2_0_plus_and_proprietary_license#a54d7281-05a0-24e4-ef42-199dd7d49606", "license_expression": "gpl-2.0 AND lgpl-2.0-plus AND proprietary-license", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -559,7 +559,7 @@ "text": "This component is normally licensed under a proprietary license agreement with\na supplier that has terms and conditions that restrict the use of the code,\nbut may not require payment to the supplier." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "lgpl-2.1-plus AND other-permissive AND gpl-2.0-plus", "rule_identifier": "lgpl-2.1-plus_and__other-permissive_and_gpl-2.0-plus_1.RULE", @@ -573,8 +573,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 110, - "rule_relevance": 100, - "matched_text": "Most files in FFmpeg are under the GNU Lesser General Public License version 2.1\nor later (LGPL v2.1+). Read the file COPYING.LGPLv2.1 for details. Some other\nfiles have MIT/X11/BSD-style licenses. In combination the LGPL v2.1+ applies to\nFFmpeg.\n\nSome optional parts of FFmpeg are licensed under the GNU General Public License\nversion 2 or later (GPL v2+). See the file COPYING.GPLv2 for details. None of\nthese parts are used by default, you have to explicitly pass --enable-gpl to\nconfigure to activate them. In this case, FFmpeg's license changes to GPL v2+.\n\nSpecifically, the GPL parts of FFmpeg are:" + "rule_relevance": 100 }, { "license_expression": "gpl-1.0-plus", @@ -586,8 +585,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 1, - "rule_relevance": 50, - "matched_text": " libavcodec/x86/flac_dsp_gpl.asm" + "rule_relevance": 50 }, { "license_expression": "lgpl-3.0", @@ -599,8 +597,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 6, - "rule_relevance": 100, - "matched_text": "Should you, for whatever reason, prefer to use version 3 of the (L)GPL, then" + "rule_relevance": 100 }, { "license_expression": "lgpl-3.0-plus", @@ -612,8 +609,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 2, - "rule_relevance": 99, - "matched_text": "the configure parameter --enable-version3 will activate this licensing option" + "rule_relevance": 99 }, { "license_expression": "lgpl-3.0 AND gpl-3.0", @@ -628,8 +624,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 25, - "rule_relevance": 100, - "matched_text": "for you. Read the file COPYING.LGPLv3 or, if you have enabled GPL parts,\nCOPYING.GPLv3 to learn the exact legal terms that apply in this case." + "rule_relevance": 100 }, { "license_expression": "unknown-license-reference", @@ -641,8 +636,7 @@ "is_license_tag": false, "is_license_intro": true, "rule_length": 4, - "rule_relevance": 100, - "matched_text": "There are a handful of files under other licensing terms, namely:" + "rule_relevance": 100 }, { "license_expression": "ijg", @@ -654,8 +648,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 12, - "rule_relevance": 100, - "matched_text": " libavcodec/jrevdct.c are taken from libjpeg, see the top of the files for\n licensing details. Specifically note that you must credit the IJG in the" + "rule_relevance": 100 }, { "license_expression": "mit", @@ -667,8 +660,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 5, - "rule_relevance": 100, - "matched_text": " tests/reference.pnm is under the expat license" + "rule_relevance": 100 }, { "license_expression": "gpl-1.0-plus", @@ -680,8 +672,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 2, - "rule_relevance": 90, - "matched_text": "The following libraries are under GPL:" + "rule_relevance": 90 }, { "license_expression": "gpl-2.0", @@ -693,8 +684,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 20, - "rule_relevance": 100, - "matched_text": "When combining them with FFmpeg, FFmpeg needs to be licensed as GPL as well by\npassing --enable-gpl to configure." + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -706,8 +696,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 8, - "rule_relevance": 100, - "matched_text": "The OpenCORE and VisualOn libraries are under the Apache License 2.0. That" + "rule_relevance": 100 }, { "license_expression": "lgpl-3.0-plus", @@ -719,8 +708,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 2, - "rule_relevance": 99, - "matched_text": "license version needs to be upgraded by passing --enable-version3 to configure." + "rule_relevance": 99 }, { "license_expression": "gpl-2.0", @@ -732,8 +720,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 1, - "rule_relevance": 100, - "matched_text": "are incompatible with the GPLv2 and v3. We do not know for certain if their" + "rule_relevance": 100 }, { "license_expression": "lgpl-2.0-plus", @@ -745,8 +732,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 1, - "rule_relevance": 75, - "matched_text": "licenses are compatible with the LGPL." + "rule_relevance": 75 }, { "license_expression": "proprietary-license", @@ -758,8 +744,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 2, - "rule_relevance": 100, - "matched_text": "If you wish to enable these libraries, pass --enable-nonfree to configure." + "rule_relevance": 100 }, { "license_expression": "lgpl-2.0-plus", @@ -771,8 +756,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 1, - "rule_relevance": 75, - "matched_text": "be under a complex license mix that is more restrictive than the LGPL and that" + "rule_relevance": 75 } ], "files": [ @@ -797,7 +781,8 @@ "matcher": "3-seq", "license_expression": "lgpl-2.1-plus AND other-permissive AND gpl-2.0-plus", "rule_identifier": "lgpl-2.1-plus_and__other-permissive_and_gpl-2.0-plus_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_and__other-permissive_and_gpl-2.0-plus_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_and__other-permissive_and_gpl-2.0-plus_1.RULE", + "matched_text": "Most files in FFmpeg are under the GNU Lesser General Public License version 2.1\nor later (LGPL v2.1+). Read the file COPYING.LGPLv2.1 for details. Some other\nfiles have MIT/X11/BSD-style licenses. In combination the LGPL v2.1+ applies to\nFFmpeg.\n\nSome optional parts of FFmpeg are licensed under the GNU General Public License\nversion 2 or later (GPL v2+). See the file COPYING.GPLv2 for details. None of\nthese parts are used by default, you have to explicitly pass --enable-gpl to\nconfigure to activate them. In this case, FFmpeg's license changes to GPL v2+.\n\nSpecifically, the GPL parts of FFmpeg are:" } ] }, @@ -817,7 +802,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_word_only.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE", + "matched_text": " libavcodec/x86/flac_dsp_gpl.asm" } ] }, @@ -836,7 +822,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_134.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_134.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_134.RULE", + "matched_text": "Should you, for whatever reason, prefer to use version 3 of the (L)GPL, then" }, { "score": 99.0, @@ -847,7 +834,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_130.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_130.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_130.RULE", + "matched_text": "the configure parameter --enable-version3 will activate this licensing option" }, { "score": 100.0, @@ -858,7 +846,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0 AND gpl-3.0", "rule_identifier": "lgpl-3.0_and_gpl-3.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_and_gpl-3.0_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_and_gpl-3.0_2.RULE", + "matched_text": "for you. Read the file COPYING.LGPLv3 or, if you have enabled GPL parts,\nCOPYING.GPLv3 to learn the exact legal terms that apply in this case." } ] }, @@ -877,7 +866,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_235.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_235.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_235.RULE", + "matched_text": "There are a handful of files under other licensing terms, namely:" }, { "score": 100.0, @@ -888,7 +878,8 @@ "matcher": "2-aho", "license_expression": "ijg", "rule_identifier": "ijg_28.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/ijg_28.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/ijg_28.RULE", + "matched_text": " libavcodec/jrevdct.c are taken from libjpeg, see the top of the files for\n licensing details. Specifically note that you must credit the IJG in the" }, { "score": 100.0, @@ -899,7 +890,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_576.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_576.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_576.RULE", + "matched_text": " tests/reference.pnm is under the expat license" } ] }, @@ -918,7 +910,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_70.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_70.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_70.RULE", + "matched_text": "The following libraries are under GPL:" } ] }, @@ -937,7 +930,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_870.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_870.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_870.RULE", + "matched_text": "When combining them with FFmpeg, FFmpeg needs to be licensed as GPL as well by\npassing --enable-gpl to configure." }, { "score": 100.0, @@ -948,7 +942,8 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_411.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_411.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_411.RULE", + "matched_text": "The OpenCORE and VisualOn libraries are under the Apache License 2.0. That" }, { "score": 99.0, @@ -959,7 +954,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_130.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_130.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_130.RULE", + "matched_text": "license version needs to be upgraded by passing --enable-version3 to configure." } ] }, @@ -978,7 +974,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", + "matched_text": "are incompatible with the GPLv2 and v3. We do not know for certain if their" }, { "score": 75.0, @@ -989,7 +986,8 @@ "matcher": "2-aho", "license_expression": "lgpl-2.0-plus", "rule_identifier": "lgpl_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl_bare_single_word.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl_bare_single_word.RULE", + "matched_text": "licenses are compatible with the LGPL." }, { "score": 100.0, @@ -1000,7 +998,8 @@ "matcher": "2-aho", "license_expression": "proprietary-license", "rule_identifier": "proprietary-license_490.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/proprietary-license_490.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/proprietary-license_490.RULE", + "matched_text": "If you wish to enable these libraries, pass --enable-nonfree to configure." }, { "score": 75.0, @@ -1011,21 +1010,22 @@ "matcher": "2-aho", "license_expression": "lgpl-2.0-plus", "rule_identifier": "lgpl_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl_bare_single_word.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl_bare_single_word.RULE", + "matched_text": "be under a complex license mix that is more restrictive than the LGPL and that" } ] } ], "license_clues": [], "percentage_of_license_text": 34.96, - "for_licenses": [ - "14099f19-eb98-27ed-cc72-38bbf5c0a1e7", - "b16770da-ae1c-5e72-d72a-ca61d8d81ae9", - "c47094e3-d257-d183-2320-782b7720ff17", - "86d0b13f-7abd-19fb-ddb8-941d97380f00", - "aeb7da71-ec9e-bc5f-52f3-4e9299af7bb1", - "5f2ed903-ee9f-f370-5de1-07fbc6f1e0fd", - "a54d7281-05a0-24e4-ef42-199dd7d49606" + "for_license_detections": [ + "lgpl_2_1_plus_and_other_permissive_and_gpl_2_0_plus#14099f19-eb98-27ed-cc72-38bbf5c0a1e7", + "gpl_1_0_plus#b16770da-ae1c-5e72-d72a-ca61d8d81ae9", + "lgpl_3_0_and_lgpl_3_0_plus_and__lgpl_3_0_and_gpl_3_0#c47094e3-d257-d183-2320-782b7720ff17", + "ijg_and_mit#86d0b13f-7abd-19fb-ddb8-941d97380f00", + "gpl_1_0_plus#aeb7da71-ec9e-bc5f-52f3-4e9299af7bb1", + "gpl_2_0_and_apache_2_0_and_lgpl_3_0_plus#5f2ed903-ee9f-f370-5de1-07fbc6f1e0fd", + "gpl_2_0_and_lgpl_2_0_plus_and_proprietary_license#a54d7281-05a0-24e4-ef42-199dd7d49606" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json index b8426bb11bd..4c97471c528 100644 --- a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json +++ b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "d56f762b-a283-5361-23c4-d3935b7e9c75", + "identifier": "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", "license_expression": "blessing", - "occurance_count": 136, + "occurrence_count": 136, "detection_log": [ "not-combined" ], @@ -39,7 +39,7 @@ "text": "The author disclaims copyright to this source code.\nIn place of a legal notice, here is a blessing:\nMay you do good and not evil.\nMay you find forgiveness for yourself and forgive others.\nMay you share freely, never taking more than you give." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", @@ -50,8 +50,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -63,8 +62,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -76,8 +74,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -89,8 +86,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -102,8 +98,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -115,8 +110,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -128,8 +122,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -141,8 +134,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -154,8 +146,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -167,8 +158,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -180,8 +170,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -193,8 +182,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -206,8 +194,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -219,8 +206,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -232,8 +218,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -245,8 +230,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -258,8 +242,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -271,8 +254,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -284,8 +266,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -297,8 +278,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -310,8 +290,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -323,8 +302,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -336,8 +314,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -349,8 +326,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -362,8 +338,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -375,8 +350,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -388,8 +362,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -401,8 +374,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -414,8 +386,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -427,8 +398,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -440,8 +410,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -453,8 +422,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -466,8 +434,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -479,8 +446,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -492,8 +458,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -505,8 +470,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -518,8 +482,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -531,8 +494,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -544,8 +506,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -557,8 +518,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -570,8 +530,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -583,8 +542,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -596,8 +554,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -609,8 +566,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -622,8 +578,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -635,8 +590,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -648,8 +602,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -661,8 +614,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -674,8 +626,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -687,8 +638,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -700,8 +650,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -713,8 +662,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -726,8 +674,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -739,8 +686,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -752,8 +698,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -765,8 +710,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -778,8 +722,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -791,8 +734,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -804,8 +746,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -817,8 +758,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -830,8 +770,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -843,8 +782,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -856,8 +794,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -869,8 +806,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -882,8 +818,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -895,8 +830,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -908,8 +842,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -921,8 +854,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -934,8 +866,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -947,8 +878,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -960,8 +890,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -973,8 +902,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -986,8 +914,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -999,8 +926,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1012,8 +938,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1025,8 +950,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1038,8 +962,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1051,8 +974,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1064,8 +986,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1077,8 +998,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1090,8 +1010,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1103,8 +1022,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1116,8 +1034,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1129,8 +1046,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1142,8 +1058,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1155,8 +1070,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1168,8 +1082,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1181,8 +1094,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1194,8 +1106,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1207,8 +1118,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1220,8 +1130,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1233,8 +1142,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1246,8 +1154,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1259,8 +1166,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1272,8 +1178,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1285,8 +1190,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1298,8 +1202,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1311,8 +1214,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1324,8 +1226,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1337,8 +1238,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1350,8 +1250,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1363,8 +1262,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1376,8 +1274,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1389,8 +1286,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1402,8 +1298,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1415,8 +1310,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1428,8 +1322,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1441,8 +1334,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1454,8 +1346,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1467,8 +1358,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1480,8 +1370,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1493,8 +1382,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1506,8 +1394,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1519,8 +1406,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1532,8 +1418,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1545,8 +1430,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1558,8 +1442,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1571,8 +1454,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1584,8 +1466,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1597,8 +1478,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1610,8 +1490,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1623,8 +1502,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1636,8 +1514,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1649,8 +1526,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1662,8 +1538,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1675,8 +1550,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1688,8 +1562,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1701,8 +1574,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1714,8 +1586,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1727,8 +1598,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1740,8 +1610,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1753,8 +1622,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1766,8 +1634,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1779,8 +1646,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1792,8 +1658,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 }, { "license_expression": "blessing", @@ -1805,8 +1670,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 42, - "rule_relevance": 100, - "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." + "rule_relevance": 100 } ], "files": [ @@ -1818,7 +1682,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "scan_errors": [] }, { @@ -1842,7 +1706,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -1861,7 +1726,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -1880,7 +1746,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -1899,7 +1766,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -1918,7 +1786,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -1937,7 +1806,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -1956,7 +1826,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -1975,7 +1846,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -1994,7 +1866,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2013,7 +1886,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2032,7 +1906,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2051,7 +1926,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2070,7 +1946,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2089,7 +1966,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2108,7 +1986,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2127,7 +2006,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2146,7 +2026,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2165,7 +2046,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2184,7 +2066,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2203,7 +2086,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2222,7 +2106,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2241,7 +2126,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2260,7 +2146,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2279,7 +2166,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2298,7 +2186,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2317,7 +2206,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2336,7 +2226,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2355,7 +2246,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2374,7 +2266,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2393,7 +2286,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2412,7 +2306,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2431,7 +2326,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2450,7 +2346,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2469,7 +2366,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2488,7 +2386,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2507,7 +2406,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2526,7 +2426,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2545,7 +2446,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2564,7 +2466,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2583,7 +2486,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2602,7 +2506,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2621,7 +2526,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2640,7 +2546,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2659,7 +2566,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2678,7 +2586,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2697,7 +2606,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2716,7 +2626,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2735,7 +2646,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2754,7 +2666,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2773,7 +2686,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2792,7 +2706,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2811,7 +2726,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2830,7 +2746,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2849,7 +2766,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2868,7 +2786,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2887,7 +2806,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2906,7 +2826,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2925,7 +2846,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2944,7 +2866,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2963,7 +2886,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -2982,7 +2906,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3001,7 +2926,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3020,7 +2946,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3039,7 +2966,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3058,7 +2986,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3077,7 +3006,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3096,7 +3026,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3115,7 +3046,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3134,7 +3066,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3153,7 +3086,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3172,7 +3106,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3191,7 +3126,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3210,7 +3146,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3229,7 +3166,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3248,7 +3186,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3267,7 +3206,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3286,7 +3226,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3305,7 +3246,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3324,7 +3266,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3343,7 +3286,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3362,7 +3306,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3381,7 +3326,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3400,7 +3346,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3419,7 +3366,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3438,7 +3386,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3457,7 +3406,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3476,7 +3426,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3495,7 +3446,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3514,7 +3466,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3533,7 +3486,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3552,7 +3506,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3571,7 +3526,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3590,7 +3546,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3609,7 +3566,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3628,7 +3586,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3647,7 +3606,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3666,7 +3626,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3685,7 +3646,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3704,7 +3666,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3723,7 +3686,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3742,7 +3706,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3761,7 +3726,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3780,7 +3746,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3799,7 +3766,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3818,7 +3786,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3837,7 +3806,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3856,7 +3826,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3875,7 +3846,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3894,7 +3866,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3913,7 +3886,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3932,7 +3906,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3951,7 +3926,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3970,7 +3946,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -3989,7 +3966,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4008,7 +3986,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4027,7 +4006,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4046,7 +4026,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4065,7 +4046,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4084,7 +4066,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4103,7 +4086,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4122,7 +4106,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4141,7 +4126,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4160,7 +4146,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4179,7 +4166,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4198,7 +4186,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4217,7 +4206,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4236,7 +4226,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4255,7 +4246,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4274,7 +4266,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4293,7 +4286,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4312,7 +4306,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4331,7 +4326,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4350,7 +4346,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4369,7 +4366,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4388,7 +4386,8 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] }, @@ -4407,150 +4406,151 @@ "matcher": "2-aho", "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", + "matched_text": "** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give." } ] } ], "license_clues": [], "percentage_of_license_text": 36.67, - "for_licenses": [ - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75", - "d56f762b-a283-5361-23c4-d3935b7e9c75" + "for_license_detections": [ + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json b/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json index 9616da07560..4aaab4f116f 100644 --- a/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json +++ b/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "041f32d1-6cb1-f9fa-a580-14f3958007f0", + "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "6dc1f0cf-64b7-5ad7-e5a7-e5ccd044d866", + "identifier": "fsf_ap#6dc1f0cf-64b7-5ad7-e5a7-e5ccd044d866", "license_expression": "fsf-ap", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -133,7 +133,7 @@ "text": "NOTE! This copyright does *not* cover user programs that use kernel\nservices by normal system calls - this is merely considered normal use\nof the kernel, and does *not* fall under the heading of \"derived work\".\nAlso note that the GPL below is copyrighted by the Free Software\nFoundation, but the instance of code that it refers to (the Linux\nkernel) is copyrighted by me and others who actually wrote it.\n\nAlso note that the only valid version of the GPL as far as the kernel\nis concerned is _this_ particular version of the license (ie v2, not\nv2.2 or v3.x or whatever), unless explicitly otherwise stated.\n\nLinus Torvalds" } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", @@ -144,8 +144,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 13, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" + "rule_relevance": 100 }, { "license_expression": "fsf-ap", @@ -157,8 +156,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 35, - "rule_relevance": 100, - "matched_text": "and distribution of this file, with or without modification, are\npermitted in any medium without [royalties] provided the copyright notice\nand this notice are preserved. This file is offered as-is, without any" + "rule_relevance": 100 } ], "files": [ @@ -183,15 +181,16 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null + "rule_url": null, + "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "041f32d1-6cb1-f9fa-a580-14f3958007f0" + "for_license_detections": [ + "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0" ], "scan_errors": [] }, @@ -216,15 +215,16 @@ "matcher": "3-seq", "license_expression": "fsf-ap", "rule_identifier": "fsf-ap.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE", + "matched_text": "and distribution of this file, with or without modification, are\npermitted in any medium without [royalties] provided the copyright notice\nand this notice are preserved. This file is offered as-is, without any" } ] } ], "license_clues": [], "percentage_of_license_text": 91.43, - "for_licenses": [ - "6dc1f0cf-64b7-5ad7-e5a7-e5ccd044d866" + "for_license_detections": [ + "fsf_ap#6dc1f0cf-64b7-5ad7-e5a7-e5ccd044d866" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/text/scan.expected.json b/tests/licensedcode/data/plugin_license/text/scan.expected.json index cf5aaa6ad12..03c08892984 100644 --- a/tests/licensedcode/data/plugin_license/text/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/text/scan.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "041f32d1-6cb1-f9fa-a580-14f3958007f0", + "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "2bbf00d0-20d9-2d91-6cb6-8f28a4670a5d", + "identifier": "fsf_ap#2bbf00d0-20d9-2d91-6cb6-8f28a4670a5d", "license_expression": "fsf-ap", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -133,7 +133,7 @@ "text": "NOTE! This copyright does *not* cover user programs that use kernel\nservices by normal system calls - this is merely considered normal use\nof the kernel, and does *not* fall under the heading of \"derived work\".\nAlso note that the GPL below is copyrighted by the Free Software\nFoundation, but the instance of code that it refers to (the Linux\nkernel) is copyrighted by me and others who actually wrote it.\n\nAlso note that the only valid version of the GPL as far as the kernel\nis concerned is _this_ particular version of the license (ie v2, not\nv2.2 or v3.x or whatever), unless explicitly otherwise stated.\n\nLinus Torvalds" } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", @@ -144,8 +144,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 13, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" + "rule_relevance": 100 }, { "license_expression": "fsf-ap", @@ -157,8 +156,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 35, - "rule_relevance": 100, - "matched_text": "Reproduction and distribution of this file, with or without modification, are\npermitted in any medium without royalties provided the copyright notice\nand this notice are preserved. This file is offered as-is, without any warranties." + "rule_relevance": 100 } ], "files": [ @@ -183,15 +181,16 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null + "rule_url": null, + "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "041f32d1-6cb1-f9fa-a580-14f3958007f0" + "for_license_detections": [ + "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0" ], "scan_errors": [] }, @@ -216,15 +215,16 @@ "matcher": "3-seq", "license_expression": "fsf-ap", "rule_identifier": "fsf-ap.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE", + "matched_text": "Reproduction and distribution of this file, with or without modification, are\npermitted in any medium without royalties provided the copyright notice\nand this notice are preserved. This file is offered as-is, without any warranties." } ] } ], "license_clues": [], "percentage_of_license_text": 91.43, - "for_licenses": [ - "2bbf00d0-20d9-2d91-6cb6-8f28a4670a5d" + "for_license_detections": [ + "fsf_ap#2bbf00d0-20d9-2d91-6cb6-8f28a4670a5d" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json b/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json index 241ffa65385..bed3333bf2d 100644 --- a/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json +++ b/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "041f32d1-6cb1-f9fa-a580-14f3958007f0", + "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "df43f663-8e79-9294-efa7-e4438c80cfbd", + "identifier": "unlicense#df43f663-8e79-9294-efa7-e4438c80cfbd", "license_expression": "unlicense", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -130,7 +130,7 @@ "text": "This is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or\ndistribute this software, either in source code form or as a compiled\nbinary, for any purpose, commercial or non-commercial, and by any\nmeans.\n\nIn jurisdictions that recognize copyright laws, the author or authors\nof this software dedicate any and all copyright interest in the\nsoftware to the public domain. We make this dedication for the benefit\nof the public at large and to the detriment of our heirs and\nsuccessors. We intend this dedication to be an overt act of\nrelinquishment in perpetuity of all present and future rights to this\nsoftware under copyright law.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\nOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\nFor more information, please refer to " } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", @@ -141,8 +141,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 13, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" + "rule_relevance": 100 }, { "license_expression": "unlicense", @@ -154,8 +153,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 198, - "rule_relevance": 100, - "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 \\\"\nAS 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. * * For more information, please refer to * */ /*" + "rule_relevance": 100 } ], "files": [ @@ -180,15 +178,16 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null + "rule_url": null, + "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "041f32d1-6cb1-f9fa-a580-14f3958007f0" + "for_license_detections": [ + "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0" ], "scan_errors": [] }, @@ -213,15 +212,16 @@ "matcher": "2-aho", "license_expression": "unlicense", "rule_identifier": "unlicense.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE", + "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 \\\"\nAS 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. * * For more information, please refer to * */ /*" } ] } ], "license_clues": [], "percentage_of_license_text": 5.25, - "for_licenses": [ - "df43f663-8e79-9294-efa7-e4438c80cfbd" + "for_license_detections": [ + "unlicense#df43f663-8e79-9294-efa7-e4438c80cfbd" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json b/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json index 241ffa65385..bed3333bf2d 100644 --- a/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "041f32d1-6cb1-f9fa-a580-14f3958007f0", + "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "df43f663-8e79-9294-efa7-e4438c80cfbd", + "identifier": "unlicense#df43f663-8e79-9294-efa7-e4438c80cfbd", "license_expression": "unlicense", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -130,7 +130,7 @@ "text": "This is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or\ndistribute this software, either in source code form or as a compiled\nbinary, for any purpose, commercial or non-commercial, and by any\nmeans.\n\nIn jurisdictions that recognize copyright laws, the author or authors\nof this software dedicate any and all copyright interest in the\nsoftware to the public domain. We make this dedication for the benefit\nof the public at large and to the detriment of our heirs and\nsuccessors. We intend this dedication to be an overt act of\nrelinquishment in perpetuity of all present and future rights to this\nsoftware under copyright law.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\nOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\nFor more information, please refer to " } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", @@ -141,8 +141,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 13, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" + "rule_relevance": 100 }, { "license_expression": "unlicense", @@ -154,8 +153,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 198, - "rule_relevance": 100, - "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 \\\"\nAS 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. * * For more information, please refer to * */ /*" + "rule_relevance": 100 } ], "files": [ @@ -180,15 +178,16 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null + "rule_url": null, + "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "041f32d1-6cb1-f9fa-a580-14f3958007f0" + "for_license_detections": [ + "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0" ], "scan_errors": [] }, @@ -213,15 +212,16 @@ "matcher": "2-aho", "license_expression": "unlicense", "rule_identifier": "unlicense.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE", + "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 \\\"\nAS 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. * * For more information, please refer to * */ /*" } ] } ], "license_clues": [], "percentage_of_license_text": 5.25, - "for_licenses": [ - "df43f663-8e79-9294-efa7-e4438c80cfbd" + "for_license_detections": [ + "unlicense#df43f663-8e79-9294-efa7-e4438c80cfbd" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json index 48327cd45f6..b28e141a5cf 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "04db1ff4-743d-5e4b-c651-babe28ddd938", + "identifier": "wtfpl_2_0_and_mit#04db1ff4-743d-5e4b-c651-babe28ddd938", "license_expression": "wtfpl-2.0 AND mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -97,7 +97,7 @@ "text": "DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\nVersion 2, December 2004\n\nCopyright (C) 2004 Sam Hocevar\n14 rue de Plaisance, 75014 Paris, France\nEveryone is permitted to copy and distribute verbatim or modified\ncopies of this license document, and changing it is allowed as long\nas the name is changed.\n\nDO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. You just DO WHAT THE FUCK YOU WANT TO." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "unknown-license-reference", "rule_identifier": "lead-in_unknown_30.RULE", @@ -108,8 +108,7 @@ "is_license_tag": false, "is_license_intro": true, "rule_length": 3, - "rule_relevance": 100, - "matched_text": "dual-licensed under [`" + "rule_relevance": 100 }, { "license_expression": "wtfpl-2.0", @@ -121,8 +120,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 1, - "rule_relevance": 50, - "matched_text": "WTFPL`](" + "rule_relevance": 50 }, { "license_expression": "wtfpl-2.0", @@ -134,8 +132,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 3, - "rule_relevance": 100, - "matched_text": "www.wtfpl.net/" + "rule_relevance": 100 }, { "license_expression": "mit", @@ -147,8 +144,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 6, - "rule_relevance": 100, - "matched_text": "MIT`](https://opensource.org/licenses/MIT)." + "rule_relevance": 100 } ], "files": [ @@ -173,7 +169,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "lead-in_unknown_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lead-in_unknown_30.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lead-in_unknown_30.RULE", + "matched_text": "dual-licensed under [`" }, { "score": 50.0, @@ -184,7 +181,8 @@ "matcher": "2-aho", "license_expression": "wtfpl-2.0", "rule_identifier": "spdx_license_id_wtfpl_for_wtfpl-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_wtfpl_for_wtfpl-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_wtfpl_for_wtfpl-2.0.RULE", + "matched_text": "WTFPL`](" }, { "score": 100.0, @@ -195,7 +193,8 @@ "matcher": "2-aho", "license_expression": "wtfpl-2.0", "rule_identifier": "wtfpl-2.0_27.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/wtfpl-2.0_27.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/wtfpl-2.0_27.RULE", + "matched_text": "www.wtfpl.net/" }, { "score": 100.0, @@ -206,15 +205,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_64.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_64.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_64.RULE", + "matched_text": "MIT`](https://opensource.org/licenses/MIT)." } ] } ], "license_clues": [], "percentage_of_license_text": 8.18, - "for_licenses": [ - "04db1ff4-743d-5e4b-c651-babe28ddd938" + "for_license_detections": [ + "wtfpl_2_0_and_mit#04db1ff4-743d-5e4b-c651-babe28ddd938" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json index d5b07f282c2..5a8d9ce373b 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "1867eafe-a258-cbb4-408f-2bd33d02ee23", + "identifier": "epl_1_0#1867eafe-a258-cbb4-408f-2bd33d02ee23", "license_expression": "epl-1.0", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -33,9 +33,9 @@ ] }, { - "identifier": "b414489c-d2f7-2207-9e37-ea197f00d317", + "identifier": "apache_2_0#b414489c-d2f7-2207-9e37-ea197f00d317", "license_expression": "apache-2.0", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -54,9 +54,9 @@ ] }, { - "identifier": "53c14ef2-2b41-3f63-1dbb-e3a1efbd1e8d", + "identifier": "apache_2_0#53c14ef2-2b41-3f63-1dbb-e3a1efbd1e8d", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -119,9 +119,9 @@ ] }, { - "identifier": "b109c41b-dc8b-5301-5c83-09b7b64f5059", + "identifier": "apache_2_0#b109c41b-dc8b-5301-5c83-09b7b64f5059", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -184,9 +184,9 @@ ] }, { - "identifier": "85fd4f2f-af55-4aed-03d9-86d8c06bef05", + "identifier": "apache_2_0#85fd4f2f-af55-4aed-03d9-86d8c06bef05", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -238,9 +238,9 @@ ] }, { - "identifier": "185ee88a-b361-c631-330a-31ef36f48039", + "identifier": "apache_2_0#185ee88a-b361-c631-330a-31ef36f48039", "license_expression": "apache-2.0", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -270,9 +270,9 @@ ] }, { - "identifier": "f1d35b57-fc37-e01b-67c0-ff901ec607b2", + "identifier": "epl_2_0_or_apache_2_0__and_apache_2_0_and_epl_2_0#f1d35b57-fc37-e01b-67c0-ff901ec607b2", "license_expression": "(epl-2.0 OR apache-2.0) AND apache-2.0 AND epl-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -324,9 +324,9 @@ ] }, { - "identifier": "7e99df1e-faa6-aea3-5280-d3a36ed87c16", + "identifier": "epl_1_0#7e99df1e-faa6-aea3-5280-d3a36ed87c16", "license_expression": "epl-1.0", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -356,9 +356,9 @@ ] }, { - "identifier": "5502d99b-f332-cf59-5e87-59714bf42486", + "identifier": "cpl_1_0#5502d99b-f332-cf59-5e87-59714bf42486", "license_expression": "cpl-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -399,9 +399,9 @@ ] }, { - "identifier": "f76d24d8-c42a-51a2-5be0-b1bee6618afc", + "identifier": "bsd_new#f76d24d8-c42a-51a2-5be0-b1bee6618afc", "license_expression": "bsd-new", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -453,9 +453,9 @@ ] }, { - "identifier": "fe8a2ed4-ca73-5e9c-1a4c-974a245a78b2", + "identifier": "bsd_new#fe8a2ed4-ca73-5e9c-1a4c-974a245a78b2", "license_expression": "bsd-new", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -474,9 +474,9 @@ ] }, { - "identifier": "f0e5933e-cc7c-4c33-eb43-c0d66389bf17", + "identifier": "cpl_1_0#f0e5933e-cc7c-4c33-eb43-c0d66389bf17", "license_expression": "cpl-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -648,7 +648,7 @@ "text": "Eclipse Public License - v 2.0\n\nTHE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE\nPUBLIC LICENSE (\"AGREEMENT\"). ANY USE, REPRODUCTION OR DISTRIBUTION\nOF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.\n\n1. DEFINITIONS\n\n\"Contribution\" means:\n\na) in the case of the initial Contributor, the initial content\nDistributed under this Agreement, and\n\nb) in the case of each subsequent Contributor:\ni) changes to the Program, and\nii) additions to the Program;\nwhere such changes and/or additions to the Program originate from\nand are Distributed by that particular Contributor. A Contribution\n\"originates\" from a Contributor if it was added to the Program by\nsuch Contributor itself or anyone acting on such Contributor's behalf.\nContributions do not include changes or additions to the Program that\nare not Modified Works.\n\n\"Contributor\" means any person or entity that Distributes the Program.\n\n\"Licensed Patents\" mean patent claims licensable by a Contributor which\nare necessarily infringed by the use or sale of its Contribution alone\nor when combined with the Program.\n\n\"Program\" means the Contributions Distributed in accordance with this\nAgreement.\n\n\"Recipient\" means anyone who receives the Program under this Agreement\nor any Secondary License (as applicable), including Contributors.\n\n\"Derivative Works\" shall mean any work, whether in Source Code or other\nform, that is based on (or derived from) the Program and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship.\n\n\"Modified Works\" shall mean any work in Source Code or other form that\nresults from an addition to, deletion from, or modification of the\ncontents of the Program, including, for purposes of clarity any new file\nin Source Code form that contains any contents of the Program. Modified\nWorks shall not include works that contain only declarations,\ninterfaces, types, classes, structures, or files of the Program solely\nin each case in order to link to, bind by name, or subclass the Program\nor Modified Works thereof.\n\n\"Distribute\" means the acts of a) distributing or b) making available\nin any manner that enables the transfer of a copy.\n\n\"Source Code\" means the form of a Program preferred for making\nmodifications, including but not limited to software source code,\ndocumentation source, and configuration files.\n\n\"Secondary License\" means either the GNU General Public License,\nVersion 2.0, or any later versions of that license, including any\nexceptions or additional permissions as identified by the initial\nContributor.\n\n2. GRANT OF RIGHTS\n\na) Subject to the terms of this Agreement, each Contributor hereby\ngrants Recipient a non-exclusive, worldwide, royalty-free copyright\nlicense to reproduce, prepare Derivative Works of, publicly display,\npublicly perform, Distribute and sublicense the Contribution of such\nContributor, if any, and such Derivative Works.\n\nb) Subject to the terms of this Agreement, each Contributor hereby\ngrants Recipient a non-exclusive, worldwide, royalty-free patent\nlicense under Licensed Patents to make, use, sell, offer to sell,\nimport and otherwise transfer the Contribution of such Contributor,\nif any, in Source Code or other form. This patent license shall\napply to the combination of the Contribution and the Program if, at\nthe time the Contribution is added by the Contributor, such addition\nof the Contribution causes such combination to be covered by the\nLicensed Patents. The patent license shall not apply to any other\ncombinations which include the Contribution. No hardware per se is\nlicensed hereunder.\n\nc) Recipient understands that although each Contributor grants the\nlicenses to its Contributions set forth herein, no assurances are\nprovided by any Contributor that the Program does not infringe the\npatent or other intellectual property rights of any other entity.\nEach Contributor disclaims any liability to Recipient for claims\nbrought by any other entity based on infringement of intellectual\nproperty rights or otherwise. As a condition to exercising the\nrights and licenses granted hereunder, each Recipient hereby\nassumes sole responsibility to secure any other intellectual\nproperty rights needed, if any. For example, if a third party\npatent license is required to allow Recipient to Distribute the\nProgram, it is Recipient's responsibility to acquire that license\nbefore distributing the Program.\n\nd) Each Contributor represents that to its knowledge it has\nsufficient copyright rights in its Contribution, if any, to grant\nthe copyright license set forth in this Agreement.\n\ne) Notwithstanding the terms of any Secondary License, no\nContributor makes additional grants to any Recipient (other than\nthose set forth in this Agreement) as a result of such Recipient's\nreceipt of the Program under the terms of a Secondary License\n(if permitted under the terms of Section 3).\n\n3. REQUIREMENTS\n\n3.1 If a Contributor Distributes the Program in any form, then:\n\na) the Program must also be made available as Source Code, in\naccordance with section 3.2, and the Contributor must accompany\nthe Program with a statement that the Source Code for the Program\nis available under this Agreement, and informs Recipients how to\nobtain it in a reasonable manner on or through a medium customarily\nused for software exchange; and\n\nb) the Contributor may Distribute the Program under a license\ndifferent than this Agreement, provided that such license:\ni) effectively disclaims on behalf of all other Contributors all\nwarranties and conditions, express and implied, including\nwarranties or conditions of title and non-infringement, and\nimplied warranties or conditions of merchantability and fitness\nfor a particular purpose;\n\nii) effectively excludes on behalf of all other Contributors all\nliability for damages, including direct, indirect, special,\nincidental and consequential damages, such as lost profits;\n\niii) does not attempt to limit or alter the recipients' rights\nin the Source Code under section 3.2; and\n\niv) requires any subsequent distribution of the Program by any\nparty to be under a license that satisfies the requirements\nof this section 3.\n\n3.2 When the Program is Distributed as Source Code:\n\na) it must be made available under this Agreement, or if the\nProgram (i) is combined with other material in a separate file or\nfiles made available under a Secondary License, and (ii) the initial\nContributor attached to the Source Code the notice described in\nExhibit A of this Agreement, then the Program may be made available\nunder the terms of such Secondary Licenses, and\n\nb) a copy of this Agreement must be included with each copy of\nthe Program.\n\n3.3 Contributors may not remove or alter any copyright, patent,\ntrademark, attribution notices, disclaimers of warranty, or limitations\nof liability (\"notices\") contained within the Program from any copy of\nthe Program which they Distribute, provided that Contributors may add\ntheir own appropriate notices.\n\n4. COMMERCIAL DISTRIBUTION\n\nCommercial distributors of software may accept certain responsibilities\nwith respect to end users, business partners and the like. While this\nlicense is intended to facilitate the commercial use of the Program,\nthe Contributor who includes the Program in a commercial product\noffering should do so in a manner which does not create potential\nliability for other Contributors. Therefore, if a Contributor includes\nthe Program in a commercial product offering, such Contributor\n(\"Commercial Contributor\") hereby agrees to defend and indemnify every\nother Contributor (\"Indemnified Contributor\") against any losses,\ndamages and costs (collectively \"Losses\") arising from claims, lawsuits\nand other legal actions brought by a third party against the Indemnified\nContributor to the extent caused by the acts or omissions of such\nCommercial Contributor in connection with its distribution of the Program\nin a commercial product offering. The obligations in this section do not\napply to any claims or Losses relating to any actual or alleged\nintellectual property infringement. In order to qualify, an Indemnified\nContributor must: a) promptly notify the Commercial Contributor in\nwriting of such claim, and b) allow the Commercial Contributor to control,\nand cooperate with the Commercial Contributor in, the defense and any\nrelated settlement negotiations. The Indemnified Contributor may\nparticipate in any such claim at its own expense.\n\nFor example, a Contributor might include the Program in a commercial\nproduct offering, Product X. That Contributor is then a Commercial\nContributor. If that Commercial Contributor then makes performance\nclaims, or offers warranties related to Product X, those performance\nclaims and warranties are such Commercial Contributor's responsibility\nalone. Under this section, the Commercial Contributor would have to\ndefend claims against the other Contributors related to those performance\nclaims and warranties, and if a court requires any other Contributor to\npay any damages as a result, the Commercial Contributor must pay\nthose damages.\n\n5. NO WARRANTY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT\nPERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN \"AS IS\"\nBASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR\nIMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF\nTITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR\nPURPOSE. Each Recipient is solely responsible for determining the\nappropriateness of using and distributing the Program and assumes all\nrisks associated with its exercise of rights under this Agreement,\nincluding but not limited to the risks and costs of program errors,\ncompliance with applicable laws, damage to or loss of data, programs\nor equipment, and unavailability or interruption of operations.\n\n6. DISCLAIMER OF LIABILITY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT\nPERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS\nSHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\nEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST\nPROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE\nEXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\n7. GENERAL\n\nIf any provision of this Agreement is invalid or unenforceable under\napplicable law, it shall not affect the validity or enforceability of\nthe remainder of the terms of this Agreement, and without further\naction by the parties hereto, such provision shall be reformed to the\nminimum extent necessary to make such provision valid and enforceable.\n\nIf Recipient institutes patent litigation against any entity\n(including a cross-claim or counterclaim in a lawsuit) alleging that the\nProgram itself (excluding combinations of the Program with other software\nor hardware) infringes such Recipient's patent(s), then such Recipient's\nrights granted under Section 2(b) shall terminate as of the date such\nlitigation is filed.\n\nAll Recipient's rights under this Agreement shall terminate if it\nfails to comply with any of the material terms or conditions of this\nAgreement and does not cure such failure in a reasonable period of\ntime after becoming aware of such noncompliance. If all Recipient's\nrights under this Agreement terminate, Recipient agrees to cease use\nand distribution of the Program as soon as reasonably practicable.\nHowever, Recipient's obligations under this Agreement and any licenses\ngranted by Recipient relating to the Program shall continue and survive.\n\nEveryone is permitted to copy and distribute copies of this Agreement,\nbut in order to avoid inconsistency the Agreement is copyrighted and\nmay only be modified in the following manner. The Agreement Steward\nreserves the right to publish new versions (including revisions) of\nthis Agreement from time to time. No one other than the Agreement\nSteward has the right to modify this Agreement. The Eclipse Foundation\nis the initial Agreement Steward. The Eclipse Foundation may assign the\nresponsibility to serve as the Agreement Steward to a suitable separate\nentity. Each new version of the Agreement will be given a distinguishing\nversion number. The Program (including Contributions) may always be\nDistributed subject to the version of the Agreement under which it was\nreceived. In addition, after a new version of the Agreement is published,\nContributor may elect to Distribute the Program (including its\nContributions) under the new version.\n\nExcept as expressly stated in Sections 2(a) and 2(b) above, Recipient\nreceives no rights or licenses to the intellectual property of any\nContributor under this Agreement, whether expressly, by implication,\nestoppel or otherwise. All rights in the Program not expressly granted\nunder this Agreement are reserved. Nothing in this Agreement is intended\nto be enforceable by any entity that is not a Contributor or Recipient.\nNo third-party beneficiary rights are created under this Agreement.\n\nExhibit A - Form of Secondary Licenses Notice\n\n\"This Source Code is also Distributed under one\nor more Secondary Licenses, as those terms are defined by\nthe Eclipse Public License, v. 2.0: {name license(s),version(s),\nand exceptions or additional permissions here}.\"\n\nSimply including a copy of this Agreement, including this Exhibit A\nis not sufficient to license the Source Code under Secondary Licenses.\n\nIf it is not possible or desirable to put the notice in a particular\nfile, then You may include the notice in a location (such as a LICENSE\nfile in a relevant directory) where a recipient would be likely to\nlook for such a notice.\n\nYou may add additional accurate notices of copyright ownership." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_3.RULE", @@ -659,8 +659,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 151, - "rule_relevance": 100, - "matched_text": "License

\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at " + "rule_relevance": 100 }, { "license_expression": "epl-1.0", @@ -672,8 +671,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 8, - "rule_relevance": 100, - "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">" + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -685,8 +683,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 14, - "rule_relevance": 95, - "matched_text": "This product includes software developed by the Apache Software Foundation (" + "rule_relevance": 95 }, { "license_expression": "unknown-license-reference", @@ -698,8 +695,7 @@ "is_license_tag": false, "is_license_intro": true, "rule_length": 6, - "rule_relevance": 100, - "matched_text": "subject to the terms and conditions" + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -711,8 +707,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Apache Software License 2.0." + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -724,8 +719,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 38, - "rule_relevance": 100, - "matched_text": "LICENSE and is also available at " + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -737,8 +731,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 35, - "rule_relevance": 100, - "matched_text": "www.apache.org/licenses/LICENSE-2.0.[html]\">[http]://www.apache.org/licenses/LICENSE-2.0." + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -753,8 +746,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 65, - "rule_relevance": 100, - "matched_text": "2.0.html.\n\n

The Apache attribution [NOTICE] [file] is included with the Content in accordance with 4d of the Apache License, Version 2.0.\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at " + "rule_relevance": 100 }, { "license_expression": "epl-1.0", @@ -779,8 +770,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 8, - "rule_relevance": 100, - "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">" + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -792,8 +782,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 14, - "rule_relevance": 95, - "matched_text": "This product includes software developed by the Apache Software Foundation (" + "rule_relevance": 95 }, { "license_expression": "unknown-license-reference", @@ -805,8 +794,7 @@ "is_license_tag": false, "is_license_intro": true, "rule_length": 6, - "rule_relevance": 100, - "matched_text": "subject to the terms and conditions" + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -818,8 +806,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 5, - "rule_relevance": 100, - "matched_text": "Apache Software License 2.0." + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -831,8 +818,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 38, - "rule_relevance": 100, - "matched_text": "LICENSE and is also available at " + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -844,8 +830,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 35, - "rule_relevance": 100, - "matched_text": "www.apache.org/licenses/LICENSE-2.0.[html]\">[http]://www.apache.org/licenses/LICENSE-2.0." + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -857,8 +842,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 6, - "rule_relevance": 100, - "matched_text": "the Apache License, Version 2.0.LICENSE and is also available at " + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -909,8 +890,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.apache.org/licenses/LICENSE-2.0.htmlLICENSE and is also available at " + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -935,8 +914,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 35, - "rule_relevance": 100, - "matched_text": "License [2].[0]. A [copy] [of] [the] license is [contained]\n[in] [the] [file] [LICENSE] [and] [is] [also] [available] [at] [http]://www.apache.org/licenses/LICENSE-2.0." + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -948,8 +926,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 38, - "rule_relevance": 100, - "matched_text": "is subject to the terms and conditions of the Apache Software License 2.0. A copy of the license is contained\nin the file LICENSE and is also available at " + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -961,8 +938,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 35, - "rule_relevance": 100, - "matched_text": "License [2].[0]. A [copy] [of] [the] license is [contained]\n[in] [the] [file] [LICENSE] [and] [is] [also] [available] [at] [http]://www.apache.org/licenses/LICENSE-2.0." + "rule_relevance": 100 }, { "license_expression": "unknown-license-reference", @@ -974,8 +950,7 @@ "is_license_tag": false, "is_license_intro": true, "rule_length": 6, - "rule_relevance": 100, - "matched_text": "subject to the terms and conditions" + "rule_relevance": 100 }, { "license_expression": "epl-2.0 OR apache-2.0", @@ -987,8 +962,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 50, - "rule_relevance": 100, - "matched_text": "of the Eclipse Public License 2.0. A [copy] [of] [the] [license] [is] [contained]\n[in] [the] [file] [LICENSE].[md] [and] [is] [also] [available] [at] " + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -1000,8 +974,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 38, - "rule_relevance": 100, - "matched_text": "License 2.0. A copy of the license is contained\nin the file LICENSE." + "rule_relevance": 100 }, { "license_expression": "epl-2.0", @@ -1013,8 +986,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 69, - "rule_relevance": 100, - "matched_text": "and is also available at https://www.eclipse.org/legal/epl-2.0/\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at <" + "rule_relevance": 100 }, { "license_expression": "epl-1.0", @@ -1039,8 +1010,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 8, - "rule_relevance": 100, - "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">" + "rule_relevance": 100 }, { "license_expression": "unknown-license-reference", @@ -1052,8 +1022,7 @@ "is_license_tag": false, "is_license_intro": true, "rule_length": 6, - "rule_relevance": 100, - "matched_text": "subject to the terms and conditions" + "rule_relevance": 100 }, { "license_expression": "cpl-1.0", @@ -1065,8 +1034,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 6, - "rule_relevance": 100, - "matched_text": "Common Public License Version 1.0 (&" + "rule_relevance": 100 }, { "license_expression": "cpl-1.0", @@ -1078,8 +1046,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 24, - "rule_relevance": 100, - "matched_text": "available at https://www.eclipse.org/legal/cpl-v10.html\n

\nBSD"
+      "rule_relevance": 100
     },
     {
       "license_expression": "bsd-new",
@@ -1130,8 +1094,7 @@
       "is_license_tag": false,
       "is_license_intro": false,
       "rule_length": 3,
-      "rule_relevance": 99,
-      "matched_text": "License:

\n
\nBSD License"
+      "rule_relevance": 99
     },
     {
       "license_expression": "bsd-new",
@@ -1143,8 +1106,7 @@
       "is_license_tag": false,
       "is_license_intro": false,
       "rule_length": 211,
-      "rule_relevance": 100,
-      "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list of\nconditions and the following disclaimer. Redistributions in binary form must reproduce\nthe above copyright notice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the distribution.\n\nNeither the name of Hamcrest nor the names of its contributors may be used to endorse\nor promote products derived from this software without specific prior written\npermission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT\nSHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\nINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\nTO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\nBUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY\nWAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGE."
+      "rule_relevance": 100
     },
     {
       "license_expression": "epl-1.0",
@@ -1156,8 +1118,7 @@
       "is_license_tag": false,
       "is_license_intro": false,
       "rule_length": 151,
-      "rule_relevance": 100,
-      "matched_text": "License\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at <" + "rule_relevance": 100 }, { "license_expression": "epl-1.0", @@ -1169,8 +1130,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 8, - "rule_relevance": 100, - "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">" + "rule_relevance": 100 }, { "license_expression": "unknown-license-reference", @@ -1182,8 +1142,7 @@ "is_license_tag": false, "is_license_intro": true, "rule_length": 6, - "rule_relevance": 100, - "matched_text": "subject to the terms and conditions" + "rule_relevance": 100 }, { "license_expression": "cpl-1.0", @@ -1195,8 +1154,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 6, - "rule_relevance": 100, - "matched_text": "Common Public License Version 1.0 (&" + "rule_relevance": 100 }, { "license_expression": "cpl-1.0", @@ -1208,8 +1166,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 24, - "rule_relevance": 100, - "matched_text": "available at https://www.eclipse.org/legal/cpl-v10.html" + "rule_relevance": 100 } ], "files": [ @@ -1249,7 +1205,8 @@ "matcher": "3-seq", "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE", + "matched_text": "License\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at " }, { "score": 100.0, @@ -1260,7 +1217,8 @@ "matcher": "2-aho", "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE", + "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">" } ] }, @@ -1279,7 +1237,8 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache_no-version_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache_no-version_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache_no-version_1.RULE", + "matched_text": "This product includes software developed by the Apache Software Foundation (" } ] }, @@ -1298,7 +1257,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", + "matched_text": "subject to the terms and conditions" }, { "score": 100.0, @@ -1309,7 +1269,8 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_322.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE", + "matched_text": "Apache Software License 2.0." }, { "score": 39.47, @@ -1320,7 +1281,8 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1112.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", + "matched_text": "LICENSE and is also available at " }, { "score": 40.0, @@ -1331,7 +1293,8 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_842.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE", + "matched_text": "www.apache.org/licenses/LICENSE-2.0.[html]\">[http]://www.apache.org/licenses/LICENSE-2.0." }, { "score": 33.85, @@ -1342,17 +1305,18 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_689.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_689.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_689.RULE", + "matched_text": "2.0.html.\n\n

The Apache attribution [NOTICE] [file] is included with the Content in accordance with 4d of the Apache License, Version 2.0.\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at " }, { "score": 100.0, @@ -1388,7 +1353,8 @@ "matcher": "2-aho", "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE", + "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">" } ] }, @@ -1407,7 +1373,8 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache_no-version_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache_no-version_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache_no-version_1.RULE", + "matched_text": "This product includes software developed by the Apache Software Foundation (" } ] }, @@ -1426,7 +1393,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", + "matched_text": "subject to the terms and conditions" }, { "score": 100.0, @@ -1437,7 +1405,8 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_322.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE", + "matched_text": "Apache Software License 2.0." }, { "score": 39.47, @@ -1448,7 +1417,8 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1112.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", + "matched_text": "LICENSE and is also available at " }, { "score": 40.0, @@ -1459,7 +1429,8 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_842.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE", + "matched_text": "www.apache.org/licenses/LICENSE-2.0.[html]\">[http]://www.apache.org/licenses/LICENSE-2.0." }, { "score": 100.0, @@ -1470,7 +1441,8 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_182.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_182.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_182.RULE", + "matched_text": "the Apache License, Version 2.0.LICENSE and is also available at " }, { "score": 100.0, @@ -1522,7 +1497,8 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_20.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_20.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_20.RULE", + "matched_text": "http://www.apache.org/licenses/LICENSE-2.0.htmlLICENSE and is also available at " }, { "score": 48.57, @@ -1552,7 +1529,8 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_842.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE", + "matched_text": "License [2].[0]. A [copy] [of] [the] license is [contained]\n[in] [the] [file] [LICENSE] [and] [is] [also] [available] [at] [http]://www.apache.org/licenses/LICENSE-2.0." } ] }, @@ -1571,7 +1549,8 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1112.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", + "matched_text": "is subject to the terms and conditions of the Apache Software License 2.0. A copy of the license is contained\nin the file LICENSE and is also available at " }, { "score": 48.57, @@ -1582,7 +1561,8 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_842.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE", + "matched_text": "License [2].[0]. A [copy] [of] [the] license is [contained]\n[in] [the] [file] [LICENSE] [and] [is] [also] [available] [at] [http]://www.apache.org/licenses/LICENSE-2.0." } ] }, @@ -1601,7 +1581,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", + "matched_text": "subject to the terms and conditions" }, { "score": 28.0, @@ -1612,7 +1593,8 @@ "matcher": "3-seq", "license_expression": "epl-2.0 OR apache-2.0", "rule_identifier": "epl-2.0_or_apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_or_apache-2.0_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_or_apache-2.0_2.RULE", + "matched_text": "of the Eclipse Public License 2.0. A [copy] [of] [the] [license] [is] [contained]\n[in] [the] [file] [LICENSE].[md] [and] [is] [also] [available] [at] " }, { "score": 36.84, @@ -1623,7 +1605,8 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1112.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", + "matched_text": "License 2.0. A copy of the license is contained\nin the file LICENSE." }, { "score": 30.43, @@ -1634,21 +1617,22 @@ "matcher": "3-seq", "license_expression": "epl-2.0", "rule_identifier": "epl-2.0_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_4.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_4.RULE", + "matched_text": "and is also available at https://www.eclipse.org/legal/epl-2.0/\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at <" }, { "score": 100.0, @@ -1684,7 +1669,8 @@ "matcher": "2-aho", "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE", + "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">" } ] }, @@ -1703,7 +1689,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", + "matched_text": "subject to the terms and conditions" }, { "score": 100.0, @@ -1714,7 +1701,8 @@ "matcher": "2-aho", "license_expression": "cpl-1.0", "rule_identifier": "cpl-1.0_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_5.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_5.RULE", + "matched_text": "Common Public License Version 1.0 (&" }, { "score": 75.0, @@ -1725,7 +1713,8 @@ "matcher": "3-seq", "license_expression": "cpl-1.0", "rule_identifier": "cpl-1.0_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_14.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_14.RULE", + "matched_text": "available at https://www.eclipse.org/legal/cpl-v10.html\n

\nBSD"
             },
             {
               "score": 99.0,
@@ -1777,7 +1769,8 @@
               "matcher": "2-aho",
               "license_expression": "bsd-new",
               "rule_identifier": "bsd-new_172.RULE",
-              "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_172.RULE"
+              "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_172.RULE",
+              "matched_text": "License:

\n
\nBSD License"
             }
           ]
         },
@@ -1796,18 +1789,19 @@
               "matcher": "2-aho",
               "license_expression": "bsd-new",
               "rule_identifier": "bsd-new_860.RULE",
-              "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_860.RULE"
+              "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_860.RULE",
+              "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list of\nconditions and the following disclaimer. Redistributions in binary form must reproduce\nthe above copyright notice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the distribution.\n\nNeither the name of Hamcrest nor the names of its contributors may be used to endorse\nor promote products derived from this software without specific prior written\npermission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT\nSHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\nINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\nTO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\nBUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY\nWAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGE."
             }
           ]
         }
       ],
       "license_clues": [],
       "percentage_of_license_text": 50.37,
-      "for_licenses": [
-        "7e99df1e-faa6-aea3-5280-d3a36ed87c16",
-        "5502d99b-f332-cf59-5e87-59714bf42486",
-        "f76d24d8-c42a-51a2-5be0-b1bee6618afc",
-        "fe8a2ed4-ca73-5e9c-1a4c-974a245a78b2"
+      "for_license_detections": [
+        "epl_1_0#7e99df1e-faa6-aea3-5280-d3a36ed87c16",
+        "cpl_1_0#5502d99b-f332-cf59-5e87-59714bf42486",
+        "bsd_new#f76d24d8-c42a-51a2-5be0-b1bee6618afc",
+        "bsd_new#fe8a2ed4-ca73-5e9c-1a4c-974a245a78b2"
       ],
       "scan_errors": []
     },
@@ -1832,7 +1826,8 @@
               "matcher": "3-seq",
               "license_expression": "epl-1.0",
               "rule_identifier": "epl-1.0_3.RULE",
-              "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE"
+              "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE",
+              "matched_text": "License\n\n

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise \nindicated below, the Content is provided to you under the terms and conditions of the\nEclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available \nat [https]://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.

\n\n

If you did not receive this Content directly from the Eclipse Foundation, the Content is \nbeing redistributed by another party ("Redistributor") and different terms and conditions may\napply to your use of any object code in the Content. Check the Redistributor's license that was \nprovided with the Content. If no such license exists, contact the Redistributor. Unless otherwise\nindicated below, the terms and conditions of the EPL still apply to any source code in the Content\nand such source code may be obtained at <" }, { "score": 100.0, @@ -1843,7 +1838,8 @@ "matcher": "2-aho", "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE", + "matched_text": "https://www.eclipse.org/legal/epl-v10.html\">" } ] }, @@ -1862,7 +1858,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", + "matched_text": "subject to the terms and conditions" }, { "score": 100.0, @@ -1873,7 +1870,8 @@ "matcher": "2-aho", "license_expression": "cpl-1.0", "rule_identifier": "cpl-1.0_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_5.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_5.RULE", + "matched_text": "Common Public License Version 1.0 (&" }, { "score": 75.0, @@ -1884,7 +1882,8 @@ "matcher": "3-seq", "license_expression": "cpl-1.0", "rule_identifier": "cpl-1.0_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_14.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_14.RULE", + "matched_text": "available at https://www.eclipse.org/legal/cpl-v10.html" } ] } ], "license_clues": [], "percentage_of_license_text": 47.22, - "for_licenses": [ - "7e99df1e-faa6-aea3-5280-d3a36ed87c16", - "f0e5933e-cc7c-4c33-eb43-c0d66389bf17" + "for_license_detections": [ + "epl_1_0#7e99df1e-faa6-aea3-5280-d3a36ed87c16", + "cpl_1_0#f0e5933e-cc7c-4c33-eb43-c0d66389bf17" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json index a00821d7bc8..1f547a807c8 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "269715cc-0554-3f26-8832-1c4eb6145143", + "identifier": "epl_2_0#269715cc-0554-3f26-8832-1c4eb6145143", "license_expression": "epl-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -54,7 +54,7 @@ "text": "Eclipse Public License - v 2.0\n\nTHE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE\nPUBLIC LICENSE (\"AGREEMENT\"). ANY USE, REPRODUCTION OR DISTRIBUTION\nOF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.\n\n1. DEFINITIONS\n\n\"Contribution\" means:\n\na) in the case of the initial Contributor, the initial content\nDistributed under this Agreement, and\n\nb) in the case of each subsequent Contributor:\ni) changes to the Program, and\nii) additions to the Program;\nwhere such changes and/or additions to the Program originate from\nand are Distributed by that particular Contributor. A Contribution\n\"originates\" from a Contributor if it was added to the Program by\nsuch Contributor itself or anyone acting on such Contributor's behalf.\nContributions do not include changes or additions to the Program that\nare not Modified Works.\n\n\"Contributor\" means any person or entity that Distributes the Program.\n\n\"Licensed Patents\" mean patent claims licensable by a Contributor which\nare necessarily infringed by the use or sale of its Contribution alone\nor when combined with the Program.\n\n\"Program\" means the Contributions Distributed in accordance with this\nAgreement.\n\n\"Recipient\" means anyone who receives the Program under this Agreement\nor any Secondary License (as applicable), including Contributors.\n\n\"Derivative Works\" shall mean any work, whether in Source Code or other\nform, that is based on (or derived from) the Program and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship.\n\n\"Modified Works\" shall mean any work in Source Code or other form that\nresults from an addition to, deletion from, or modification of the\ncontents of the Program, including, for purposes of clarity any new file\nin Source Code form that contains any contents of the Program. Modified\nWorks shall not include works that contain only declarations,\ninterfaces, types, classes, structures, or files of the Program solely\nin each case in order to link to, bind by name, or subclass the Program\nor Modified Works thereof.\n\n\"Distribute\" means the acts of a) distributing or b) making available\nin any manner that enables the transfer of a copy.\n\n\"Source Code\" means the form of a Program preferred for making\nmodifications, including but not limited to software source code,\ndocumentation source, and configuration files.\n\n\"Secondary License\" means either the GNU General Public License,\nVersion 2.0, or any later versions of that license, including any\nexceptions or additional permissions as identified by the initial\nContributor.\n\n2. GRANT OF RIGHTS\n\na) Subject to the terms of this Agreement, each Contributor hereby\ngrants Recipient a non-exclusive, worldwide, royalty-free copyright\nlicense to reproduce, prepare Derivative Works of, publicly display,\npublicly perform, Distribute and sublicense the Contribution of such\nContributor, if any, and such Derivative Works.\n\nb) Subject to the terms of this Agreement, each Contributor hereby\ngrants Recipient a non-exclusive, worldwide, royalty-free patent\nlicense under Licensed Patents to make, use, sell, offer to sell,\nimport and otherwise transfer the Contribution of such Contributor,\nif any, in Source Code or other form. This patent license shall\napply to the combination of the Contribution and the Program if, at\nthe time the Contribution is added by the Contributor, such addition\nof the Contribution causes such combination to be covered by the\nLicensed Patents. The patent license shall not apply to any other\ncombinations which include the Contribution. No hardware per se is\nlicensed hereunder.\n\nc) Recipient understands that although each Contributor grants the\nlicenses to its Contributions set forth herein, no assurances are\nprovided by any Contributor that the Program does not infringe the\npatent or other intellectual property rights of any other entity.\nEach Contributor disclaims any liability to Recipient for claims\nbrought by any other entity based on infringement of intellectual\nproperty rights or otherwise. As a condition to exercising the\nrights and licenses granted hereunder, each Recipient hereby\nassumes sole responsibility to secure any other intellectual\nproperty rights needed, if any. For example, if a third party\npatent license is required to allow Recipient to Distribute the\nProgram, it is Recipient's responsibility to acquire that license\nbefore distributing the Program.\n\nd) Each Contributor represents that to its knowledge it has\nsufficient copyright rights in its Contribution, if any, to grant\nthe copyright license set forth in this Agreement.\n\ne) Notwithstanding the terms of any Secondary License, no\nContributor makes additional grants to any Recipient (other than\nthose set forth in this Agreement) as a result of such Recipient's\nreceipt of the Program under the terms of a Secondary License\n(if permitted under the terms of Section 3).\n\n3. REQUIREMENTS\n\n3.1 If a Contributor Distributes the Program in any form, then:\n\na) the Program must also be made available as Source Code, in\naccordance with section 3.2, and the Contributor must accompany\nthe Program with a statement that the Source Code for the Program\nis available under this Agreement, and informs Recipients how to\nobtain it in a reasonable manner on or through a medium customarily\nused for software exchange; and\n\nb) the Contributor may Distribute the Program under a license\ndifferent than this Agreement, provided that such license:\ni) effectively disclaims on behalf of all other Contributors all\nwarranties and conditions, express and implied, including\nwarranties or conditions of title and non-infringement, and\nimplied warranties or conditions of merchantability and fitness\nfor a particular purpose;\n\nii) effectively excludes on behalf of all other Contributors all\nliability for damages, including direct, indirect, special,\nincidental and consequential damages, such as lost profits;\n\niii) does not attempt to limit or alter the recipients' rights\nin the Source Code under section 3.2; and\n\niv) requires any subsequent distribution of the Program by any\nparty to be under a license that satisfies the requirements\nof this section 3.\n\n3.2 When the Program is Distributed as Source Code:\n\na) it must be made available under this Agreement, or if the\nProgram (i) is combined with other material in a separate file or\nfiles made available under a Secondary License, and (ii) the initial\nContributor attached to the Source Code the notice described in\nExhibit A of this Agreement, then the Program may be made available\nunder the terms of such Secondary Licenses, and\n\nb) a copy of this Agreement must be included with each copy of\nthe Program.\n\n3.3 Contributors may not remove or alter any copyright, patent,\ntrademark, attribution notices, disclaimers of warranty, or limitations\nof liability (\"notices\") contained within the Program from any copy of\nthe Program which they Distribute, provided that Contributors may add\ntheir own appropriate notices.\n\n4. COMMERCIAL DISTRIBUTION\n\nCommercial distributors of software may accept certain responsibilities\nwith respect to end users, business partners and the like. While this\nlicense is intended to facilitate the commercial use of the Program,\nthe Contributor who includes the Program in a commercial product\noffering should do so in a manner which does not create potential\nliability for other Contributors. Therefore, if a Contributor includes\nthe Program in a commercial product offering, such Contributor\n(\"Commercial Contributor\") hereby agrees to defend and indemnify every\nother Contributor (\"Indemnified Contributor\") against any losses,\ndamages and costs (collectively \"Losses\") arising from claims, lawsuits\nand other legal actions brought by a third party against the Indemnified\nContributor to the extent caused by the acts or omissions of such\nCommercial Contributor in connection with its distribution of the Program\nin a commercial product offering. The obligations in this section do not\napply to any claims or Losses relating to any actual or alleged\nintellectual property infringement. In order to qualify, an Indemnified\nContributor must: a) promptly notify the Commercial Contributor in\nwriting of such claim, and b) allow the Commercial Contributor to control,\nand cooperate with the Commercial Contributor in, the defense and any\nrelated settlement negotiations. The Indemnified Contributor may\nparticipate in any such claim at its own expense.\n\nFor example, a Contributor might include the Program in a commercial\nproduct offering, Product X. That Contributor is then a Commercial\nContributor. If that Commercial Contributor then makes performance\nclaims, or offers warranties related to Product X, those performance\nclaims and warranties are such Commercial Contributor's responsibility\nalone. Under this section, the Commercial Contributor would have to\ndefend claims against the other Contributors related to those performance\nclaims and warranties, and if a court requires any other Contributor to\npay any damages as a result, the Commercial Contributor must pay\nthose damages.\n\n5. NO WARRANTY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT\nPERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN \"AS IS\"\nBASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR\nIMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF\nTITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR\nPURPOSE. Each Recipient is solely responsible for determining the\nappropriateness of using and distributing the Program and assumes all\nrisks associated with its exercise of rights under this Agreement,\nincluding but not limited to the risks and costs of program errors,\ncompliance with applicable laws, damage to or loss of data, programs\nor equipment, and unavailability or interruption of operations.\n\n6. DISCLAIMER OF LIABILITY\n\nEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT\nPERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS\nSHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\nEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST\nPROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE\nEXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\n7. GENERAL\n\nIf any provision of this Agreement is invalid or unenforceable under\napplicable law, it shall not affect the validity or enforceability of\nthe remainder of the terms of this Agreement, and without further\naction by the parties hereto, such provision shall be reformed to the\nminimum extent necessary to make such provision valid and enforceable.\n\nIf Recipient institutes patent litigation against any entity\n(including a cross-claim or counterclaim in a lawsuit) alleging that the\nProgram itself (excluding combinations of the Program with other software\nor hardware) infringes such Recipient's patent(s), then such Recipient's\nrights granted under Section 2(b) shall terminate as of the date such\nlitigation is filed.\n\nAll Recipient's rights under this Agreement shall terminate if it\nfails to comply with any of the material terms or conditions of this\nAgreement and does not cure such failure in a reasonable period of\ntime after becoming aware of such noncompliance. If all Recipient's\nrights under this Agreement terminate, Recipient agrees to cease use\nand distribution of the Program as soon as reasonably practicable.\nHowever, Recipient's obligations under this Agreement and any licenses\ngranted by Recipient relating to the Program shall continue and survive.\n\nEveryone is permitted to copy and distribute copies of this Agreement,\nbut in order to avoid inconsistency the Agreement is copyrighted and\nmay only be modified in the following manner. The Agreement Steward\nreserves the right to publish new versions (including revisions) of\nthis Agreement from time to time. No one other than the Agreement\nSteward has the right to modify this Agreement. The Eclipse Foundation\nis the initial Agreement Steward. The Eclipse Foundation may assign the\nresponsibility to serve as the Agreement Steward to a suitable separate\nentity. Each new version of the Agreement will be given a distinguishing\nversion number. The Program (including Contributions) may always be\nDistributed subject to the version of the Agreement under which it was\nreceived. In addition, after a new version of the Agreement is published,\nContributor may elect to Distribute the Program (including its\nContributions) under the new version.\n\nExcept as expressly stated in Sections 2(a) and 2(b) above, Recipient\nreceives no rights or licenses to the intellectual property of any\nContributor under this Agreement, whether expressly, by implication,\nestoppel or otherwise. All rights in the Program not expressly granted\nunder this Agreement are reserved. Nothing in this Agreement is intended\nto be enforceable by any entity that is not a Contributor or Recipient.\nNo third-party beneficiary rights are created under this Agreement.\n\nExhibit A - Form of Secondary Licenses Notice\n\n\"This Source Code is also Distributed under one\nor more Secondary Licenses, as those terms are defined by\nthe Eclipse Public License, v. 2.0: {name license(s),version(s),\nand exceptions or additional permissions here}.\"\n\nSimply including a copy of this Agreement, including this Exhibit A\nis not sufficient to license the Source Code under Secondary Licenses.\n\nIf it is not possible or desirable to put the notice in a particular\nfile, then You may include the notice in a location (such as a LICENSE\nfile in a relevant directory) where a recipient would be likely to\nlook for such a notice.\n\nYou may add additional accurate notices of copyright ownership." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "epl-2.0", "rule_identifier": "epl-2.0_56.RULE", @@ -65,8 +65,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 31, - "rule_relevance": 100, - "matched_text": "This program and the accompanying materials are made\n * available under the terms of the Eclipse Public License 2.0\n * which is available at https://www.eclipse.org/legal/epl-2.0/" + "rule_relevance": 100 }, { "license_expression": "epl-2.0", @@ -78,8 +77,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 6, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: EPL-2.0" + "rule_relevance": 100 } ], "files": [ @@ -104,7 +102,8 @@ "matcher": "2-aho", "license_expression": "epl-2.0", "rule_identifier": "epl-2.0_56.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_56.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_56.RULE", + "matched_text": "This program and the accompanying materials are made\n * available under the terms of the Eclipse Public License 2.0\n * which is available at https://www.eclipse.org/legal/epl-2.0/" }, { "score": 100.0, @@ -115,15 +114,16 @@ "matcher": "1-spdx-id", "license_expression": "epl-2.0", "rule_identifier": "spdx-license-identifier: epl-2.0", - "rule_url": null + "rule_url": null, + "matched_text": "SPDX-License-Identifier: EPL-2.0" } ] } ], "license_clues": [], "percentage_of_license_text": 86.05, - "for_licenses": [ - "269715cc-0554-3f26-8832-1c4eb6145143" + "for_license_detections": [ + "epl_2_0#269715cc-0554-3f26-8832-1c4eb6145143" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json index f8624a6388a..8542e824288 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "3d4ebed6-d6ff-5d71-13d5-9ae3bb5bc485", + "identifier": "x11_lucent#3d4ebed6-d6ff-5d71-13d5-9ae3bb5bc485", "license_expression": "x11-lucent", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -33,9 +33,9 @@ ] }, { - "identifier": "5537c6e0-e03f-c489-9ac3-243ae2274830", + "identifier": "bzip2_libbzip_2010#5537c6e0-e03f-c489-9ac3-243ae2274830", "license_expression": "bzip2-libbzip-2010", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -98,7 +98,7 @@ "text": "Permission to use, copy, modify, and distribute this software for any\npurpose without fee is hereby granted, provided that this entire notice\nis included in all copies of any software which is or includes a copy\nor modification of this software and in all copies of the supporting\ndocumentation for such software.\n\nTHIS SOFTWARE IS BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\nWARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY\nREPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY\nOF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_4.RULE", @@ -109,8 +109,7 @@ "is_license_tag": false, "is_license_intro": true, "rule_length": 5, - "rule_relevance": 100, - "matched_text": "licensed under the following terms:" + "rule_relevance": 100 }, { "license_expression": "x11-lucent", @@ -122,8 +121,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 93, - "rule_relevance": 100, - "matched_text": "Permission to use, copy, modify, and distribute this software for any purpose without\n fee is hereby granted, provided that this entire notice is included in all copies of any\n software which is or includes a copy or modification of this software and in all copies\n of the supporting documentation for such software. THIS SOFTWARE IS BEING PROVIDED \"AS\n IS\", WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. IN PARTICULAR, NEITHER THE AUTHORS NOR\n LUCENT TECHNOLOGIES MAKE ANY REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE\n MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + "rule_relevance": 100 }, { "license_expression": "unknown-license-reference", @@ -135,8 +133,7 @@ "is_license_tag": false, "is_license_intro": true, "rule_length": 5, - "rule_relevance": 100, - "matched_text": "licensed under the following terms:" + "rule_relevance": 100 }, { "license_expression": "bzip2-libbzip-2010", @@ -148,8 +145,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 233, - "rule_relevance": 100, - "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. The origin of this software must not be misrepresented; you must\n not claim that you wrote the original software. If you use this\n software in a product, an acknowledgment in the product\n documentation would be appreciated but is not required.\n\n 3. Altered source versions must be plainly marked as such, and must\n not be misrepresented as being the original software.\n\n 4. The name of the author 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 AUTHOR ``AS IS'' AND ANY EXPRESS\n OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR 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,\n 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." + "rule_relevance": 100 } ], "files": [ @@ -174,7 +170,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_4.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_4.RULE", + "matched_text": "licensed under the following terms:" }, { "score": 100.0, @@ -185,7 +182,8 @@ "matcher": "2-aho", "license_expression": "x11-lucent", "rule_identifier": "x11-lucent_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/x11-lucent_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/x11-lucent_1.RULE", + "matched_text": "Permission to use, copy, modify, and distribute this software for any purpose without\n fee is hereby granted, provided that this entire notice is included in all copies of any\n software which is or includes a copy or modification of this software and in all copies\n of the supporting documentation for such software. THIS SOFTWARE IS BEING PROVIDED \"AS\n IS\", WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. IN PARTICULAR, NEITHER THE AUTHORS NOR\n LUCENT TECHNOLOGIES MAKE ANY REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE\n MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." } ] }, @@ -204,7 +202,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_4.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_4.RULE", + "matched_text": "licensed under the following terms:" }, { "score": 100.0, @@ -215,16 +214,17 @@ "matcher": "2-aho", "license_expression": "bzip2-libbzip-2010", "rule_identifier": "bzip2-libbzip-2010.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE", + "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. The origin of this software must not be misrepresented; you must\n not claim that you wrote the original software. If you use this\n software in a product, an acknowledgment in the product\n documentation would be appreciated but is not required.\n\n 3. Altered source versions must be plainly marked as such, and must\n not be misrepresented as being the original software.\n\n 4. The name of the author 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 AUTHOR ``AS IS'' AND ANY EXPRESS\n OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR 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,\n 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." } ] } ], "license_clues": [], "percentage_of_license_text": 87.73, - "for_licenses": [ - "3d4ebed6-d6ff-5d71-13d5-9ae3bb5bc485", - "5537c6e0-e03f-c489-9ac3-243ae2274830" + "for_license_detections": [ + "x11_lucent#3d4ebed6-d6ff-5d71-13d5-9ae3bb5bc485", + "bzip2_libbzip_2010#5537c6e0-e03f-c489-9ac3-243ae2274830" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json index 16b697b91f3..227f6b759a8 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "f48a0b5f-0e8e-aa20-08c9-3b97c3f7f3e8", + "identifier": "mit#f48a0b5f-0e8e-aa20-08c9-3b97c3f7f3e8", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -79,7 +79,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_2.RULE", @@ -90,8 +90,7 @@ "is_license_tag": false, "is_license_intro": true, "rule_length": 2, - "rule_relevance": 50, - "matched_text": "licensed under:" + "rule_relevance": 50 }, { "license_expression": "mit", @@ -103,8 +102,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 5, - "rule_relevance": 100, - "matched_text": "http://spdx.org/licenses/MIT." + "rule_relevance": 100 }, { "license_expression": "mit", @@ -116,8 +114,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License\n\n

MIT License\n\n

MIT License." + "rule_relevance": 100 }, { "license_expression": "apache-1.0", @@ -235,8 +234,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 368, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without\r\nmodification, are permitted provided that the following conditions\r\nare met:\r\n\r\n 1. Redistributions of source code must retain the above copyright\r\n notice, this list of conditions and the following disclaimer. \r\n \r\n 2. Redistributions in binary form must reproduce the above copyright\r\n notice, this list of conditions and the following disclaimer in\r\n the documentation and/or other materials provided with the\r\n distribution.\r\n \r\n 3. All advertising materials mentioning features or use of this\r\n software must display the following acknowledgment:\r\n \"This product includes software developed by the Apache Group\r\n for use in the Apache HTTP server project (http://www.apache.org/).\"\r\n \r\n 4. The names \"Apache Server\" and \"Apache Group\" must not be used to\r\n endorse or promote products derived from this software without\r\n prior written permission. For written permission, please contact\r\n apache@apache.org.\r\n \r\n 5. Products derived from this software may not be called \"Apache\"\r\n nor may \"Apache\" appear in their names without prior written\r\n permission of the Apache Group.\r\n \r\n 6. Redistributions of any form whatsoever must retain the following\r\n acknowledgment:\r\n \"This product includes software developed by the Apache Group\r\n for use in the Apache HTTP server project (http://www.apache.org/).\"\r\n \r\n THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\r\n EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\r\n ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\r\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\r\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\r\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\r\n OF THE POSSIBILITY OF SUCH DAMAGE.\r\n====================================================================\r\n\r\n This software consists of voluntary contributions made by many\r\n individuals on behalf of the Apache Group and was originally based\r\n on public domain software written at the National Center for\r\n Supercomputing Applications, University of Illinois, Urbana-Champaign.\r\n For more information on the Apache Group and the Apache HTTP server\r\n project, please see ." + "rule_relevance": 100 }, { "license_expression": "ja-sig", @@ -248,8 +246,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 212, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n3. Redistributions of any form whatsoever must retain the following acknowledgment:\n\"This product includes software developed by the JA-SIG Collaborative (http://www.ja-sig.org/).\"\n\nThis software is provided by the JA-SIG collaborative \"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 JA-SIG collaborative 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,\n whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage." + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -263,8 +260,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 119, - "rule_relevance": 100, - "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License." + "rule_relevance": 100 }, { "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", @@ -276,8 +272,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 13, - "rule_relevance": 100, - "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" + "rule_relevance": 100 }, { "license_expression": "ja-sig", @@ -289,8 +284,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 212, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n3. Redistributions of any form whatsoever must retain the following acknowledgment:\n\"This product includes software developed by the JA-SIG Collaborative (http://www.ja-sig.org/).\"\n\nThis software is provided by the JA-SIG collaborative \"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 JA-SIG collaborative 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,\n whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage." + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -304,8 +298,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 119, - "rule_relevance": 100, - "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License." + "rule_relevance": 100 } ], "files": [ @@ -333,7 +326,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "is_license_text": false, "files_count": 5, "dirs_count": 0, @@ -377,15 +370,16 @@ "matcher": "2-aho", "license_expression": "apache-1.0", "rule_identifier": "apache-1.0.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", + "matched_text": "Redistribution and use in source and binary forms, with or without\r\nmodification, are permitted provided that the following conditions\r\nare met:\r\n\r\n 1. Redistributions of source code must retain the above copyright\r\n notice, this list of conditions and the following disclaimer. \r\n \r\n 2. Redistributions in binary form must reproduce the above copyright\r\n notice, this list of conditions and the following disclaimer in\r\n the documentation and/or other materials provided with the\r\n distribution.\r\n \r\n 3. All advertising materials mentioning features or use of this\r\n software must display the following acknowledgment:\r\n \"This product includes software developed by the Apache Group\r\n for use in the Apache HTTP server project (http://www.apache.org/).\"\r\n \r\n 4. The names \"Apache Server\" and \"Apache Group\" must not be used to\r\n endorse or promote products derived from this software without\r\n prior written permission. For written permission, please contact\r\n apache@apache.org.\r\n \r\n 5. Products derived from this software may not be called \"Apache\"\r\n nor may \"Apache\" appear in their names without prior written\r\n permission of the Apache Group.\r\n \r\n 6. Redistributions of any form whatsoever must retain the following\r\n acknowledgment:\r\n \"This product includes software developed by the Apache Group\r\n for use in the Apache HTTP server project (http://www.apache.org/).\"\r\n \r\n THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\r\n EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\r\n ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\r\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\r\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\r\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\r\n OF THE POSSIBILITY OF SUCH DAMAGE.\r\n====================================================================\r\n\r\n This software consists of voluntary contributions made by many\r\n individuals on behalf of the Apache Group and was originally based\r\n on public domain software written at the National Center for\r\n Supercomputing Applications, University of Illinois, Urbana-Champaign.\r\n For more information on the Apache Group and the Apache HTTP server\r\n project, please see ." } ] } ], "license_clues": [], "percentage_of_license_text": 96.08, - "for_licenses": [ - "467418ea-42a8-45bb-a30e-a9fcb411f2bb" + "for_license_detections": [ + "apache_1_0#467418ea-42a8-45bb-a30e-a9fcb411f2bb" ], "is_license_text": true, "files_count": 0, @@ -430,15 +424,16 @@ "matcher": "2-aho", "license_expression": "apache-1.0", "rule_identifier": "apache-1.0.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", + "matched_text": "Redistribution and use in source and binary forms, with or without\r\nmodification, are permitted provided that the following conditions\r\nare met:\r\n\r\n 1. Redistributions of source code must retain the above copyright\r\n notice, this list of conditions and the following disclaimer. \r\n \r\n 2. Redistributions in binary form must reproduce the above copyright\r\n notice, this list of conditions and the following disclaimer in\r\n the documentation and/or other materials provided with the\r\n distribution.\r\n \r\n 3. All advertising materials mentioning features or use of this\r\n software must display the following acknowledgment:\r\n \"This product includes software developed by the Apache Group\r\n for use in the Apache HTTP server project (http://www.apache.org/).\"\r\n \r\n 4. The names \"Apache Server\" and \"Apache Group\" must not be used to\r\n endorse or promote products derived from this software without\r\n prior written permission. For written permission, please contact\r\n apache@apache.org.\r\n \r\n 5. Products derived from this software may not be called \"Apache\"\r\n nor may \"Apache\" appear in their names without prior written\r\n permission of the Apache Group.\r\n \r\n 6. Redistributions of any form whatsoever must retain the following\r\n acknowledgment:\r\n \"This product includes software developed by the Apache Group\r\n for use in the Apache HTTP server project (http://www.apache.org/).\"\r\n \r\n THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\r\n EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\r\n ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\r\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\r\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\r\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\r\n OF THE POSSIBILITY OF SUCH DAMAGE.\r\n====================================================================\r\n\r\n This software consists of voluntary contributions made by many\r\n individuals on behalf of the Apache Group and was originally based\r\n on public domain software written at the National Center for\r\n Supercomputing Applications, University of Illinois, Urbana-Champaign.\r\n For more information on the Apache Group and the Apache HTTP server\r\n project, please see ." } ] } ], "license_clues": [], "percentage_of_license_text": 40.98, - "for_licenses": [ - "467418ea-42a8-45bb-a30e-a9fcb411f2bb" + "for_license_detections": [ + "apache_1_0#467418ea-42a8-45bb-a30e-a9fcb411f2bb" ], "is_license_text": false, "files_count": 0, @@ -483,7 +478,8 @@ "matcher": "2-aho", "license_expression": "ja-sig", "rule_identifier": "ja-sig.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ja-sig.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ja-sig.LICENSE", + "matched_text": "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n3. Redistributions of any form whatsoever must retain the following acknowledgment:\n\"This product includes software developed by the JA-SIG Collaborative (http://www.ja-sig.org/).\"\n\nThis software is provided by the JA-SIG collaborative \"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 JA-SIG collaborative 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,\n whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage." } ] }, @@ -502,16 +498,17 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License." } ] } ], "license_clues": [], "percentage_of_license_text": 91.69, - "for_licenses": [ - "303cd8fe-cdb4-d62a-6a7b-306e31fce477", - "c2a02f69-4a86-e4f0-bdc9-55915fe527db" + "for_license_detections": [ + "ja_sig#303cd8fe-cdb4-d62a-6a7b-306e31fce477", + "apache_2_0#c2a02f69-4a86-e4f0-bdc9-55915fe527db" ], "is_license_text": true, "files_count": 0, @@ -556,15 +553,16 @@ "matcher": "1-spdx-id", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "rule_url": null + "rule_url": null, + "matched_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "041f32d1-6cb1-f9fa-a580-14f3958007f0" + "for_license_detections": [ + "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0" ], "is_license_text": true, "files_count": 0, @@ -609,7 +607,8 @@ "matcher": "2-aho", "license_expression": "ja-sig", "rule_identifier": "ja-sig.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ja-sig.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ja-sig.LICENSE", + "matched_text": "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n3. Redistributions of any form whatsoever must retain the following acknowledgment:\n\"This product includes software developed by the JA-SIG Collaborative (http://www.ja-sig.org/).\"\n\nThis software is provided by the JA-SIG collaborative \"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 JA-SIG collaborative 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,\n whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage." } ] }, @@ -628,16 +627,17 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License." } ] } ], "license_clues": [], "percentage_of_license_text": 30.71, - "for_licenses": [ - "303cd8fe-cdb4-d62a-6a7b-306e31fce477", - "c2a02f69-4a86-e4f0-bdc9-55915fe527db" + "for_license_detections": [ + "ja_sig#303cd8fe-cdb4-d62a-6a7b-306e31fce477", + "apache_2_0#c2a02f69-4a86-e4f0-bdc9-55915fe527db" ], "is_license_text": false, "files_count": 0, diff --git a/tests/packagedcode/data/about/aboutfiles.expected.json b/tests/packagedcode/data/about/aboutfiles.expected.json index 3341d934406..d14d78c5104 100644 --- a/tests/packagedcode/data/about/aboutfiles.expected.json +++ b/tests/packagedcode/data/about/aboutfiles.expected.json @@ -212,8 +212,6 @@ "purl": "pkg:about/appdirs@1.4.3" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "aboutfiles", diff --git a/tests/packagedcode/data/alpine/alpine-container-layer.tar.xz-scan-expected.json b/tests/packagedcode/data/alpine/alpine-container-layer.tar.xz-scan-expected.json index 01be439a7c4..2efd5bbd4a9 100644 --- a/tests/packagedcode/data/alpine/alpine-container-layer.tar.xz-scan-expected.json +++ b/tests/packagedcode/data/alpine/alpine-container-layer.tar.xz-scan-expected.json @@ -1872,8 +1872,6 @@ "purl": "pkg:alpine/libc-utils@0.7.2-r3?arch=x86_64" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "alpine-container-layer.tar.xz", diff --git a/tests/packagedcode/data/alpine/rootfs/alpine-rootfs.tar.xz-expected.json b/tests/packagedcode/data/alpine/rootfs/alpine-rootfs.tar.xz-expected.json index 3c219f187d4..2069153b634 100644 --- a/tests/packagedcode/data/alpine/rootfs/alpine-rootfs.tar.xz-expected.json +++ b/tests/packagedcode/data/alpine/rootfs/alpine-rootfs.tar.xz-expected.json @@ -1929,8 +1929,6 @@ "purl": "pkg:alpine/libc-utils@0.7.2-r3?arch=x86_64" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "alpine-rootfs", diff --git a/tests/packagedcode/data/bower/scan-expected.json b/tests/packagedcode/data/bower/scan-expected.json index 0bbed75e801..bf5ad647ffa 100644 --- a/tests/packagedcode/data/bower/scan-expected.json +++ b/tests/packagedcode/data/bower/scan-expected.json @@ -245,8 +245,6 @@ "purl": "pkg:bower/John%20Doe" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "scan", diff --git a/tests/packagedcode/data/build/bazel/end2end-expected.json b/tests/packagedcode/data/build/bazel/end2end-expected.json index aa946066a5d..e89ecb752be 100644 --- a/tests/packagedcode/data/build/bazel/end2end-expected.json +++ b/tests/packagedcode/data/build/bazel/end2end-expected.json @@ -92,8 +92,6 @@ "purl": "pkg:bazel/subdir2" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "end2end", diff --git a/tests/packagedcode/data/build/buck/end2end-expected.json b/tests/packagedcode/data/build/buck/end2end-expected.json index c18b7add162..f8cf73d1b8c 100644 --- a/tests/packagedcode/data/build/buck/end2end-expected.json +++ b/tests/packagedcode/data/build/buck/end2end-expected.json @@ -138,8 +138,6 @@ "purl": "pkg:buck/bin" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "end2end", diff --git a/tests/packagedcode/data/build_gradle/end2end/build.gradle-expected.json b/tests/packagedcode/data/build_gradle/end2end/build.gradle-expected.json index f337795d111..dc3b248e5ec 100644 --- a/tests/packagedcode/data/build_gradle/end2end/build.gradle-expected.json +++ b/tests/packagedcode/data/build_gradle/end2end/build.gradle-expected.json @@ -58,8 +58,6 @@ } ], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "build.gradle", diff --git a/tests/packagedcode/data/cargo/scan.expected.json b/tests/packagedcode/data/cargo/scan.expected.json index bc18b2cbbdf..4c7d966cf28 100644 --- a/tests/packagedcode/data/cargo/scan.expected.json +++ b/tests/packagedcode/data/cargo/scan.expected.json @@ -517,8 +517,6 @@ "purl": "pkg:cargo/daachorse@0.4.1" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "scan", diff --git a/tests/packagedcode/data/chef/package.scan.expected.json b/tests/packagedcode/data/chef/package.scan.expected.json index 3f1b3fb7ffc..9f5b1738ae5 100644 --- a/tests/packagedcode/data/chef/package.scan.expected.json +++ b/tests/packagedcode/data/chef/package.scan.expected.json @@ -132,8 +132,6 @@ "purl": "pkg:chef/301@0.1.0" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "package", diff --git a/tests/packagedcode/data/cocoapods/assemble/many-podspecs-expected.json b/tests/packagedcode/data/cocoapods/assemble/many-podspecs-expected.json index dd9f33161d4..6c10408728b 100644 --- a/tests/packagedcode/data/cocoapods/assemble/many-podspecs-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/many-podspecs-expected.json @@ -709,8 +709,6 @@ "purl": "pkg:cocoapods/AWSPredictionsPlugin@%24AMPLIFY_VERSION" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "many-podspecs", diff --git a/tests/packagedcode/data/cocoapods/assemble/multiple-podspec-expected.json b/tests/packagedcode/data/cocoapods/assemble/multiple-podspec-expected.json index 41bc2390513..0ddaeb1890b 100644 --- a/tests/packagedcode/data/cocoapods/assemble/multiple-podspec-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/multiple-podspec-expected.json @@ -243,8 +243,6 @@ "purl": "pkg:cocoapods/Differentiator@4.0.1" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "multiple-podspec", diff --git a/tests/packagedcode/data/cocoapods/assemble/single-podspec-expected.json b/tests/packagedcode/data/cocoapods/assemble/single-podspec-expected.json index 4470d5ce09b..9fa928eaed5 100644 --- a/tests/packagedcode/data/cocoapods/assemble/single-podspec-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/single-podspec-expected.json @@ -144,8 +144,6 @@ "purl": "pkg:cocoapods/RxDataSources@4.0.1" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "single-podspec", diff --git a/tests/packagedcode/data/cocoapods/assemble/solo/Podfile-expected.json b/tests/packagedcode/data/cocoapods/assemble/solo/Podfile-expected.json index 1901e67746b..6f5964d416d 100644 --- a/tests/packagedcode/data/cocoapods/assemble/solo/Podfile-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/solo/Podfile-expected.json @@ -1,8 +1,6 @@ { "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "Podfile", diff --git a/tests/packagedcode/data/cocoapods/assemble/solo/Podfile.lock-expected.json b/tests/packagedcode/data/cocoapods/assemble/solo/Podfile.lock-expected.json index e18c046861b..3eda1cba4fa 100644 --- a/tests/packagedcode/data/cocoapods/assemble/solo/Podfile.lock-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/solo/Podfile.lock-expected.json @@ -44,8 +44,6 @@ } ], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "Podfile.lock", diff --git a/tests/packagedcode/data/cocoapods/assemble/solo/RxDataSources.podspec-expected.json b/tests/packagedcode/data/cocoapods/assemble/solo/RxDataSources.podspec-expected.json index ed72edb87d0..3a953bd7e19 100644 --- a/tests/packagedcode/data/cocoapods/assemble/solo/RxDataSources.podspec-expected.json +++ b/tests/packagedcode/data/cocoapods/assemble/solo/RxDataSources.podspec-expected.json @@ -101,8 +101,6 @@ "purl": "pkg:cocoapods/RxDataSources@4.0.1" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "RxDataSources.podspec", diff --git a/tests/packagedcode/data/debian/basic-rootfs-expected.json b/tests/packagedcode/data/debian/basic-rootfs-expected.json index a1df1f61123..039e07ed097 100644 --- a/tests/packagedcode/data/debian/basic-rootfs-expected.json +++ b/tests/packagedcode/data/debian/basic-rootfs-expected.json @@ -689,8 +689,6 @@ "purl": "pkg:deb/libndp0@1.4-2ubuntu0.16.04.1?architecture=amd64" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "basic-rootfs.tar.gz", diff --git a/tests/packagedcode/data/debian/debian-container-layer.tar.xz.scan-expected.json b/tests/packagedcode/data/debian/debian-container-layer.tar.xz.scan-expected.json index 6a4155b7e66..36d56a86348 100644 --- a/tests/packagedcode/data/debian/debian-container-layer.tar.xz.scan-expected.json +++ b/tests/packagedcode/data/debian/debian-container-layer.tar.xz.scan-expected.json @@ -689,8 +689,6 @@ "purl": "pkg:deb/libndp0@1.4-2ubuntu0.16.04.1?architecture=amd64" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "debian-container-layer.tar.xz", diff --git a/tests/packagedcode/data/debian/end-to-end.tgz.expected.json b/tests/packagedcode/data/debian/end-to-end.tgz.expected.json index 211fec425ac..81f8227b7b3 100644 --- a/tests/packagedcode/data/debian/end-to-end.tgz.expected.json +++ b/tests/packagedcode/data/debian/end-to-end.tgz.expected.json @@ -65,8 +65,6 @@ "purl": "pkg:deb/libncurses5@6.1-1ubuntu1?architecture=amd64" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "end-to-end.tgz", diff --git a/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json b/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json index cd2149d01b5..19f162729c3 100644 --- a/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json +++ b/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json @@ -1270,8 +1270,6 @@ "purl": "pkg:deb/tar@1.30%2Bdfsg-7?architecture=amd64" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "ubuntu-var-lib-dpkg", diff --git a/tests/packagedcode/data/instance/python-package-instance-expected-with-test-manifests.json b/tests/packagedcode/data/instance/python-package-instance-expected-with-test-manifests.json index bd50bb27eaf..675eedcf0e6 100644 --- a/tests/packagedcode/data/instance/python-package-instance-expected-with-test-manifests.json +++ b/tests/packagedcode/data/instance/python-package-instance-expected-with-test-manifests.json @@ -113,8 +113,6 @@ "purl": "pkg:pypi/setuptools@58.2.0" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "LICENSE", diff --git a/tests/packagedcode/data/instance/python-package-instance-expected-with-uuid.json b/tests/packagedcode/data/instance/python-package-instance-expected-with-uuid.json index 92c2378bce8..a21328ba1f0 100644 --- a/tests/packagedcode/data/instance/python-package-instance-expected-with-uuid.json +++ b/tests/packagedcode/data/instance/python-package-instance-expected-with-uuid.json @@ -243,8 +243,6 @@ "purl": "pkg:pypi/click@attr:%20click.__version__" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "MANIFEST.in", diff --git a/tests/packagedcode/data/instance/python-package-instance-expected.json b/tests/packagedcode/data/instance/python-package-instance-expected.json index 92c2378bce8..a21328ba1f0 100644 --- a/tests/packagedcode/data/instance/python-package-instance-expected.json +++ b/tests/packagedcode/data/instance/python-package-instance-expected.json @@ -243,8 +243,6 @@ "purl": "pkg:pypi/click@attr:%20click.__version__" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "MANIFEST.in", diff --git a/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json b/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json index 5f9094b09bb..1944796cfde 100644 --- a/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json +++ b/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "c2a02f69-4a86-e4f0-bdc9-55915fe527db", + "identifier": "apache_2_0#c2a02f69-4a86-e4f0-bdc9-55915fe527db", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,6 +22,51 @@ ] } ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + } + ], + "license_rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100 + } + ], "dependencies": [ { "purl": "pkg:maven/commons-logging/commons-logging-api", @@ -220,7 +265,8 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n contributor license agreements. See the NOTICE file distributed with\n this work for additional information regarding copyright ownership.\n The ASF licenses this file to You under the Apache License, Version 2.0\n (the \"License\"); you may not use this file except in compliance with\n the License. You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." } ] } @@ -247,67 +293,6 @@ "purl": "pkg:maven/org.apache.activemq/activemq-camel@5.4.2" } ], - "license_references": [ - { - "key": "apache-2.0", - "short_name": "Apache 2.0", - "name": "Apache License 2.0", - "category": "Permissive", - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", - "is_builtin": true, - "spdx_license_key": "Apache-2.0", - "other_spdx_license_keys": [ - "LicenseRef-Apache", - "LicenseRef-Apache-2.0" - ], - "osi_license_key": "Apache-2.0", - "text_urls": [ - "http://www.apache.org/licenses/LICENSE-2.0" - ], - "osi_url": "http://opensource.org/licenses/apache2.0.php", - "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", - "other_urls": [ - "http://www.opensource.org/licenses/Apache-2.0", - "https://opensource.org/licenses/Apache-2.0", - "https://www.apache.org/licenses/LICENSE-2.0" - ], - "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." - } - ], - "rule_references": [ - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100, - "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n contributor license agreements. See the NOTICE file distributed with\n this work for additional information regarding copyright ownership.\n The ASF licenses this file to You under the Apache License, Version 2.0\n (the \"License\"); you may not use this file except in compliance with\n the License. You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100, - "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n contributor license agreements. See the NOTICE file distributed with\n this work for additional information regarding copyright ownership.\n The ASF licenses this file to You under the Apache License, Version 2.0\n (the \"License\"); you may not use this file except in compliance with\n the License. You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." - } - ], "files": [ { "path": "activemq-camel-pom.xml", @@ -330,15 +315,16 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n contributor license agreements. See the NOTICE file distributed with\n this work for additional information regarding copyright ownership.\n The ASF licenses this file to You under the Apache License, Version 2.0\n (the \"License\"); you may not use this file except in compliance with\n the License. You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." } ] } ], "license_clues": [], "percentage_of_license_text": 22.37, - "for_licenses": [ - "c2a02f69-4a86-e4f0-bdc9-55915fe527db" + "for_license_detections": [ + "apache_2_0#c2a02f69-4a86-e4f0-bdc9-55915fe527db" ], "package_data": [ { @@ -382,7 +368,8 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n contributor license agreements. See the NOTICE file distributed with\n this work for additional information regarding copyright ownership.\n The ASF licenses this file to You under the Apache License, Version 2.0\n (the \"License\"); you may not use this file except in compliance with\n the License. You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." } ] } diff --git a/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel_without_license.expected.json b/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel_without_license.expected.json index 81d6ca4d03f..949e654401e 100644 --- a/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel_without_license.expected.json +++ b/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel_without_license.expected.json @@ -252,8 +252,6 @@ "purl": "pkg:maven/org.apache.activemq/activemq-camel@5.4.2" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "activemq-camel-pom.xml", diff --git a/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json b/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json index 04c1949cac0..4c63d1d9f42 100644 --- a/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json +++ b/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "614261e5-1086-6652-1076-f1a96238a5c3", + "identifier": "bsd_new#614261e5-1086-6652-1076-f1a96238a5c3", "license_expression": "bsd-new", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,6 +22,46 @@ ] } ], + "license_references": [ + { + "key": "bsd-new", + "short_name": "BSD-3-Clause", + "name": "BSD-3-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-3-Clause", + "other_spdx_license_keys": [ + "LicenseRef-scancode-libzip" + ], + "osi_license_key": "BSD-3-Clause", + "text_urls": [ + "http://www.opensource.org/licenses/BSD-3-Clause" + ], + "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "other_urls": [ + "http://framework.zend.com/license/new-bsd", + "https://opensource.org/licenses/BSD-3-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + } + ], + "license_rule_references": [ + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_166.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 212, + "rule_relevance": 100 + } + ], "dependencies": [ { "purl": "pkg:pubspec/pedantic", @@ -108,7 +148,8 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE", + "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n\n * Neither the name of Google Inc. nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." } ] } @@ -133,60 +174,6 @@ "purl": "pkg:dart/built_collection@5.1.1" } ], - "license_references": [ - { - "key": "bsd-new", - "short_name": "BSD-3-Clause", - "name": "BSD-3-Clause", - "category": "Permissive", - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "BSD-3-Clause", - "other_spdx_license_keys": [ - "LicenseRef-scancode-libzip" - ], - "osi_license_key": "BSD-3-Clause", - "text_urls": [ - "http://www.opensource.org/licenses/BSD-3-Clause" - ], - "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "other_urls": [ - "http://framework.zend.com/license/new-bsd", - "https://opensource.org/licenses/BSD-3-Clause" - ], - "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - } - ], - "rule_references": [ - { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_166.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 212, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n\n * Neither the name of Google Inc. nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_166.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 212, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n\n * Neither the name of Google Inc. nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - } - ], "files": [ { "path": "LICENSE", @@ -209,15 +196,16 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE", + "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n\n * Neither the name of Google Inc. nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." } ] } ], "license_clues": [], "percentage_of_license_text": 96.8, - "for_licenses": [ - "614261e5-1086-6652-1076-f1a96238a5c3" + "for_license_detections": [ + "bsd_new#614261e5-1086-6652-1076-f1a96238a5c3" ], "package_data": [], "for_packages": [], @@ -231,7 +219,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [ { "type": "dart", @@ -274,7 +262,8 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE", + "matched_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n\n * Neither the name of Google Inc. nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." } ] } diff --git a/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection_without_license.expected.json b/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection_without_license.expected.json index 2f99dfe4d14..3a631b4d131 100644 --- a/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection_without_license.expected.json +++ b/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection_without_license.expected.json @@ -136,8 +136,6 @@ "purl": "pkg:dart/built_collection@5.1.1" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "LICENSE", diff --git a/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json b/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json index 5436f87a733..5c55b57b26d 100644 --- a/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json +++ b/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "3ed7ddff-b77d-c413-8226-a98a1cfe3596", + "identifier": "unknown_license_reference#3ed7ddff-b77d-c413-8226-a98a1cfe3596", "license_expression": "unknown-license-reference", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "8797b332-08a7-0a37-90da-02f897152150", + "identifier": "mit#8797b332-08a7-0a37-90da-02f897152150", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -54,6 +54,96 @@ ] } ], + "license_references": [ + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + }, + { + "key": "unknown-license-reference", + "short_name": "Unknown License reference", + "name": "Unknown License file reference", + "category": "Unstated License", + "owner": "Unspecified", + "notes": "This applies to the case of a file with no clear license, which may be referenced via URL or text such as \"See license in...\" or \"This file is licensed under...\", but where the reference cannot be resolved to a specific named, public license.", + "is_builtin": true, + "is_unknown": true, + "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", + "text": "" + } + ], + "license_rule_references": [ + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit_14.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + } + ], "dependencies": [], "packages": [ { @@ -105,7 +195,8 @@ "matcher": "1-hash", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE", + "matched_text": "license :file = ../LICENSE" }, { "score": 100.0, @@ -116,7 +207,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE", + "matched_text": "MIT License" }, { "score": 100.0, @@ -127,7 +219,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE." } ] } @@ -152,114 +245,6 @@ "purl": "pkg:cocoapods/flutter_paytabs_bridge@2.2.5" } ], - "license_references": [ - { - "key": "mit", - "short_name": "MIT License", - "name": "MIT License", - "category": "Permissive", - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "MIT", - "text_urls": [ - "http://opensource.org/licenses/mit-license.php" - ], - "osi_url": "http://www.opensource.org/licenses/MIT", - "faq_url": "https://ieeexplore.ieee.org/document/9263265", - "other_urls": [ - "https://opensource.com/article/18/3/patent-grant-mit-license", - "https://opensource.com/article/19/4/history-mit-license", - "https://opensource.org/licenses/MIT" - ], - "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." - } - ], - "rule_references": [ - { - "license_expression": "unknown-license-reference", - "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "license :file = ../LICENSE" - }, - { - "license_expression": "mit", - "rule_identifier": "mit_14.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "MIT License" - }, - { - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE." - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "license :file = ../LICENSE" - }, - { - "license_expression": "mit", - "rule_identifier": "mit_14.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "MIT License" - }, - { - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE." - } - ], "files": [ { "path": "LICENSE", @@ -282,7 +267,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE", + "matched_text": "MIT License" }, { "score": 100.0, @@ -293,15 +279,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE." } ] } ], "license_clues": [], "percentage_of_license_text": 97.6, - "for_licenses": [ - "8797b332-08a7-0a37-90da-02f897152150" + "for_license_detections": [ + "mit#8797b332-08a7-0a37-90da-02f897152150" ], "package_data": [], "for_packages": [], @@ -328,7 +315,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE", + "matched_text": "license = { :file => '../LICENSE' }" }, { "score": 100.0, @@ -339,7 +327,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE", + "matched_text": "MIT License" }, { "score": 100.0, @@ -350,15 +339,16 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE." } ] } ], "license_clues": [], "percentage_of_license_text": 2.5, - "for_licenses": [ - "3ed7ddff-b77d-c413-8226-a98a1cfe3596" + "for_license_detections": [ + "unknown_license_reference#3ed7ddff-b77d-c413-8226-a98a1cfe3596" ], "package_data": [ { @@ -410,7 +400,8 @@ "matcher": "1-hash", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE", + "matched_text": "license :file = ../LICENSE" }, { "score": 100.0, @@ -421,7 +412,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE", + "matched_text": "MIT License" }, { "score": 100.0, @@ -432,7 +424,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE." } ] } diff --git a/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge_without_license.expected.json b/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge_without_license.expected.json index fdd6387433e..7cd4c3bbabe 100644 --- a/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge_without_license.expected.json +++ b/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge_without_license.expected.json @@ -177,8 +177,6 @@ "purl": "pkg:cocoapods/flutter_paytabs_bridge@2.2.5" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "LICENSE", diff --git a/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json b/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json index 3307a6b9b8b..ddf19f06a0f 100644 --- a/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json +++ b/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "fb544817-ac13-5bb2-e219-0e3bba38b9bf", + "identifier": "zlib#fb544817-ac13-5bb2-e219-0e3bba38b9bf", "license_expression": "zlib", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "750cc90c-1587-3743-f22a-e2ff2e95e077", + "identifier": "zlib#750cc90c-1587-3743-f22a-e2ff2e95e077", "license_expression": "zlib", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -43,6 +43,73 @@ ] } ], + "license_references": [ + { + "key": "zlib", + "short_name": "ZLIB License", + "name": "ZLIB License", + "category": "Permissive", + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "notes": "Per SPDX.org, this is OSI certified", + "is_builtin": true, + "spdx_license_key": "Zlib", + "text_urls": [ + "http://www.gzip.org/zlib/zlib_license.html" + ], + "osi_url": "http://www.opensource.org/licenses/zlib-license.php", + "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", + "other_urls": [ + "http://www.opensource.org/licenses/Zlib", + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "minimum_coverage": 50, + "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." + } + ], + "license_rule_references": [ + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_in_manifest.RULE", + "referenced_filenames": [ + "LICENSE.txt" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_in_manifest.RULE", + "referenced_filenames": [ + "LICENSE.txt" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + } + ], "dependencies": [], "packages": [ { @@ -94,7 +161,8 @@ "matcher": "1-hash", "license_expression": "zlib", "rule_identifier": "zlib_in_manifest.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE", + "matched_text": ":type = zlib, :file = LICENSE.txt" }, { "score": 100.0, @@ -105,7 +173,8 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution." } ] } @@ -130,74 +199,6 @@ "purl": "pkg:cocoapods/nanopb@1.30905.0" } ], - "license_references": [ - { - "key": "zlib", - "short_name": "ZLIB License", - "name": "ZLIB License", - "category": "Permissive", - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "notes": "Per SPDX.org, this is OSI certified", - "is_builtin": true, - "spdx_license_key": "Zlib", - "text_urls": [ - "http://www.gzip.org/zlib/zlib_license.html" - ], - "osi_url": "http://www.opensource.org/licenses/zlib-license.php", - "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", - "other_urls": [ - "http://www.opensource.org/licenses/Zlib", - "http://www.zlib.net/zlib_license.html", - "https://opensource.org/licenses/Zlib" - ], - "minimum_coverage": 50, - "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." - } - ], - "rule_references": [ - { - "license_expression": "zlib", - "rule_identifier": "zlib_in_manifest.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": ":type = zlib, :file = LICENSE.txt" - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100, - "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution." - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100, - "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution." - } - ], "files": [ { "path": "LICENSE.txt", @@ -220,15 +221,16 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution." } ] } ], "license_clues": [], "percentage_of_license_text": 92.31, - "for_licenses": [ - "fb544817-ac13-5bb2-e219-0e3bba38b9bf" + "for_license_detections": [ + "zlib#fb544817-ac13-5bb2-e219-0e3bba38b9bf" ], "package_data": [], "for_packages": [], @@ -255,7 +257,8 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib_in_manifest.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE", + "matched_text": "type => 'zlib', :file => 'LICENSE.txt' }" }, { "score": 100.0, @@ -266,16 +269,17 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution." } ] } ], "license_clues": [], "percentage_of_license_text": 2.49, - "for_licenses": [ - "750cc90c-1587-3743-f22a-e2ff2e95e077", - "750cc90c-1587-3743-f22a-e2ff2e95e077" + "for_license_detections": [ + "zlib#750cc90c-1587-3743-f22a-e2ff2e95e077", + "zlib#750cc90c-1587-3743-f22a-e2ff2e95e077" ], "package_data": [ { @@ -327,7 +331,8 @@ "matcher": "1-hash", "license_expression": "zlib", "rule_identifier": "zlib_in_manifest.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE", + "matched_text": ":type = zlib, :file = LICENSE.txt" }, { "score": 100.0, @@ -338,7 +343,8 @@ "matcher": "2-aho", "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution." } ] } diff --git a/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb_without_license.expected.json b/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb_without_license.expected.json index dd25abbbe14..407a006d19a 100644 --- a/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb_without_license.expected.json +++ b/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb_without_license.expected.json @@ -140,8 +140,6 @@ "purl": "pkg:cocoapods/nanopb@1.30905.0" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "LICENSE.txt", diff --git a/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json index bd2aae067c3..46969667226 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "b311c6a4-90ca-420f-ddb7-53c164b9bf65", + "identifier": "free_unknown#b311c6a4-90ca-420f-ddb7-53c164b9bf65", "license_expression": "free-unknown", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "8b191dea-30ee-8738-fab1-2c6dbb5d65c2", + "identifier": "bsd_new#8b191dea-30ee-8738-fab1-2c6dbb5d65c2", "license_expression": "bsd-new", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -43,6 +43,84 @@ ] } ], + "license_references": [ + { + "key": "bsd-new", + "short_name": "BSD-3-Clause", + "name": "BSD-3-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-3-Clause", + "other_spdx_license_keys": [ + "LicenseRef-scancode-libzip" + ], + "osi_license_key": "BSD-3-Clause", + "text_urls": [ + "http://www.opensource.org/licenses/BSD-3-Clause" + ], + "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "other_urls": [ + "http://framework.zend.com/license/new-bsd", + "https://opensource.org/licenses/BSD-3-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "free-unknown", + "short_name": "Free unknown", + "name": "Free unknown license detected but not recognized", + "category": "Unstated License", + "owner": "Unspecified", + "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", + "is_builtin": true, + "is_unknown": true, + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "text": "" + } + ], + "license_rule_references": [ + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_1.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 11, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99 + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99 + } + ], "dependencies": [], "packages": [ { @@ -106,7 +184,8 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" } ] } @@ -133,73 +212,6 @@ "purl": "pkg:pypi/django@1.2.5" } ], - "license_references": [ - { - "key": "bsd-new", - "short_name": "BSD-3-Clause", - "name": "BSD-3-Clause", - "category": "Permissive", - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "BSD-3-Clause", - "other_spdx_license_keys": [ - "LicenseRef-scancode-libzip" - ], - "osi_license_key": "BSD-3-Clause", - "text_urls": [ - "http://www.opensource.org/licenses/BSD-3-Clause" - ], - "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "other_urls": [ - "http://framework.zend.com/license/new-bsd", - "https://opensource.org/licenses/BSD-3-Clause" - ], - "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - } - ], - "rule_references": [ - { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']" - }, - { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']" - }, - { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "License :: OSI Approved :: BSD License" - } - ], "files": [ { "path": "PKG-INFO", @@ -222,16 +234,17 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "License :: OSI Approved :: BSD License" } ] } ], "license_clues": [], "percentage_of_license_text": 4.03, - "for_licenses": [ - "8b191dea-30ee-8738-fab1-2c6dbb5d65c2", - "8b191dea-30ee-8738-fab1-2c6dbb5d65c2" + "for_license_detections": [ + "bsd_new#8b191dea-30ee-8738-fab1-2c6dbb5d65c2", + "bsd_new#8b191dea-30ee-8738-fab1-2c6dbb5d65c2" ], "package_data": [ { @@ -295,7 +308,8 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" } ] } @@ -344,7 +358,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE", + "matched_text": "This file is distributed under the same license as the package." }, { "score": 99.0, @@ -355,15 +370,16 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" } ] } ], "license_clues": [], "percentage_of_license_text": 0.07, - "for_licenses": [ - "b311c6a4-90ca-420f-ddb7-53c164b9bf65" + "for_license_detections": [ + "free_unknown#b311c6a4-90ca-420f-ddb7-53c164b9bf65" ], "package_data": [], "for_packages": [ diff --git a/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json index 77be3a48425..6b4d3b4ab48 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "07d990a9-4b75-141e-1214-8f9a6baca3f6", + "identifier": "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", "license_expression": "gpl-2.0-plus", - "occurance_count": 21, + "occurrence_count": 21, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "0667fcba-0434-a8b0-c381-d21e497f339e", + "identifier": "gpl_2_0_plus_and_free_unknown#0667fcba-0434-a8b0-c381-d21e497f339e", "license_expression": "gpl-2.0-plus AND free-unknown", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -54,9 +54,9 @@ ] }, { - "identifier": "5e7cf470-62b4-d7f2-403b-32e360af9959", + "identifier": "bsd_new#5e7cf470-62b4-d7f2-403b-32e360af9959", "license_expression": "bsd-new", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -75,9 +75,9 @@ ] }, { - "identifier": "8f13c053-ee2e-fbc9-00bd-94342ccaca54", + "identifier": "apache_2_0_and_gpl_2_0_plus_and_free_unknown#8f13c053-ee2e-fbc9-00bd-94342ccaca54", "license_expression": "apache-2.0 AND gpl-2.0-plus AND free-unknown", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -118,9 +118,9 @@ ] }, { - "identifier": "436a53e8-cee5-a1a3-1a63-23f72b7ecff8", + "identifier": "lgpl_3_0_plus#436a53e8-cee5-a1a3-1a63-23f72b7ecff8", "license_expression": "lgpl-3.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -139,9 +139,9 @@ ] }, { - "identifier": "bd9559dd-d998-d270-8750-8a6673b7e089", + "identifier": "public_domain#bd9559dd-d998-d270-8750-8a6673b7e089", "license_expression": "public-domain", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "possible-false-positive", "not-license-clues-as-more-detections-present" @@ -161,9 +161,9 @@ ] }, { - "identifier": "5b77229a-4d7f-8d90-8406-e2f0bbefad2f", + "identifier": "gpl_2_0_plus#5b77229a-4d7f-8d90-8406-e2f0bbefad2f", "license_expression": "gpl-2.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "possible-false-positive", "not-license-clues-as-more-detections-present" @@ -183,9 +183,9 @@ ] }, { - "identifier": "c653439c-e276-d2c2-c877-f4cf44461425", + "identifier": "mit#c653439c-e276-d2c2-c877-f4cf44461425", "license_expression": "mit", - "occurance_count": 3, + "occurrence_count": 3, "detection_log": [ "possible-false-positive", "not-license-clues-as-more-detections-present" @@ -205,9 +205,9 @@ ] }, { - "identifier": "98ef120f-3326-ab2a-1549-8e606ef5d913", + "identifier": "bsd_original#98ef120f-3326-ab2a-1549-8e606ef5d913", "license_expression": "bsd-original", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -226,9 +226,9 @@ ] }, { - "identifier": "3f66e975-1f1b-f709-e7a9-03ce0158276e", + "identifier": "gpl_2_0_plus_and_gpl_3_0_plus_and_lgpl_2_1_plus_and_lgpl_3_0_plus_and_bsd_new_and_bsd_original_and_mit_and_public_domain_and_other_permissive#3f66e975-1f1b-f709-e7a9-03ce0158276e", "license_expression": "gpl-2.0-plus AND gpl-3.0-plus AND lgpl-2.1-plus AND lgpl-3.0-plus AND bsd-new AND bsd-original AND mit AND public-domain AND other-permissive", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -478,9 +478,9 @@ ] }, { - "identifier": "7a7f220c-2737-f01f-ae6d-996a8265fe35", + "identifier": "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", "license_expression": "gpl-2.0-plus", - "occurance_count": 22, + "occurrence_count": 22, "detection_log": [ "not-combined" ], @@ -499,9 +499,9 @@ ] }, { - "identifier": "6d9cdb91-f72a-e66d-131a-5df68f4b8dbe", + "identifier": "bsd_simplified#6d9cdb91-f72a-e66d-131a-5df68f4b8dbe", "license_expression": "bsd-simplified", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -520,9 +520,9 @@ ] }, { - "identifier": "96ffe1b7-0393-b4ce-7307-8ea9f7b6a926", + "identifier": "lgpl_3_0#96ffe1b7-0393-b4ce-7307-8ea9f7b6a926", "license_expression": "lgpl-3.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "possible-false-positive", "not-license-clues-as-more-detections-present" @@ -542,9 +542,9 @@ ] }, { - "identifier": "2fcd3356-800d-11d7-c648-c983d7089c6f", + "identifier": "mit_and_other_permissive#2fcd3356-800d-11d7-c648-c983d7089c6f", "license_expression": "mit AND other-permissive", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "possible-false-positive", "not-license-clues-as-more-detections-present" @@ -575,9 +575,9 @@ ] }, { - "identifier": "97b7b447-cbd8-46bc-d573-acd1c32c3e4d", + "identifier": "public_domain_and_bsd_original_and_gpl_1_0_plus#97b7b447-cbd8-46bc-d573-acd1c32c3e4d", "license_expression": "public-domain AND bsd-original AND gpl-1.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "possible-false-positive", "not-license-clues-as-more-detections-present" @@ -619,9 +619,9 @@ ] }, { - "identifier": "36666984-5064-88c2-90a6-dc14744d84f0", + "identifier": "none#36666984-5064-88c2-90a6-dc14744d84f0", "license_expression": null, - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "license-clues" ], @@ -640,9 +640,9 @@ ] }, { - "identifier": "142f3261-5728-9933-74c7-7e8aa278ff6d", + "identifier": "free_unknown#142f3261-5728-9933-74c7-7e8aa278ff6d", "license_expression": "free-unknown", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -661,9 +661,9 @@ ] }, { - "identifier": "b311c6a4-90ca-420f-ddb7-53c164b9bf65", + "identifier": "free_unknown#b311c6a4-90ca-420f-ddb7-53c164b9bf65", "license_expression": "free-unknown", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -682,4108 +682,1412 @@ ] } ], - "dependencies": [], - "packages": [ + "license_references": [ { - "type": "deb", - "namespace": null, - "name": "fusiondirectory", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "Web Based LDAP Administration Program\n Provided is access to posix, shadow, samba, proxy, pureftp and\n kerberos accounts. It is able to manage the postfix/cyrus server\n combination and can write user adapted sieve scripts.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" ], - "datasource_ids": [ - "debian_control_in_source" + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" ], - "purl": "pkg:deb/fusiondirectory?architecture=all" + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-alias", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "alias plugin for FusionDirectory\n This plugin is designed to configure mail aliases for postfix.\n It provide description and expiration Date\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-alias?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "bsd-new", + "short_name": "BSD-3-Clause", + "name": "BSD-3-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-3-Clause", + "other_spdx_license_keys": [ + "LicenseRef-scancode-libzip" ], - "datasource_ids": [ - "debian_control_in_source" + "osi_license_key": "BSD-3-Clause", + "text_urls": [ + "http://www.opensource.org/licenses/BSD-3-Clause" ], - "purl": "pkg:deb/fusiondirectory-plugin-alias?architecture=all" + "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "other_urls": [ + "http://framework.zend.com/license/new-bsd", + "https://opensource.org/licenses/BSD-3-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-alias-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory alias plugin\n This package includes the LDAP schema needed by the FusionDirectory\n alias plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-alias-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "bsd-original", + "short_name": "BSD-Original", + "name": "BSD-Original", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", + "notes": "Per SPDX.org, this license was rescinded by the author on 22 July 1999.", + "is_builtin": true, + "spdx_license_key": "BSD-4-Clause", + "text_urls": [ + "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6" ], - "datasource_ids": [ - "debian_control_in_source" + "osi_url": "http://www.opensource.org/licenses/bsd-license.php", + "other_urls": [ + "http://directory.fsf.org/wiki/License:BSD_4Clause", + "http://www.fsf.org/licensing/essays/bsd.html", + "http://www.gnu.org/philosophy/bsd.html" ], - "purl": "pkg:deb/fusiondirectory-plugin-alias-schema?architecture=all" + "text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice,\nthis list 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\nand/or other materials provided with the distribution.\n\n3. All advertising materials mentioning features or use of this software\nmust display the following acknowledgement: This product includes software\ndeveloped by the .\n\n4. Neither the name of the nor the names of its contributors\nmay be used to endorse or promote products derived from this software\nwithout specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY ''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 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,\nOR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\nEVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-applications", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "Applications management plugin for FusionDirectory\n Application management plugin for desktop and web.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-applications?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "bsd-simplified", + "short_name": "BSD-2-Clause", + "name": "BSD-2-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-2-Clause", + "other_spdx_license_keys": [ + "BSD-2-Clause-NetBSD", + "BSD-2" ], - "datasource_ids": [ - "debian_control_in_source" + "text_urls": [ + "http://opensource.org/licenses/bsd-license.php" ], - "purl": "pkg:deb/fusiondirectory-plugin-applications?architecture=all" + "osi_url": "http://opensource.org/licenses/bsd-license.php", + "other_urls": [ + "http://spdx.org/licenses/BSD-2-Clause", + "http://www.freebsd.org/copyright/copyright.html", + "https://opensource.org/licenses/BSD-2-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-applications-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory application management plugin\n This package includes the LDAP schema needed by the FusionDirectory\n application management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-applications-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-applications-schema?architecture=all" + "key": "free-unknown", + "short_name": "Free unknown", + "name": "Free unknown license detected but not recognized", + "category": "Unstated License", + "owner": "Unspecified", + "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", + "is_builtin": true, + "is_unknown": true, + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "text": "" }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-argonaut", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "Argonaut plugin for FusionDirectory\n Store all the configuration for the Argonaut deployment system.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-argonaut?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "gpl-1.0-plus", + "short_name": "GPL 1.0 or later", + "name": "GNU General Public License 1.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "notes": "Per SPDX.org, this license was released February 1989.", + "is_builtin": true, + "spdx_license_key": "GPL-1.0-or-later", + "other_spdx_license_keys": [ + "GPL-1.0+", + "LicenseRef-GPL" ], - "datasource_ids": [ - "debian_control_in_source" + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" ], - "purl": "pkg:deb/fusiondirectory-plugin-argonaut?architecture=all" + "other_urls": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 1, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,\nCambridge, MA 02139, USA.\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 1, February 1989\n\nCopyright (C) 1989 Free Software Foundation, Inc.\n51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe license agreements of most software companies try to keep users\nat the mercy of those companies. By contrast, our General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. The\nGeneral Public License applies to the Free Software Foundation's\nsoftware and to any other program whose authors commit to using it.\nYou can use it for your programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Specifically, the General Public License is designed to make\nsure that you have the freedom to give away or sell copies of free\nsoftware, that you receive source code or can get it if you want it,\nthat you can change the software or use pieces of it in new free\nprograms; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of a such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must tell them their rights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any program or other work which\ncontains a notice placed by the copyright holder saying it may be\ndistributed under the terms of this General Public License. The\n\"Program\", below, refers to any such program or work, and a \"work based\non the Program\" means either the Program or any work containing the\nProgram or a portion of it, either verbatim or with modifications. Each\nlicensee is addressed as \"you\".\n\n1. You may copy and distribute verbatim copies of the Program's source\ncode as you receive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice and\ndisclaimer of warranty; keep intact all the notices that refer to this\nGeneral Public License and to the absence of any warranty; and give any\nother recipients of the Program a copy of this General Public License\nalong with the Program. You may charge a fee for the physical act of\ntransferring a copy.\n\n2. You may modify your copy or copies of the Program or any portion of\nit, and copy and distribute such modifications under the terms of Paragraph\n1 above, provided that you also do the following:\n\na) cause the modified files to carry prominent notices stating that\nyou changed the files and the date of any change; and\n\nb) cause the whole of any work that you distribute or publish, that\nin whole or in part contains the Program or any part thereof, either\nwith or without modifications, to be licensed at no charge to all\nthird parties under the terms of this General Public License (except\nthat you may choose to grant warranty protection to some or all\nthird parties, at your option).\n\nc) If the modified program normally reads commands interactively when\nrun, you must cause it, when started running for such interactive use\nin the simplest and most usual way, to print or display an\nannouncement including an appropriate copyright notice and a notice\nthat there is no warranty (or else, saying that you provide a\nwarranty) and that users may redistribute the program under these\nconditions, and telling the user how to view a copy of this General\nPublic License.\n\nd) You may charge a fee for the physical act of transferring a\ncopy, and you may at your option offer warranty protection in\nexchange for a fee.\n\nMere aggregation of another independent work with the Program (or its\nderivative) on a volume of a storage or distribution medium does not bring\nthe other work under the scope of these terms.\n\n\n3. You may copy and distribute the Program (or a portion or derivative of\nit, under Paragraph 2) in object code or executable form under the terms of\nParagraphs 1 and 2 above provided that you also do one of the following:\n\na) accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nb) accompany it with a written offer, valid for at least three\nyears, to give any third party free (except for a nominal charge\nfor the cost of distribution) a complete machine-readable copy of the\ncorresponding source code, to be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nc) accompany it with the information you received as to where the\ncorresponding source code may be obtained. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form alone.)\n\nSource code for a work means the preferred form of the work for making\nmodifications to it. For an executable file, complete source code means\nall the source code for all modules it contains; but, as a special\nexception, it need not include source code for modules which are standard\nlibraries that accompany the operating system on which the executable\nfile runs, or for standard header files or definitions files that\naccompany that operating system.\n\n4. You may not copy, modify, sublicense, distribute or transfer the\nProgram except as expressly provided under this General Public License.\nAny attempt otherwise to copy, modify, sublicense, distribute or transfer\nthe Program is void, and will automatically terminate your rights to use\nthe Program under this License. However, parties who have received\ncopies, or rights to use copies, from you under this General Public\nLicense will not have their licenses terminated so long as such parties\nremain in full compliance.\n\n5. By copying, distributing or modifying the Program (or any work based\non the Program) you indicate your acceptance of this license to do so,\nand all its terms and conditions.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the original\nlicensor to copy, distribute or modify the Program subject to these\nterms and conditions. You may not impose any further restrictions on the\nrecipients' exercise of the rights granted herein.\n\n\n7. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of the license which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthe license, you may choose any version ever published by the Free Software\nFoundation.\n\n8. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nAppendix: How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to humanity, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these\nterms.\n\nTo do so, attach the following notices to the program. It is safest to\nattach them to the start of each source file to most effectively convey\nthe exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) 19yy \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 1, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA\n\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) 19xx name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the\nappropriate parts of the General Public License. Of course, the\ncommands you use may be called something other than `show w' and `show\nc'; they could even be mouse-clicks or menu items--whatever suits your\nprogram.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nprogram `Gnomovision' (a program to direct compilers to make passes\nat assemblers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThat's all there is to it!" }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-argonaut-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory Argonaut plugin\n This package includes the LDAP schema needed by the FusionDirectory\n Argonaut plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-argonaut-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" ], - "datasource_ids": [ - "debian_control_in_source" + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" ], - "purl": "pkg:deb/fusiondirectory-plugin-argonaut-schema?architecture=all" + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-audit", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "audit plugin for FusionDirectory\n This package contains the audit plugin for FusionDirectory\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-audit?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "gpl-3.0-plus", + "short_name": "GPL 3.0 or later", + "name": "GNU General Public License 3.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "notes": "Per SPDX.org, this license was released 29 June 2007 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-3.0-or-later", + "other_spdx_license_keys": [ + "GPL-3.0+", + "LicenseRef-GPL-3.0-or-later" ], - "datasource_ids": [ - "debian_control_in_source" + "text_urls": [ + "http://www.gnu.org/licenses/gpl-3.0-standalone.html" ], - "purl": "pkg:deb/fusiondirectory-plugin-audit?architecture=all" + "other_urls": [ + "http://www.opensource.org/licenses/GPL-3.0", + "https://opensource.org/licenses/GPL-3.0", + "https://www.gnu.org/licenses/gpl-3.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-audit-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory audit plugin\n This package includes the LDAP schema needed by the FusionDirectory\n audit plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-audit-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" ], - "datasource_ids": [ - "debian_control_in_source" + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" ], - "purl": "pkg:deb/fusiondirectory-plugin-audit-schema?architecture=all" + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-autofs", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "autofs plugin for FusionDirectory\n Automount management plugin for FusionDirectory\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-autofs?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "lgpl-3.0", + "short_name": "LGPL 3.0", + "name": "GNU Lesser General Public License 3.0", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", + "notes": "Per SPDX.org, this license was released 29 June 2007. This license is OSI\nCertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-3.0-only", + "other_spdx_license_keys": [ + "LGPL-3.0" ], - "datasource_ids": [ - "debian_control_in_source" + "osi_license_key": "LGPL-3.0", + "text_urls": [ + "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "http://www.gnu.org/licenses/lgpl-3.0.txt" ], - "purl": "pkg:deb/fusiondirectory-plugin-autofs?architecture=all" + "osi_url": "http://www.opensource.org/licenses/lgpl-3.0.html", + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.gnu.org/licenses/why-not-lgpl.html", + "http://www.opensource.org/licenses/LGPL-3.0", + "https://opensource.org/licenses/LGPL-3.0", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html" + ], + "text": "GNU LESSER GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n\nThis version of the GNU Lesser General Public License incorporates\nthe terms and conditions of version 3 of the GNU General Public\nLicense, supplemented by the additional permissions listed below.\n\n0. Additional Definitions.\n\nAs used herein, \"this License\" refers to version 3 of the GNU Lesser\nGeneral Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public License.\n\n\"The Library\" refers to a covered work governed by this License,\nother than an Application or a Combined Work as defined below.\n\nAn \"Application\" is any work that makes use of an interface provided\nby the Library, but which is not otherwise based on the Library.\nDefining a subclass of a class defined by the Library is deemed a mode\nof using an interface provided by the Library.\n\nA \"Combined Work\" is a work produced by combining or linking an\nApplication with the Library. The particular version of the Library\nwith which the Combined Work was made is also called the \"Linked\nVersion\".\n\nThe \"Minimal Corresponding Source\" for a Combined Work means the\nCorresponding Source for the Combined Work, excluding any source code\nfor portions of the Combined Work that, considered in isolation, are\nbased on the Application, and not on the Linked Version.\n\nThe \"Corresponding Application Code\" for a Combined Work means the\nobject code and/or source code for the Application, including any data\nand utility programs needed for reproducing the Combined Work from the\nApplication, but excluding the System Libraries of the Combined Work.\n\n1. Exception to Section 3 of the GNU GPL.\n\nYou may convey a covered work under sections 3 and 4 of this License\nwithout being bound by section 3 of the GNU GPL.\n\n2. Conveying Modified Versions.\n\nIf you modify a copy of the Library, and, in your modifications, a\nfacility refers to a function or data to be supplied by an Application\nthat uses the facility (other than as an argument passed when the\nfacility is invoked), then you may convey a copy of the modified\nversion:\n\na) under this License, provided that you make a good faith effort to\nensure that, in the event an Application does not supply the\nfunction or data, the facility still operates, and performs\nwhatever part of its purpose remains meaningful, or\n\nb) under the GNU GPL, with none of the additional permissions of\nthis License applicable to that copy.\n\n3. Object Code Incorporating Material from Library Header Files.\n\nThe object code form of an Application may incorporate material from\na header file that is part of the Library. You may convey such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial is not limited to numerical parameters, data structure\nlayouts and accessors, or small macros, inline functions and templates\n(ten or fewer lines in length), you do both of the following:\n\na) Give prominent notice with each copy of the object code that the\nLibrary is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the object code with a copy of the GNU GPL and this license\ndocument.\n\n4. Combined Works.\n\nYou may convey a Combined Work under terms of your choice that,\ntaken together, effectively do not restrict modification of the\nportions of the Library contained in the Combined Work and reverse\nengineering for debugging such modifications, if you also do each of\nthe following:\n\na) Give prominent notice with each copy of the Combined Work that\nthe Library is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the Combined Work with a copy of the GNU GPL and this license\ndocument.\n\nc) For a Combined Work that displays copyright notices during\nexecution, include the copyright notice for the Library among\nthese notices, as well as a reference directing the user to the\ncopies of the GNU GPL and this license document.\n\nd) Do one of the following:\n\n0) Convey the Minimal Corresponding Source under the terms of this\nLicense, and the Corresponding Application Code in a form\nsuitable for, and under terms that permit, the user to\nrecombine or relink the Application with a modified version of\nthe Linked Version to produce a modified Combined Work, in the\nmanner specified by section 6 of the GNU GPL for conveying\nCorresponding Source.\n\n1) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (a) uses at run time\na copy of the Library already present on the user's computer\nsystem, and (b) will operate properly with a modified version\nof the Library that is interface-compatible with the Linked\nVersion.\n\ne) Provide Installation Information, but only if you would otherwise\nbe required to provide such information under section 6 of the\nGNU GPL, and only to the extent that such information is\nnecessary to install and execute a modified version of the\nCombined Work produced by recombining or relinking the\nApplication with a modified version of the Linked Version. (If\nyou use option 4d0, the Installation Information must accompany\nthe Minimal Corresponding Source and Corresponding Application\nCode. If you use option 4d1, you must provide the Installation\nInformation in the manner specified by section 6 of the GNU GPL\nfor conveying Corresponding Source.)\n\n5. Combined Libraries.\n\nYou may place library facilities that are a work based on the\nLibrary side by side in a single library together with other library\nfacilities that are not Applications and are not covered by this\nLicense, and convey such a combined library under terms of your\nchoice, if you do both of the following:\n\na) Accompany the combined library with a copy of the same work based\non the Library, uncombined with any other library facilities,\nconveyed under the terms of this License.\n\nb) Give prominent notice with the combined library that part of it\nis a work based on the Library, and explaining where to find the\naccompanying uncombined form of the same work.\n\n6. Revised Versions of the GNU Lesser General Public License.\n\nThe Free Software Foundation may publish revised and/or new versions\nof the GNU Lesser General Public License from time to time. Such new\nversions will be similar in spirit to the present version, but may\ndiffer in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nLibrary as you received it specifies that a certain numbered version\nof the GNU Lesser General Public License \"or any later version\"\napplies to it, you have the option of following the terms and\nconditions either of that published version or of any later version\npublished by the Free Software Foundation. If the Library as you\nreceived it does not specify a version number of the GNU Lesser\nGeneral Public License, you may choose any version of the GNU Lesser\nGeneral Public License ever published by the Free Software Foundation.\n\nIf the Library as you received it specifies that a proxy can decide\nwhether future versions of the GNU Lesser General Public License shall\napply, that proxy's public statement of acceptance of any version is\npermanent authorization for you to choose that version for the\nLibrary." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-autofs-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory autofs plugin\n This package includes the LDAP schema needed by the FusionDirectory\n autofs plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-autofs-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "lgpl-3.0-plus", + "short_name": "LGPL 3.0 or later", + "name": "GNU Lesser General Public License 3.0 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "notes": "Per SPDX.org, this license was released 29 June 2007. This license is OSI\nCertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-3.0-or-later", + "other_spdx_license_keys": [ + "LGPL-3.0+" ], - "datasource_ids": [ - "debian_control_in_source" + "text_urls": [ + "http://www.gnu.org/licenses/lgpl-3.0-standalone.html" ], - "purl": "pkg:deb/fusiondirectory-plugin-autofs-schema?architecture=all" + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-3.0", + "https://opensource.org/licenses/LGPL-3.0", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 3.0 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n\nThis version of the GNU Lesser General Public License incorporates\nthe terms and conditions of version 3 of the GNU General Public\nLicense, supplemented by the additional permissions listed below.\n\n0. Additional Definitions.\n\nAs used herein, \"this License\" refers to version 3 of the GNU Lesser\nGeneral Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public License.\n\n\"The Library\" refers to a covered work governed by this License,\nother than an Application or a Combined Work as defined below.\n\nAn \"Application\" is any work that makes use of an interface provided\nby the Library, but which is not otherwise based on the Library.\nDefining a subclass of a class defined by the Library is deemed a mode\nof using an interface provided by the Library.\n\nA \"Combined Work\" is a work produced by combining or linking an\nApplication with the Library. The particular version of the Library\nwith which the Combined Work was made is also called the \"Linked\nVersion\".\n\nThe \"Minimal Corresponding Source\" for a Combined Work means the\nCorresponding Source for the Combined Work, excluding any source code\nfor portions of the Combined Work that, considered in isolation, are\nbased on the Application, and not on the Linked Version.\n\nThe \"Corresponding Application Code\" for a Combined Work means the\nobject code and/or source code for the Application, including any data\nand utility programs needed for reproducing the Combined Work from the\nApplication, but excluding the System Libraries of the Combined Work.\n\n1. Exception to Section 3 of the GNU GPL.\n\nYou may convey a covered work under sections 3 and 4 of this License\nwithout being bound by section 3 of the GNU GPL.\n\n2. Conveying Modified Versions.\n\nIf you modify a copy of the Library, and, in your modifications, a\nfacility refers to a function or data to be supplied by an Application\nthat uses the facility (other than as an argument passed when the\nfacility is invoked), then you may convey a copy of the modified\nversion:\n\na) under this License, provided that you make a good faith effort to\nensure that, in the event an Application does not supply the\nfunction or data, the facility still operates, and performs\nwhatever part of its purpose remains meaningful, or\n\nb) under the GNU GPL, with none of the additional permissions of\nthis License applicable to that copy.\n\n3. Object Code Incorporating Material from Library Header Files.\n\nThe object code form of an Application may incorporate material from\na header file that is part of the Library. You may convey such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial is not limited to numerical parameters, data structure\nlayouts and accessors, or small macros, inline functions and templates\n(ten or fewer lines in length), you do both of the following:\n\na) Give prominent notice with each copy of the object code that the\nLibrary is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the object code with a copy of the GNU GPL and this license\ndocument.\n\n4. Combined Works.\n\nYou may convey a Combined Work under terms of your choice that,\ntaken together, effectively do not restrict modification of the\nportions of the Library contained in the Combined Work and reverse\nengineering for debugging such modifications, if you also do each of\nthe following:\n\na) Give prominent notice with each copy of the Combined Work that\nthe Library is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the Combined Work with a copy of the GNU GPL and this license\ndocument.\n\nc) For a Combined Work that displays copyright notices during\nexecution, include the copyright notice for the Library among\nthese notices, as well as a reference directing the user to the\ncopies of the GNU GPL and this license document.\n\nd) Do one of the following:\n\n0) Convey the Minimal Corresponding Source under the terms of this\nLicense, and the Corresponding Application Code in a form\nsuitable for, and under terms that permit, the user to\nrecombine or relink the Application with a modified version of\nthe Linked Version to produce a modified Combined Work, in the\nmanner specified by section 6 of the GNU GPL for conveying\nCorresponding Source.\n\n1) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (a) uses at run time\na copy of the Library already present on the user's computer\nsystem, and (b) will operate properly with a modified version\nof the Library that is interface-compatible with the Linked\nVersion.\n\ne) Provide Installation Information, but only if you would otherwise\nbe required to provide such information under section 6 of the\nGNU GPL, and only to the extent that such information is\nnecessary to install and execute a modified version of the\nCombined Work produced by recombining or relinking the\nApplication with a modified version of the Linked Version. (If\nyou use option 4d0, the Installation Information must accompany\nthe Minimal Corresponding Source and Corresponding Application\nCode. If you use option 4d1, you must provide the Installation\nInformation in the manner specified by section 6 of the GNU GPL\nfor conveying Corresponding Source.)\n\n5. Combined Libraries.\n\nYou may place library facilities that are a work based on the\nLibrary side by side in a single library together with other library\nfacilities that are not Applications and are not covered by this\nLicense, and convey such a combined library under terms of your\nchoice, if you do both of the following:\n\na) Accompany the combined library with a copy of the same work based\non the Library, uncombined with any other library facilities,\nconveyed under the terms of this License.\n\nb) Give prominent notice with the combined library that part of it\nis a work based on the Library, and explaining where to find the\naccompanying uncombined form of the same work.\n\n6. Revised Versions of the GNU Lesser General Public License.\n\nThe Free Software Foundation may publish revised and/or new versions\nof the GNU Lesser General Public License from time to time. Such new\nversions will be similar in spirit to the present version, but may\ndiffer in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nLibrary as you received it specifies that a certain numbered version\nof the GNU Lesser General Public License \"or any later version\"\napplies to it, you have the option of following the terms and\nconditions either of that published version or of any later version\npublished by the Free Software Foundation. If the Library as you\nreceived it does not specify a version number of the GNU Lesser\nGeneral Public License, you may choose any version of the GNU Lesser\nGeneral Public License ever published by the Free Software Foundation.\n\nIf the Library as you received it specifies that a proxy can decide\nwhether future versions of the GNU Lesser General Public License shall\napply, that proxy's public statement of acceptance of any version is\npermanent authorization for you to choose that version for the\nLibrary." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-certificates", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "certificates plugin for FusionDirectory\n Allow storage of SSL certificates in the user entries.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-certificates?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" ], - "datasource_ids": [ - "debian_control_in_source" + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" ], - "purl": "pkg:deb/fusiondirectory-plugin-certificates?architecture=all" + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-community", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "community plugin for FusionDirectory\n Community and Organization management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-community?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-community?architecture=all" + "key": "other-permissive", + "short_name": "Other Permissive Licenses", + "name": "Other Permissive Licenses", + "category": "Permissive", + "owner": "nexB", + "notes": "this is a catch all and ellipsis to deal with some cases when a large\nnumber of ancillary yet similar licenses may be reported as one.\n", + "is_builtin": true, + "is_generic": true, + "spdx_license_key": "LicenseRef-scancode-other-permissive", + "text": "This component contains multiple third-party subcomponents licensed\nunder permissive licenses in the style of MIT, BSD, X11, and/or Apache." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-community-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory community plugin\n This package includes the LDAP schema needed by the FusionDirectory\n community plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-community-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "public-domain", + "short_name": "Public Domain", + "name": "Public Domain", + "category": "Public Domain", + "owner": "Unspecified", + "homepage_url": "http://www.linfo.org/publicdomain.html", + "is_builtin": true, + "is_generic": true, + "spdx_license_key": "LicenseRef-scancode-public-domain", + "other_spdx_license_keys": [ + "LicenseRef-PublicDomain" ], - "datasource_ids": [ - "debian_control_in_source" + "faq_url": "http://www.linfo.org/publicdomain.html", + "other_urls": [ + "http://creativecommons.org/licenses/publicdomain/", + "http://en.wikipedia.org/wiki/Public_domain", + "http://www.linfo.org/publicdomain.html" ], - "purl": "pkg:deb/fusiondirectory-plugin-community-schema?architecture=all" + "text": "" + } + ], + "license_rule_references": [ + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-cyrus", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "cyrus plugin for FusionDirectory\n Cyrus account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-cyrus?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-cyrus?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-cyrus-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory cyrus plugin\n This package includes the LDAP schema needed by the FusionDirectory\n cyrus plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-cyrus-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" ], - "purl": "pkg:deb/fusiondirectory-plugin-cyrus-schema?architecture=all" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-debconf", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "Debconf plugin for FusionDirectory\n Simple debconf plugin for FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-debconf?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-debconf?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-debconf-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory Debconf Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n Debconf Plugin. It is the same LDAP schema as distributed in the\n debconf-doc package for the Debconf's basic, built-in LDAP driver.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-debconf-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-debconf-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-developers", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "Provide doc and tools for FusionDirectory development\n This package provides codesniffer templates for code conformity,\n a plugin to show reference between classes, and a simple plugin\n example to show the basic use of the API and a doxyfile to generate API\n from sourcecode.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-developers?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-developers?architecture=all" + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_195.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-dhcp", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "dhcp plugin for FusionDirectory\n DHCP service management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dhcp?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-dhcp?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-dhcp-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory dhcp plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dhcp plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dhcp-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-dhcp-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-dns", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "dns plugin for FusionDirectory\n DNS service management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dns?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-dns?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-dns-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory dns plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dns plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dns-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-dns-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-dovecot", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "dovecot plugin for FusionDirectory\n Dovecot account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dovecot?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-dovecot?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-dovecot-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory dovecot plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dovecot plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dovecot-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-dovecot-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-dsa", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "dsa plugin for FusionDirectory\n This plugin is designed to maintain the dsa branch of your LDAP directory.\n The dsa branch is the one tha contains the security account for LDAP clients\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dsa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-dsa?architecture=all" + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1066.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 30, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-dsa-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory dsa plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dsa plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dsa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-dsa-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-ejbca", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "ejbca plugin for FusionDirectory\n This plugin is designed to show the certificates for servers and users\n stored by ejbca inside LDAP.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ejbca?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" ], - "purl": "pkg:deb/fusiondirectory-plugin-ejbca?architecture=all" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-ejbca-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory ejbca plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ejbca plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ejbca-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-ejbca-schema?architecture=all" + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_166.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-fai", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "fai plugin for FusionDirectory\n FAI plugin for managing Linux system deployment.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-fai?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-fai?architecture=all" + "license_expression": "public-domain", + "rule_identifier": "pypi_public_domain.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 99 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-fai-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory fai plugin\n This package includes the LDAP schema needed by the FusionDirectory\n fai plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-fai-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-fai-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_67.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-freeradius", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "freeradius plugin for FusionDirectory\n This package adds FreeRADIUS management to FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-freeradius?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-freeradius?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-freeradius-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory freeradius plugin\n This package includes the LDAP schema needed by the FusionDirectory\n freeradius plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-freeradius-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-freeradius-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-fusioninventory", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "FusionInventory plugin for FusionDirectory\n This plugin allow you to manage your inventories with the fusioninventory\n agent.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-fusioninventory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-fusioninventory?architecture=all" + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-fusioninventory-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory fusioninventory plugin\n This package includes the LDAP schema needed by the FusionDirectory\n fusioninventory plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-fusioninventory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-fusioninventory-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-gpg", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "gpg plugin for FusionDirectory\n This plugin allow you to manage gpg key for the user in your LDAP tree.\n It also allow you to configure a gpg server to fetch his key from the\n LDAP server.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-gpg?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-gpg?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-gpg-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory gpg plugin\n This package includes the LDAP schema needed by the FusionDirectory\n gpg plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-gpg-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-gpg-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-ipmi", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "ipmi plugin for FusionDirectory\n This plugin allow you to manage ipmi services.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ipmi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-ipmi?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-ipmi-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory ipmi plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ipmi plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ipmi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-ipmi-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-ldapdump", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "ldapdump plugin for FusionDirectory\n Show raw LDAP data\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ldapdump?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-ldapdump?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-ldapmanager", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "ldapmanager plugin for FusionDirectory\n LDAP import and export management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ldapmanager?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-ldapmanager?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-mail", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "base mail plugin for FusionDirectory\n Mail management base plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-mail?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-mail?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-mail-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory mail plugin\n This package includes the LDAP schema needed by the FusionDirectory\n mail plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-mail-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-mail-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-mixedgroups", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "plugin to manage groups mixing memberuid and member\n Member and memberuid mixed in the same groups, this need specific\n modified core ldap schema\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-mixedgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-mixedgroups?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-nagios", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "nagios plugin for FusionDirectory\n Nagios account settings management\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-nagios?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-nagios?architecture=all" + "license_expression": "bsd-original", + "rule_identifier": "bsd-original_43.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-nagios-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory nagios plugin\n This package includes the LDAP schema needed by the FusionDirectory\n nagios plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-nagios-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-nagios-schema?architecture=all" - }, - { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-netgroups", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "netgroup plugin for FusionDirectory\n Nis Netgroups account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-netgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-netgroups?architecture=all" - }, - { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-netgroups-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory netgroups plugin\n This package includes the LDAP schema needed by the FusionDirectory\n netgroups plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-netgroups-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-netgroups-schema?architecture=all" - }, - { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-newsletter", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "newsletter plugin for FusionDirectory\n Newsletter account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-newsletter?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-newsletter?architecture=all" - }, - { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-newsletter-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory newsletter plugin\n This package includes the LDAP schema needed by the FusionDirectory\n newsletter plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-newsletter-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-newsletter-schema?architecture=all" - }, - { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-opsi", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "opsi plugin for FusionDirectory\n Opsi management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-opsi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-opsi?architecture=all" - }, - { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-opsi-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory opsi plugin\n This package includes the LDAP schema needed by the FusionDirectory\n opsi plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-opsi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-opsi-schema?architecture=all" - }, - { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-personal", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "Personal plugin for FusionDirectory\n The personal plugin for FusionDirectory is used to stored personal data,\n like twitter, facebook, private email addresses and nickname.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-personal?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-personal?architecture=all" - }, - { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-personal-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory personal Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n personal Plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-personal-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-personal-schema?architecture=all" - }, - { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-posix", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "posix account and group plugin for FusionDirectory\n Manage the posix account and groups via FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-posix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-posix?architecture=all" - }, - { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-postfix", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "postfix service plugin for FusionDirectory\n Postfix service plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-postfix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-postfix?architecture=all" - }, - { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-postfix-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory postfix plugin\n This package includes the LDAP schema needed by the FusionDirectory\n postfix plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-postfix-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-postfix-schema?architecture=all" + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-ppolicy", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "ppolicy overlay module plugin for FusionDirectory\n Manage the LDAP ppolicy overlay via FusionDirectory. Ppolicy provides enhanced\n password management capabilities that are applied to non-rootdn bind attempts\n in OpenLDAP.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ppolicy?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-ppolicy?architecture=all" + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-ppolicy-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory ppolicy Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ppolicy Plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ppolicy-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-ppolicy-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-puppet", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "Puppet plugin for FusionDirectory\n Simple puppet plugin for FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-puppet?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-puppet?architecture=all" + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_89.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-puppet-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory puppet Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n Puppet Plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-puppet-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-puppet-schema?architecture=all" + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_64.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-pureftpd", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "pureftpd plugin for FusionDirectory\n PureFTPD plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-pureftpd?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-pureftpd?architecture=all" + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-pureftpd-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory pureftpd plugin\n This package includes the LDAP schema needed by the FusionDirectory\n pureftpd plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-pureftpd-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_10.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-original", + "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_1038.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/GPL-2" ], - "purl": "pkg:deb/fusiondirectory-plugin-pureftpd-schema?architecture=all" + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 136, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_92.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-quota", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "quota plugin for FusionDirectory\n Linux Quota plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-quota?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_512.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/GPL-3" ], - "purl": "pkg:deb/fusiondirectory-plugin-quota?architecture=all" + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 136, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-quota-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory quota plugin\n This package includes the LDAP schema needed by the FusionDirectory\n quota plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-quota-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-quota-schema?architecture=all" + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_108.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-renater-partage", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "Renater partage integration plugin for FusionDirectory\n Renater partage plugin for https://partage.renater.fr/\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-renater-partage?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_418.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/LGPL-2.1" ], - "purl": "pkg:deb/fusiondirectory-plugin-renater-partage?architecture=all" + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 146, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-renater-partage-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory renater partage plugin\n This package includes the LDAP schema needed by the FusionDirectory\n renater partage plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-renater-partage-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-renater-partage-schema?architecture=all" + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_195.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_577.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 213, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-repository", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "repository plugin for FusionDirectory\n Repository plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-repository?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-repository?architecture=all" + "license_expression": "bsd-original", + "rule_identifier": "bsd-original_43.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-repository-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory repository plugin\n This package includes the LDAP schema needed by the FusionDirectory\n repository plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-repository-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-repository-schema?architecture=all" + "license_expression": "bsd-original", + "rule_identifier": "bsd-original_71.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 236, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-samba", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "samba3 plugin for FusionDirectory\n Plugin for Samba 3 management.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-samba?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-samba?architecture=all" + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_166.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-samba-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory samba plugin\n This package includes the LDAP schema needed by the FusionDirectory\n samba plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-samba-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_189.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/LGPL-3" ], - "purl": "pkg:deb/fusiondirectory-plugin-samba-schema?architecture=all" + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 105, + "rule_relevance": 100 + }, + { + "license_expression": "public-domain", + "rule_identifier": "pypi_public_domain.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 99 + }, + { + "license_expression": "other-permissive", + "rule_identifier": "other-permissive_325.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 40, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-sogo", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "SOGo plugin for FusionDirectory\n SOGo resource management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-sogo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-sogo?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-sogo-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory SOgo plugin\n This package includes the LDAP schemas needed by the FusionDirectory\n SOGo plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-sogo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-sogo-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-spamassassin", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "spamassassin plugin for FusionDirectory\n spamassassin plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-spamassassin?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-spamassassin?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-spamassassin-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory spamassassin plugin\n This package includes the LDAP schema needed by the FusionDirectory\n spamassassin plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-spamassassin-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-spamassassin-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-simplified", + "rule_identifier": "bsd-simplified_136.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-squid", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "squid plugin for FusionDirectory\n Squid plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-squid?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-squid?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-squid-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory squid plugin\n This package includes the LDAP schema needed by the FusionDirectory\n squid plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-squid-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-squid-schema?architecture=all" + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_37.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-ssh", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "ssh plugin for FusionDirectory\n SSH key management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ssh?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-ssh?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-ssh-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory ssh plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ssh plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ssh-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-ssh-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-subcontracting", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "subcontracting plugin for FusionDirectory\n This package includes the subcontracting plugin for FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-subcontracting?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-subcontracting?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-subcontracting-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory subcontracting plugin\n This package includes the LDAP schema needed by the FusionDirectory\n subcontracting plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-subcontracting-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-subcontracting-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-sudo", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "sudo plugin for FusionDirectory\n Sudo management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-sudo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-sudo?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-sudo-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory sudo plugin\n This package includes the LDAP schema needed by the FusionDirectory\n sudo plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-sudo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-sudo-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit_221.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 90 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-supann", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "supann plugin for FusionDirectory\n Supann management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-supann?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-supann?architecture=all" + "license_expression": "other-permissive", + "rule_identifier": "other-permissive_16.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-supann-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory supann plugin\n This package includes the LDAP schema needed by the FusionDirectory\n supann plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-supann-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-supann-schema?architecture=all" + "license_expression": "public-domain", + "rule_identifier": "pypi_public_domain.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 99 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-sympa", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "sympa plugin for FusionDirectory\n This plugin is designed to configure basic sympa lists.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-sympa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-sympa?architecture=all" + "license_expression": "bsd-original", + "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-sympa-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory sympa plugin\n This package includes the LDAP schema needed by the FusionDirectory\n sympa plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-sympa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_bare_word_only.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 50 + }, + { + "license_expression": "borceux", + "rule_identifier": "borceux.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" ], - "purl": "pkg:deb/fusiondirectory-plugin-sympa-schema?architecture=all" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100 }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_1.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 11, + "rule_relevance": 100 + } + ], + "dependencies": [], + "packages": [ { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-systems", + "name": "fusiondirectory", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "systems plugin for FusionDirectory\n Systems management base plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "Web Based LDAP Administration Program\n Provided is access to posix, shadow, samba, proxy, pureftp and\n kerberos accounts. It is able to manage the postfix/cyrus server\n combination and can write user adapted sieve scripts.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -4811,26 +2115,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-systems?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-systems?architecture=all" + "purl": "pkg:deb/fusiondirectory?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-systems-schema", + "name": "fusiondirectory-plugin-alias", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory systems plugin\n This package includes the LDAP schema needed by the FusionDirectory\n systems plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "description": "alias plugin for FusionDirectory\n This plugin is designed to configure mail aliases for postfix.\n It provide description and expiration Date\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", "release_date": null, "parties": [], "keywords": [], @@ -4858,26 +2162,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-systems-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-alias?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-systems-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-alias?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-user-reminder", + "name": "fusiondirectory-plugin-alias-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "user reminder plugin for FusionDirectory\n The user reminder plugin allows you to configure a reminder for expiring\n account to ask user if they want to keep the account open or not.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory alias plugin\n This package includes the LDAP schema needed by the FusionDirectory\n alias plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", "release_date": null, "parties": [], "keywords": [], @@ -4905,26 +2209,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-user-reminder?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-alias-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-user-reminder?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-alias-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-user-reminder-schema", + "name": "fusiondirectory-plugin-applications", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory user reminder plugin\n This package includes the LDAP schema needed by the FusionDirectory\n user-reminder plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "description": "Applications management plugin for FusionDirectory\n Application management plugin for desktop and web.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -4952,26 +2256,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-user-reminder-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-applications?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-user-reminder-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-applications?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-weblink", + "name": "fusiondirectory-plugin-applications-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "weblink plugin for FusionDirectory\n The weblink plugin allows you to add a link to systems pointing\n to their web interface.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory application management plugin\n This package includes the LDAP schema needed by the FusionDirectory\n application management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", "release_date": null, "parties": [], "keywords": [], @@ -4999,26 +2303,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-weblink?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-applications-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-weblink?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-applications-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-weblink-schema", + "name": "fusiondirectory-plugin-argonaut", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory weblink plugin\n This package includes the LDAP schema needed by the FusionDirectory\n weblink plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "description": "Argonaut plugin for FusionDirectory\n Store all the configuration for the Argonaut deployment system.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -5046,26 +2350,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-weblink-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-argonaut?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-weblink-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-argonaut?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-webservice", + "name": "fusiondirectory-plugin-argonaut-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "webservice plugin for FusionDirectory\n This plugin is designed to manage FusionDirectory with a webservice.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "description": "LDAP schema for FusionDirectory Argonaut plugin\n This package includes the LDAP schema needed by the FusionDirectory\n Argonaut plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -5093,26 +2397,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-webservice?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-argonaut-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-webservice?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-argonaut-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-webservice-schema", + "name": "fusiondirectory-plugin-audit", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "schema for the webservice plugin for FusionDirectory\n This package includes the LDAP schema needed by the FusionDirectory\n webservice plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "description": "audit plugin for FusionDirectory\n This package contains the audit plugin for FusionDirectory\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -5140,26 +2444,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-webservice-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-audit?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-webservice-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-audit?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-schema", + "name": "fusiondirectory-plugin-audit-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory\n This package includes the basics LDAP schemas needed by FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory audit plugin\n This package includes the LDAP schema needed by the FusionDirectory\n audit plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -5187,26 +2491,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-audit-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-audit-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-smarty3-acl-render", + "name": "fusiondirectory-plugin-autofs", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "Provide FusionDirectory ACL based rendering for Smarty3\n This package provides acl based rendering support for Smarty3,\n the popular PHP templating engine (http://smarty.php.net/). This\n module is mainly used by FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "autofs plugin for FusionDirectory\n Automount management plugin for FusionDirectory\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -5234,26 +2538,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-smarty3-acl-render?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-autofs?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-smarty3-acl-render?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-autofs?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-theme-oxygen", + "name": "fusiondirectory-plugin-autofs-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "Icon theme Oxygen for FusionDirectory\n This package makes Oxygen icon theme available in FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups", + "description": "LDAP schema for FusionDirectory autofs plugin\n This package includes the LDAP schema needed by the FusionDirectory\n autofs plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -5281,26 +2585,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-autofs-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-theme-oxygen?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-autofs-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-webservice-shell", + "name": "fusiondirectory-plugin-certificates", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "webservice shell for FusionDirectory\n This is the conmand line shell for the FusionDirectory with a webservice.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "description": "certificates plugin for FusionDirectory\n Allow storage of SSL certificates in the user entries.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -5328,1495 +2632,4103 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-certificates?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-webservice-shell?architecture=all" - } - ], - "license_references": [ - { - "key": "apache-2.0", - "short_name": "Apache 2.0", - "name": "Apache License 2.0", - "category": "Permissive", - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", - "is_builtin": true, - "spdx_license_key": "Apache-2.0", - "other_spdx_license_keys": [ - "LicenseRef-Apache", - "LicenseRef-Apache-2.0" - ], - "osi_license_key": "Apache-2.0", - "text_urls": [ - "http://www.apache.org/licenses/LICENSE-2.0" - ], - "osi_url": "http://opensource.org/licenses/apache2.0.php", - "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", - "other_urls": [ - "http://www.opensource.org/licenses/Apache-2.0", - "https://opensource.org/licenses/Apache-2.0", - "https://www.apache.org/licenses/LICENSE-2.0" - ], - "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." - }, - { - "key": "bsd-new", - "short_name": "BSD-3-Clause", - "name": "BSD-3-Clause", - "category": "Permissive", - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "BSD-3-Clause", - "other_spdx_license_keys": [ - "LicenseRef-scancode-libzip" - ], - "osi_license_key": "BSD-3-Clause", - "text_urls": [ - "http://www.opensource.org/licenses/BSD-3-Clause" - ], - "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "other_urls": [ - "http://framework.zend.com/license/new-bsd", - "https://opensource.org/licenses/BSD-3-Clause" - ], - "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "bsd-original", - "short_name": "BSD-Original", - "name": "BSD-Original", - "category": "Permissive", - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "notes": "Per SPDX.org, this license was rescinded by the author on 22 July 1999.", - "is_builtin": true, - "spdx_license_key": "BSD-4-Clause", - "text_urls": [ - "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6" - ], - "osi_url": "http://www.opensource.org/licenses/bsd-license.php", - "other_urls": [ - "http://directory.fsf.org/wiki/License:BSD_4Clause", - "http://www.fsf.org/licensing/essays/bsd.html", - "http://www.gnu.org/philosophy/bsd.html" - ], - "text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice,\nthis list 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\nand/or other materials provided with the distribution.\n\n3. All advertising materials mentioning features or use of this software\nmust display the following acknowledgement: This product includes software\ndeveloped by the .\n\n4. Neither the name of the nor the names of its contributors\nmay be used to endorse or promote products derived from this software\nwithout specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY ''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 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,\nOR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\nEVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "bsd-simplified", - "short_name": "BSD-2-Clause", - "name": "BSD-2-Clause", - "category": "Permissive", - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "BSD-2-Clause", - "other_spdx_license_keys": [ - "BSD-2-Clause-NetBSD", - "BSD-2" - ], - "text_urls": [ - "http://opensource.org/licenses/bsd-license.php" - ], - "osi_url": "http://opensource.org/licenses/bsd-license.php", - "other_urls": [ - "http://spdx.org/licenses/BSD-2-Clause", - "http://www.freebsd.org/copyright/copyright.html", - "https://opensource.org/licenses/BSD-2-Clause" - ], - "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." - }, - { - "key": "free-unknown", - "short_name": "Free unknown", - "name": "Free unknown license detected but not recognized", - "category": "Unstated License", - "owner": "Unspecified", - "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", - "is_builtin": true, - "is_unknown": true, - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "text": "" - }, - { - "key": "gpl-1.0-plus", - "short_name": "GPL 1.0 or later", - "name": "GNU General Public License 1.0 or later", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "notes": "Per SPDX.org, this license was released February 1989.", - "is_builtin": true, - "spdx_license_key": "GPL-1.0-or-later", - "other_spdx_license_keys": [ - "GPL-1.0+", - "LicenseRef-GPL" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" - ], - "other_urls": [ - "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" - ], - "minimum_coverage": 99, - "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 1, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,\nCambridge, MA 02139, USA.\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 1, February 1989\n\nCopyright (C) 1989 Free Software Foundation, Inc.\n51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe license agreements of most software companies try to keep users\nat the mercy of those companies. By contrast, our General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. The\nGeneral Public License applies to the Free Software Foundation's\nsoftware and to any other program whose authors commit to using it.\nYou can use it for your programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Specifically, the General Public License is designed to make\nsure that you have the freedom to give away or sell copies of free\nsoftware, that you receive source code or can get it if you want it,\nthat you can change the software or use pieces of it in new free\nprograms; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of a such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must tell them their rights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any program or other work which\ncontains a notice placed by the copyright holder saying it may be\ndistributed under the terms of this General Public License. The\n\"Program\", below, refers to any such program or work, and a \"work based\non the Program\" means either the Program or any work containing the\nProgram or a portion of it, either verbatim or with modifications. Each\nlicensee is addressed as \"you\".\n\n1. You may copy and distribute verbatim copies of the Program's source\ncode as you receive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice and\ndisclaimer of warranty; keep intact all the notices that refer to this\nGeneral Public License and to the absence of any warranty; and give any\nother recipients of the Program a copy of this General Public License\nalong with the Program. You may charge a fee for the physical act of\ntransferring a copy.\n\n2. You may modify your copy or copies of the Program or any portion of\nit, and copy and distribute such modifications under the terms of Paragraph\n1 above, provided that you also do the following:\n\na) cause the modified files to carry prominent notices stating that\nyou changed the files and the date of any change; and\n\nb) cause the whole of any work that you distribute or publish, that\nin whole or in part contains the Program or any part thereof, either\nwith or without modifications, to be licensed at no charge to all\nthird parties under the terms of this General Public License (except\nthat you may choose to grant warranty protection to some or all\nthird parties, at your option).\n\nc) If the modified program normally reads commands interactively when\nrun, you must cause it, when started running for such interactive use\nin the simplest and most usual way, to print or display an\nannouncement including an appropriate copyright notice and a notice\nthat there is no warranty (or else, saying that you provide a\nwarranty) and that users may redistribute the program under these\nconditions, and telling the user how to view a copy of this General\nPublic License.\n\nd) You may charge a fee for the physical act of transferring a\ncopy, and you may at your option offer warranty protection in\nexchange for a fee.\n\nMere aggregation of another independent work with the Program (or its\nderivative) on a volume of a storage or distribution medium does not bring\nthe other work under the scope of these terms.\n\n\n3. You may copy and distribute the Program (or a portion or derivative of\nit, under Paragraph 2) in object code or executable form under the terms of\nParagraphs 1 and 2 above provided that you also do one of the following:\n\na) accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nb) accompany it with a written offer, valid for at least three\nyears, to give any third party free (except for a nominal charge\nfor the cost of distribution) a complete machine-readable copy of the\ncorresponding source code, to be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nc) accompany it with the information you received as to where the\ncorresponding source code may be obtained. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form alone.)\n\nSource code for a work means the preferred form of the work for making\nmodifications to it. For an executable file, complete source code means\nall the source code for all modules it contains; but, as a special\nexception, it need not include source code for modules which are standard\nlibraries that accompany the operating system on which the executable\nfile runs, or for standard header files or definitions files that\naccompany that operating system.\n\n4. You may not copy, modify, sublicense, distribute or transfer the\nProgram except as expressly provided under this General Public License.\nAny attempt otherwise to copy, modify, sublicense, distribute or transfer\nthe Program is void, and will automatically terminate your rights to use\nthe Program under this License. However, parties who have received\ncopies, or rights to use copies, from you under this General Public\nLicense will not have their licenses terminated so long as such parties\nremain in full compliance.\n\n5. By copying, distributing or modifying the Program (or any work based\non the Program) you indicate your acceptance of this license to do so,\nand all its terms and conditions.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the original\nlicensor to copy, distribute or modify the Program subject to these\nterms and conditions. You may not impose any further restrictions on the\nrecipients' exercise of the rights granted herein.\n\n\n7. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of the license which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthe license, you may choose any version ever published by the Free Software\nFoundation.\n\n8. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nAppendix: How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to humanity, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these\nterms.\n\nTo do so, attach the following notices to the program. It is safest to\nattach them to the start of each source file to most effectively convey\nthe exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) 19yy \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 1, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA\n\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) 19xx name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the\nappropriate parts of the General Public License. Of course, the\ncommands you use may be called something other than `show w' and `show\nc'; they could even be mouse-clicks or menu items--whatever suits your\nprogram.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nprogram `Gnomovision' (a program to direct compilers to make passes\nat assemblers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThat's all there is to it!" - }, - { - "key": "gpl-2.0-plus", - "short_name": "GPL 2.0 or later", - "name": "GNU General Public License 2.0 or later", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "GPL-2.0-or-later", - "other_spdx_license_keys": [ - "GPL-2.0+", - "GPL 2.0+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + "debian/control" ], - "other_urls": [ - "http://www.opensource.org/licenses/GPL-2.0", - "https://opensource.org/licenses/GPL-2.0", - "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + "datasource_ids": [ + "debian_control_in_source" ], - "minimum_coverage": 99, - "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + "purl": "pkg:deb/fusiondirectory-plugin-certificates?architecture=all" }, { - "key": "gpl-3.0-plus", - "short_name": "GPL 3.0 or later", - "name": "GNU General Public License 3.0 or later", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "notes": "Per SPDX.org, this license was released 29 June 2007 This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "GPL-3.0-or-later", - "other_spdx_license_keys": [ - "GPL-3.0+", - "LicenseRef-GPL-3.0-or-later" - ], - "text_urls": [ - "http://www.gnu.org/licenses/gpl-3.0-standalone.html" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-community", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "community plugin for FusionDirectory\n Community and Organization management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-community?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "other_urls": [ - "http://www.opensource.org/licenses/GPL-3.0", - "https://opensource.org/licenses/GPL-3.0", - "https://www.gnu.org/licenses/gpl-3.0-standalone.html" + "datasource_ids": [ + "debian_control_in_source" ], - "minimum_coverage": 99, - "text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + "purl": "pkg:deb/fusiondirectory-plugin-community?architecture=all" }, { - "key": "lgpl-2.1-plus", - "short_name": "LGPL 2.1 or later", - "name": "GNU Lesser General Public License 2.1 or later", - "category": "Copyleft Limited", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "LGPL-2.1-or-later", - "other_spdx_license_keys": [ - "LGPL-2.1+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-community-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory community plugin\n This package includes the LDAP schema needed by the FusionDirectory\n community plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-community-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "other_urls": [ - "http://www.gnu.org/copyleft/lesser.html", - "http://www.opensource.org/licenses/LGPL-2.1", - "https://opensource.org/licenses/LGPL-2.1", - "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + "datasource_ids": [ + "debian_control_in_source" ], - "minimum_coverage": 99, - "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + "purl": "pkg:deb/fusiondirectory-plugin-community-schema?architecture=all" }, { - "key": "lgpl-3.0", - "short_name": "LGPL 3.0", - "name": "GNU Lesser General Public License 3.0", - "category": "Copyleft Limited", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "notes": "Per SPDX.org, this license was released 29 June 2007. This license is OSI\nCertified.\n", - "is_builtin": true, - "spdx_license_key": "LGPL-3.0-only", - "other_spdx_license_keys": [ - "LGPL-3.0" - ], - "osi_license_key": "LGPL-3.0", - "text_urls": [ - "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "http://www.gnu.org/licenses/lgpl-3.0.txt" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-cyrus", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "cyrus plugin for FusionDirectory\n Cyrus account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-cyrus?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "osi_url": "http://www.opensource.org/licenses/lgpl-3.0.html", - "other_urls": [ - "http://www.gnu.org/copyleft/lesser.html", - "http://www.gnu.org/licenses/why-not-lgpl.html", - "http://www.opensource.org/licenses/LGPL-3.0", - "https://opensource.org/licenses/LGPL-3.0", - "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", - "https://www.gnu.org/licenses/lgpl-3.0-standalone.html" + "datasource_ids": [ + "debian_control_in_source" ], - "text": "GNU LESSER GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n\nThis version of the GNU Lesser General Public License incorporates\nthe terms and conditions of version 3 of the GNU General Public\nLicense, supplemented by the additional permissions listed below.\n\n0. Additional Definitions.\n\nAs used herein, \"this License\" refers to version 3 of the GNU Lesser\nGeneral Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public License.\n\n\"The Library\" refers to a covered work governed by this License,\nother than an Application or a Combined Work as defined below.\n\nAn \"Application\" is any work that makes use of an interface provided\nby the Library, but which is not otherwise based on the Library.\nDefining a subclass of a class defined by the Library is deemed a mode\nof using an interface provided by the Library.\n\nA \"Combined Work\" is a work produced by combining or linking an\nApplication with the Library. The particular version of the Library\nwith which the Combined Work was made is also called the \"Linked\nVersion\".\n\nThe \"Minimal Corresponding Source\" for a Combined Work means the\nCorresponding Source for the Combined Work, excluding any source code\nfor portions of the Combined Work that, considered in isolation, are\nbased on the Application, and not on the Linked Version.\n\nThe \"Corresponding Application Code\" for a Combined Work means the\nobject code and/or source code for the Application, including any data\nand utility programs needed for reproducing the Combined Work from the\nApplication, but excluding the System Libraries of the Combined Work.\n\n1. Exception to Section 3 of the GNU GPL.\n\nYou may convey a covered work under sections 3 and 4 of this License\nwithout being bound by section 3 of the GNU GPL.\n\n2. Conveying Modified Versions.\n\nIf you modify a copy of the Library, and, in your modifications, a\nfacility refers to a function or data to be supplied by an Application\nthat uses the facility (other than as an argument passed when the\nfacility is invoked), then you may convey a copy of the modified\nversion:\n\na) under this License, provided that you make a good faith effort to\nensure that, in the event an Application does not supply the\nfunction or data, the facility still operates, and performs\nwhatever part of its purpose remains meaningful, or\n\nb) under the GNU GPL, with none of the additional permissions of\nthis License applicable to that copy.\n\n3. Object Code Incorporating Material from Library Header Files.\n\nThe object code form of an Application may incorporate material from\na header file that is part of the Library. You may convey such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial is not limited to numerical parameters, data structure\nlayouts and accessors, or small macros, inline functions and templates\n(ten or fewer lines in length), you do both of the following:\n\na) Give prominent notice with each copy of the object code that the\nLibrary is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the object code with a copy of the GNU GPL and this license\ndocument.\n\n4. Combined Works.\n\nYou may convey a Combined Work under terms of your choice that,\ntaken together, effectively do not restrict modification of the\nportions of the Library contained in the Combined Work and reverse\nengineering for debugging such modifications, if you also do each of\nthe following:\n\na) Give prominent notice with each copy of the Combined Work that\nthe Library is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the Combined Work with a copy of the GNU GPL and this license\ndocument.\n\nc) For a Combined Work that displays copyright notices during\nexecution, include the copyright notice for the Library among\nthese notices, as well as a reference directing the user to the\ncopies of the GNU GPL and this license document.\n\nd) Do one of the following:\n\n0) Convey the Minimal Corresponding Source under the terms of this\nLicense, and the Corresponding Application Code in a form\nsuitable for, and under terms that permit, the user to\nrecombine or relink the Application with a modified version of\nthe Linked Version to produce a modified Combined Work, in the\nmanner specified by section 6 of the GNU GPL for conveying\nCorresponding Source.\n\n1) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (a) uses at run time\na copy of the Library already present on the user's computer\nsystem, and (b) will operate properly with a modified version\nof the Library that is interface-compatible with the Linked\nVersion.\n\ne) Provide Installation Information, but only if you would otherwise\nbe required to provide such information under section 6 of the\nGNU GPL, and only to the extent that such information is\nnecessary to install and execute a modified version of the\nCombined Work produced by recombining or relinking the\nApplication with a modified version of the Linked Version. (If\nyou use option 4d0, the Installation Information must accompany\nthe Minimal Corresponding Source and Corresponding Application\nCode. If you use option 4d1, you must provide the Installation\nInformation in the manner specified by section 6 of the GNU GPL\nfor conveying Corresponding Source.)\n\n5. Combined Libraries.\n\nYou may place library facilities that are a work based on the\nLibrary side by side in a single library together with other library\nfacilities that are not Applications and are not covered by this\nLicense, and convey such a combined library under terms of your\nchoice, if you do both of the following:\n\na) Accompany the combined library with a copy of the same work based\non the Library, uncombined with any other library facilities,\nconveyed under the terms of this License.\n\nb) Give prominent notice with the combined library that part of it\nis a work based on the Library, and explaining where to find the\naccompanying uncombined form of the same work.\n\n6. Revised Versions of the GNU Lesser General Public License.\n\nThe Free Software Foundation may publish revised and/or new versions\nof the GNU Lesser General Public License from time to time. Such new\nversions will be similar in spirit to the present version, but may\ndiffer in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nLibrary as you received it specifies that a certain numbered version\nof the GNU Lesser General Public License \"or any later version\"\napplies to it, you have the option of following the terms and\nconditions either of that published version or of any later version\npublished by the Free Software Foundation. If the Library as you\nreceived it does not specify a version number of the GNU Lesser\nGeneral Public License, you may choose any version of the GNU Lesser\nGeneral Public License ever published by the Free Software Foundation.\n\nIf the Library as you received it specifies that a proxy can decide\nwhether future versions of the GNU Lesser General Public License shall\napply, that proxy's public statement of acceptance of any version is\npermanent authorization for you to choose that version for the\nLibrary." + "purl": "pkg:deb/fusiondirectory-plugin-cyrus?architecture=all" }, { - "key": "lgpl-3.0-plus", - "short_name": "LGPL 3.0 or later", - "name": "GNU Lesser General Public License 3.0 or later", - "category": "Copyleft Limited", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "notes": "Per SPDX.org, this license was released 29 June 2007. This license is OSI\nCertified.\n", - "is_builtin": true, - "spdx_license_key": "LGPL-3.0-or-later", - "other_spdx_license_keys": [ - "LGPL-3.0+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/lgpl-3.0-standalone.html" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-cyrus-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory cyrus plugin\n This package includes the LDAP schema needed by the FusionDirectory\n cyrus plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-cyrus-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "other_urls": [ - "http://www.gnu.org/copyleft/lesser.html", - "http://www.opensource.org/licenses/LGPL-3.0", - "https://opensource.org/licenses/LGPL-3.0", - "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", - "https://www.gnu.org/licenses/lgpl-3.0-standalone.html" + "datasource_ids": [ + "debian_control_in_source" ], - "minimum_coverage": 99, - "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 3.0 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n\nThis version of the GNU Lesser General Public License incorporates\nthe terms and conditions of version 3 of the GNU General Public\nLicense, supplemented by the additional permissions listed below.\n\n0. Additional Definitions.\n\nAs used herein, \"this License\" refers to version 3 of the GNU Lesser\nGeneral Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public License.\n\n\"The Library\" refers to a covered work governed by this License,\nother than an Application or a Combined Work as defined below.\n\nAn \"Application\" is any work that makes use of an interface provided\nby the Library, but which is not otherwise based on the Library.\nDefining a subclass of a class defined by the Library is deemed a mode\nof using an interface provided by the Library.\n\nA \"Combined Work\" is a work produced by combining or linking an\nApplication with the Library. The particular version of the Library\nwith which the Combined Work was made is also called the \"Linked\nVersion\".\n\nThe \"Minimal Corresponding Source\" for a Combined Work means the\nCorresponding Source for the Combined Work, excluding any source code\nfor portions of the Combined Work that, considered in isolation, are\nbased on the Application, and not on the Linked Version.\n\nThe \"Corresponding Application Code\" for a Combined Work means the\nobject code and/or source code for the Application, including any data\nand utility programs needed for reproducing the Combined Work from the\nApplication, but excluding the System Libraries of the Combined Work.\n\n1. Exception to Section 3 of the GNU GPL.\n\nYou may convey a covered work under sections 3 and 4 of this License\nwithout being bound by section 3 of the GNU GPL.\n\n2. Conveying Modified Versions.\n\nIf you modify a copy of the Library, and, in your modifications, a\nfacility refers to a function or data to be supplied by an Application\nthat uses the facility (other than as an argument passed when the\nfacility is invoked), then you may convey a copy of the modified\nversion:\n\na) under this License, provided that you make a good faith effort to\nensure that, in the event an Application does not supply the\nfunction or data, the facility still operates, and performs\nwhatever part of its purpose remains meaningful, or\n\nb) under the GNU GPL, with none of the additional permissions of\nthis License applicable to that copy.\n\n3. Object Code Incorporating Material from Library Header Files.\n\nThe object code form of an Application may incorporate material from\na header file that is part of the Library. You may convey such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial is not limited to numerical parameters, data structure\nlayouts and accessors, or small macros, inline functions and templates\n(ten or fewer lines in length), you do both of the following:\n\na) Give prominent notice with each copy of the object code that the\nLibrary is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the object code with a copy of the GNU GPL and this license\ndocument.\n\n4. Combined Works.\n\nYou may convey a Combined Work under terms of your choice that,\ntaken together, effectively do not restrict modification of the\nportions of the Library contained in the Combined Work and reverse\nengineering for debugging such modifications, if you also do each of\nthe following:\n\na) Give prominent notice with each copy of the Combined Work that\nthe Library is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the Combined Work with a copy of the GNU GPL and this license\ndocument.\n\nc) For a Combined Work that displays copyright notices during\nexecution, include the copyright notice for the Library among\nthese notices, as well as a reference directing the user to the\ncopies of the GNU GPL and this license document.\n\nd) Do one of the following:\n\n0) Convey the Minimal Corresponding Source under the terms of this\nLicense, and the Corresponding Application Code in a form\nsuitable for, and under terms that permit, the user to\nrecombine or relink the Application with a modified version of\nthe Linked Version to produce a modified Combined Work, in the\nmanner specified by section 6 of the GNU GPL for conveying\nCorresponding Source.\n\n1) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (a) uses at run time\na copy of the Library already present on the user's computer\nsystem, and (b) will operate properly with a modified version\nof the Library that is interface-compatible with the Linked\nVersion.\n\ne) Provide Installation Information, but only if you would otherwise\nbe required to provide such information under section 6 of the\nGNU GPL, and only to the extent that such information is\nnecessary to install and execute a modified version of the\nCombined Work produced by recombining or relinking the\nApplication with a modified version of the Linked Version. (If\nyou use option 4d0, the Installation Information must accompany\nthe Minimal Corresponding Source and Corresponding Application\nCode. If you use option 4d1, you must provide the Installation\nInformation in the manner specified by section 6 of the GNU GPL\nfor conveying Corresponding Source.)\n\n5. Combined Libraries.\n\nYou may place library facilities that are a work based on the\nLibrary side by side in a single library together with other library\nfacilities that are not Applications and are not covered by this\nLicense, and convey such a combined library under terms of your\nchoice, if you do both of the following:\n\na) Accompany the combined library with a copy of the same work based\non the Library, uncombined with any other library facilities,\nconveyed under the terms of this License.\n\nb) Give prominent notice with the combined library that part of it\nis a work based on the Library, and explaining where to find the\naccompanying uncombined form of the same work.\n\n6. Revised Versions of the GNU Lesser General Public License.\n\nThe Free Software Foundation may publish revised and/or new versions\nof the GNU Lesser General Public License from time to time. Such new\nversions will be similar in spirit to the present version, but may\ndiffer in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nLibrary as you received it specifies that a certain numbered version\nof the GNU Lesser General Public License \"or any later version\"\napplies to it, you have the option of following the terms and\nconditions either of that published version or of any later version\npublished by the Free Software Foundation. If the Library as you\nreceived it does not specify a version number of the GNU Lesser\nGeneral Public License, you may choose any version of the GNU Lesser\nGeneral Public License ever published by the Free Software Foundation.\n\nIf the Library as you received it specifies that a proxy can decide\nwhether future versions of the GNU Lesser General Public License shall\napply, that proxy's public statement of acceptance of any version is\npermanent authorization for you to choose that version for the\nLibrary." + "purl": "pkg:deb/fusiondirectory-plugin-cyrus-schema?architecture=all" }, { - "key": "mit", - "short_name": "MIT License", - "name": "MIT License", - "category": "Permissive", - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "MIT", - "text_urls": [ - "http://opensource.org/licenses/mit-license.php" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-debconf", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "Debconf plugin for FusionDirectory\n Simple debconf plugin for FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-debconf?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "osi_url": "http://www.opensource.org/licenses/MIT", - "faq_url": "https://ieeexplore.ieee.org/document/9263265", - "other_urls": [ - "https://opensource.com/article/18/3/patent-grant-mit-license", - "https://opensource.com/article/19/4/history-mit-license", - "https://opensource.org/licenses/MIT" + "datasource_ids": [ + "debian_control_in_source" ], - "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." - }, - { - "key": "other-permissive", - "short_name": "Other Permissive Licenses", - "name": "Other Permissive Licenses", - "category": "Permissive", - "owner": "nexB", - "notes": "this is a catch all and ellipsis to deal with some cases when a large\nnumber of ancillary yet similar licenses may be reported as one.\n", - "is_builtin": true, - "is_generic": true, - "spdx_license_key": "LicenseRef-scancode-other-permissive", - "text": "This component contains multiple third-party subcomponents licensed\nunder permissive licenses in the style of MIT, BSD, X11, and/or Apache." + "purl": "pkg:deb/fusiondirectory-plugin-debconf?architecture=all" }, { - "key": "public-domain", - "short_name": "Public Domain", - "name": "Public Domain", - "category": "Public Domain", - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "is_builtin": true, - "is_generic": true, - "spdx_license_key": "LicenseRef-scancode-public-domain", - "other_spdx_license_keys": [ - "LicenseRef-PublicDomain" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-debconf-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory Debconf Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n Debconf Plugin. It is the same LDAP schema as distributed in the\n debconf-doc package for the Debconf's basic, built-in LDAP driver.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-debconf-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "faq_url": "http://www.linfo.org/publicdomain.html", - "other_urls": [ - "http://creativecommons.org/licenses/publicdomain/", - "http://en.wikipedia.org/wiki/Public_domain", - "http://www.linfo.org/publicdomain.html" + "datasource_ids": [ + "debian_control_in_source" ], - "text": "" - } - ], - "rule_references": [ - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "purl": "pkg:deb/fusiondirectory-plugin-debconf-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-developers", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "Provide doc and tools for FusionDirectory development\n This package provides codesniffer templates for code conformity,\n a plugin to show reference between classes, and a simple plugin\n example to show the basic use of the API and a doxyfile to generate API\n from sourcecode.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-developers?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-developers?architecture=all" }, { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dhcp", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "dhcp plugin for FusionDirectory\n DHCP service management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dhcp?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the PACKAGE package." - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" - }, - { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_195.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: BSD-3-clause" + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dhcp?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dhcp-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory dhcp plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dhcp plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dhcp-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dhcp-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dns", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "dns plugin for FusionDirectory\n DNS service management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dns?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dns?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dns-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory dns plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dns plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dns-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dns-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dovecot", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "dovecot plugin for FusionDirectory\n Dovecot account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dovecot?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dovecot?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dovecot-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory dovecot plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dovecot plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dovecot-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dovecot-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dsa", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "dsa plugin for FusionDirectory\n This plugin is designed to maintain the dsa branch of your LDAP directory.\n The dsa branch is the one tha contains the security account for LDAP clients\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dsa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dsa?architecture=all" }, { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_1066.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 30, - "rule_relevance": 100, - "matched_text": "License: [GPL]-[2+]\n[Comment]:\n [This] [file] is distributed under the [same] license" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dsa-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory dsa plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dsa plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dsa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dsa-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ejbca", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "ejbca plugin for FusionDirectory\n This plugin is designed to show the certificates for servers and users\n stored by ejbca inside LDAP.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ejbca?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ejbca?architecture=all" }, { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ejbca-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory ejbca plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ejbca plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ejbca-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the" - }, - { - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_166.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: LGPL-3+" - }, - { - "license_expression": "public-domain", - "rule_identifier": "pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99, - "matched_text": "License: public-domain" + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ejbca-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_67.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "GPL-2+)." + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-fai", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "fai plugin for FusionDirectory\n FAI plugin for managing Linux system deployment.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-fai?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-fai?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-fai-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory fai plugin\n This package includes the LDAP schema needed by the FusionDirectory\n fai plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-fai-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-fai-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-freeradius", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "freeradius plugin for FusionDirectory\n This package adds FreeRADIUS management to FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-freeradius?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-freeradius?architecture=all" }, { - "license_expression": "mit", - "rule_identifier": "mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "License: Expat" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-freeradius-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory freeradius plugin\n This package includes the LDAP schema needed by the FusionDirectory\n freeradius plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-freeradius-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-freeradius-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-fusioninventory", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "FusionInventory plugin for FusionDirectory\n This plugin allow you to manage your inventories with the fusioninventory\n agent.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-fusioninventory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-fusioninventory?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-fusioninventory-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory fusioninventory plugin\n This package includes the LDAP schema needed by the FusionDirectory\n fusioninventory plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-fusioninventory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-fusioninventory-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-gpg", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "gpg plugin for FusionDirectory\n This plugin allow you to manage gpg key for the user in your LDAP tree.\n It also allow you to configure a gpg server to fetch his key from the\n LDAP server.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-gpg?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-gpg?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-gpg-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory gpg plugin\n This package includes the LDAP schema needed by the FusionDirectory\n gpg plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-gpg-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-gpg-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ipmi", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "ipmi plugin for FusionDirectory\n This plugin allow you to manage ipmi services.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ipmi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ipmi?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ipmi-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory ipmi plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ipmi plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ipmi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ipmi-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ldapdump", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "ldapdump plugin for FusionDirectory\n Show raw LDAP data\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ldapdump?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ldapdump?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ldapmanager", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "ldapmanager plugin for FusionDirectory\n LDAP import and export management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ldapmanager?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ldapmanager?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-mail", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "base mail plugin for FusionDirectory\n Mail management base plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-mail?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-mail?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-mail-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory mail plugin\n This package includes the LDAP schema needed by the FusionDirectory\n mail plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-mail-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-mail-schema?architecture=all" }, { - "license_expression": "bsd-original", - "rule_identifier": "bsd-original_43.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: BSD-4-clause" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-mixedgroups", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "plugin to manage groups mixing memberuid and member\n Member and memberuid mixed in the same groups, this need specific\n modified core ldap schema\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-mixedgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-mixedgroups?architecture=all" }, { - "license_expression": "mit", - "rule_identifier": "mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "License: Expat" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-nagios", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "nagios plugin for FusionDirectory\n Nagios account settings management\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-nagios?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-nagios?architecture=all" }, { - "license_expression": "mit", - "rule_identifier": "mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "License: Expat" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-nagios-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory nagios plugin\n This package includes the LDAP schema needed by the FusionDirectory\n nagios plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-nagios-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-nagios-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-netgroups", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "netgroup plugin for FusionDirectory\n Nis Netgroups account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-netgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-netgroups?architecture=all" }, { - "license_expression": "gpl-3.0-plus", - "rule_identifier": "gpl-3.0-plus_89.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "GPL-3+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-netgroups-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory netgroups plugin\n This package includes the LDAP schema needed by the FusionDirectory\n netgroups plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-netgroups-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-netgroups-schema?architecture=all" }, { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_64.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "LGPL-2.1+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-newsletter", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "newsletter plugin for FusionDirectory\n Newsletter account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-newsletter?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-newsletter?architecture=all" }, { - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "LGPL-3+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-newsletter-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory newsletter plugin\n This package includes the LDAP schema needed by the FusionDirectory\n newsletter plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-newsletter-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-newsletter-schema?architecture=all" }, { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_10.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "BSD-3-clause" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-opsi", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "opsi plugin for FusionDirectory\n Opsi management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-opsi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-opsi?architecture=all" }, { - "license_expression": "bsd-original", - "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "BSD-4-clause" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-opsi-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory opsi plugin\n This package includes the LDAP schema needed by the FusionDirectory\n opsi plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-opsi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-opsi-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-2+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-personal", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "Personal plugin for FusionDirectory\n The personal plugin for FusionDirectory is used to stored personal data,\n like twitter, facebook, private email addresses and nickname.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-personal?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-personal?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_1038.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/GPL-2" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-personal-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory personal Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n personal Plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-personal-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 136, - "rule_relevance": 100, - "matched_text": "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\n .\n On Debian systems, the complete text of the GNU General\n Public License 2 can be found in `/usr/share/common-licenses/GPL-2'." + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-personal-schema?architecture=all" }, { - "license_expression": "gpl-3.0-plus", - "rule_identifier": "gpl-3.0-plus_92.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: GPL-3+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-posix", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "posix account and group plugin for FusionDirectory\n Manage the posix account and groups via FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-posix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-posix?architecture=all" }, { - "license_expression": "gpl-3.0-plus", - "rule_identifier": "gpl-3.0-plus_512.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/GPL-3" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-postfix", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "postfix service plugin for FusionDirectory\n Postfix service plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-postfix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-postfix?architecture=all" + }, + { + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-postfix-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory postfix plugin\n This package includes the LDAP schema needed by the FusionDirectory\n postfix plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-postfix-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 136, - "rule_relevance": 100, - "matched_text": "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 3 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\n .\n On Debian systems, the complete text of the GNU General\n Public License 3 can be found in `/usr/share/common-licenses/GPL-3'." - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_108.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: LGPL-2.1+" - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_418.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/LGPL-2.1" + "datasource_ids": [ + "debian_control_in_source" ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 146, - "rule_relevance": 100, - "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 Street, Fifth Floor, Boston,\n MA 02110-1301 USA\n .\n On Debian systems, the full text of the GNU Lesser General Public\n License version 2,1 can be found in the file\n `/usr/share/common-licenses/LGPL-2.1'." - }, - { - "license_expression": "mit", - "rule_identifier": "mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "License: Expat" + "purl": "pkg:deb/fusiondirectory-plugin-postfix-schema?architecture=all" }, { - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100, - "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 in\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 The above copyright notice and this permission notice shall be included in all\n 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 THE\n SOFTWARE." + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ppolicy", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "ppolicy overlay module plugin for FusionDirectory\n Manage the LDAP ppolicy overlay via FusionDirectory. Ppolicy provides enhanced\n password management capabilities that are applied to non-rootdn bind attempts\n in OpenLDAP.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ppolicy?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ppolicy?architecture=all" }, { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_195.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: BSD-3-clause" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ppolicy-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory ppolicy Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ppolicy Plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ppolicy-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ppolicy-schema?architecture=all" }, { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_577.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 213, - "rule_relevance": 100, - "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 notice,\n this list of conditions and the following disclaimer.\n - Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n - Neither the name of the copyright holder 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 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 HOLDER 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 CONTRACT,\n STRICT 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." + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-puppet", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "Puppet plugin for FusionDirectory\n Simple puppet plugin for FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-puppet?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-puppet?architecture=all" }, { - "license_expression": "bsd-original", - "rule_identifier": "bsd-original_43.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: BSD-4-clause" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-puppet-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory puppet Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n Puppet Plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-puppet-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-puppet-schema?architecture=all" }, { - "license_expression": "bsd-original", - "rule_identifier": "bsd-original_71.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 236, - "rule_relevance": 100, - "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 notice,\n this list of conditions and the following disclaimer.\n - Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n - All advertising materials mentioning features or use of this software must\n display the following acknowledgement: \u201cThis product includes software\n developed by the .\u201d\n - Neither the name of the author(s) nor the names of this program's\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 AUTHOR(S) \u201cAS IS\u201d 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. IN NO\n EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\n OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-pureftpd", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "pureftpd plugin for FusionDirectory\n PureFTPD plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-pureftpd?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-pureftpd?architecture=all" }, { - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_166.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: LGPL-3+" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-pureftpd-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory pureftpd plugin\n This package includes the LDAP schema needed by the FusionDirectory\n pureftpd plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-pureftpd-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-pureftpd-schema?architecture=all" }, { - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_189.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/LGPL-3" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-quota", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "quota plugin for FusionDirectory\n Linux Quota plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-quota?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 105, - "rule_relevance": 100, - "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 3 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 On Debian systems, the complete text of the GNU Lesser General\n Public License 3 can be found in `/usr/share/common-licenses/LGPL-3'." + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-quota?architecture=all" }, { - "license_expression": "public-domain", - "rule_identifier": "pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99, - "matched_text": "License: public-domain" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-quota-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory quota plugin\n This package includes the LDAP schema needed by the FusionDirectory\n quota plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-quota-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-quota-schema?architecture=all" }, { - "license_expression": "other-permissive", - "rule_identifier": "other-permissive_325.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 40, - "rule_relevance": 100, - "matched_text": "This file is in the public domain. You may use and modify it as\n you see fit, as long as this copyright message is included and\n that there is an indication as to what modifications have been\n made (if any)." + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-renater-partage", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "Renater partage integration plugin for FusionDirectory\n Renater partage plugin for https://partage.renater.fr/\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-renater-partage?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-renater-partage?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-renater-partage-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory renater partage plugin\n This package includes the LDAP schema needed by the FusionDirectory\n renater partage plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-renater-partage-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-renater-partage-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-repository", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "repository plugin for FusionDirectory\n Repository plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-repository?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-repository?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-repository-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory repository plugin\n This package includes the LDAP schema needed by the FusionDirectory\n repository plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-repository-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-repository-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-samba", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "samba3 plugin for FusionDirectory\n Plugin for Samba 3 management.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-samba?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-samba?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-samba-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory samba plugin\n This package includes the LDAP schema needed by the FusionDirectory\n samba plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-samba-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-samba-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-sogo", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "SOGo plugin for FusionDirectory\n SOGo resource management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-sogo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-sogo?architecture=all" }, { - "license_expression": "bsd-simplified", - "rule_identifier": "bsd-simplified_136.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "License: BSD (2 clause)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-sogo-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory SOgo plugin\n This package includes the LDAP schemas needed by the FusionDirectory\n SOGo plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-sogo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-sogo-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later) (" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-spamassassin", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "spamassassin plugin for FusionDirectory\n spamassassin plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-spamassassin?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-spamassassin?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-spamassassin-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory spamassassin plugin\n This package includes the LDAP schema needed by the FusionDirectory\n spamassassin plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-spamassassin-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-spamassassin-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-squid", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "squid plugin for FusionDirectory\n Squid plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-squid?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-squid?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-squid-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory squid plugin\n This package includes the LDAP schema needed by the FusionDirectory\n squid plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-squid-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-squid-schema?architecture=all" }, { - "license_expression": "lgpl-3.0", - "rule_identifier": "lgpl-3.0_37.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "License: LGPL (v3" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ssh", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "ssh plugin for FusionDirectory\n SSH key management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ssh?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ssh?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ssh-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory ssh plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ssh plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ssh-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ssh-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-subcontracting", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "subcontracting plugin for FusionDirectory\n This package includes the subcontracting plugin for FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-subcontracting?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-subcontracting?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-subcontracting-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory subcontracting plugin\n This package includes the LDAP schema needed by the FusionDirectory\n subcontracting plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-subcontracting-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-subcontracting-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-sudo", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "sudo plugin for FusionDirectory\n Sudo management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-sudo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-sudo?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-sudo-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory sudo plugin\n This package includes the LDAP schema needed by the FusionDirectory\n sudo plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-sudo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-sudo-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-supann", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "supann plugin for FusionDirectory\n Supann management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-supann?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-supann?architecture=all" + }, + { + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-supann-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory supann plugin\n This package includes the LDAP schema needed by the FusionDirectory\n supann plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-supann-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-supann-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-sympa", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "sympa plugin for FusionDirectory\n This plugin is designed to configure basic sympa lists.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-sympa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-sympa?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-sympa-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory sympa plugin\n This package includes the LDAP schema needed by the FusionDirectory\n sympa plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-sympa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-sympa-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-systems", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "systems plugin for FusionDirectory\n Systems management base plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-systems?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-systems?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-systems-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory systems plugin\n This package includes the LDAP schema needed by the FusionDirectory\n systems plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-systems-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-systems-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later) (" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-user-reminder", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "user reminder plugin for FusionDirectory\n The user reminder plugin allows you to configure a reminder for expiring\n account to ask user if they want to keep the account open or not.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-user-reminder?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-user-reminder?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "License: GPL (v2 or later)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-user-reminder-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory user reminder plugin\n This package includes the LDAP schema needed by the FusionDirectory\n user-reminder plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-user-reminder-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-user-reminder-schema?architecture=all" }, { - "license_expression": "mit", - "rule_identifier": "mit_221.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 90, - "matched_text": "License: MIT/X11 (" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-weblink", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "weblink plugin for FusionDirectory\n The weblink plugin allows you to add a link to systems pointing\n to their web interface.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-weblink?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-weblink?architecture=all" }, { - "license_expression": "other-permissive", - "rule_identifier": "other-permissive_16.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "BSD like)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-weblink-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory weblink plugin\n This package includes the LDAP schema needed by the FusionDirectory\n weblink plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-weblink-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-weblink-schema?architecture=all" }, { - "license_expression": "public-domain", - "rule_identifier": "pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99, - "matched_text": "License: Public domain" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-webservice", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "webservice plugin for FusionDirectory\n This plugin is designed to manage FusionDirectory with a webservice.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-webservice?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-webservice?architecture=all" }, { - "license_expression": "bsd-original", - "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "BSD (4 clause)" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-webservice-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "schema for the webservice plugin for FusionDirectory\n This package includes the LDAP schema needed by the FusionDirectory\n webservice plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-webservice-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-webservice-schema?architecture=all" }, { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_bare_word_only.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 50, - "matched_text": "GPL" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory\n This package includes the basics LDAP schemas needed by FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-schema?architecture=all" }, { - "license_expression": "borceux", - "rule_identifier": "borceux.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100, - "matched_text": "package consists of [various] [tarballs].\n\n[This] README" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-smarty3-acl-render", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "Provide FusionDirectory ACL based rendering for Smarty3\n This package provides acl based rendering support for Smarty3,\n the popular PHP templating engine (http://smarty.php.net/). This\n module is mainly used by FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-smarty3-acl-render?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-smarty3-acl-render?architecture=all" }, { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-theme-oxygen", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "Icon theme Oxygen for FusionDirectory\n This package makes Oxygen icon theme available in FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the" + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-theme-oxygen?architecture=all" }, { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_1.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-webservice-shell", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "webservice shell for FusionDirectory\n This is the conmand line shell for the FusionDirectory with a webservice.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100, - "matched_text": "This file is distributed under the same license as the package." + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-webservice-shell?architecture=all" } ], "files": [ @@ -6828,7 +6740,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -6941,7 +6853,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -7062,12 +6974,13 @@ "matcher": "3-seq", "license_expression": "borceux", "rule_identifier": "borceux.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/borceux.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/borceux.LICENSE", + "matched_text": "package consists of [various] [tarballs].\n\n[This] README" } ], "percentage_of_license_text": 10.53, - "for_licenses": [ - "36666984-5064-88c2-90a6-dc14744d84f0" + "for_license_detections": [ + "none#36666984-5064-88c2-90a6-dc14744d84f0" ], "package_data": [], "for_packages": [ @@ -7181,7 +7094,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -7294,7 +7207,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [ { "type": "deb", @@ -7347,7 +7260,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7366,7 +7280,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" }, { "score": 100.0, @@ -7377,7 +7292,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." } ] }, @@ -7396,7 +7312,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7415,7 +7332,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7434,7 +7352,8 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_195.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE", + "matched_text": "License: BSD-3-clause" } ] }, @@ -7453,7 +7372,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7472,7 +7392,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7491,7 +7412,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7510,7 +7432,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7529,7 +7452,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7548,7 +7472,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7567,7 +7492,8 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1066.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1066.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1066.RULE", + "matched_text": "License: [GPL]-[2+]\n[Comment]:\n [This] [file] is distributed under the [same] license" }, { "score": 100.0, @@ -7578,7 +7504,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" }, { "score": 100.0, @@ -7589,7 +7516,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", + "matched_text": "This file is distributed under the same license as the" } ] }, @@ -7608,7 +7536,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE", + "matched_text": "License: LGPL-3+" } ] }, @@ -7628,7 +7557,8 @@ "matcher": "2-aho", "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", + "matched_text": "License: public-domain" } ] }, @@ -7648,7 +7578,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_67.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_67.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_67.RULE", + "matched_text": "GPL-2+)." } ] }, @@ -7668,7 +7599,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7688,7 +7620,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7708,7 +7641,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", + "matched_text": "License: Expat" } ] }, @@ -7728,7 +7662,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7748,7 +7683,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7768,7 +7704,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7788,7 +7725,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7808,7 +7746,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7828,7 +7767,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7848,7 +7788,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7868,7 +7809,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7888,7 +7830,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7908,7 +7851,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -7927,7 +7871,8 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "bsd-original_43.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE", + "matched_text": "License: BSD-4-clause" } ] }, @@ -7947,7 +7892,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", + "matched_text": "License: Expat" } ] }, @@ -7967,7 +7913,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", + "matched_text": "License: Expat" } ] }, @@ -7986,7 +7933,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" }, { "score": 100.0, @@ -7997,7 +7945,8 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_89.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_89.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_89.RULE", + "matched_text": "GPL-3+" }, { "score": 100.0, @@ -8008,7 +7957,8 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_64.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_64.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_64.RULE", + "matched_text": "LGPL-2.1+" }, { "score": 100.0, @@ -8019,7 +7969,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_36.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_36.RULE", + "matched_text": "LGPL-3+" }, { "score": 100.0, @@ -8030,7 +7981,8 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_10.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_10.RULE", + "matched_text": "BSD-3-clause" }, { "score": 100.0, @@ -8041,7 +7993,8 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "matched_text": "BSD-4-clause" }, { "score": 100.0, @@ -8052,7 +8005,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" }, { "score": 100.0, @@ -8063,7 +8017,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_1038.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_1038.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_1038.RULE", + "matched_text": "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\n .\n On Debian systems, the complete text of the GNU General\n Public License 2 can be found in `/usr/share/common-licenses/GPL-2'." }, { "score": 100.0, @@ -8074,7 +8029,8 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_92.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_92.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_92.RULE", + "matched_text": "License: GPL-3+" }, { "score": 100.0, @@ -8085,7 +8041,8 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_512.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_512.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_512.RULE", + "matched_text": "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 3 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\n .\n On Debian systems, the complete text of the GNU General\n Public License 3 can be found in `/usr/share/common-licenses/GPL-3'." }, { "score": 100.0, @@ -8096,7 +8053,8 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_108.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_108.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_108.RULE", + "matched_text": "License: LGPL-2.1+" }, { "score": 100.0, @@ -8107,7 +8065,8 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_418.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_418.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_418.RULE", + "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 Street, Fifth Floor, Boston,\n MA 02110-1301 USA\n .\n On Debian systems, the full text of the GNU Lesser General Public\n License version 2,1 can be found in the file\n `/usr/share/common-licenses/LGPL-2.1'." }, { "score": 100.0, @@ -8118,7 +8077,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", + "matched_text": "License: Expat" }, { "score": 100.0, @@ -8129,7 +8089,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "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 in\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 The above copyright notice and this permission notice shall be included in all\n 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 THE\n SOFTWARE." }, { "score": 100.0, @@ -8140,7 +8101,8 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_195.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE", + "matched_text": "License: BSD-3-clause" }, { "score": 100.0, @@ -8151,7 +8113,8 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_577.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_577.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_577.RULE", + "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 notice,\n this list of conditions and the following disclaimer.\n - Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n - Neither the name of the copyright holder 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 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 HOLDER 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 CONTRACT,\n STRICT 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." }, { "score": 100.0, @@ -8162,7 +8125,8 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "bsd-original_43.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE", + "matched_text": "License: BSD-4-clause" }, { "score": 100.0, @@ -8173,7 +8137,8 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "bsd-original_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_71.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_71.RULE", + "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 notice,\n this list of conditions and the following disclaimer.\n - Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n - All advertising materials mentioning features or use of this software must\n display the following acknowledgement: \u201cThis product includes software\n developed by the .\u201d\n - Neither the name of the author(s) nor the names of this program's\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 AUTHOR(S) \u201cAS IS\u201d 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. IN NO\n EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\n OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n OR 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, @@ -8184,7 +8149,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE", + "matched_text": "License: LGPL-3+" }, { "score": 100.0, @@ -8195,7 +8161,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_189.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_189.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_189.RULE", + "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 3 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 On Debian systems, the complete text of the GNU Lesser General\n Public License 3 can be found in `/usr/share/common-licenses/LGPL-3'." }, { "score": 99.0, @@ -8206,7 +8173,8 @@ "matcher": "2-aho", "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", + "matched_text": "License: public-domain" }, { "score": 100.0, @@ -8217,7 +8185,8 @@ "matcher": "2-aho", "license_expression": "other-permissive", "rule_identifier": "other-permissive_325.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_325.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_325.RULE", + "matched_text": "This file is in the public domain. You may use and modify it as\n you see fit, as long as this copyright message is included and\n that there is an indication as to what modifications have been\n made (if any)." } ] }, @@ -8236,7 +8205,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8255,7 +8225,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8274,7 +8245,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8293,7 +8265,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8312,7 +8285,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8331,7 +8305,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8350,7 +8325,8 @@ "matcher": "2-aho", "license_expression": "bsd-simplified", "rule_identifier": "bsd-simplified_136.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_136.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_136.RULE", + "matched_text": "License: BSD (2 clause)" } ] }, @@ -8369,7 +8345,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later) (" } ] }, @@ -8388,7 +8365,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8407,7 +8385,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8426,7 +8405,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8446,7 +8426,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_37.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_37.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_37.RULE", + "matched_text": "License: LGPL (v3" } ] }, @@ -8465,7 +8446,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8484,7 +8466,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8503,7 +8486,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8522,7 +8506,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8541,7 +8526,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8560,7 +8546,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8579,7 +8566,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8598,7 +8586,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8617,7 +8606,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8636,7 +8626,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8655,7 +8646,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later) (" } ] }, @@ -8674,7 +8666,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -8694,7 +8687,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_221.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_221.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_221.RULE", + "matched_text": "License: MIT/X11 (" }, { "score": 100.0, @@ -8705,7 +8699,8 @@ "matcher": "2-aho", "license_expression": "other-permissive", "rule_identifier": "other-permissive_16.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_16.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_16.RULE", + "matched_text": "BSD like)" } ] }, @@ -8725,7 +8720,8 @@ "matcher": "2-aho", "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", + "matched_text": "License: Public domain" }, { "score": 100.0, @@ -8736,7 +8732,8 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "matched_text": "BSD (4 clause)" }, { "score": 50.0, @@ -8747,7 +8744,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_word_only.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE", + "matched_text": "GPL" } ] } @@ -13151,7 +13149,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13170,7 +13169,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" }, { "score": 100.0, @@ -13181,7 +13181,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." } ] }, @@ -13200,7 +13201,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13219,7 +13221,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13238,7 +13241,8 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_195.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE", + "matched_text": "License: BSD-3-clause" } ] }, @@ -13257,7 +13261,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13276,7 +13281,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13295,7 +13301,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13314,7 +13321,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13333,7 +13341,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13352,7 +13361,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13371,7 +13381,8 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1066.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1066.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1066.RULE", + "matched_text": "License: [GPL]-[2+]\n[Comment]:\n [This] [file] is distributed under the [same] license" }, { "score": 100.0, @@ -13382,7 +13393,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" }, { "score": 100.0, @@ -13393,7 +13405,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", + "matched_text": "This file is distributed under the same license as the" } ] }, @@ -13412,7 +13425,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE", + "matched_text": "License: LGPL-3+" } ] }, @@ -13432,7 +13446,8 @@ "matcher": "2-aho", "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", + "matched_text": "License: public-domain" } ] }, @@ -13452,7 +13467,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_67.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_67.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_67.RULE", + "matched_text": "GPL-2+)." } ] }, @@ -13472,7 +13488,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13492,7 +13509,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13512,7 +13530,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", + "matched_text": "License: Expat" } ] }, @@ -13532,7 +13551,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13552,7 +13572,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13572,7 +13593,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13592,7 +13614,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13612,7 +13635,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13632,7 +13656,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13652,7 +13677,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13672,7 +13698,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13692,7 +13719,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13712,7 +13740,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" } ] }, @@ -13731,7 +13760,8 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "bsd-original_43.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE", + "matched_text": "License: BSD-4-clause" } ] }, @@ -13751,7 +13781,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", + "matched_text": "License: Expat" } ] }, @@ -13771,7 +13802,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", + "matched_text": "License: Expat" } ] }, @@ -13790,7 +13822,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" }, { "score": 100.0, @@ -13801,7 +13834,8 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_89.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_89.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_89.RULE", + "matched_text": "GPL-3+" }, { "score": 100.0, @@ -13812,7 +13846,8 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_64.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_64.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_64.RULE", + "matched_text": "LGPL-2.1+" }, { "score": 100.0, @@ -13823,7 +13858,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_36.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_36.RULE", + "matched_text": "LGPL-3+" }, { "score": 100.0, @@ -13834,7 +13870,8 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_10.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_10.RULE", + "matched_text": "BSD-3-clause" }, { "score": 100.0, @@ -13845,7 +13882,8 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "matched_text": "BSD-4-clause" }, { "score": 100.0, @@ -13856,7 +13894,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "matched_text": "License: GPL-2+" }, { "score": 100.0, @@ -13867,7 +13906,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_1038.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_1038.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_1038.RULE", + "matched_text": "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\n .\n On Debian systems, the complete text of the GNU General\n Public License 2 can be found in `/usr/share/common-licenses/GPL-2'." }, { "score": 100.0, @@ -13878,7 +13918,8 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_92.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_92.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_92.RULE", + "matched_text": "License: GPL-3+" }, { "score": 100.0, @@ -13889,7 +13930,8 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_512.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_512.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_512.RULE", + "matched_text": "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 3 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\n .\n On Debian systems, the complete text of the GNU General\n Public License 3 can be found in `/usr/share/common-licenses/GPL-3'." }, { "score": 100.0, @@ -13900,7 +13942,8 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_108.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_108.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_108.RULE", + "matched_text": "License: LGPL-2.1+" }, { "score": 100.0, @@ -13911,7 +13954,8 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_418.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_418.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_418.RULE", + "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 Street, Fifth Floor, Boston,\n MA 02110-1301 USA\n .\n On Debian systems, the full text of the GNU Lesser General Public\n License version 2,1 can be found in the file\n `/usr/share/common-licenses/LGPL-2.1'." }, { "score": 100.0, @@ -13922,7 +13966,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", + "matched_text": "License: Expat" }, { "score": 100.0, @@ -13933,7 +13978,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "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 in\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 The above copyright notice and this permission notice shall be included in all\n 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 THE\n SOFTWARE." }, { "score": 100.0, @@ -13944,7 +13990,8 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_195.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE", + "matched_text": "License: BSD-3-clause" }, { "score": 100.0, @@ -13955,7 +14002,8 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_577.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_577.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_577.RULE", + "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 notice,\n this list of conditions and the following disclaimer.\n - Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n - Neither the name of the copyright holder 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 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 HOLDER 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 CONTRACT,\n STRICT 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." }, { "score": 100.0, @@ -13966,7 +14014,8 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "bsd-original_43.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE", + "matched_text": "License: BSD-4-clause" }, { "score": 100.0, @@ -13977,7 +14026,8 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "bsd-original_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_71.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_71.RULE", + "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 notice,\n this list of conditions and the following disclaimer.\n - Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n - All advertising materials mentioning features or use of this software must\n display the following acknowledgement: \u201cThis product includes software\n developed by the .\u201d\n - Neither the name of the author(s) nor the names of this program's\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 AUTHOR(S) \u201cAS IS\u201d 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. IN NO\n EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\n OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n OR 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, @@ -13988,7 +14038,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE", + "matched_text": "License: LGPL-3+" }, { "score": 100.0, @@ -13999,7 +14050,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_189.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_189.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_189.RULE", + "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 3 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 On Debian systems, the complete text of the GNU Lesser General\n Public License 3 can be found in `/usr/share/common-licenses/LGPL-3'." }, { "score": 99.0, @@ -14010,7 +14062,8 @@ "matcher": "2-aho", "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", + "matched_text": "License: public-domain" }, { "score": 100.0, @@ -14021,46 +14074,47 @@ "matcher": "2-aho", "license_expression": "other-permissive", "rule_identifier": "other-permissive_325.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_325.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_325.RULE", + "matched_text": "This file is in the public domain. You may use and modify it as\n you see fit, as long as this copyright message is included and\n that there is an indication as to what modifications have been\n made (if any)." } ] } ], "license_clues": [], "percentage_of_license_text": 11.24, - "for_licenses": [ - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "07d990a9-4b75-141e-1214-8f9a6baca3f6", - "0667fcba-0434-a8b0-c381-d21e497f339e", - "5e7cf470-62b4-d7f2-403b-32e360af9959", - "8f13c053-ee2e-fbc9-00bd-94342ccaca54", - "436a53e8-cee5-a1a3-1a63-23f72b7ecff8", - "bd9559dd-d998-d270-8750-8a6673b7e089", - "5b77229a-4d7f-8d90-8406-e2f0bbefad2f", - "c653439c-e276-d2c2-c877-f4cf44461425", - "c653439c-e276-d2c2-c877-f4cf44461425", - "c653439c-e276-d2c2-c877-f4cf44461425", - "98ef120f-3326-ab2a-1549-8e606ef5d913", - "3f66e975-1f1b-f709-e7a9-03ce0158276e" + "for_license_detections": [ + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus_and_free_unknown#0667fcba-0434-a8b0-c381-d21e497f339e", + "bsd_new#5e7cf470-62b4-d7f2-403b-32e360af9959", + "apache_2_0_and_gpl_2_0_plus_and_free_unknown#8f13c053-ee2e-fbc9-00bd-94342ccaca54", + "lgpl_3_0_plus#436a53e8-cee5-a1a3-1a63-23f72b7ecff8", + "public_domain#bd9559dd-d998-d270-8750-8a6673b7e089", + "gpl_2_0_plus#5b77229a-4d7f-8d90-8406-e2f0bbefad2f", + "mit#c653439c-e276-d2c2-c877-f4cf44461425", + "mit#c653439c-e276-d2c2-c877-f4cf44461425", + "mit#c653439c-e276-d2c2-c877-f4cf44461425", + "bsd_original#98ef120f-3326-ab2a-1549-8e606ef5d913", + "gpl_2_0_plus_and_gpl_3_0_plus_and_lgpl_2_1_plus_and_lgpl_3_0_plus_and_bsd_new_and_bsd_original_and_mit_and_public_domain_and_other_permissive#3f66e975-1f1b-f709-e7a9-03ce0158276e" ], "package_data": [], "for_packages": [ @@ -14187,7 +14241,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14206,7 +14261,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14225,7 +14281,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14244,7 +14301,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14263,7 +14321,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14282,7 +14341,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14301,7 +14361,8 @@ "matcher": "2-aho", "license_expression": "bsd-simplified", "rule_identifier": "bsd-simplified_136.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_136.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_136.RULE", + "matched_text": "License: BSD (2 clause)" } ] }, @@ -14320,7 +14381,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later) (" } ] }, @@ -14339,7 +14401,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14358,7 +14421,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14377,7 +14441,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14397,7 +14462,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_37.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_37.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_37.RULE", + "matched_text": "License: LGPL (v3" } ] }, @@ -14416,7 +14482,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14435,7 +14502,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14454,7 +14522,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14473,7 +14542,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14492,7 +14562,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14511,7 +14582,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14530,7 +14602,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14549,7 +14622,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14568,7 +14642,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14587,7 +14662,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14606,7 +14682,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later) (" } ] }, @@ -14625,7 +14702,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "matched_text": "License: GPL (v2 or later)" } ] }, @@ -14645,7 +14723,8 @@ "matcher": "2-aho", "license_expression": "mit", "rule_identifier": "mit_221.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_221.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_221.RULE", + "matched_text": "License: MIT/X11 (" }, { "score": 100.0, @@ -14656,7 +14735,8 @@ "matcher": "2-aho", "license_expression": "other-permissive", "rule_identifier": "other-permissive_16.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_16.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_16.RULE", + "matched_text": "BSD like)" } ] }, @@ -14676,7 +14756,8 @@ "matcher": "2-aho", "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", + "matched_text": "License: Public domain" }, { "score": 100.0, @@ -14687,7 +14768,8 @@ "matcher": "2-aho", "license_expression": "bsd-original", "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "matched_text": "BSD (4 clause)" }, { "score": 50.0, @@ -14698,40 +14780,41 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_word_only.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE", + "matched_text": "GPL" } ] } ], "license_clues": [], "percentage_of_license_text": 0.66, - "for_licenses": [ - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "7a7f220c-2737-f01f-ae6d-996a8265fe35", - "6d9cdb91-f72a-e66d-131a-5df68f4b8dbe", - "96ffe1b7-0393-b4ce-7307-8ea9f7b6a926", - "2fcd3356-800d-11d7-c648-c983d7089c6f", - "97b7b447-cbd8-46bc-d573-acd1c32c3e4d" + "for_license_detections": [ + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", + "bsd_simplified#6d9cdb91-f72a-e66d-131a-5df68f4b8dbe", + "lgpl_3_0#96ffe1b7-0393-b4ce-7307-8ea9f7b6a926", + "mit_and_other_permissive#2fcd3356-800d-11d7-c648-c983d7089c6f", + "public_domain_and_bsd_original_and_gpl_1_0_plus#97b7b447-cbd8-46bc-d573-acd1c32c3e4d" ], "package_data": [], "for_packages": [ @@ -14845,7 +14928,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -14971,15 +15054,16 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", + "matched_text": "This file is distributed under the same license as the" } ] } ], "license_clues": [], "percentage_of_license_text": 2.39, - "for_licenses": [ - "142f3261-5728-9933-74c7-7e8aa278ff6d" + "for_license_detections": [ + "free_unknown#142f3261-5728-9933-74c7-7e8aa278ff6d" ], "package_data": [], "for_packages": [ @@ -15106,15 +15190,16 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE", + "matched_text": "This file is distributed under the same license as the package." } ] } ], "license_clues": [], "percentage_of_license_text": 2.48, - "for_licenses": [ - "b311c6a4-90ca-420f-ddb7-53c164b9bf65" + "for_license_detections": [ + "free_unknown#b311c6a4-90ca-420f-ddb7-53c164b9bf65" ], "package_data": [], "for_packages": [ @@ -15228,7 +15313,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", diff --git a/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json index 6bcd4da2fa9..8f7795b73b2 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "b485fded-3ae7-7c49-8be0-c042c4a4747f", + "identifier": "apache_2_0_and_cc_by_nc_nd_3_0_and_other_permissive_and_proprietary_license#b485fded-3ae7-7c49-8be0-c042c4a4747f", "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "8b191dea-30ee-8738-fab1-2c6dbb5d65c2", + "identifier": "bsd_new#8b191dea-30ee-8738-fab1-2c6dbb5d65c2", "license_expression": "bsd-new", - "occurance_count": 3, + "occurrence_count": 3, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "76b09250-6936-6da3-664b-6d5d81de9c95", + "identifier": "free_unknown#76b09250-6936-6da3-664b-6d5d81de9c95", "license_expression": "free-unknown", - "occurance_count": 5, + "occurrence_count": 5, "detection_log": [ "not-combined" ], @@ -64,9 +64,9 @@ ] }, { - "identifier": "2d67622f-a7b6-912c-ca85-160b760f0d8b", + "identifier": "free_unknown#2d67622f-a7b6-912c-ca85-160b760f0d8b", "license_expression": "free-unknown", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -85,9 +85,9 @@ ] }, { - "identifier": "0aac815c-f1e3-cc4b-b498-7a01e6cac393", + "identifier": "bsd_new#0aac815c-f1e3-cc4b-b498-7a01e6cac393", "license_expression": "bsd-new", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -106,187 +106,6 @@ ] } ], - "dependencies": [], - "packages": [ - { - "type": "pypi", - "namespace": null, - "name": "Django", - "version": null, - "qualifiers": {}, - "subpath": null, - "primary_language": "Python", - "description": "A high-level Python Web framework that encourages rapid development and clean, pragmatic design.", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Django Software Foundation", - "email": "foundation@djangoproject.com", - "url": null - } - ], - "keywords": [ - "Development Status :: 5 - Production/Stable", - "Environment :: Web Environment", - "Framework :: Django", - "Intended Audience :: Developers", - "Operating System :: OS Independent", - "Programming Language :: Python", - "Topic :: Internet :: WWW/HTTP", - "Topic :: Internet :: WWW/HTTP :: Dynamic Content", - "Topic :: Internet :: WWW/HTTP :: WSGI", - "Topic :: Software Development :: Libraries :: Application Frameworks", - "Topic :: Software Development :: Libraries :: Python Modules" - ], - "homepage_url": "http://www.djangoproject.com/", - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "bsd-new", - "declared_license_expression_spdx": "BSD-3-Clause", - "license_detections": [ - { - "license_expression": "bsd-new", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 99.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", - "notice_text": null, - "source_packages": [], - "extra_data": { - "Download-URL": "http://media.djangoproject.com/releases/1.2/Django-1.2.5.tar.gz" - }, - "repository_homepage_url": "https://pypi.org/project/Django", - "repository_download_url": null, - "api_data_url": "https://pypi.org/pypi/Django/json", - "package_uid": "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "django-1.2/setup.py" - ], - "datasource_ids": [ - "pypi_setup_py" - ], - "purl": "pkg:pypi/django" - }, - { - "type": "pypi", - "namespace": null, - "name": "Django", - "version": "1.3.1", - "qualifiers": {}, - "subpath": null, - "primary_language": "Python", - "description": "A high-level Python Web framework that encourages rapid development and clean, pragmatic design.\nUNKNOWN", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Django Software Foundation", - "email": "foundation@djangoproject.com", - "url": null - } - ], - "keywords": [ - "Development Status :: 5 - Production/Stable", - "Environment :: Web Environment", - "Framework :: Django", - "Intended Audience :: Developers", - "Operating System :: OS Independent", - "Programming Language :: Python", - "Programming Language :: Python :: 2.4", - "Programming Language :: Python :: 2.5", - "Programming Language :: Python :: 2.6", - "Programming Language :: Python :: 2.7", - "Topic :: Internet :: WWW/HTTP", - "Topic :: Internet :: WWW/HTTP :: Dynamic Content", - "Topic :: Internet :: WWW/HTTP :: WSGI", - "Topic :: Software Development :: Libraries :: Application Frameworks", - "Topic :: Software Development :: Libraries :: Python Modules" - ], - "homepage_url": "http://www.djangoproject.com/", - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "bsd-new", - "declared_license_expression_spdx": "BSD-3-Clause", - "license_detections": [ - { - "license_expression": "bsd-new", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 99.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", - "notice_text": null, - "source_packages": [], - "extra_data": { - "Download-URL": "http://media.djangoproject.com/releases/1.3/Django-1.3.1.tar.gz" - }, - "repository_homepage_url": "https://pypi.org/project/Django", - "repository_download_url": "https://pypi.org/packages/source/D/Django/Django-1.3.1.tar.gz", - "api_data_url": "https://pypi.org/pypi/Django/1.3.1/json", - "package_uid": "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "django-1.3/PKG-INFO" - ], - "datasource_ids": [ - "pypi_sdist_pkginfo" - ], - "purl": "pkg:pypi/django@1.3.1" - } - ], "license_references": [ { "key": "apache-2.0", @@ -356,6 +175,18 @@ ], "text": "Creative Commons Legal Code\n\nAttribution-NonCommercial-NoDerivs 3.0 Unported\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR\nDAMAGES RESULTING FROM ITS USE.\n\nLicense\n\nTHE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE\nCOMMONS PUBLIC LICENSE (\"CCPL\" OR \"LICENSE\"). THE WORK IS PROTECTED BY\nCOPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS\nAUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE\nTO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY\nBE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS\nCONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND\nCONDITIONS.\n\n1. Definitions\n\na. \"Adaptation\" means a work based upon the Work, or upon the Work and\nother pre-existing works, such as a translation, adaptation,\nderivative work, arrangement of music or other alterations of a\nliterary or artistic work, or phonogram or performance and includes\ncinematographic adaptations or any other form in which the Work may be\nrecast, transformed, or adapted including in any form recognizably\nderived from the original, except that a work that constitutes a\nCollection will not be considered an Adaptation for the purpose of\nthis License. For the avoidance of doubt, where the Work is a musical\nwork, performance or phonogram, the synchronization of the Work in\ntimed-relation with a moving image (\"synching\") will be considered an\nAdaptation for the purpose of this License.\nb. \"Collection\" means a collection of literary or artistic works, such as\nencyclopedias and anthologies, or performances, phonograms or\nbroadcasts, or other works or subject matter other than works listed\nin Section 1(f) below, which, by reason of the selection and\narrangement of their contents, constitute intellectual creations, in\nwhich the Work is included in its entirety in unmodified form along\nwith one or more other contributions, each constituting separate and\nindependent works in themselves, which together are assembled into a\ncollective whole. A work that constitutes a Collection will not be\nconsidered an Adaptation (as defined above) for the purposes of this\nLicense.\nc. \"Distribute\" means to make available to the public the original and\ncopies of the Work through sale or other transfer of ownership.\nd. \"Licensor\" means the individual, individuals, entity or entities that\noffer(s) the Work under the terms of this License.\ne. \"Original Author\" means, in the case of a literary or artistic work,\nthe individual, individuals, entity or entities who created the Work\nor if no individual or entity can be identified, the publisher; and in\naddition (i) in the case of a performance the actors, singers,\nmusicians, dancers, and other persons who act, sing, deliver, declaim,\nplay in, interpret or otherwise perform literary or artistic works or\nexpressions of folklore; (ii) in the case of a phonogram the producer\nbeing the person or legal entity who first fixes the sounds of a\nperformance or other sounds; and, (iii) in the case of broadcasts, the\norganization that transmits the broadcast.\nf. \"Work\" means the literary and/or artistic work offered under the terms\nof this License including without limitation any production in the\nliterary, scientific and artistic domain, whatever may be the mode or\nform of its expression including digital form, such as a book,\npamphlet and other writing; a lecture, address, sermon or other work\nof the same nature; a dramatic or dramatico-musical work; a\nchoreographic work or entertainment in dumb show; a musical\ncomposition with or without words; a cinematographic work to which are\nassimilated works expressed by a process analogous to cinematography;\na work of drawing, painting, architecture, sculpture, engraving or\nlithography; a photographic work to which are assimilated works\nexpressed by a process analogous to photography; a work of applied\nart; an illustration, map, plan, sketch or three-dimensional work\nrelative to geography, topography, architecture or science; a\nperformance; a broadcast; a phonogram; a compilation of data to the\nextent it is protected as a copyrightable work; or a work performed by\na variety or circus performer to the extent it is not otherwise\nconsidered a literary or artistic work.\ng. \"You\" means an individual or entity exercising rights under this\nLicense who has not previously violated the terms of this License with\nrespect to the Work, or who has received express permission from the\nLicensor to exercise rights under this License despite a previous\nviolation.\nh. \"Publicly Perform\" means to perform public recitations of the Work and\nto communicate to the public those public recitations, by any means or\nprocess, including by wire or wireless means or public digital\nperformances; to make available to the public Works in such a way that\nmembers of the public may access these Works from a place and at a\nplace individually chosen by them; to perform the Work to the public\nby any means or process and the communication to the public of the\nperformances of the Work, including by public digital performance; to\nbroadcast and rebroadcast the Work by any means including signs,\nsounds or images.\ni. \"Reproduce\" means to make copies of the Work by any means including\nwithout limitation by sound or visual recordings and the right of\nfixation and reproducing fixations of the Work, including storage of a\nprotected performance or phonogram in digital form or other electronic\nmedium.\n\n2. Fair Dealing Rights. Nothing in this License is intended to reduce,\nlimit, or restrict any uses free from copyright or rights arising from\nlimitations or exceptions that are provided for in connection with the\ncopyright protection under copyright law or other applicable laws.\n\n3. License Grant. Subject to the terms and conditions of this License,\nLicensor hereby grants You a worldwide, royalty-free, non-exclusive,\nperpetual (for the duration of the applicable copyright) license to\nexercise the rights in the Work as stated below:\n\na. to Reproduce the Work, to incorporate the Work into one or more\nCollections, and to Reproduce the Work as incorporated in the\nCollections; and,\nb. to Distribute and Publicly Perform the Work including as incorporated\nin Collections.\n\nThe above rights may be exercised in all media and formats whether now\nknown or hereafter devised. The above rights include the right to make\nsuch modifications as are technically necessary to exercise the rights in\nother media and formats, but otherwise you have no rights to make\nAdaptations. Subject to 8(f), all rights not expressly granted by Licensor\nare hereby reserved, including but not limited to the rights set forth in\nSection 4(d).\n\n4. Restrictions. The license granted in Section 3 above is expressly made\nsubject to and limited by the following restrictions:\n\na. You may Distribute or Publicly Perform the Work only under the terms\nof this License. You must include a copy of, or the Uniform Resource\nIdentifier (URI) for, this License with every copy of the Work You\nDistribute or Publicly Perform. You may not offer or impose any terms\non the Work that restrict the terms of this License or the ability of\nthe recipient of the Work to exercise the rights granted to that\nrecipient under the terms of the License. You may not sublicense the\nWork. You must keep intact all notices that refer to this License and\nto the disclaimer of warranties with every copy of the Work You\nDistribute or Publicly Perform. When You Distribute or Publicly\nPerform the Work, You may not impose any effective technological\nmeasures on the Work that restrict the ability of a recipient of the\nWork from You to exercise the rights granted to that recipient under\nthe terms of the License. This Section 4(a) applies to the Work as\nincorporated in a Collection, but this does not require the Collection\napart from the Work itself to be made subject to the terms of this\nLicense. If You create a Collection, upon notice from any Licensor You\nmust, to the extent practicable, remove from the Collection any credit\nas required by Section 4(c), as requested.\nb. You may not exercise any of the rights granted to You in Section 3\nabove in any manner that is primarily intended for or directed toward\ncommercial advantage or private monetary compensation. The exchange of\nthe Work for other copyrighted works by means of digital file-sharing\nor otherwise shall not be considered to be intended for or directed\ntoward commercial advantage or private monetary compensation, provided\nthere is no payment of any monetary compensation in connection with\nthe exchange of copyrighted works.\nc. If You Distribute, or Publicly Perform the Work or Collections, You\nmust, unless a request has been made pursuant to Section 4(a), keep\nintact all copyright notices for the Work and provide, reasonable to\nthe medium or means You are utilizing: (i) the name of the Original\nAuthor (or pseudonym, if applicable) if supplied, and/or if the\nOriginal Author and/or Licensor designate another party or parties\n(e.g., a sponsor institute, publishing entity, journal) for\nattribution (\"Attribution Parties\") in Licensor's copyright notice,\nterms of service or by other reasonable means, the name of such party\nor parties; (ii) the title of the Work if supplied; (iii) to the\nextent reasonably practicable, the URI, if any, that Licensor\nspecifies to be associated with the Work, unless such URI does not\nrefer to the copyright notice or licensing information for the Work.\nThe credit required by this Section 4(c) may be implemented in any\nreasonable manner; provided, however, that in the case of a\nCollection, at a minimum such credit will appear, if a credit for all\ncontributing authors of Collection appears, then as part of these\ncredits and in a manner at least as prominent as the credits for the\nother contributing authors. For the avoidance of doubt, You may only\nuse the credit required by this Section for the purpose of attribution\nin the manner set out above and, by exercising Your rights under this\nLicense, You may not implicitly or explicitly assert or imply any\nconnection with, sponsorship or endorsement by the Original Author,\nLicensor and/or Attribution Parties, as appropriate, of You or Your\nuse of the Work, without the separate, express prior written\npermission of the Original Author, Licensor and/or Attribution\nParties.\nd. For the avoidance of doubt:\n\ni. Non-waivable Compulsory License Schemes. In those jurisdictions in\nwhich the right to collect royalties through any statutory or\ncompulsory licensing scheme cannot be waived, the Licensor\nreserves the exclusive right to collect such royalties for any\nexercise by You of the rights granted under this License;\nii. Waivable Compulsory License Schemes. In those jurisdictions in\nwhich the right to collect royalties through any statutory or\ncompulsory licensing scheme can be waived, the Licensor reserves\nthe exclusive right to collect such royalties for any exercise by\nYou of the rights granted under this License if Your exercise of\nsuch rights is for a purpose or use which is otherwise than\nnoncommercial as permitted under Section 4(b) and otherwise waives\nthe right to collect royalties through any statutory or compulsory\nlicensing scheme; and,\niii. Voluntary License Schemes. The Licensor reserves the right to\ncollect royalties, whether individually or, in the event that the\nLicensor is a member of a collecting society that administers\nvoluntary licensing schemes, via that society, from any exercise\nby You of the rights granted under this License that is for a\npurpose or use which is otherwise than noncommercial as permitted\nunder Section 4(b).\ne. Except as otherwise agreed in writing by the Licensor or as may be\notherwise permitted by applicable law, if You Reproduce, Distribute or\nPublicly Perform the Work either by itself or as part of any\nCollections, You must not distort, mutilate, modify or take other\nderogatory action in relation to the Work which would be prejudicial\nto the Original Author's honor or reputation.\n\n5. Representations, Warranties and Disclaimer\n\nUNLESS OTHERWISE MUTUALLY AGREED BY THE PARTIES IN WRITING, LICENSOR\nOFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY\nKIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,\nINCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,\nFITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF\nLATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,\nWHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION\nOF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.\n\n6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE\nLAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR\nANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES\nARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS\nBEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n7. Termination\n\na. This License and the rights granted hereunder will terminate\nautomatically upon any breach by You of the terms of this License.\nIndividuals or entities who have received Collections from You under\nthis License, however, will not have their licenses terminated\nprovided such individuals or entities remain in full compliance with\nthose licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any\ntermination of this License.\nb. Subject to the above terms and conditions, the license granted here is\nperpetual (for the duration of the applicable copyright in the Work).\nNotwithstanding the above, Licensor reserves the right to release the\nWork under different license terms or to stop distributing the Work at\nany time; provided, however that any such election will not serve to\nwithdraw this License (or any other license that has been, or is\nrequired to be, granted under the terms of this License), and this\nLicense will continue in full force and effect unless terminated as\nstated above.\n\n8. Miscellaneous\n\na. Each time You Distribute or Publicly Perform the Work or a Collection,\nthe Licensor offers to the recipient a license to the Work on the same\nterms and conditions as the license granted to You under this License.\nb. If any provision of this License is invalid or unenforceable under\napplicable law, it shall not affect the validity or enforceability of\nthe remainder of the terms of this License, and without further action\nby the parties to this agreement, such provision shall be reformed to\nthe minimum extent necessary to make such provision valid and\nenforceable.\nc. No term or provision of this License shall be deemed waived and no\nbreach consented to unless such waiver or consent shall be in writing\nand signed by the party to be charged with such waiver or consent.\nd. This License constitutes the entire agreement between the parties with\nrespect to the Work licensed here. There are no understandings,\nagreements or representations with respect to the Work not specified\nhere. Licensor shall not be bound by any additional provisions that\nmay appear in any communication from You. This License may not be\nmodified without the mutual written agreement of the Licensor and You.\ne. The rights granted under, and the subject matter referenced, in this\nLicense were drafted utilizing the terminology of the Berne Convention\nfor the Protection of Literary and Artistic Works (as amended on\nSeptember 28, 1979), the Rome Convention of 1961, the WIPO Copyright\nTreaty of 1996, the WIPO Performances and Phonograms Treaty of 1996\nand the Universal Copyright Convention (as revised on July 24, 1971).\nThese rights and subject matter take effect in the relevant\njurisdiction in which the License terms are sought to be enforced\naccording to the corresponding provisions of the implementation of\nthose treaty provisions in the applicable national law. If the\nstandard suite of rights granted under applicable copyright law\nincludes additional rights not granted under this License, such\nadditional rights are deemed to be included in the License; this\nLicense is not intended to restrict the license of any rights under\napplicable law.\n\n\nCreative Commons Notice\n\nCreative Commons is not a party to this License, and makes no warranty\nwhatsoever in connection with the Work. Creative Commons will not be\nliable to You or any party on any legal theory for any damages\nwhatsoever, including without limitation any general, special,\nincidental or consequential damages arising in connection to this\nlicense. Notwithstanding the foregoing two (2) sentences, if Creative\nCommons has expressly identified itself as the Licensor hereunder, it\nshall have all rights and obligations of Licensor.\n\nExcept for the limited purpose of indicating to the public that the\nWork is licensed under the CCPL, Creative Commons does not authorize\nthe use by either party of the trademark \"Creative Commons\" or any\nrelated trademark or logo of Creative Commons without the prior\nwritten consent of Creative Commons. Any permitted use will be in\ncompliance with Creative Commons' then-current trademark usage\nguidelines, as may be published on its website or otherwise made\navailable upon request from time to time. For the avoidance of doubt,\nthis trademark restriction does not form part of this License.\n\nCreative Commons may be contacted at https://creativecommons.org/." }, + { + "key": "free-unknown", + "short_name": "Free unknown", + "name": "Free unknown license detected but not recognized", + "category": "Unstated License", + "owner": "Unspecified", + "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", + "is_builtin": true, + "is_unknown": true, + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "text": "" + }, { "key": "other-permissive", "short_name": "Other Permissive Licenses", @@ -385,7 +216,21 @@ "text": "This component is normally licensed under a proprietary license agreement with\na supplier that has terms and conditions that restrict the use of the code,\nbut may not require payment to the supplier." } ], - "rule_references": [ + "license_rule_references": [ + { + "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", + "rule_identifier": "apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", + "referenced_filenames": [ + "LICENSE.txt" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100 + }, { "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", @@ -396,8 +241,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']" + "rule_relevance": 99 }, { "license_expression": "bsd-new", @@ -409,49 +253,77 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']" + "rule_relevance": 99 }, { - "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", - "rule_identifier": "apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_3.RULE", "referenced_filenames": [ - "LICENSE.txt" + "INHERIT_LICENSE_FROM_PACKAGE" ], "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, + "is_license_notice": false, + "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100, - "matched_text": "LICENSE\n[include] [django]/[dispatch]/license.txt\n[include] [django]/[utils]/[simplejson]/LICENSE.txt" + "rule_length": 12, + "rule_relevance": 100 }, { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_3.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], "is_license_text": false, "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, + "is_license_reference": true, + "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']" + "rule_length": 12, + "rule_relevance": 100 }, { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_3.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], "is_license_text": false, "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, + "is_license_reference": true, + "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99, - "matched_text": "License :: OSI Approved :: BSD License'," + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 }, { "license_expression": "bsd-new", @@ -463,8 +335,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 214, - "rule_relevance": 100, - "matched_text": "Redistribution and use in source and binary forms, with or without modification,\nare 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. 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 Django nor the names of its contributors may be used\n to endorse or promote products derived from this software without\n specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." + "rule_relevance": 100 }, { "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", @@ -478,8 +349,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 85, - "rule_relevance": 100, - "matched_text": "LICENSE\n[include] [django]/[dispatch]/license.txt\n[include] [django]/[utils]/[simplejson]/LICENSE.txt" + "rule_relevance": 100 }, { "license_expression": "bsd-new", @@ -491,8 +361,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']" + "rule_relevance": 99 }, { "license_expression": "bsd-new", @@ -504,8 +373,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 5, - "rule_relevance": 99, - "matched_text": "License :: OSI Approved :: BSD License" + "rule_relevance": 99 }, { "license_expression": "bsd-new", @@ -517,8 +385,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 5, - "rule_relevance": 99, - "matched_text": "['License :: OSI Approved :: BSD License']" + "rule_relevance": 99 }, { "license_expression": "bsd-new", @@ -530,8 +397,218 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 5, - "rule_relevance": 99, - "matched_text": "License :: OSI Approved :: BSD License'," + "rule_relevance": 99 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_3.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_3.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + } + ], + "dependencies": [], + "packages": [ + { + "type": "pypi", + "namespace": null, + "name": "Django", + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "A high-level Python Web framework that encourages rapid development and clean, pragmatic design.", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Django Software Foundation", + "email": "foundation@djangoproject.com", + "url": null + } + ], + "keywords": [ + "Development Status :: 5 - Production/Stable", + "Environment :: Web Environment", + "Framework :: Django", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Topic :: Internet :: WWW/HTTP", + "Topic :: Internet :: WWW/HTTP :: Dynamic Content", + "Topic :: Internet :: WWW/HTTP :: WSGI", + "Topic :: Software Development :: Libraries :: Application Frameworks", + "Topic :: Software Development :: Libraries :: Python Modules" + ], + "homepage_url": "http://www.djangoproject.com/", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "bsd-new", + "declared_license_expression_spdx": "BSD-3-Clause", + "license_detections": [ + { + "license_expression": "bsd-new", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", + "notice_text": null, + "source_packages": [], + "extra_data": { + "Download-URL": "http://media.djangoproject.com/releases/1.2/Django-1.2.5.tar.gz" + }, + "repository_homepage_url": "https://pypi.org/project/Django", + "repository_download_url": null, + "api_data_url": "https://pypi.org/pypi/Django/json", + "package_uid": "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "django-1.2/setup.py" + ], + "datasource_ids": [ + "pypi_setup_py" + ], + "purl": "pkg:pypi/django" + }, + { + "type": "pypi", + "namespace": null, + "name": "Django", + "version": "1.3.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "A high-level Python Web framework that encourages rapid development and clean, pragmatic design.\nUNKNOWN", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Django Software Foundation", + "email": "foundation@djangoproject.com", + "url": null + } + ], + "keywords": [ + "Development Status :: 5 - Production/Stable", + "Environment :: Web Environment", + "Framework :: Django", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 2.4", + "Programming Language :: Python :: 2.5", + "Programming Language :: Python :: 2.6", + "Programming Language :: Python :: 2.7", + "Topic :: Internet :: WWW/HTTP", + "Topic :: Internet :: WWW/HTTP :: Dynamic Content", + "Topic :: Internet :: WWW/HTTP :: WSGI", + "Topic :: Software Development :: Libraries :: Application Frameworks", + "Topic :: Software Development :: Libraries :: Python Modules" + ], + "homepage_url": "http://www.djangoproject.com/", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "bsd-new", + "declared_license_expression_spdx": "BSD-3-Clause", + "license_detections": [ + { + "license_expression": "bsd-new", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", + "notice_text": null, + "source_packages": [], + "extra_data": { + "Download-URL": "http://media.djangoproject.com/releases/1.3/Django-1.3.1.tar.gz" + }, + "repository_homepage_url": "https://pypi.org/project/Django", + "repository_download_url": "https://pypi.org/packages/source/D/Django/Django-1.3.1.tar.gz", + "api_data_url": "https://pypi.org/pypi/Django/1.3.1/json", + "package_uid": "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "django-1.3/PKG-INFO" + ], + "datasource_ids": [ + "pypi_sdist_pkginfo" + ], + "purl": "pkg:pypi/django@1.3.1" } ], "files": [ @@ -543,7 +620,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -556,7 +633,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -571,7 +648,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -599,15 +676,16 @@ "matcher": "3-seq", "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", "rule_identifier": "apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", + "matched_text": "LICENSE\n[include] [django]/[dispatch]/license.txt\n[include] [django]/[utils]/[simplejson]/LICENSE.txt" } ] } ], "license_clues": [], "percentage_of_license_text": 3.38, - "for_licenses": [ - "b485fded-3ae7-7c49-8be0-c042c4a4747f" + "for_license_detections": [ + "apache_2_0_and_cc_by_nc_nd_3_0_and_other_permissive_and_proprietary_license#b485fded-3ae7-7c49-8be0-c042c4a4747f" ], "package_data": [], "for_packages": [ @@ -623,7 +701,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -638,7 +716,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -653,7 +731,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -666,7 +744,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -679,7 +757,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -692,7 +770,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -705,7 +783,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -731,7 +809,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE", + "matched_text": "This file is distributed under the same license as the Django package." }, { "score": 99.0, @@ -742,15 +821,16 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" } ] } ], "license_clues": [], "percentage_of_license_text": 2.15, - "for_licenses": [ - "76b09250-6936-6da3-664b-6d5d81de9c95" + "for_license_detections": [ + "free_unknown#76b09250-6936-6da3-664b-6d5d81de9c95" ], "package_data": [], "for_packages": [ @@ -779,7 +859,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE", + "matched_text": "This file is distributed under the same license as the Django package." }, { "score": 99.0, @@ -790,15 +871,16 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" } ] } ], "license_clues": [], "percentage_of_license_text": 5.15, - "for_licenses": [ - "76b09250-6936-6da3-664b-6d5d81de9c95" + "for_license_detections": [ + "free_unknown#76b09250-6936-6da3-664b-6d5d81de9c95" ], "package_data": [], "for_packages": [ @@ -814,7 +896,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -827,7 +909,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -853,7 +935,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." }, { "score": 99.0, @@ -864,15 +947,16 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" } ] } ], "license_clues": [], "percentage_of_license_text": 0.07, - "for_licenses": [ - "2d67622f-a7b6-912c-ca85-160b760f0d8b" + "for_license_detections": [ + "free_unknown#2d67622f-a7b6-912c-ca85-160b760f0d8b" ], "package_data": [], "for_packages": [ @@ -901,7 +985,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." }, { "score": 99.0, @@ -912,15 +997,16 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" } ] } ], "license_clues": [], "percentage_of_license_text": 2.49, - "for_licenses": [ - "2d67622f-a7b6-912c-ca85-160b760f0d8b" + "for_license_detections": [ + "free_unknown#2d67622f-a7b6-912c-ca85-160b760f0d8b" ], "package_data": [], "for_packages": [ @@ -949,7 +1035,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE", + "matched_text": "This file is distributed under the same license as the Django package." }, { "score": 99.0, @@ -960,15 +1047,16 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" } ] } ], "license_clues": [], "percentage_of_license_text": 17.91, - "for_licenses": [ - "76b09250-6936-6da3-664b-6d5d81de9c95" + "for_license_detections": [ + "free_unknown#76b09250-6936-6da3-664b-6d5d81de9c95" ], "package_data": [], "for_packages": [ @@ -984,7 +1072,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [ { "type": "pypi", @@ -1054,15 +1142,16 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "License :: OSI Approved :: BSD License'," } ] } ], "license_clues": [], "percentage_of_license_text": 0.99, - "for_licenses": [ - "8b191dea-30ee-8738-fab1-2c6dbb5d65c2" + "for_license_detections": [ + "bsd_new#8b191dea-30ee-8738-fab1-2c6dbb5d65c2" ], "package_data": [ { @@ -1126,7 +1215,8 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" } ] } @@ -1162,7 +1252,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1175,7 +1265,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1190,7 +1280,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1218,15 +1308,16 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_683.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_683.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_683.RULE", + "matched_text": "Redistribution and use in source and binary forms, with or without modification,\nare 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. 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 Django nor the names of its contributors may be used\n to endorse or promote products derived from this software without\n specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." } ] } ], "license_clues": [], "percentage_of_license_text": 95.11, - "for_licenses": [ - "0aac815c-f1e3-cc4b-b498-7a01e6cac393" + "for_license_detections": [ + "bsd_new#0aac815c-f1e3-cc4b-b498-7a01e6cac393" ], "package_data": [], "for_packages": [ @@ -1255,15 +1346,16 @@ "matcher": "3-seq", "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", "rule_identifier": "apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", + "matched_text": "LICENSE\n[include] [django]/[dispatch]/license.txt\n[include] [django]/[utils]/[simplejson]/LICENSE.txt" } ] } ], "license_clues": [], "percentage_of_license_text": 2.73, - "for_licenses": [ - "b485fded-3ae7-7c49-8be0-c042c4a4747f" + "for_license_detections": [ + "apache_2_0_and_cc_by_nc_nd_3_0_and_other_permissive_and_proprietary_license#b485fded-3ae7-7c49-8be0-c042c4a4747f" ], "package_data": [], "for_packages": [ @@ -1279,7 +1371,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1307,15 +1399,16 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "License :: OSI Approved :: BSD License" } ] } ], "license_clues": [], "percentage_of_license_text": 3.38, - "for_licenses": [ - "8b191dea-30ee-8738-fab1-2c6dbb5d65c2" + "for_license_detections": [ + "bsd_new#8b191dea-30ee-8738-fab1-2c6dbb5d65c2" ], "package_data": [ { @@ -1383,7 +1476,8 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" } ] } @@ -1419,7 +1513,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1434,7 +1528,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1447,7 +1541,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1460,7 +1554,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1473,7 +1567,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1486,7 +1580,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1499,7 +1593,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1525,7 +1619,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE", + "matched_text": "This file is distributed under the same license as the Django package." }, { "score": 99.0, @@ -1536,15 +1631,16 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" } ] } ], "license_clues": [], "percentage_of_license_text": 16.9, - "for_licenses": [ - "76b09250-6936-6da3-664b-6d5d81de9c95" + "for_license_detections": [ + "free_unknown#76b09250-6936-6da3-664b-6d5d81de9c95" ], "package_data": [], "for_packages": [ @@ -1560,7 +1656,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1573,7 +1669,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -1599,7 +1695,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_3.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE", + "matched_text": "This file is distributed under the same license as the Django package." }, { "score": 99.0, @@ -1610,15 +1707,16 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" } ] } ], "license_clues": [], "percentage_of_license_text": 12.12, - "for_licenses": [ - "76b09250-6936-6da3-664b-6d5d81de9c95" + "for_license_detections": [ + "free_unknown#76b09250-6936-6da3-664b-6d5d81de9c95" ], "package_data": [], "for_packages": [ @@ -1634,7 +1732,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [ { "type": "pypi", @@ -1677,7 +1775,8 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "bsd-new_683.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_683.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_683.RULE", + "matched_text": "Redistribution and use in source and binary forms, with or without modification,\nare 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. 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 Django nor the names of its contributors may be used\n to endorse or promote products derived from this software without\n specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." } ] } @@ -1724,15 +1823,16 @@ "matcher": "2-aho", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "License :: OSI Approved :: BSD License'," } ] } ], "license_clues": [], "percentage_of_license_text": 0.95, - "for_licenses": [ - "8b191dea-30ee-8738-fab1-2c6dbb5d65c2" + "for_license_detections": [ + "bsd_new#8b191dea-30ee-8738-fab1-2c6dbb5d65c2" ], "package_data": [ { @@ -1800,7 +1900,8 @@ "matcher": "1-hash", "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" } ] } diff --git a/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json index fad1734d5b8..33205445a49 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "00648a46-128f-a6d8-635c-47de0c2c180c", + "identifier": "apache_2_0#00648a46-128f-a6d8-635c-47de0c2c180c", "license_expression": "apache-2.0", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "6c86b8a7-5f8b-ba77-47e2-a116f95ed9d8", + "identifier": "apache_2_0#6c86b8a7-5f8b-ba77-47e2-a116f95ed9d8", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "b93c03b2-6738-df14-dcda-3feca465556c", + "identifier": "apache_2_0#b93c03b2-6738-df14-dcda-3feca465556c", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -64,9 +64,9 @@ ] }, { - "identifier": "87998952-7409-8e1f-30b2-a799511393bf", + "identifier": "apache_2_0#87998952-7409-8e1f-30b2-a799511393bf", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -85,9 +85,9 @@ ] }, { - "identifier": "2edb09c4-85a0-cc2a-a20f-451395e08ebb", + "identifier": "apache_2_0#2edb09c4-85a0-cc2a-a20f-451395e08ebb", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -117,9 +117,9 @@ ] }, { - "identifier": "142f3261-5728-9933-74c7-7e8aa278ff6d", + "identifier": "free_unknown#142f3261-5728-9933-74c7-7e8aa278ff6d", "license_expression": "free-unknown", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -138,6 +138,187 @@ ] } ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "free-unknown", + "short_name": "Free unknown", + "name": "Free unknown license detected but not recognized", + "category": "Unstated License", + "owner": "Unspecified", + "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", + "is_builtin": true, + "is_unknown": true, + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "text": "" + } + ], + "license_rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_164.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1582, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_305.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_83.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "pypi_apache_no-version.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 95 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "pypi_apache_no-version.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 95 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100 + } + ], "dependencies": [ { "purl": "pkg:pypi/jieba", @@ -474,7 +655,8 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "Apache 2.0" } ] }, @@ -493,7 +675,8 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "pypi_apache_no-version.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", + "matched_text": "['License :: OSI Approved :: Apache Software License']" } ] } @@ -520,167 +703,6 @@ "purl": "pkg:pypi/paddlenlp" } ], - "license_references": [ - { - "key": "apache-2.0", - "short_name": "Apache 2.0", - "name": "Apache License 2.0", - "category": "Permissive", - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", - "is_builtin": true, - "spdx_license_key": "Apache-2.0", - "other_spdx_license_keys": [ - "LicenseRef-Apache", - "LicenseRef-Apache-2.0" - ], - "osi_license_key": "Apache-2.0", - "text_urls": [ - "http://www.apache.org/licenses/LICENSE-2.0" - ], - "osi_url": "http://opensource.org/licenses/apache2.0.php", - "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", - "other_urls": [ - "http://www.opensource.org/licenses/Apache-2.0", - "https://opensource.org/licenses/Apache-2.0", - "https://www.apache.org/licenses/LICENSE-2.0" - ], - "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." - } - ], - "rule_references": [ - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "Apache 2.0" - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "pypi_apache_no-version.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 95, - "matched_text": "['License :: OSI Approved :: Apache Software License']" - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100, - "matched_text": "Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License." - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_164.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1582, - "rule_relevance": 100, - "matched_text": "Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright ([c]) [2016] [PaddlePaddle] [Authors]. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_305.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "Apache-2.[0\u5f00\u6e90\u534f\u8bae]](./LICENSE)\u3002" - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "Apache 2.0" - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "pypi_apache_no-version.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 95, - "matched_text": "['License :: OSI Approved :: Apache Software License']" - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100, - "matched_text": "Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License." - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "pypi_apache_no-version.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 95, - "matched_text": "License :: OSI Approved :: Apache Software License'," - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "matched_text": "license='Apache 2.0')" - } - ], "files": [ { "path": "LICENSE", @@ -703,15 +725,16 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_164.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE", + "matched_text": "Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright ([c]) [2016] [PaddlePaddle] [Authors]. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." } ] } ], "license_clues": [], "percentage_of_license_text": 99.25, - "for_licenses": [ - "6c86b8a7-5f8b-ba77-47e2-a116f95ed9d8" + "for_license_detections": [ + "apache_2_0#6c86b8a7-5f8b-ba77-47e2-a116f95ed9d8" ], "package_data": [], "for_packages": [ @@ -740,15 +763,16 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_305.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_305.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_305.RULE", + "matched_text": "Apache-2.[0\u5f00\u6e90\u534f\u8bae]](./LICENSE)\u3002" } ] } ], "license_clues": [], "percentage_of_license_text": 0.2, - "for_licenses": [ - "b93c03b2-6738-df14-dcda-3feca465556c" + "for_license_detections": [ + "apache_2_0#b93c03b2-6738-df14-dcda-3feca465556c" ], "package_data": [], "for_packages": [ @@ -777,7 +801,8 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_83.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_83.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_83.RULE", + "matched_text": "is provided under the [Apache-2.0 License](./LICENSE)." }, { "score": 99.81, @@ -788,15 +813,16 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_164.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE", + "matched_text": "Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright ([c]) [2016] [PaddlePaddle] [Authors]. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." } ] } ], "license_clues": [], "percentage_of_license_text": 0.73, - "for_licenses": [ - "87998952-7409-8e1f-30b2-a799511393bf" + "for_license_detections": [ + "apache_2_0#87998952-7409-8e1f-30b2-a799511393bf" ], "package_data": [], "for_packages": [ @@ -812,7 +838,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -825,7 +851,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -838,7 +864,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -851,7 +877,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -877,7 +903,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", + "matched_text": "This file is distributed under the same license as the" }, { "score": 100.0, @@ -888,7 +915,8 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "Apache 2.0" }, { "score": 95.0, @@ -899,15 +927,16 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "pypi_apache_no-version.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", + "matched_text": "['License :: OSI Approved :: Apache Software License']" } ] } ], "license_clues": [], "percentage_of_license_text": 3.68, - "for_licenses": [ - "142f3261-5728-9933-74c7-7e8aa278ff6d" + "for_license_detections": [ + "free_unknown#142f3261-5728-9933-74c7-7e8aa278ff6d" ], "package_data": [], "for_packages": [ @@ -936,7 +965,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", + "matched_text": "This file is distributed under the same license as the" }, { "score": 100.0, @@ -947,7 +977,8 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "Apache 2.0" }, { "score": 95.0, @@ -958,15 +989,16 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "pypi_apache_no-version.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", + "matched_text": "['License :: OSI Approved :: Apache Software License']" } ] } ], "license_clues": [], "percentage_of_license_text": 3.21, - "for_licenses": [ - "142f3261-5728-9933-74c7-7e8aa278ff6d" + "for_license_detections": [ + "free_unknown#142f3261-5728-9933-74c7-7e8aa278ff6d" ], "package_data": [], "for_packages": [ @@ -982,7 +1014,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [ { "type": "pypi", @@ -1200,15 +1232,16 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE", + "matched_text": "Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License." } ] } ], "license_clues": [], "percentage_of_license_text": 20.09, - "for_licenses": [ - "00648a46-128f-a6d8-635c-47de0c2c180c" + "for_license_detections": [ + "apache_2_0#00648a46-128f-a6d8-635c-47de0c2c180c" ], "package_data": [], "for_packages": [ @@ -1224,7 +1257,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [ { "type": "pypi", @@ -1267,7 +1300,8 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_164.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE", + "matched_text": "Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright ([c]) [2016] [PaddlePaddle] [Authors]. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." } ] }, @@ -1286,7 +1320,8 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_305.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_305.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_305.RULE", + "matched_text": "Apache-2.[0\u5f00\u6e90\u534f\u8bae]](./LICENSE)\u3002" } ] }, @@ -1305,7 +1340,8 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_83.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_83.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_83.RULE", + "matched_text": "is provided under the [Apache-2.0 License](./LICENSE)." }, { "score": 99.81, @@ -1316,7 +1352,8 @@ "matcher": "3-seq", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_164.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE", + "matched_text": "Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright ([c]) [2016] [PaddlePaddle] [Authors]. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." } ] } @@ -1574,7 +1611,8 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE", + "matched_text": "Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License." } ] }, @@ -1593,7 +1631,8 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "pypi_apache_no-version.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", + "matched_text": "License :: OSI Approved :: Apache Software License'," }, { "score": 100.0, @@ -1604,16 +1643,17 @@ "matcher": "2-aho", "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "matched_text": "license='Apache 2.0')" } ] } ], "license_clues": [], "percentage_of_license_text": 26.1, - "for_licenses": [ - "00648a46-128f-a6d8-635c-47de0c2c180c", - "2edb09c4-85a0-cc2a-a20f-451395e08ebb" + "for_license_detections": [ + "apache_2_0#00648a46-128f-a6d8-635c-47de0c2c180c", + "apache_2_0#2edb09c4-85a0-cc2a-a20f-451395e08ebb" ], "package_data": [ { @@ -1671,7 +1711,8 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "Apache 2.0" } ] }, @@ -1690,7 +1731,8 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "pypi_apache_no-version.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", + "matched_text": "['License :: OSI Approved :: Apache Software License']" } ] } diff --git a/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json index 6f13e3d3861..28f1267fdb8 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "bd8d31df-3dc9-daa6-b885-dc10671b4103", + "identifier": "gpl_3_0#bd8d31df-3dc9-daa6-b885-dc10671b4103", "license_expression": "gpl-3.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "f70c823f-c2d0-5369-e1d2-3cc1103e518b", + "identifier": "gpl_3_0_plus#f70c823f-c2d0-5369-e1d2-3cc1103e518b", "license_expression": "gpl-3.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "056056b0-c2ee-9b4e-8b7e-72a75e700069", + "identifier": "gpl_3_0_and_unknown_license_reference_and_gpl_3_0_plus#056056b0-c2ee-9b4e-8b7e-72a75e700069", "license_expression": "gpl-3.0 AND unknown-license-reference AND gpl-3.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -86,9 +86,9 @@ ] }, { - "identifier": "2c2fcd34-f0d6-5fe4-5457-c8ec02aae688", + "identifier": "free_unknown#2c2fcd34-f0d6-5fe4-5457-c8ec02aae688", "license_expression": "free-unknown", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -173,9 +173,9 @@ ] }, { - "identifier": "76225990-e8f5-ab08-5ffe-299da9d287e6", + "identifier": "free_unknown#76225990-e8f5-ab08-5ffe-299da9d287e6", "license_expression": "free-unknown", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -249,9 +249,19 @@ ] } ], - "dependencies": [], - "packages": [], "license_references": [ + { + "key": "free-unknown", + "short_name": "Free unknown", + "name": "Free unknown license detected but not recognized", + "category": "Unstated License", + "owner": "Unspecified", + "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", + "is_builtin": true, + "is_unknown": true, + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "text": "" + }, { "key": "gpl-3.0", "short_name": "GPL 3.0", @@ -319,7 +329,7 @@ "text": "" } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", @@ -330,8 +340,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 5514, - "rule_relevance": 100, - "matched_text": "GNU GENERAL PUBLIC LICENSE\n\t\t Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n\t\t\t Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n\t\t TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n \n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n \n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n\t\t END OF TERMS AND CONDITIONS\n\n\t How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + "rule_relevance": 100 }, { "license_expression": "gpl-3.0-plus", @@ -343,8 +352,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 102, - "rule_relevance": 100, - "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 ." + "rule_relevance": 100 }, { "license_expression": "gpl-3.0", @@ -356,8 +364,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 2, - "rule_relevance": 100, - "matched_text": "License: GPLv3 |" + "rule_relevance": 100 }, { "license_expression": "unknown-license-reference", @@ -371,8 +378,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 6, - "rule_relevance": 100, - "matched_text": "See LICENSE for the full text" + "rule_relevance": 100 }, { "license_expression": "gpl-3.0-plus", @@ -384,10 +390,193 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 102, - "rule_relevance": 100, - "matched_text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see ." + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 } ], + "dependencies": [], + "packages": [], "files": [ { "path": "COPYING", @@ -410,15 +599,16 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", + "matched_text": "GNU GENERAL PUBLIC LICENSE\n\t\t Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n\t\t\t Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n\t\t TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n \n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n \n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n\t\t END OF TERMS AND CONDITIONS\n\n\t How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "bd8d31df-3dc9-daa6-b885-dc10671b4103" + "for_license_detections": [ + "gpl_3_0#bd8d31df-3dc9-daa6-b885-dc10671b4103" ], "package_data": [], "for_packages": [], @@ -432,7 +622,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -445,7 +635,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -471,7 +661,8 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_203.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_203.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_203.RULE", + "matched_text": "License: GPLv3 |" }, { "score": 100.0, @@ -482,7 +673,8 @@ "matcher": "2-aho", "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_367.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_367.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_367.RULE", + "matched_text": "See LICENSE for the full text" }, { "score": 100.0, @@ -493,15 +685,16 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", + "matched_text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see ." } ] } ], "license_clues": [], "percentage_of_license_text": 19.1, - "for_licenses": [ - "056056b0-c2ee-9b4e-8b7e-72a75e700069" + "for_license_detections": [ + "gpl_3_0_and_unknown_license_reference_and_gpl_3_0_plus#056056b0-c2ee-9b4e-8b7e-72a75e700069" ], "package_data": [], "for_packages": [], @@ -528,15 +721,16 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", + "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 ." } ] } ], "license_clues": [], "percentage_of_license_text": 10.56, - "for_licenses": [ - "f70c823f-c2d0-5369-e1d2-3cc1103e518b" + "for_license_detections": [ + "gpl_3_0_plus#f70c823f-c2d0-5369-e1d2-3cc1103e518b" ], "package_data": [], "for_packages": [], @@ -550,7 +744,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "scan_errors": [] @@ -576,7 +770,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." }, { "score": 100.0, @@ -587,7 +782,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." }, { "score": 100.0, @@ -598,7 +794,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." }, { "score": 100.0, @@ -609,7 +806,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." }, { "score": 100.0, @@ -620,7 +818,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." }, { "score": 100.0, @@ -631,7 +830,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." }, { "score": 100.0, @@ -642,7 +842,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." }, { "score": 100.0, @@ -653,15 +854,16 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", + "matched_text": "GNU GENERAL PUBLIC LICENSE\n\t\t Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n\t\t\t Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n\t\t TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n \n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n \n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n\t\t END OF TERMS AND CONDITIONS\n\n\t How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." } ] } ], "license_clues": [], "percentage_of_license_text": 11.8, - "for_licenses": [ - "2c2fcd34-f0d6-5fe4-5457-c8ec02aae688" + "for_license_detections": [ + "free_unknown#2c2fcd34-f0d6-5fe4-5457-c8ec02aae688" ], "package_data": [], "for_packages": [], @@ -688,7 +890,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." }, { "score": 100.0, @@ -699,7 +902,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." }, { "score": 100.0, @@ -710,7 +914,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." }, { "score": 100.0, @@ -721,7 +926,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." }, { "score": 100.0, @@ -732,7 +938,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." }, { "score": 100.0, @@ -743,7 +950,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "matched_text": "This file is distributed under the same license as the PACKAGE package." }, { "score": 100.0, @@ -754,15 +962,16 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", + "matched_text": "GNU GENERAL PUBLIC LICENSE\n\t\t Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n\t\t\t Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n\t\t TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n \n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n \n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n\t\t END OF TERMS AND CONDITIONS\n\n\t How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." } ] } ], "license_clues": [], "percentage_of_license_text": 12.24, - "for_licenses": [ - "76225990-e8f5-ab08-5ffe-299da9d287e6" + "for_license_detections": [ + "free_unknown#76225990-e8f5-ab08-5ffe-299da9d287e6" ], "package_data": [], "for_packages": [], @@ -776,7 +985,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [ { "type": "pypi", @@ -819,7 +1028,8 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", + "matched_text": "GNU GENERAL PUBLIC LICENSE\n\t\t Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n\t\t\t Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n\t\t TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n \n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n \n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n\t\t END OF TERMS AND CONDITIONS\n\n\t How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." } ] } diff --git a/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json index c2e29ec8784..5ad4cb2010f 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "bd8d31df-3dc9-daa6-b885-dc10671b4103", + "identifier": "gpl_3_0#bd8d31df-3dc9-daa6-b885-dc10671b4103", "license_expression": "gpl-3.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "c4243fb1-25ad-ea03-c628-65139658a194", + "identifier": "gpl_3_0_and_lgpl_3_0_and_gpl_2_0#c4243fb1-25ad-ea03-c628-65139658a194", "license_expression": "gpl-3.0 AND lgpl-3.0 AND gpl-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "possible-false-positive", "not-license-clues-as-more-detections-present" @@ -66,9 +66,9 @@ ] }, { - "identifier": "620bb734-dfc2-e276-11d9-45ed11996799", + "identifier": "gpl_2_0_plus_and_free_unknown_and_gpl_1_0_plus#620bb734-dfc2-e276-11d9-45ed11996799", "license_expression": "gpl-2.0-plus AND free-unknown AND gpl-1.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "unknown-match" ], @@ -109,9 +109,9 @@ ] }, { - "identifier": "ba9e27e5-ccbb-ede0-63b3-68adf7d7b978", + "identifier": "gpl_1_0_plus_and_lgpl_3_0_plus_and_gpl_3_0_and_lgpl_3_0#ba9e27e5-ccbb-ede0-63b3-68adf7d7b978", "license_expression": "gpl-1.0-plus AND lgpl-3.0-plus AND gpl-3.0 AND lgpl-3.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -174,9 +174,9 @@ ] }, { - "identifier": "cacaaecd-cccf-23a9-b725-f10a66d3d665", + "identifier": "cc_by_sa_3_0_and_cc_by_sa_4_0_and_dco_1_1#cacaaecd-cccf-23a9-b725-f10a66d3d665", "license_expression": "cc-by-sa-3.0 AND cc-by-sa-4.0 AND dco-1.1", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -217,9 +217,9 @@ ] }, { - "identifier": "0c428ae6-46af-09d9-5863-430e80031878", + "identifier": "gpl_2_0#0c428ae6-46af-09d9-5863-430e80031878", "license_expression": "gpl-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -238,9 +238,9 @@ ] }, { - "identifier": "788966d2-c08e-ab46-1793-44f388305bca", + "identifier": "gpl_1_0_plus#788966d2-c08e-ab46-1793-44f388305bca", "license_expression": "gpl-1.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -259,9 +259,9 @@ ] }, { - "identifier": "142f3261-5728-9933-74c7-7e8aa278ff6d", + "identifier": "free_unknown#142f3261-5728-9933-74c7-7e8aa278ff6d", "license_expression": "free-unknown", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -280,9 +280,9 @@ ] }, { - "identifier": "f70c823f-c2d0-5369-e1d2-3cc1103e518b", + "identifier": "gpl_3_0_plus#f70c823f-c2d0-5369-e1d2-3cc1103e518b", "license_expression": "gpl-3.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -301,300 +301,7 @@ ] } ], - "dependencies": [], - "packages": [ - { - "type": "autotools", - "namespace": null, - "name": "samba", - "version": null, - "qualifiers": {}, - "subpath": null, - "primary_language": null, - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "gpl-3.0 AND (gpl-3.0 AND lgpl-3.0 AND gpl-2.0) AND (gpl-2.0-plus AND free-unknown AND gpl-1.0-plus) AND (gpl-1.0-plus AND lgpl-3.0-plus AND gpl-3.0 AND lgpl-3.0) AND (cc-by-sa-3.0 AND cc-by-sa-4.0 AND dco-1.1) AND gpl-2.0 AND gpl-1.0-plus", - "declared_license_expression_spdx": "GPL-3.0-only AND (GPL-3.0-only AND LGPL-3.0-only AND GPL-2.0-only) AND (GPL-2.0-or-later AND LicenseRef-scancode-free-unknown AND GPL-1.0-or-later) AND (GPL-1.0-or-later AND LGPL-3.0-or-later AND GPL-3.0-only AND LGPL-3.0-only) AND (CC-BY-SA-3.0 AND CC-BY-SA-4.0 AND LicenseRef-scancode-dco-1.1) AND GPL-2.0-only AND GPL-1.0-or-later", - "license_detections": [ - { - "license_expression": "gpl-3.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 674, - "matched_length": 5514, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "gpl-3.0", - "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" - } - ] - }, - { - "license_expression": "gpl-3.0 AND lgpl-3.0 AND gpl-2.0", - "detection_log": [ - "possible-false-positive", - "not-license-clues-as-more-detections-present" - ], - "matches": [ - { - "score": 100.0, - "start_line": 38, - "end_line": 38, - "matched_length": 1, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-3.0", - "rule_identifier": "gpl-3.0_32.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE" - }, - { - "score": 100.0, - "start_line": 38, - "end_line": 38, - "matched_length": 1, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-3.0", - "rule_identifier": "lgpl-3.0_29.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE" - }, - { - "score": 100.0, - "start_line": 39, - "end_line": 39, - "matched_length": 1, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-2.0", - "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" - } - ] - }, - { - "license_expression": "gpl-2.0-plus AND free-unknown AND gpl-1.0-plus", - "detection_log": [ - "unknown-match" - ], - "matches": [ - { - "score": 20.0, - "start_line": 57, - "end_line": 57, - "matched_length": 6, - "match_coverage": 20.0, - "matcher": "3-seq", - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_627.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE" - }, - { - "score": 50.0, - "start_line": 60, - "end_line": 61, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "free-unknown", - "rule_identifier": "free-unknown_88.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE" - }, - { - "score": 100.0, - "start_line": 63, - "end_line": 63, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" - } - ] - }, - { - "license_expression": "gpl-1.0-plus AND lgpl-3.0-plus AND gpl-3.0 AND lgpl-3.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 76, - "end_line": 76, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_bare_gnu_gpl.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE" - }, - { - "score": 100.0, - "start_line": 79, - "end_line": 79, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" - }, - { - "score": 47.22, - "start_line": 79, - "end_line": 81, - "matched_length": 17, - "match_coverage": 47.22, - "matcher": "3-seq", - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_103.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE" - }, - { - "score": 100.0, - "start_line": 84, - "end_line": 84, - "matched_length": 9, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-3.0", - "rule_identifier": "gpl-3.0_12.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE" - }, - { - "score": 100.0, - "start_line": 85, - "end_line": 85, - "matched_length": 9, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-3.0", - "rule_identifier": "lgpl-3.0_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE" - } - ] - }, - { - "license_expression": "cc-by-sa-3.0 AND cc-by-sa-4.0 AND dco-1.1", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 75.0, - "start_line": 121, - "end_line": 122, - "matched_length": 12, - "match_coverage": 75.0, - "matcher": "3-seq", - "license_expression": "cc-by-sa-3.0", - "rule_identifier": "cc-by-sa-3.0_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE" - }, - { - "score": 100.0, - "start_line": 122, - "end_line": 122, - "matched_length": 9, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "cc-by-sa-4.0", - "rule_identifier": "cc-by-sa-4.0_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE" - }, - { - "score": 100.0, - "start_line": 123, - "end_line": 123, - "matched_length": 7, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "dco-1.1", - "rule_identifier": "dco-1.1_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE" - } - ] - }, - { - "license_expression": "gpl-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 81.82, - "start_line": 6, - "end_line": 6, - "matched_length": 9, - "match_coverage": 81.82, - "matcher": "3-seq", - "license_expression": "gpl-2.0", - "rule_identifier": "gpl-2.0_1142.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE" - } - ] - }, - { - "license_expression": "gpl-1.0-plus", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 22, - "end_line": 22, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_236.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "configure" - ], - "datasource_ids": [ - "autotools_configure" - ], - "purl": "pkg:autotools/samba" - } - ], - "license_references": [ + "license_references": [ { "key": "cc-by-sa-3.0", "short_name": "CC-BY-SA-3.0", @@ -849,7 +556,7 @@ "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 3.0 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n\nThis version of the GNU Lesser General Public License incorporates\nthe terms and conditions of version 3 of the GNU General Public\nLicense, supplemented by the additional permissions listed below.\n\n0. Additional Definitions.\n\nAs used herein, \"this License\" refers to version 3 of the GNU Lesser\nGeneral Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public License.\n\n\"The Library\" refers to a covered work governed by this License,\nother than an Application or a Combined Work as defined below.\n\nAn \"Application\" is any work that makes use of an interface provided\nby the Library, but which is not otherwise based on the Library.\nDefining a subclass of a class defined by the Library is deemed a mode\nof using an interface provided by the Library.\n\nA \"Combined Work\" is a work produced by combining or linking an\nApplication with the Library. The particular version of the Library\nwith which the Combined Work was made is also called the \"Linked\nVersion\".\n\nThe \"Minimal Corresponding Source\" for a Combined Work means the\nCorresponding Source for the Combined Work, excluding any source code\nfor portions of the Combined Work that, considered in isolation, are\nbased on the Application, and not on the Linked Version.\n\nThe \"Corresponding Application Code\" for a Combined Work means the\nobject code and/or source code for the Application, including any data\nand utility programs needed for reproducing the Combined Work from the\nApplication, but excluding the System Libraries of the Combined Work.\n\n1. Exception to Section 3 of the GNU GPL.\n\nYou may convey a covered work under sections 3 and 4 of this License\nwithout being bound by section 3 of the GNU GPL.\n\n2. Conveying Modified Versions.\n\nIf you modify a copy of the Library, and, in your modifications, a\nfacility refers to a function or data to be supplied by an Application\nthat uses the facility (other than as an argument passed when the\nfacility is invoked), then you may convey a copy of the modified\nversion:\n\na) under this License, provided that you make a good faith effort to\nensure that, in the event an Application does not supply the\nfunction or data, the facility still operates, and performs\nwhatever part of its purpose remains meaningful, or\n\nb) under the GNU GPL, with none of the additional permissions of\nthis License applicable to that copy.\n\n3. Object Code Incorporating Material from Library Header Files.\n\nThe object code form of an Application may incorporate material from\na header file that is part of the Library. You may convey such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial is not limited to numerical parameters, data structure\nlayouts and accessors, or small macros, inline functions and templates\n(ten or fewer lines in length), you do both of the following:\n\na) Give prominent notice with each copy of the object code that the\nLibrary is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the object code with a copy of the GNU GPL and this license\ndocument.\n\n4. Combined Works.\n\nYou may convey a Combined Work under terms of your choice that,\ntaken together, effectively do not restrict modification of the\nportions of the Library contained in the Combined Work and reverse\nengineering for debugging such modifications, if you also do each of\nthe following:\n\na) Give prominent notice with each copy of the Combined Work that\nthe Library is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the Combined Work with a copy of the GNU GPL and this license\ndocument.\n\nc) For a Combined Work that displays copyright notices during\nexecution, include the copyright notice for the Library among\nthese notices, as well as a reference directing the user to the\ncopies of the GNU GPL and this license document.\n\nd) Do one of the following:\n\n0) Convey the Minimal Corresponding Source under the terms of this\nLicense, and the Corresponding Application Code in a form\nsuitable for, and under terms that permit, the user to\nrecombine or relink the Application with a modified version of\nthe Linked Version to produce a modified Combined Work, in the\nmanner specified by section 6 of the GNU GPL for conveying\nCorresponding Source.\n\n1) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (a) uses at run time\na copy of the Library already present on the user's computer\nsystem, and (b) will operate properly with a modified version\nof the Library that is interface-compatible with the Linked\nVersion.\n\ne) Provide Installation Information, but only if you would otherwise\nbe required to provide such information under section 6 of the\nGNU GPL, and only to the extent that such information is\nnecessary to install and execute a modified version of the\nCombined Work produced by recombining or relinking the\nApplication with a modified version of the Linked Version. (If\nyou use option 4d0, the Installation Information must accompany\nthe Minimal Corresponding Source and Corresponding Application\nCode. If you use option 4d1, you must provide the Installation\nInformation in the manner specified by section 6 of the GNU GPL\nfor conveying Corresponding Source.)\n\n5. Combined Libraries.\n\nYou may place library facilities that are a work based on the\nLibrary side by side in a single library together with other library\nfacilities that are not Applications and are not covered by this\nLicense, and convey such a combined library under terms of your\nchoice, if you do both of the following:\n\na) Accompany the combined library with a copy of the same work based\non the Library, uncombined with any other library facilities,\nconveyed under the terms of this License.\n\nb) Give prominent notice with the combined library that part of it\nis a work based on the Library, and explaining where to find the\naccompanying uncombined form of the same work.\n\n6. Revised Versions of the GNU Lesser General Public License.\n\nThe Free Software Foundation may publish revised and/or new versions\nof the GNU Lesser General Public License from time to time. Such new\nversions will be similar in spirit to the present version, but may\ndiffer in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nLibrary as you received it specifies that a certain numbered version\nof the GNU Lesser General Public License \"or any later version\"\napplies to it, you have the option of following the terms and\nconditions either of that published version or of any later version\npublished by the Free Software Foundation. If the Library as you\nreceived it does not specify a version number of the GNU Lesser\nGeneral Public License, you may choose any version of the GNU Lesser\nGeneral Public License ever published by the Free Software Foundation.\n\nIf the Library as you received it specifies that a proxy can decide\nwhether future versions of the GNU Lesser General Public License shall\napply, that proxy's public statement of acceptance of any version is\npermanent authorization for you to choose that version for the\nLibrary." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", @@ -860,8 +567,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 5514, - "rule_relevance": 100, - "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + "rule_relevance": 100 }, { "license_expression": "gpl-3.0", @@ -873,8 +579,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 1, - "rule_relevance": 100, - "matched_text": "GPLv3" + "rule_relevance": 100 }, { "license_expression": "lgpl-3.0", @@ -886,8 +591,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 1, - "rule_relevance": 100, - "matched_text": "LGPLv3 (" + "rule_relevance": 100 }, { "license_expression": "gpl-2.0", @@ -899,8 +603,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 1, - "rule_relevance": 100, - "matched_text": "GPLv2." + "rule_relevance": 100 }, { "license_expression": "gpl-2.0-plus", @@ -912,8 +615,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 30, - "rule_relevance": 100, - "matched_text": "of the GNU General Public License;" + "rule_relevance": 100 }, { "license_expression": "free-unknown", @@ -925,8 +627,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 3, - "rule_relevance": 50, - "matched_text": "open source\n license" + "rule_relevance": 50 }, { "license_expression": "gpl-1.0-plus", @@ -938,8 +639,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 5, - "rule_relevance": 100, - "matched_text": "the GNU General Public License," + "rule_relevance": 100 }, { "license_expression": "gpl-1.0-plus", @@ -951,8 +651,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 2, - "rule_relevance": 100, - "matched_text": "GNU GPL" + "rule_relevance": 100 }, { "license_expression": "gpl-1.0-plus", @@ -964,8 +663,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 5, - "rule_relevance": 100, - "matched_text": "the GNU General Public License" + "rule_relevance": 100 }, { "license_expression": "lgpl-3.0-plus", @@ -977,8 +675,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 36, - "rule_relevance": 100, - "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of" + "rule_relevance": 100 }, { "license_expression": "gpl-3.0", @@ -990,8 +687,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html" + "rule_relevance": 100 }, { "license_expression": "lgpl-3.0", @@ -1003,8 +699,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html" + "rule_relevance": 100 }, { "license_expression": "cc-by-sa-3.0", @@ -1016,8 +711,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 16, - "rule_relevance": 100, - "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/" + "rule_relevance": 100 }, { "license_expression": "cc-by-sa-4.0", @@ -1029,8 +723,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 9, - "rule_relevance": 100, - "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode" + "rule_relevance": 100 }, { "license_expression": "dco-1.1", @@ -1042,8 +735,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 7, - "rule_relevance": 100, - "matched_text": "Developer's Certificate of Origin 1.1\"" + "rule_relevance": 100 }, { "license_expression": "gpl-2.0", @@ -1055,8 +747,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 11, - "rule_relevance": 100, - "matched_text": "Free Software licensed under the GNU General Public License" + "rule_relevance": 100 }, { "license_expression": "gpl-1.0-plus", @@ -1068,229 +759,21 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 3, - "rule_relevance": 100, - "matched_text": "GNU public license," - }, - { - "license_expression": "gpl-3.0", - "rule_identifier": "gpl-3.0_204.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5514, - "rule_relevance": 100, - "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." - }, - { - "license_expression": "gpl-3.0", - "rule_identifier": "gpl-3.0_32.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "GPLv3" - }, - { - "license_expression": "lgpl-3.0", - "rule_identifier": "lgpl-3.0_29.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "LGPLv3 (" - }, - { - "license_expression": "gpl-2.0", - "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "GPLv2." - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_627.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 30, - "rule_relevance": 100, - "matched_text": "of the GNU General Public License;" + "rule_relevance": 100 }, { "license_expression": "free-unknown", - "rule_identifier": "free-unknown_88.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "open source\n license" - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "the GNU General Public License," - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_bare_gnu_gpl.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100, - "matched_text": "GNU GPL" - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "the GNU General Public License" - }, - { - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_103.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 36, - "rule_relevance": 100, - "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of" - }, - { - "license_expression": "gpl-3.0", - "rule_identifier": "gpl-3.0_12.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html" - }, - { - "license_expression": "lgpl-3.0", - "rule_identifier": "lgpl-3.0_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html" - }, - { - "license_expression": "cc-by-sa-3.0", - "rule_identifier": "cc-by-sa-3.0_10.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 16, - "rule_relevance": 100, - "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/" - }, - { - "license_expression": "cc-by-sa-4.0", - "rule_identifier": "cc-by-sa-4.0_71.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode" - }, - { - "license_expression": "dco-1.1", - "rule_identifier": "dco-1.1_2.RULE", - "referenced_filenames": [], + "rule_identifier": "free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 7, - "rule_relevance": 100, - "matched_text": "Developer's Certificate of Origin 1.1\"" - }, - { - "license_expression": "gpl-2.0", - "rule_identifier": "gpl-2.0_1142.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100, - "matched_text": "Free Software licensed under the GNU General Public License" - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_236.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "GNU public license," + "rule_length": 10, + "rule_relevance": 100 }, { "license_expression": "gpl-3.0-plus", @@ -1302,8 +785,317 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 102, - "rule_relevance": 100, - "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 ." + "rule_relevance": 100 + } + ], + "dependencies": [], + "packages": [ + { + "type": "autotools", + "namespace": null, + "name": "samba", + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "gpl-3.0 AND (gpl-3.0 AND lgpl-3.0 AND gpl-2.0) AND (gpl-2.0-plus AND free-unknown AND gpl-1.0-plus) AND (gpl-1.0-plus AND lgpl-3.0-plus AND gpl-3.0 AND lgpl-3.0) AND (cc-by-sa-3.0 AND cc-by-sa-4.0 AND dco-1.1) AND gpl-2.0 AND gpl-1.0-plus", + "declared_license_expression_spdx": "GPL-3.0-only AND (GPL-3.0-only AND LGPL-3.0-only AND GPL-2.0-only) AND (GPL-2.0-or-later AND LicenseRef-scancode-free-unknown AND GPL-1.0-or-later) AND (GPL-1.0-or-later AND LGPL-3.0-or-later AND GPL-3.0-only AND LGPL-3.0-only) AND (CC-BY-SA-3.0 AND CC-BY-SA-4.0 AND LicenseRef-scancode-dco-1.1) AND GPL-2.0-only AND GPL-1.0-or-later", + "license_detections": [ + { + "license_expression": "gpl-3.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 674, + "matched_length": 5514, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_204.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", + "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + } + ] + }, + { + "license_expression": "gpl-3.0 AND lgpl-3.0 AND gpl-2.0", + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 100.0, + "start_line": 38, + "end_line": 38, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_32.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE", + "matched_text": "GPLv3" + }, + { + "score": 100.0, + "start_line": 38, + "end_line": 38, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_29.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", + "matched_text": "LGPLv3 (" + }, + { + "score": 100.0, + "start_line": 39, + "end_line": 39, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_bare_single_word.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", + "matched_text": "GPLv2." + } + ] + }, + { + "license_expression": "gpl-2.0-plus AND free-unknown AND gpl-1.0-plus", + "detection_log": [ + "unknown-match" + ], + "matches": [ + { + "score": 20.0, + "start_line": 57, + "end_line": 57, + "matched_length": 6, + "match_coverage": 20.0, + "matcher": "3-seq", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_627.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE", + "matched_text": "of the GNU General Public License;" + }, + { + "score": 50.0, + "start_line": 60, + "end_line": 61, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown_88.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", + "matched_text": "open source\n license" + }, + { + "score": 100.0, + "start_line": 63, + "end_line": 63, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", + "matched_text": "the GNU General Public License," + } + ] + }, + { + "license_expression": "gpl-1.0-plus AND lgpl-3.0-plus AND gpl-3.0 AND lgpl-3.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 76, + "end_line": 76, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_bare_gnu_gpl.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE", + "matched_text": "GNU GPL" + }, + { + "score": 100.0, + "start_line": 79, + "end_line": 79, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", + "matched_text": "the GNU General Public License" + }, + { + "score": 47.22, + "start_line": 79, + "end_line": 81, + "matched_length": 17, + "match_coverage": 47.22, + "matcher": "3-seq", + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_103.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE", + "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of" + }, + { + "score": 100.0, + "start_line": 84, + "end_line": 84, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_12.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE", + "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html" + }, + { + "score": 100.0, + "start_line": 85, + "end_line": 85, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE", + "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html" + } + ] + }, + { + "license_expression": "cc-by-sa-3.0 AND cc-by-sa-4.0 AND dco-1.1", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 75.0, + "start_line": 121, + "end_line": 122, + "matched_length": 12, + "match_coverage": 75.0, + "matcher": "3-seq", + "license_expression": "cc-by-sa-3.0", + "rule_identifier": "cc-by-sa-3.0_10.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE", + "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/" + }, + { + "score": 100.0, + "start_line": 122, + "end_line": 122, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cc-by-sa-4.0", + "rule_identifier": "cc-by-sa-4.0_71.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE", + "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode" + }, + { + "score": 100.0, + "start_line": 123, + "end_line": 123, + "matched_length": 7, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "dco-1.1", + "rule_identifier": "dco-1.1_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE", + "matched_text": "Developer's Certificate of Origin 1.1\"" + } + ] + }, + { + "license_expression": "gpl-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 81.82, + "start_line": 6, + "end_line": 6, + "matched_length": 9, + "match_coverage": 81.82, + "matcher": "3-seq", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1142.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE", + "matched_text": "Free Software licensed under the GNU General Public License" + } + ] + }, + { + "license_expression": "gpl-1.0-plus", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 22, + "end_line": 22, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_236.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE", + "matched_text": "GNU public license," + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "configure" + ], + "datasource_ids": [ + "autotools_configure" + ], + "purl": "pkg:autotools/samba" } ], "files": [ @@ -1328,15 +1120,16 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", + "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." } ] } ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "bd8d31df-3dc9-daa6-b885-dc10671b4103" + "for_license_detections": [ + "gpl_3_0#bd8d31df-3dc9-daa6-b885-dc10671b4103" ], "package_data": [], "for_packages": [ @@ -1352,7 +1145,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1367,7 +1160,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1382,7 +1175,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1411,7 +1204,8 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_32.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE", + "matched_text": "GPLv3" }, { "score": 100.0, @@ -1422,7 +1216,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_29.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", + "matched_text": "LGPLv3 (" }, { "score": 100.0, @@ -1433,7 +1228,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", + "matched_text": "GPLv2." } ] }, @@ -1452,7 +1248,8 @@ "matcher": "3-seq", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_627.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE", + "matched_text": "of the GNU General Public License;" }, { "score": 50.0, @@ -1463,7 +1260,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown_88.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", + "matched_text": "open source\n license" }, { "score": 100.0, @@ -1474,7 +1272,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", + "matched_text": "the GNU General Public License," } ] }, @@ -1493,7 +1292,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_gnu_gpl.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE", + "matched_text": "GNU GPL" }, { "score": 100.0, @@ -1504,7 +1304,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", + "matched_text": "the GNU General Public License" }, { "score": 47.22, @@ -1515,7 +1316,8 @@ "matcher": "3-seq", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_103.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE", + "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of" }, { "score": 100.0, @@ -1526,7 +1328,8 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_12.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE", + "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html" }, { "score": 100.0, @@ -1537,7 +1340,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE", + "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html" } ] }, @@ -1556,7 +1360,8 @@ "matcher": "3-seq", "license_expression": "cc-by-sa-3.0", "rule_identifier": "cc-by-sa-3.0_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE", + "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/" }, { "score": 100.0, @@ -1567,7 +1372,8 @@ "matcher": "2-aho", "license_expression": "cc-by-sa-4.0", "rule_identifier": "cc-by-sa-4.0_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE", + "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode" }, { "score": 100.0, @@ -1578,18 +1384,19 @@ "matcher": "2-aho", "license_expression": "dco-1.1", "rule_identifier": "dco-1.1_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE", + "matched_text": "Developer's Certificate of Origin 1.1\"" } ] } ], "license_clues": [], "percentage_of_license_text": 9.84, - "for_licenses": [ - "c4243fb1-25ad-ea03-c628-65139658a194", - "620bb734-dfc2-e276-11d9-45ed11996799", - "ba9e27e5-ccbb-ede0-63b3-68adf7d7b978", - "cacaaecd-cccf-23a9-b725-f10a66d3d665" + "for_license_detections": [ + "gpl_3_0_and_lgpl_3_0_and_gpl_2_0#c4243fb1-25ad-ea03-c628-65139658a194", + "gpl_2_0_plus_and_free_unknown_and_gpl_1_0_plus#620bb734-dfc2-e276-11d9-45ed11996799", + "gpl_1_0_plus_and_lgpl_3_0_plus_and_gpl_3_0_and_lgpl_3_0#ba9e27e5-ccbb-ede0-63b3-68adf7d7b978", + "cc_by_sa_3_0_and_cc_by_sa_4_0_and_dco_1_1#cacaaecd-cccf-23a9-b725-f10a66d3d665" ], "package_data": [], "for_packages": [ @@ -1618,7 +1425,8 @@ "matcher": "3-seq", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1142.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE", + "matched_text": "Free Software licensed under the GNU General Public License" } ] }, @@ -1637,16 +1445,17 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_236.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE", + "matched_text": "GNU public license," } ] } ], "license_clues": [], "percentage_of_license_text": 1.51, - "for_licenses": [ - "0c428ae6-46af-09d9-5863-430e80031878", - "788966d2-c08e-ab46-1793-44f388305bca" + "for_license_detections": [ + "gpl_2_0#0c428ae6-46af-09d9-5863-430e80031878", + "gpl_1_0_plus#788966d2-c08e-ab46-1793-44f388305bca" ], "package_data": [], "for_packages": [ @@ -1662,7 +1471,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [ { "type": "autotools", @@ -1705,7 +1514,8 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", + "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." } ] }, @@ -1725,7 +1535,8 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_32.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE", + "matched_text": "GPLv3" }, { "score": 100.0, @@ -1736,7 +1547,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_29.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", + "matched_text": "LGPLv3 (" }, { "score": 100.0, @@ -1747,7 +1559,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", + "matched_text": "GPLv2." } ] }, @@ -1766,7 +1579,8 @@ "matcher": "3-seq", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_627.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE", + "matched_text": "of the GNU General Public License;" }, { "score": 50.0, @@ -1777,7 +1591,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown_88.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", + "matched_text": "open source\n license" }, { "score": 100.0, @@ -1788,7 +1603,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", + "matched_text": "the GNU General Public License," } ] }, @@ -1807,7 +1623,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_gnu_gpl.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE", + "matched_text": "GNU GPL" }, { "score": 100.0, @@ -1818,7 +1635,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", + "matched_text": "the GNU General Public License" }, { "score": 47.22, @@ -1829,7 +1647,8 @@ "matcher": "3-seq", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_103.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE", + "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of" }, { "score": 100.0, @@ -1840,7 +1659,8 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_12.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE", + "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html" }, { "score": 100.0, @@ -1851,7 +1671,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE", + "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html" } ] }, @@ -1870,7 +1691,8 @@ "matcher": "3-seq", "license_expression": "cc-by-sa-3.0", "rule_identifier": "cc-by-sa-3.0_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE", + "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/" }, { "score": 100.0, @@ -1881,7 +1703,8 @@ "matcher": "2-aho", "license_expression": "cc-by-sa-4.0", "rule_identifier": "cc-by-sa-4.0_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE", + "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode" }, { "score": 100.0, @@ -1892,7 +1715,8 @@ "matcher": "2-aho", "license_expression": "dco-1.1", "rule_identifier": "dco-1.1_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE", + "matched_text": "Developer's Certificate of Origin 1.1\"" } ] }, @@ -1911,7 +1735,8 @@ "matcher": "3-seq", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1142.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE", + "matched_text": "Free Software licensed under the GNU General Public License" } ] }, @@ -1930,7 +1755,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_236.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE", + "matched_text": "GNU public license," } ] } @@ -1964,7 +1790,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1979,7 +1805,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [ { "type": "pypi", @@ -2022,7 +1848,8 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", + "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." } ] }, @@ -2042,7 +1869,8 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_32.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE", + "matched_text": "GPLv3" }, { "score": 100.0, @@ -2053,7 +1881,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_29.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", + "matched_text": "LGPLv3 (" }, { "score": 100.0, @@ -2064,7 +1893,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", + "matched_text": "GPLv2." } ] }, @@ -2083,7 +1913,8 @@ "matcher": "3-seq", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_627.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE", + "matched_text": "of the GNU General Public License;" }, { "score": 50.0, @@ -2094,7 +1925,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown_88.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", + "matched_text": "open source\n license" }, { "score": 100.0, @@ -2105,7 +1937,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", + "matched_text": "the GNU General Public License," } ] }, @@ -2124,7 +1957,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_gnu_gpl.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE", + "matched_text": "GNU GPL" }, { "score": 100.0, @@ -2135,7 +1969,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", + "matched_text": "the GNU General Public License" }, { "score": 47.22, @@ -2146,7 +1981,8 @@ "matcher": "3-seq", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_103.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE", + "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of" }, { "score": 100.0, @@ -2157,7 +1993,8 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_12.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE", + "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html" }, { "score": 100.0, @@ -2168,7 +2005,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE", + "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html" } ] }, @@ -2187,7 +2025,8 @@ "matcher": "3-seq", "license_expression": "cc-by-sa-3.0", "rule_identifier": "cc-by-sa-3.0_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE", + "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/" }, { "score": 100.0, @@ -2198,7 +2037,8 @@ "matcher": "2-aho", "license_expression": "cc-by-sa-4.0", "rule_identifier": "cc-by-sa-4.0_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE", + "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode" }, { "score": 100.0, @@ -2209,7 +2049,8 @@ "matcher": "2-aho", "license_expression": "dco-1.1", "rule_identifier": "dco-1.1_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE", + "matched_text": "Developer's Certificate of Origin 1.1\"" } ] }, @@ -2228,7 +2069,8 @@ "matcher": "3-seq", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1142.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE", + "matched_text": "Free Software licensed under the GNU General Public License" } ] }, @@ -2247,7 +2089,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_236.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE", + "matched_text": "GNU public license," } ] } @@ -2281,7 +2124,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -2296,7 +2139,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -2311,7 +2154,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -2339,7 +2182,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", + "matched_text": "This file is distributed under the same license as the" }, { "score": 100.0, @@ -2350,7 +2194,8 @@ "matcher": "1-hash", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", + "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." }, { "score": 100.0, @@ -2361,7 +2206,8 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_32.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE", + "matched_text": "GPLv3" }, { "score": 100.0, @@ -2372,7 +2218,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_29.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", + "matched_text": "LGPLv3 (" }, { "score": 100.0, @@ -2383,7 +2230,8 @@ "matcher": "2-aho", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", + "matched_text": "GPLv2." }, { "score": 20.0, @@ -2394,7 +2242,8 @@ "matcher": "3-seq", "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_627.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE", + "matched_text": "of the GNU General Public License;" }, { "score": 50.0, @@ -2405,7 +2254,8 @@ "matcher": "2-aho", "license_expression": "free-unknown", "rule_identifier": "free-unknown_88.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", + "matched_text": "open source\n license" }, { "score": 100.0, @@ -2416,7 +2266,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", + "matched_text": "the GNU General Public License," }, { "score": 100.0, @@ -2427,7 +2278,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_gnu_gpl.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE", + "matched_text": "GNU GPL" }, { "score": 100.0, @@ -2438,7 +2290,8 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", + "matched_text": "the GNU General Public License" }, { "score": 47.22, @@ -2449,7 +2302,8 @@ "matcher": "3-seq", "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_103.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE", + "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of" }, { "score": 100.0, @@ -2460,7 +2314,8 @@ "matcher": "2-aho", "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_12.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE", + "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html" }, { "score": 100.0, @@ -2471,7 +2326,8 @@ "matcher": "2-aho", "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE", + "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html" }, { "score": 75.0, @@ -2482,7 +2338,8 @@ "matcher": "3-seq", "license_expression": "cc-by-sa-3.0", "rule_identifier": "cc-by-sa-3.0_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE", + "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/" }, { "score": 100.0, @@ -2493,7 +2350,8 @@ "matcher": "2-aho", "license_expression": "cc-by-sa-4.0", "rule_identifier": "cc-by-sa-4.0_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE", + "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode" }, { "score": 100.0, @@ -2504,7 +2362,8 @@ "matcher": "2-aho", "license_expression": "dco-1.1", "rule_identifier": "dco-1.1_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE", + "matched_text": "Developer's Certificate of Origin 1.1\"" }, { "score": 81.82, @@ -2515,7 +2374,8 @@ "matcher": "3-seq", "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1142.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE", + "matched_text": "Free Software licensed under the GNU General Public License" }, { "score": 100.0, @@ -2526,15 +2386,16 @@ "matcher": "2-aho", "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_236.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE", + "matched_text": "GNU public license," } ] } ], "license_clues": [], "percentage_of_license_text": 0.03, - "for_licenses": [ - "142f3261-5728-9933-74c7-7e8aa278ff6d" + "for_license_detections": [ + "free_unknown#142f3261-5728-9933-74c7-7e8aa278ff6d" ], "package_data": [], "for_packages": [ @@ -2563,15 +2424,16 @@ "matcher": "2-aho", "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", + "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 ." } ] } ], "license_clues": [], "percentage_of_license_text": 27.06, - "for_licenses": [ - "f70c823f-c2d0-5369-e1d2-3cc1103e518b" + "for_license_detections": [ + "gpl_3_0_plus#f70c823f-c2d0-5369-e1d2-3cc1103e518b" ], "package_data": [], "for_packages": [ diff --git a/tests/packagedcode/data/maven_misc/extracted-jar-expected.json b/tests/packagedcode/data/maven_misc/extracted-jar-expected.json index b2e3daf8845..977cc196b56 100644 --- a/tests/packagedcode/data/maven_misc/extracted-jar-expected.json +++ b/tests/packagedcode/data/maven_misc/extracted-jar-expected.json @@ -218,8 +218,6 @@ "purl": "pkg:maven/org.activiti/activiti-image-generator@7-201802-EA" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "extracted-jar", diff --git a/tests/packagedcode/data/npm/electron/package.expected.json b/tests/packagedcode/data/npm/electron/package.expected.json index e6913eab9c5..ad587050d28 100644 --- a/tests/packagedcode/data/npm/electron/package.expected.json +++ b/tests/packagedcode/data/npm/electron/package.expected.json @@ -188,8 +188,6 @@ "purl": "pkg:npm/electron@3.1.11" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "package", diff --git a/tests/packagedcode/data/npm/get_package_resources.scan.expected.json b/tests/packagedcode/data/npm/get_package_resources.scan.expected.json index cc043efc426..cd28bc1f997 100644 --- a/tests/packagedcode/data/npm/get_package_resources.scan.expected.json +++ b/tests/packagedcode/data/npm/get_package_resources.scan.expected.json @@ -93,8 +93,6 @@ "purl": "pkg:npm/test@0.1.0" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "get_package_resources", diff --git a/tests/packagedcode/data/npm/private-and-yarn/scan.expected.json b/tests/packagedcode/data/npm/private-and-yarn/scan.expected.json index add6083e92e..984516f92ed 100644 --- a/tests/packagedcode/data/npm/private-and-yarn/scan.expected.json +++ b/tests/packagedcode/data/npm/private-and-yarn/scan.expected.json @@ -850,8 +850,6 @@ } ], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "theia", diff --git a/tests/packagedcode/data/npm/private/scan.expected.json b/tests/packagedcode/data/npm/private/scan.expected.json index 37813601e02..b6fcf80af68 100644 --- a/tests/packagedcode/data/npm/private/scan.expected.json +++ b/tests/packagedcode/data/npm/private/scan.expected.json @@ -16,8 +16,6 @@ } ], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "package.json", diff --git a/tests/packagedcode/data/npm/scan-nested/scan.expected.json b/tests/packagedcode/data/npm/scan-nested/scan.expected.json index 5367e6794f3..6c826604f79 100644 --- a/tests/packagedcode/data/npm/scan-nested/scan.expected.json +++ b/tests/packagedcode/data/npm/scan-nested/scan.expected.json @@ -898,8 +898,6 @@ "purl": "pkg:npm/sequelize@3.30.2" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "scan", diff --git a/tests/packagedcode/data/plugin/about-package-expected.json b/tests/packagedcode/data/plugin/about-package-expected.json index b57cf623c01..f9a70cee67b 100644 --- a/tests/packagedcode/data/plugin/about-package-expected.json +++ b/tests/packagedcode/data/plugin/about-package-expected.json @@ -212,8 +212,6 @@ "purl": "pkg:about/appdirs@1.4.3" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "apipkg-1.4-py2.py3-none-any.whl", diff --git a/tests/packagedcode/data/plugin/bower-package-expected.json b/tests/packagedcode/data/plugin/bower-package-expected.json index cbe39f0d7d2..fd545f0fa7f 100644 --- a/tests/packagedcode/data/plugin/bower-package-expected.json +++ b/tests/packagedcode/data/plugin/bower-package-expected.json @@ -148,8 +148,6 @@ "purl": "pkg:bower/blue-leaf" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "bower.json", diff --git a/tests/packagedcode/data/plugin/cargo-package-expected.json b/tests/packagedcode/data/plugin/cargo-package-expected.json index 0f59dee94b4..e4ec0d2868c 100644 --- a/tests/packagedcode/data/plugin/cargo-package-expected.json +++ b/tests/packagedcode/data/plugin/cargo-package-expected.json @@ -101,8 +101,6 @@ "purl": "pkg:cargo/clap@2.32.0" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "Cargo.toml", diff --git a/tests/packagedcode/data/plugin/chef-package-expected.json b/tests/packagedcode/data/plugin/chef-package-expected.json index 557cf9eb380..4d947ab5f6c 100644 --- a/tests/packagedcode/data/plugin/chef-package-expected.json +++ b/tests/packagedcode/data/plugin/chef-package-expected.json @@ -132,8 +132,6 @@ "purl": "pkg:chef/301@0.1.0" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "metadata.json", diff --git a/tests/packagedcode/data/plugin/com-package-expected.json b/tests/packagedcode/data/plugin/com-package-expected.json index c439e711f0f..0ade479bd62 100644 --- a/tests/packagedcode/data/plugin/com-package-expected.json +++ b/tests/packagedcode/data/plugin/com-package-expected.json @@ -1,8 +1,6 @@ { "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "chcp.com", diff --git a/tests/packagedcode/data/plugin/conda-package-expected.json b/tests/packagedcode/data/plugin/conda-package-expected.json index f710d56749e..e6dce66e933 100644 --- a/tests/packagedcode/data/plugin/conda-package-expected.json +++ b/tests/packagedcode/data/plugin/conda-package-expected.json @@ -262,8 +262,6 @@ "purl": "pkg:conda/requests-kerberos@0.8.0" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "info", diff --git a/tests/packagedcode/data/plugin/cran-package-expected.json b/tests/packagedcode/data/plugin/cran-package-expected.json index c36783445d8..dd98937b435 100644 --- a/tests/packagedcode/data/plugin/cran-package-expected.json +++ b/tests/packagedcode/data/plugin/cran-package-expected.json @@ -123,8 +123,6 @@ "purl": "pkg:cran/codetools@0.2-16" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "DESCRIPTION", diff --git a/tests/packagedcode/data/plugin/freebsd-package-expected.json b/tests/packagedcode/data/plugin/freebsd-package-expected.json index 994d5ecac8d..792831fc746 100644 --- a/tests/packagedcode/data/plugin/freebsd-package-expected.json +++ b/tests/packagedcode/data/plugin/freebsd-package-expected.json @@ -106,8 +106,6 @@ "purl": "pkg:freebsd/dmidecode@2.12?arch=freebsd:10:x86:64&origin=sysutils/dmidecode" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "+COMPACT_MANIFEST", diff --git a/tests/packagedcode/data/plugin/haxe-package-expected.json b/tests/packagedcode/data/plugin/haxe-package-expected.json index 6465cb068fa..a80461913ff 100644 --- a/tests/packagedcode/data/plugin/haxe-package-expected.json +++ b/tests/packagedcode/data/plugin/haxe-package-expected.json @@ -106,8 +106,6 @@ "purl": "pkg:haxe/hxsocketio@0.1.0" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "haxelib.json", diff --git a/tests/packagedcode/data/plugin/maven-package-expected.json b/tests/packagedcode/data/plugin/maven-package-expected.json index b445948ac35..ed8f7d49359 100644 --- a/tests/packagedcode/data/plugin/maven-package-expected.json +++ b/tests/packagedcode/data/plugin/maven-package-expected.json @@ -6956,8 +6956,6 @@ "purl": "pkg:maven/au.com.acegi/xml-format-maven-plugin@3.0.6" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "activemq-camel", diff --git a/tests/packagedcode/data/plugin/mui-package-expected.json b/tests/packagedcode/data/plugin/mui-package-expected.json index 3110bd38138..d1489a71fcb 100644 --- a/tests/packagedcode/data/plugin/mui-package-expected.json +++ b/tests/packagedcode/data/plugin/mui-package-expected.json @@ -1,8 +1,6 @@ { "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "clfs.sys.mui", diff --git a/tests/packagedcode/data/plugin/mum-package-expected.json b/tests/packagedcode/data/plugin/mum-package-expected.json index 787ec188e89..8abc5f84e2d 100644 --- a/tests/packagedcode/data/plugin/mum-package-expected.json +++ b/tests/packagedcode/data/plugin/mum-package-expected.json @@ -1,8 +1,6 @@ { "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "test.mum", diff --git a/tests/packagedcode/data/plugin/mun-package-expected.json b/tests/packagedcode/data/plugin/mun-package-expected.json index 5385ae2168a..b506f82939a 100644 --- a/tests/packagedcode/data/plugin/mun-package-expected.json +++ b/tests/packagedcode/data/plugin/mun-package-expected.json @@ -1,8 +1,6 @@ { "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "crypt32.dll.mun", diff --git a/tests/packagedcode/data/plugin/npm-package-expected.json b/tests/packagedcode/data/plugin/npm-package-expected.json index 93fc95d839b..da47eaca9a8 100644 --- a/tests/packagedcode/data/plugin/npm-package-expected.json +++ b/tests/packagedcode/data/plugin/npm-package-expected.json @@ -171,8 +171,6 @@ "purl": "pkg:npm/cookie-signature@1.0.3" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "package.json", diff --git a/tests/packagedcode/data/plugin/nuget-package-expected.json b/tests/packagedcode/data/plugin/nuget-package-expected.json index c9ec6ddbcdd..8df58c5acc3 100644 --- a/tests/packagedcode/data/plugin/nuget-package-expected.json +++ b/tests/packagedcode/data/plugin/nuget-package-expected.json @@ -108,8 +108,6 @@ "purl": "pkg:nuget/Castle.Core@4.2.1" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "Castle.Core.nuspec", diff --git a/tests/packagedcode/data/plugin/opam-package-expected.json b/tests/packagedcode/data/plugin/opam-package-expected.json index 8db5c2ba17d..4fd2e6c6436 100644 --- a/tests/packagedcode/data/plugin/opam-package-expected.json +++ b/tests/packagedcode/data/plugin/opam-package-expected.json @@ -58,8 +58,6 @@ } ], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "ocaml-variants.opam", diff --git a/tests/packagedcode/data/plugin/phpcomposer-package-expected.json b/tests/packagedcode/data/plugin/phpcomposer-package-expected.json index 717d4b7652d..5443ff754b1 100644 --- a/tests/packagedcode/data/plugin/phpcomposer-package-expected.json +++ b/tests/packagedcode/data/plugin/phpcomposer-package-expected.json @@ -151,8 +151,6 @@ "purl": "pkg:composer/jandreasn/a-timer" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "composer.json", diff --git a/tests/packagedcode/data/plugin/pubspec-expected.json b/tests/packagedcode/data/plugin/pubspec-expected.json index 6e4abf09df2..c545ec1024e 100644 --- a/tests/packagedcode/data/plugin/pubspec-expected.json +++ b/tests/packagedcode/data/plugin/pubspec-expected.json @@ -105,8 +105,6 @@ "purl": "pkg:dart/openapi@1.0.0" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "authors-pubspec.yaml", diff --git a/tests/packagedcode/data/plugin/pubspec-lock-expected.json b/tests/packagedcode/data/plugin/pubspec-lock-expected.json index ad77daaada4..3219e78e831 100644 --- a/tests/packagedcode/data/plugin/pubspec-lock-expected.json +++ b/tests/packagedcode/data/plugin/pubspec-lock-expected.json @@ -800,8 +800,6 @@ } ], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "dart-pubspec.lock", diff --git a/tests/packagedcode/data/plugin/python-package-expected.json b/tests/packagedcode/data/plugin/python-package-expected.json index 892327340cf..aa170822bf0 100644 --- a/tests/packagedcode/data/plugin/python-package-expected.json +++ b/tests/packagedcode/data/plugin/python-package-expected.json @@ -907,8 +907,6 @@ "purl": "pkg:pypi/ticketimport@0.7a" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "Six", diff --git a/tests/packagedcode/data/plugin/rpm-package-expected.json b/tests/packagedcode/data/plugin/rpm-package-expected.json index b74273cd2e7..8450714739e 100644 --- a/tests/packagedcode/data/plugin/rpm-package-expected.json +++ b/tests/packagedcode/data/plugin/rpm-package-expected.json @@ -95,8 +95,6 @@ "purl": "pkg:rpm/alfandega@2.0-1.7.3" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "alfandega-2.0-1.7.3.noarch.rpm", diff --git a/tests/packagedcode/data/plugin/rubygems-package-expected.json b/tests/packagedcode/data/plugin/rubygems-package-expected.json index b98dab93301..7098e60dee7 100644 --- a/tests/packagedcode/data/plugin/rubygems-package-expected.json +++ b/tests/packagedcode/data/plugin/rubygems-package-expected.json @@ -305,8 +305,6 @@ "purl": "pkg:gem/m2r@2.1.0" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "m2r-2.1.0.gem", diff --git a/tests/packagedcode/data/plugin/sys-package-expected.json b/tests/packagedcode/data/plugin/sys-package-expected.json index 7e4a631bcb4..0eba13295db 100644 --- a/tests/packagedcode/data/plugin/sys-package-expected.json +++ b/tests/packagedcode/data/plugin/sys-package-expected.json @@ -1,8 +1,6 @@ { "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "tbs.sys", diff --git a/tests/packagedcode/data/plugin/tlb-package-expected.json b/tests/packagedcode/data/plugin/tlb-package-expected.json index 9d9b3556ab5..334add154dc 100644 --- a/tests/packagedcode/data/plugin/tlb-package-expected.json +++ b/tests/packagedcode/data/plugin/tlb-package-expected.json @@ -1,8 +1,6 @@ { "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "stdole2.tlb", diff --git a/tests/packagedcode/data/plugin/win_pe-package-expected.json b/tests/packagedcode/data/plugin/win_pe-package-expected.json index a5b84c4aed0..0cca16bcfad 100644 --- a/tests/packagedcode/data/plugin/win_pe-package-expected.json +++ b/tests/packagedcode/data/plugin/win_pe-package-expected.json @@ -1,8 +1,6 @@ { "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "file.exe", diff --git a/tests/packagedcode/data/plugin/winmd-package-expected.json b/tests/packagedcode/data/plugin/winmd-package-expected.json index 2c85c98ace8..b18bbde9a41 100644 --- a/tests/packagedcode/data/plugin/winmd-package-expected.json +++ b/tests/packagedcode/data/plugin/winmd-package-expected.json @@ -1,8 +1,6 @@ { "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "Windows.AI.winmd", diff --git a/tests/packagedcode/data/pypi/site-packages/site-packages-expected.json b/tests/packagedcode/data/pypi/site-packages/site-packages-expected.json index bb6c28cce93..1ebcd601637 100644 --- a/tests/packagedcode/data/pypi/site-packages/site-packages-expected.json +++ b/tests/packagedcode/data/pypi/site-packages/site-packages-expected.json @@ -295,8 +295,6 @@ "purl": "pkg:pypi/click@8.0.4" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "PKG-INFO", diff --git a/tests/packagedcode/data/pypi/solo-metadata/expected.json b/tests/packagedcode/data/pypi/solo-metadata/expected.json index d240b9c0c75..85d99cb687b 100644 --- a/tests/packagedcode/data/pypi/solo-metadata/expected.json +++ b/tests/packagedcode/data/pypi/solo-metadata/expected.json @@ -173,8 +173,6 @@ "purl": "pkg:pypi/scancode-toolkit@31.0.0b1" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "PKG-INFO", diff --git a/tests/packagedcode/data/pypi/solo-setup/expected.json b/tests/packagedcode/data/pypi/solo-setup/expected.json index ade4d2838f8..9ef0afd9662 100644 --- a/tests/packagedcode/data/pypi/solo-setup/expected.json +++ b/tests/packagedcode/data/pypi/solo-setup/expected.json @@ -1,8 +1,6 @@ { "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "setup.py", diff --git a/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-expected.json b/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-expected.json index 22ba8f29a20..94ec8e56a70 100644 --- a/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-expected.json +++ b/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-expected.json @@ -162,8 +162,6 @@ "purl": "pkg:pypi/pip@22.0.4" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "AUTHORS.txt", diff --git a/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-setup-expected.json b/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-setup-expected.json index 6787e93cbff..ed15c3c28e9 100644 --- a/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-setup-expected.json +++ b/tests/packagedcode/data/pypi/source-package/pip-22.0.4-pypi-package-setup-expected.json @@ -1,8 +1,6 @@ { "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "setup.py", diff --git a/tests/packagedcode/data/pypi/unpacked_sdist/prefer-egg-info-pkg-info/celery-expected.json b/tests/packagedcode/data/pypi/unpacked_sdist/prefer-egg-info-pkg-info/celery-expected.json index 3a012f6b587..79fa08b95e3 100644 --- a/tests/packagedcode/data/pypi/unpacked_sdist/prefer-egg-info-pkg-info/celery-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_sdist/prefer-egg-info-pkg-info/celery-expected.json @@ -755,8 +755,6 @@ "purl": "pkg:pypi/celery@5.2.7" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "celery", diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/daglib_wheel_extracted-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/daglib_wheel_extracted-expected.json index 06e5485deb0..c9ea536032a 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/daglib_wheel_extracted-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/daglib_wheel_extracted-expected.json @@ -209,8 +209,6 @@ "purl": "pkg:pypi/daglib@0.6.0" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "daglib_wheel_extracted", diff --git a/tests/packagedcode/data/win_reg/get_installed_packages_docker/expected-results.json b/tests/packagedcode/data/win_reg/get_installed_packages_docker/expected-results.json index f53312f785d..ca0dde268b9 100644 --- a/tests/packagedcode/data/win_reg/get_installed_packages_docker/expected-results.json +++ b/tests/packagedcode/data/win_reg/get_installed_packages_docker/expected-results.json @@ -108,8 +108,6 @@ "purl": "pkg:windows-program/Test2@0.0.1" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "layer", diff --git a/tests/scancode/data/altpath/copyright.expected.json b/tests/scancode/data/altpath/copyright.expected.json index c7de2dd9100..e17dbfb897f 100644 --- a/tests/scancode/data/altpath/copyright.expected.json +++ b/tests/scancode/data/altpath/copyright.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "copyright.c", diff --git a/tests/scancode/data/composer/composer.expected.json b/tests/scancode/data/composer/composer.expected.json index 49359029ec1..bbcb5f1deda 100644 --- a/tests/scancode/data/composer/composer.expected.json +++ b/tests/scancode/data/composer/composer.expected.json @@ -214,8 +214,6 @@ "purl": "pkg:composer/laravel/laravel" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "composer.json", diff --git a/tests/scancode/data/failing/patchelf.expected.json b/tests/scancode/data/failing/patchelf.expected.json index bd5e7340b5f..e106dd6a2f2 100644 --- a/tests/scancode/data/failing/patchelf.expected.json +++ b/tests/scancode/data/failing/patchelf.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "patchelf.pdf", diff --git a/tests/scancode/data/help/help.txt b/tests/scancode/data/help/help.txt index 87895725dbd..1fe52faa0c6 100644 --- a/tests/scancode/data/help/help.txt +++ b/tests/scancode/data/help/help.txt @@ -114,8 +114,6 @@ Options: contain over 90% of source files as children and descendants. Count the number of source files in a directory as a new source_file_counts attribute - --no-licenses-reference Include a reference of all the licenses referenced in - this scan with the data details and full texts. --summary Summarize scans by providing declared origin information and other detected origin info at the codebase attribute level. diff --git a/tests/scancode/data/info/all.expected.json b/tests/scancode/data/info/all.expected.json index 5292e51001b..2ae88b5b493 100644 --- a/tests/scancode/data/info/all.expected.json +++ b/tests/scancode/data/info/all.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "20ee927b-fbe0-31a5-1f33-595dd1b2fd13", + "identifier": "gpl_2_0_or_bsd_new#20ee927b-fbe0-31a5-1f33-595dd1b2fd13", "license_expression": "gpl-2.0 OR bsd-new", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "b17bc21b-d4a2-9db7-7cef-3d352cc60928", + "identifier": "bsd_original_uc#b17bc21b-d4a2-9db7-7cef-3d352cc60928", "license_expression": "bsd-original-uc", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -124,7 +124,7 @@ "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "gpl-2.0 OR bsd-new", "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", @@ -179,7 +179,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -213,7 +213,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -247,7 +247,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -281,7 +281,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -315,7 +315,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -349,7 +349,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -383,7 +383,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -417,7 +417,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -471,8 +471,8 @@ ], "license_clues": [], "percentage_of_license_text": 4.82, - "for_licenses": [ - "b17bc21b-d4a2-9db7-7cef-3d352cc60928" + "for_license_detections": [ + "bsd_original_uc#b17bc21b-d4a2-9db7-7cef-3d352cc60928" ], "copyrights": [ { @@ -525,7 +525,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -579,8 +579,8 @@ ], "license_clues": [], "percentage_of_license_text": 19.01, - "for_licenses": [ - "20ee927b-fbe0-31a5-1f33-595dd1b2fd13" + "for_license_detections": [ + "gpl_2_0_or_bsd_new#20ee927b-fbe0-31a5-1f33-595dd1b2fd13" ], "copyrights": [ { diff --git a/tests/scancode/data/info/all.rooted.expected.json b/tests/scancode/data/info/all.rooted.expected.json index 87b3bbaf6e9..00ce81fbe6b 100644 --- a/tests/scancode/data/info/all.rooted.expected.json +++ b/tests/scancode/data/info/all.rooted.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "20ee927b-fbe0-31a5-1f33-595dd1b2fd13", + "identifier": "gpl_2_0_or_bsd_new#20ee927b-fbe0-31a5-1f33-595dd1b2fd13", "license_expression": "gpl-2.0 OR bsd-new", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "b17bc21b-d4a2-9db7-7cef-3d352cc60928", + "identifier": "bsd_original_uc#b17bc21b-d4a2-9db7-7cef-3d352cc60928", "license_expression": "bsd-original-uc", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -124,7 +124,7 @@ "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "gpl-2.0 OR bsd-new", "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", @@ -162,7 +162,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -178,7 +178,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -194,7 +194,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -210,7 +210,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -226,7 +226,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -242,7 +242,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -258,7 +258,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -274,7 +274,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -290,7 +290,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -326,8 +326,8 @@ ], "license_clues": [], "percentage_of_license_text": 4.82, - "for_licenses": [ - "b17bc21b-d4a2-9db7-7cef-3d352cc60928" + "for_license_detections": [ + "bsd_original_uc#b17bc21b-d4a2-9db7-7cef-3d352cc60928" ], "copyrights": [ { @@ -374,7 +374,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -416,8 +416,8 @@ ], "license_clues": [], "percentage_of_license_text": 19.01, - "for_licenses": [ - "20ee927b-fbe0-31a5-1f33-595dd1b2fd13" + "for_license_detections": [ + "gpl_2_0_or_bsd_new#20ee927b-fbe0-31a5-1f33-595dd1b2fd13" ], "copyrights": [ { diff --git a/tests/scancode/data/info/basic.expected.json b/tests/scancode/data/info/basic.expected.json index 0d3f06da5dc..561f173fb8d 100644 --- a/tests/scancode/data/info/basic.expected.json +++ b/tests/scancode/data/info/basic.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "basic", diff --git a/tests/scancode/data/info/basic.rooted.expected.json b/tests/scancode/data/info/basic.rooted.expected.json index b446252e7e1..2054f01bc3f 100644 --- a/tests/scancode/data/info/basic.rooted.expected.json +++ b/tests/scancode/data/info/basic.rooted.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "basic.tgz", diff --git a/tests/scancode/data/info/email_url_info.expected.json b/tests/scancode/data/info/email_url_info.expected.json index 98ba36a8114..b9e741dcd3d 100644 --- a/tests/scancode/data/info/email_url_info.expected.json +++ b/tests/scancode/data/info/email_url_info.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "basic", diff --git a/tests/scancode/data/license_text/test.expected b/tests/scancode/data/license_text/test.expected index 7e9eb62e495..0b94512a348 100644 --- a/tests/scancode/data/license_text/test.expected +++ b/tests/scancode/data/license_text/test.expected @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "8345fa95-5c7a-d7c4-5e2e-b99cb05b976f", + "identifier": "lgpl_2_1#8345fa95-5c7a-d7c4-5e2e-b99cb05b976f", "license_expression": "lgpl-2.1", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -57,7 +57,7 @@ "text": "GNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "lgpl-2.1", "rule_identifier": "lgpl-2.1_38.RULE", @@ -68,8 +68,7 @@ "is_license_tag": true, "is_license_intro": false, "rule_length": 4, - "rule_relevance": 100, - "matched_text": "foo bar this that license: LGPL-2.1 bar" + "rule_relevance": 100 } ], "files": [ @@ -94,15 +93,16 @@ "matcher": "2-aho", "license_expression": "lgpl-2.1", "rule_identifier": "lgpl-2.1_38.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_38.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_38.RULE", + "matched_text": "foo bar this that license: LGPL-2.1 bar" } ] } ], "license_clues": [], "percentage_of_license_text": 44.44, - "for_licenses": [ - "8345fa95-5c7a-d7c4-5e2e-b99cb05b976f" + "for_license_detections": [ + "lgpl_2_1#8345fa95-5c7a-d7c4-5e2e-b99cb05b976f" ], "scan_errors": [] } diff --git a/tests/scancode/data/merge_scans/expected.json b/tests/scancode/data/merge_scans/expected.json index e6f617027cf..58f295566ea 100644 --- a/tests/scancode/data/merge_scans/expected.json +++ b/tests/scancode/data/merge_scans/expected.json @@ -1,6 +1,4 @@ { - "license_references": null, - "rule_references": null, "files": [ { "path": "virtual_root", diff --git a/tests/scancode/data/non_utf8/expected-linux.json b/tests/scancode/data/non_utf8/expected-linux.json index 3ec7901368a..10080e8320f 100644 --- a/tests/scancode/data/non_utf8/expected-linux.json +++ b/tests/scancode/data/non_utf8/expected-linux.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "non_unicode", diff --git a/tests/scancode/data/plugin_mark_source/with_info.expected.json b/tests/scancode/data/plugin_mark_source/with_info.expected.json index 61e489366c5..761909dd9a4 100644 --- a/tests/scancode/data/plugin_mark_source/with_info.expected.json +++ b/tests/scancode/data/plugin_mark_source/with_info.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "JGroups.tgz", diff --git a/tests/scancode/data/plugin_only_findings/basic.expected.json b/tests/scancode/data/plugin_only_findings/basic.expected.json index 92172cb4b3b..92f93ce3cc8 100644 --- a/tests/scancode/data/plugin_only_findings/basic.expected.json +++ b/tests/scancode/data/plugin_only_findings/basic.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "20ee927b-fbe0-31a5-1f33-595dd1b2fd13", + "identifier": "gpl_2_0_or_bsd_new#20ee927b-fbe0-31a5-1f33-595dd1b2fd13", "license_expression": "gpl-2.0 OR bsd-new", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "b17bc21b-d4a2-9db7-7cef-3d352cc60928", + "identifier": "bsd_original_uc#b17bc21b-d4a2-9db7-7cef-3d352cc60928", "license_expression": "bsd-original-uc", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,8 +43,6 @@ ] } ], - "dependencies": [], - "packages": [], "license_references": [ { "key": "bsd-new", @@ -126,7 +124,7 @@ "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "gpl-2.0 OR bsd-new", "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", @@ -155,6 +153,8 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [], "files": [ { "path": "basic.tgz/basic/dir2/subdir/bcopy.s", @@ -200,8 +200,8 @@ ], "license_clues": [], "percentage_of_license_text": 4.82, - "for_licenses": [ - "b17bc21b-d4a2-9db7-7cef-3d352cc60928" + "for_license_detections": [ + "bsd_original_uc#b17bc21b-d4a2-9db7-7cef-3d352cc60928" ], "copyrights": [ { @@ -275,8 +275,8 @@ ], "license_clues": [], "percentage_of_license_text": 19.01, - "for_licenses": [ - "20ee927b-fbe0-31a5-1f33-595dd1b2fd13" + "for_license_detections": [ + "gpl_2_0_or_bsd_new#20ee927b-fbe0-31a5-1f33-595dd1b2fd13" ], "copyrights": [ { diff --git a/tests/scancode/data/plugin_only_findings/errors.expected.json b/tests/scancode/data/plugin_only_findings/errors.expected.json index 4c309b8b8f1..1652a01988c 100644 --- a/tests/scancode/data/plugin_only_findings/errors.expected.json +++ b/tests/scancode/data/plugin_only_findings/errors.expected.json @@ -1,6 +1,4 @@ { - "license_references": null, - "rule_references": null, "files": [ { "path": "errors/many_copyrights.c", diff --git a/tests/scancode/data/plugin_only_findings/info.expected.json b/tests/scancode/data/plugin_only_findings/info.expected.json index 29f55f9d493..6941fa698db 100644 --- a/tests/scancode/data/plugin_only_findings/info.expected.json +++ b/tests/scancode/data/plugin_only_findings/info.expected.json @@ -1,5 +1,3 @@ { - "license_references": [], - "rule_references": [], "files": [] } \ No newline at end of file diff --git a/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json b/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json index 8a231ab4dc3..a65599caef9 100644 --- a/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json +++ b/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json @@ -103,8 +103,6 @@ "purl": "pkg:rpm/fping@2.4-0.b2.rhfc1.dag" } ], - "license_references": [], - "rule_references": [], "files": [ { "path": "fping-2.4-0.b2.rhfc1.dag.i386.rpm", diff --git a/tests/scancode/data/single/iproute.expected.json b/tests/scancode/data/single/iproute.expected.json index c30978bd699..ce28451c764 100644 --- a/tests/scancode/data/single/iproute.expected.json +++ b/tests/scancode/data/single/iproute.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "iproute.c", diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json index 8a38605a41f..b890e1ebacc 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json @@ -1,9 +1,9 @@ { - "licenses": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "unicodepath", @@ -29,7 +29,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -66,7 +66,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -103,7 +103,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -140,7 +140,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet index 8a38605a41f..b890e1ebacc 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--quiet @@ -1,9 +1,9 @@ { - "licenses": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "unicodepath", @@ -29,7 +29,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -66,7 +66,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -103,7 +103,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -140,7 +140,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose index 8a38605a41f..b890e1ebacc 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json--verbose @@ -1,9 +1,9 @@ { - "licenses": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "unicodepath", @@ -29,7 +29,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -66,7 +66,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -103,7 +103,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -140,7 +140,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-q b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-q index 8a38605a41f..b890e1ebacc 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-q +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-q @@ -1,9 +1,9 @@ { - "licenses": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "unicodepath", @@ -29,7 +29,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -66,7 +66,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -103,7 +103,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -140,7 +140,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-v b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-v index 8a38605a41f..b890e1ebacc 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-v +++ b/tests/scancode/data/unicodepath/unicodepath.expected-linux.json-v @@ -1,9 +1,9 @@ { - "licenses": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "dependencies": [], "packages": [], - "license_references": [], - "rule_references": [], "files": [ { "path": "unicodepath", @@ -29,7 +29,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -66,7 +66,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -103,7 +103,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -140,7 +140,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/scancode/data/virtual_idempotent/codebase.json b/tests/scancode/data/virtual_idempotent/codebase.json index 82fa2942867..444e7243bfa 100644 --- a/tests/scancode/data/virtual_idempotent/codebase.json +++ b/tests/scancode/data/virtual_idempotent/codebase.json @@ -45,7 +45,7 @@ { "identifier": "eed9b405-580d-3b4c-28fd-66acb8595508", "license_expression": "jboss-eula", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -66,7 +66,7 @@ { "identifier": "f6dd3eec-ee92-36cb-d069-447bea303c02", "license_expression": "lgpl-2.1", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -87,7 +87,7 @@ { "identifier": "9efb9769-bd5d-5083-31e8-3616b2fb45b1", "license_expression": "apache-1.1", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -108,7 +108,7 @@ { "identifier": "38097a02-87ed-9e8c-2dcb-78842e1e42c0", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -129,7 +129,7 @@ { "identifier": "1f6881d4-dcc1-038b-f9a5-8c8c48fc4f45", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -150,7 +150,7 @@ { "identifier": "e94b4a5e-6c2f-2338-2bcb-9775b84aaf9c", "license_expression": "cpl-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -171,7 +171,7 @@ { "identifier": "512a55a0-6eb0-f619-44db-02f4c4f0765d", "license_expression": "lgpl-2.1-plus", - "occurance_count": 3, + "occurrence_count": 3, "detection_log": [ "not-combined" ], @@ -192,7 +192,7 @@ { "identifier": "5a42c371-1b5b-60b5-5e09-9d443b5f0947", "license_expression": "cc-by-2.5", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -213,7 +213,7 @@ { "identifier": "f7b053b0-5616-3e15-9100-a1a22231c3d8", "license_expression": "public-domain", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "possible-false-positive", "not-license-clues-as-more-detections-present" @@ -235,7 +235,7 @@ { "identifier": "0a390f49-b04d-c926-5b31-35877b9c53a7", "license_expression": "public-domain-disclaimer", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -256,7 +256,7 @@ { "identifier": "1d1a3779-8597-ca5f-0160-cc3bdecf2879", "license_expression": "zlib", - "occurance_count": 7, + "occurrence_count": 7, "detection_log": [ "not-combined" ], @@ -277,7 +277,7 @@ { "identifier": "1d248a8d-7cf1-15dd-0f7c-5c63d5878bf9", "license_expression": "zlib", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -298,7 +298,7 @@ { "identifier": "86cb4577-6510-3da7-2209-45fe39d3b847", "license_expression": "zlib", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -319,7 +319,7 @@ { "identifier": "7982e625-db6d-b61d-9b0d-f82636bce009", "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -340,7 +340,7 @@ { "identifier": "f42704ae-d553-edcc-f713-502abdad26c9", "license_expression": "boost-1.0", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -361,7 +361,7 @@ { "identifier": "fb14538c-aeb9-6b1a-3380-3216dcf60509", "license_expression": "boost-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -382,7 +382,7 @@ { "identifier": "9cb57cc5-0b01-991b-a877-5827395b9b1b", "license_expression": "unknown-license-reference", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -403,7 +403,7 @@ { "identifier": "fb544817-ac13-5bb2-e219-0e3bba38b9bf", "license_expression": "zlib", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -424,7 +424,7 @@ { "identifier": "ca895ddd-4eca-8b9b-15bc-f972a6d2bde0", "license_expression": "mit-old-style", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -1187,7 +1187,7 @@ "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "jboss-eula", "rule_identifier": "jboss-eula.LICENSE", @@ -1509,7 +1509,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -1821,7 +1821,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -1908,7 +1908,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -1984,7 +1984,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -2055,7 +2055,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -2131,7 +2131,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -2359,7 +2359,7 @@ ], "license_clues": [], "percentage_of_license_text": 99.0, - "for_licenses": [ + "for_license_detections": [ "eed9b405-580d-3b4c-28fd-66acb8595508" ], "copyrights": [ @@ -2495,7 +2495,7 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ + "for_license_detections": [ "f6dd3eec-ee92-36cb-d069-447bea303c02" ], "copyrights": [ @@ -2599,7 +2599,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -2742,7 +2742,7 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ + "for_license_detections": [ "9efb9769-bd5d-5083-31e8-3616b2fb45b1" ], "copyrights": [ @@ -2870,7 +2870,7 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ + "for_license_detections": [ "38097a02-87ed-9e8c-2dcb-78842e1e42c0" ], "copyrights": [], @@ -2979,7 +2979,7 @@ ], "license_clues": [], "percentage_of_license_text": 84.74, - "for_licenses": [ + "for_license_detections": [ "1f6881d4-dcc1-038b-f9a5-8c8c48fc4f45" ], "copyrights": [ @@ -3095,7 +3095,7 @@ ], "license_clues": [], "percentage_of_license_text": 99.94, - "for_licenses": [ + "for_license_detections": [ "e94b4a5e-6c2f-2338-2bcb-9775b84aaf9c" ], "copyrights": [], @@ -3193,7 +3193,7 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ + "for_license_detections": [ "f6dd3eec-ee92-36cb-d069-447bea303c02" ], "copyrights": [ @@ -3297,7 +3297,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -3457,7 +3457,7 @@ ], "license_clues": [], "percentage_of_license_text": 23.41, - "for_licenses": [ + "for_license_detections": [ "512a55a0-6eb0-f619-44db-02f4c4f0765d" ], "copyrights": [ @@ -3585,7 +3585,7 @@ ], "license_clues": [], "percentage_of_license_text": 12.96, - "for_licenses": [ + "for_license_detections": [ "5a42c371-1b5b-60b5-5e09-9d443b5f0947" ], "copyrights": [ @@ -3712,7 +3712,7 @@ ], "license_clues": [], "percentage_of_license_text": 48.83, - "for_licenses": [ + "for_license_detections": [ "512a55a0-6eb0-f619-44db-02f4c4f0765d" ], "copyrights": [ @@ -3814,7 +3814,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -3896,7 +3896,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -4004,7 +4004,7 @@ ], "license_clues": [], "percentage_of_license_text": 17.03, - "for_licenses": [ + "for_license_detections": [ "512a55a0-6eb0-f619-44db-02f4c4f0765d" ], "copyrights": [ @@ -4140,7 +4140,7 @@ ], "license_clues": [], "percentage_of_license_text": 0.27, - "for_licenses": [ + "for_license_detections": [ "f7b053b0-5616-3e15-9100-a1a22231c3d8", "0a390f49-b04d-c926-5b31-35877b9c53a7" ], @@ -4260,7 +4260,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -4467,7 +4467,7 @@ ], "license_clues": [], "percentage_of_license_text": 2.06, - "for_licenses": [ + "for_license_detections": [ "1d1a3779-8597-ca5f-0160-cc3bdecf2879" ], "copyrights": [ @@ -4588,7 +4588,7 @@ ], "license_clues": [], "percentage_of_license_text": 0.13, - "for_licenses": [ + "for_license_detections": [ "1d1a3779-8597-ca5f-0160-cc3bdecf2879" ], "copyrights": [ @@ -4776,7 +4776,7 @@ ], "license_clues": [], "percentage_of_license_text": 2.14, - "for_licenses": [ + "for_license_detections": [ "1d1a3779-8597-ca5f-0160-cc3bdecf2879", "1d248a8d-7cf1-15dd-0f7c-5c63d5878bf9" ], @@ -4887,7 +4887,7 @@ ], "license_clues": [], "percentage_of_license_text": 1.06, - "for_licenses": [ + "for_license_detections": [ "86cb4577-6510-3da7-2209-45fe39d3b847" ], "copyrights": [ @@ -5025,7 +5025,7 @@ ], "license_clues": [], "percentage_of_license_text": 1.19, - "for_licenses": [ + "for_license_detections": [ "1d1a3779-8597-ca5f-0160-cc3bdecf2879" ], "copyrights": [ @@ -5146,7 +5146,7 @@ ], "license_clues": [], "percentage_of_license_text": 1.25, - "for_licenses": [ + "for_license_detections": [ "1d1a3779-8597-ca5f-0160-cc3bdecf2879" ], "copyrights": [ @@ -5236,7 +5236,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -5331,7 +5331,7 @@ ], "license_clues": [], "percentage_of_license_text": 10.46, - "for_licenses": [ + "for_license_detections": [ "7982e625-db6d-b61d-9b0d-f82636bce009" ], "copyrights": [ @@ -5421,7 +5421,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -5517,7 +5517,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2004 by Henrik Ravn", @@ -5636,7 +5636,7 @@ ], "license_clues": [], "percentage_of_license_text": 3.85, - "for_licenses": [ + "for_license_detections": [ "f42704ae-d553-edcc-f713-502abdad26c9" ], "copyrights": [ @@ -5752,7 +5752,7 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ + "for_license_detections": [ "fb14538c-aeb9-6b1a-3380-3216dcf60509" ], "copyrights": [], @@ -5919,7 +5919,7 @@ ], "license_clues": [], "percentage_of_license_text": 11.18, - "for_licenses": [ + "for_license_detections": [ "f42704ae-d553-edcc-f713-502abdad26c9", "9cb57cc5-0b01-991b-a877-5827395b9b1b" ], @@ -6016,7 +6016,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -6116,7 +6116,7 @@ ], "license_clues": [], "percentage_of_license_text": 5.88, - "for_licenses": [ + "for_license_detections": [ "fb544817-ac13-5bb2-e219-0e3bba38b9bf" ], "copyrights": [ @@ -6243,7 +6243,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -6343,7 +6343,7 @@ ], "license_clues": [], "percentage_of_license_text": 0.53, - "for_licenses": [ + "for_license_detections": [ "1d1a3779-8597-ca5f-0160-cc3bdecf2879" ], "copyrights": [ @@ -6453,7 +6453,7 @@ ], "license_clues": [], "percentage_of_license_text": 5.74, - "for_licenses": [ + "for_license_detections": [ "1d1a3779-8597-ca5f-0160-cc3bdecf2879" ], "copyrights": [ @@ -6543,7 +6543,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -6655,7 +6655,7 @@ ], "license_clues": [], "percentage_of_license_text": 5.81, - "for_licenses": [ + "for_license_detections": [ "ca895ddd-4eca-8b9b-15bc-f972a6d2bde0" ], "copyrights": [ @@ -6751,7 +6751,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/scancode/data/weird_file_name/expected-posix.json b/tests/scancode/data/weird_file_name/expected-posix.json index 1afa002e4e2..97cc6909014 100644 --- a/tests/scancode/data/weird_file_name/expected-posix.json +++ b/tests/scancode/data/weird_file_name/expected-posix.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "some 'file", diff --git a/tests/summarycode/data/classify/cli.expected.json b/tests/summarycode/data/classify/cli.expected.json index d7cda531cad..e27875aeb77 100644 --- a/tests/summarycode/data/classify/cli.expected.json +++ b/tests/summarycode/data/classify/cli.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "cli", diff --git a/tests/summarycode/data/facet/cli.expected.json b/tests/summarycode/data/facet/cli.expected.json index 9737753813b..57502703d28 100644 --- a/tests/summarycode/data/facet/cli.expected.json +++ b/tests/summarycode/data/facet/cli.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "cli", diff --git a/tests/summarycode/data/generated/cli.expected.json b/tests/summarycode/data/generated/cli.expected.json index 5b415d9772c..1f19fee0695 100644 --- a/tests/summarycode/data/generated/cli.expected.json +++ b/tests/summarycode/data/generated/cli.expected.json @@ -1,6 +1,4 @@ { - "license_references": [], - "rule_references": [], "files": [ { "path": "simple", diff --git a/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json b/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json index 91136cfab1e..9b887bdeada 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "0c954d0c-44a8-826f-8a0e-c82112725467", + "identifier": "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467", "license_expression": "apache-2.0", - "occurance_count": 4, + "occurrence_count": 4, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "f6292b57-ba6c-0a53-2660-505e6745bffa", + "identifier": "lgpl_2_0#f6292b57-ba6c-0a53-2660-505e6745bffa", "license_expression": "lgpl-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "c6739b12-3643-1e85-cc14-1864411bf945", + "identifier": "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -64,9 +64,9 @@ ] }, { - "identifier": "b6b96096-114f-387a-cbbd-855af62441b0", + "identifier": "gpl_2_0#b6b96096-114f-387a-cbbd-855af62441b0", "license_expression": "gpl-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -85,186 +85,6 @@ ] } ], - "dependencies": [], - "packages": [ - { - "type": "buck", - "namespace": null, - "name": "demo", - "version": null, - "qualifiers": {}, - "subpath": null, - "primary_language": null, - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:buck/demo?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "component-package-build/build/BUCK" - ], - "datasource_ids": [ - "buck_file" - ], - "purl": "pkg:buck/demo" - }, - { - "type": "npm", - "namespace": null, - "name": "test-package", - "version": "0.0.1", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "apache-2.0", - "declared_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/test-package", - "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", - "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "component-package-build/package/package.json" - ], - "datasource_ids": [ - "npm_package_json" - ], - "purl": "pkg:npm/test-package@0.0.1" - } - ], - "consolidated_components": [ - { - "type": "holders", - "identifier": "apache_foundation_software_1", - "consolidated_license_expression": "apache-2.0", - "consolidated_holders": [ - "The Apache Software Foundation" - ], - "consolidated_copyright": "Copyright (c) The Apache Software Foundation", - "core_license_expression": "apache-2.0", - "core_holders": [ - "The Apache Software Foundation" - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 3 - }, - { - "type": "holders", - "identifier": "apache_software_1", - "consolidated_license_expression": "apache-2.0", - "consolidated_holders": [ - "The Apache Software" - ], - "consolidated_copyright": "Copyright (c) The Apache Software", - "core_license_expression": "apache-2.0", - "core_holders": [ - "The Apache Software" - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 1 - }, - { - "type": "holders", - "identifier": "corp_ibm_1", - "consolidated_license_expression": "gpl-2.0", - "consolidated_holders": [ - "IBM Corp." - ], - "consolidated_copyright": "Copyright (c) IBM Corp.", - "core_license_expression": "gpl-2.0", - "core_holders": [ - "IBM Corp." - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 1 - }, - { - "type": "holders", - "identifier": "inc_nexb_1", - "consolidated_license_expression": "lgpl-2.0", - "consolidated_holders": [ - "nexB, Inc." - ], - "consolidated_copyright": "Copyright (c) nexB, Inc.", - "core_license_expression": "lgpl-2.0", - "core_holders": [ - "nexB, Inc." - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 1 - } - ], - "consolidated_packages": [], "license_references": [ { "key": "apache-2.0", @@ -356,20 +176,7 @@ "text": "GNU LIBRARY GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1991 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the library GPL. It is\nnumbered 2 because it goes with version 2 of the ordinary GPL.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Library General Public License, applies to some\nspecially designated Free Software Foundation software, and to any\nother libraries whose authors decide to use it. You can use it for\nyour libraries, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if\nyou distribute copies of the library, or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link a program with the library, you must provide\ncomplete object files to the recipients so that they can relink them\nwith the library, after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nOur method of protecting your rights has two steps: (1) copyright\nthe library, and (2) offer you this license which gives you legal\npermission to copy, distribute and/or modify the library.\n\nAlso, for each distributor's protection, we want to make certain\nthat everyone understands that there is no warranty for this free\nlibrary. If the library is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original\nversion, so that any problems introduced by others will not reflect on\nthe original authors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that companies distributing free\nsoftware will individually obtain patent licenses, thus in effect\ntransforming the program into proprietary software. To prevent this,\nwe have made it clear that any patent must be licensed for everyone's\nfree use or not licensed at all.\n\nMost GNU software, including some libraries, is covered by the ordinary\nGNU General Public License, which was designed for utility programs. This\nlicense, the GNU Library General Public License, applies to certain\ndesignated libraries. This license is quite different from the ordinary\none; be sure to read it in full, and don't assume that anything in it is\nthe same as in the ordinary license.\n\nThe reason we have a separate public license for some libraries is that\nthey blur the distinction we usually make between modifying or adding to a\nprogram and simply using it. Linking a program with a library, without\nchanging the library, is in some sense simply using the library, and is\nanalogous to running a utility program or application program. However, in\na textual and legal sense, the linked executable is a combined work, a\nderivative of the original library, and the ordinary General Public License\ntreats it as such.\n\nBecause of this blurred distinction, using the ordinary General\nPublic License for libraries did not effectively promote software\nsharing, because most developers did not use the libraries. We\nconcluded that weaker conditions might promote sharing better.\n\nHowever, unrestricted linking of non-free programs would deprive the\nusers of those programs of all benefit from the free status of the\nlibraries themselves. This Library General Public License is intended to\npermit developers of non-free programs to use free libraries, while\npreserving your freedom as a user of such programs to change the free\nlibraries that are incorporated in them. (We have not seen how to achieve\nthis as regards changes in header files, but we have achieved it as regards\nchanges in the actual functions of the Library.) The hope is that this\nwill lead to faster development of free libraries.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, while the latter only\nworks together with the library.\n\nNote that it is possible for a library to be covered by the ordinary\nGeneral Public License rather than by this special one.\n\nGNU LIBRARY GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library which\ncontains a notice placed by the copyright holder or other authorized\nparty saying it may be distributed under the terms of this Library\nGeneral Public License (also called \"this License\"). Each licensee is\naddressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n6. As an exception to the Sections above, you may also compile or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nc) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\nd) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe source code distributed need not include anything that is normally\ndistributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Library General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Library General Public\nLicense as published by the Free Software Foundation; either\nversion 2 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLibrary General Public License for more details.\n\nYou should have received a copy of the GNU Library General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" } ], - "rule_references": [ - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0" - }, + "license_rule_references": [ { "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", @@ -428,8 +235,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0" + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -468,6 +274,187 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [ + { + "type": "buck", + "namespace": null, + "name": "demo", + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:buck/demo?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "component-package-build/build/BUCK" + ], + "datasource_ids": [ + "buck_file" + ], + "purl": "pkg:buck/demo" + }, + { + "type": "npm", + "namespace": null, + "name": "test-package", + "version": "0.0.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['apache-2.0']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/test-package", + "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", + "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "component-package-build/package/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/test-package@0.0.1" + } + ], + "consolidated_components": [ + { + "type": "holders", + "identifier": "apache_foundation_software_1", + "consolidated_license_expression": "apache-2.0", + "consolidated_holders": [ + "The Apache Software Foundation" + ], + "consolidated_copyright": "Copyright (c) The Apache Software Foundation", + "core_license_expression": "apache-2.0", + "core_holders": [ + "The Apache Software Foundation" + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 3 + }, + { + "type": "holders", + "identifier": "apache_software_1", + "consolidated_license_expression": "apache-2.0", + "consolidated_holders": [ + "The Apache Software" + ], + "consolidated_copyright": "Copyright (c) The Apache Software", + "core_license_expression": "apache-2.0", + "core_holders": [ + "The Apache Software" + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 1 + }, + { + "type": "holders", + "identifier": "corp_ibm_1", + "consolidated_license_expression": "gpl-2.0", + "consolidated_holders": [ + "IBM Corp." + ], + "consolidated_copyright": "Copyright (c) IBM Corp.", + "core_license_expression": "gpl-2.0", + "core_holders": [ + "IBM Corp." + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 1 + }, + { + "type": "holders", + "identifier": "inc_nexb_1", + "consolidated_license_expression": "lgpl-2.0", + "consolidated_holders": [ + "nexB, Inc." + ], + "consolidated_copyright": "Copyright (c) nexB, Inc.", + "core_license_expression": "lgpl-2.0", + "core_holders": [ + "nexB, Inc." + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 1 + } + ], + "consolidated_packages": [], "files": [ { "path": "component-package-build", @@ -493,7 +480,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -529,7 +516,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -565,7 +552,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -645,7 +632,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -704,8 +691,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -776,8 +763,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -848,8 +835,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -920,8 +907,8 @@ ], "license_clues": [], "percentage_of_license_text": 42.86, - "for_licenses": [ - "f6292b57-ba6c-0a53-2660-505e6745bffa" + "for_license_detections": [ + "lgpl_2_0#f6292b57-ba6c-0a53-2660-505e6745bffa" ], "copyrights": [ { @@ -972,7 +959,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -1031,8 +1018,8 @@ ], "license_clues": [], "percentage_of_license_text": 22.22, - "for_licenses": [ - "c6739b12-3643-1e85-cc14-1864411bf945" + "for_license_detections": [ + "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945" ], "copyrights": [ { @@ -1091,7 +1078,8 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" } ] } @@ -1167,8 +1155,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -1239,8 +1227,8 @@ ], "license_clues": [], "percentage_of_license_text": 64.29, - "for_licenses": [ - "b6b96096-114f-387a-cbbd-855af62441b0" + "for_license_detections": [ + "gpl_2_0#b6b96096-114f-387a-cbbd-855af62441b0" ], "copyrights": [ { diff --git a/tests/summarycode/data/plugin_consolidate/component-package-expected.json b/tests/summarycode/data/plugin_consolidate/component-package-expected.json index 07c1e5309fa..fb0e3b88388 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "0c954d0c-44a8-826f-8a0e-c82112725467", + "identifier": "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467", "license_expression": "apache-2.0", - "occurance_count": 4, + "occurrence_count": 4, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "f6292b57-ba6c-0a53-2660-505e6745bffa", + "identifier": "lgpl_2_0#f6292b57-ba6c-0a53-2660-505e6745bffa", "license_expression": "lgpl-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "c6739b12-3643-1e85-cc14-1864411bf945", + "identifier": "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -64,9 +64,9 @@ ] }, { - "identifier": "b6b96096-114f-387a-cbbd-855af62441b0", + "identifier": "gpl_2_0#b6b96096-114f-387a-cbbd-855af62441b0", "license_expression": "gpl-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -85,141 +85,6 @@ ] } ], - "dependencies": [], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "test-package", - "version": "0.0.1", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "apache-2.0", - "declared_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/test-package", - "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", - "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "component-package/package/package.json" - ], - "datasource_ids": [ - "npm_package_json" - ], - "purl": "pkg:npm/test-package@0.0.1" - } - ], - "consolidated_components": [ - { - "type": "holders", - "identifier": "apache_foundation_software_1", - "consolidated_license_expression": "apache-2.0", - "consolidated_holders": [ - "The Apache Software Foundation" - ], - "consolidated_copyright": "Copyright (c) The Apache Software Foundation", - "core_license_expression": "apache-2.0", - "core_holders": [ - "The Apache Software Foundation" - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 3 - }, - { - "type": "holders", - "identifier": "apache_software_1", - "consolidated_license_expression": "apache-2.0", - "consolidated_holders": [ - "The Apache Software" - ], - "consolidated_copyright": "Copyright (c) The Apache Software", - "core_license_expression": "apache-2.0", - "core_holders": [ - "The Apache Software" - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 1 - }, - { - "type": "holders", - "identifier": "corp_ibm_1", - "consolidated_license_expression": "gpl-2.0", - "consolidated_holders": [ - "IBM Corp." - ], - "consolidated_copyright": "Copyright (c) IBM Corp.", - "core_license_expression": "gpl-2.0", - "core_holders": [ - "IBM Corp." - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 1 - }, - { - "type": "holders", - "identifier": "inc_nexb_1", - "consolidated_license_expression": "lgpl-2.0", - "consolidated_holders": [ - "nexB, Inc." - ], - "consolidated_copyright": "Copyright (c) nexB, Inc.", - "core_license_expression": "lgpl-2.0", - "core_holders": [ - "nexB, Inc." - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 1 - } - ], - "consolidated_packages": [], "license_references": [ { "key": "apache-2.0", @@ -311,20 +176,7 @@ "text": "GNU LIBRARY GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1991 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the library GPL. It is\nnumbered 2 because it goes with version 2 of the ordinary GPL.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Library General Public License, applies to some\nspecially designated Free Software Foundation software, and to any\nother libraries whose authors decide to use it. You can use it for\nyour libraries, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if\nyou distribute copies of the library, or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link a program with the library, you must provide\ncomplete object files to the recipients so that they can relink them\nwith the library, after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nOur method of protecting your rights has two steps: (1) copyright\nthe library, and (2) offer you this license which gives you legal\npermission to copy, distribute and/or modify the library.\n\nAlso, for each distributor's protection, we want to make certain\nthat everyone understands that there is no warranty for this free\nlibrary. If the library is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original\nversion, so that any problems introduced by others will not reflect on\nthe original authors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that companies distributing free\nsoftware will individually obtain patent licenses, thus in effect\ntransforming the program into proprietary software. To prevent this,\nwe have made it clear that any patent must be licensed for everyone's\nfree use or not licensed at all.\n\nMost GNU software, including some libraries, is covered by the ordinary\nGNU General Public License, which was designed for utility programs. This\nlicense, the GNU Library General Public License, applies to certain\ndesignated libraries. This license is quite different from the ordinary\none; be sure to read it in full, and don't assume that anything in it is\nthe same as in the ordinary license.\n\nThe reason we have a separate public license for some libraries is that\nthey blur the distinction we usually make between modifying or adding to a\nprogram and simply using it. Linking a program with a library, without\nchanging the library, is in some sense simply using the library, and is\nanalogous to running a utility program or application program. However, in\na textual and legal sense, the linked executable is a combined work, a\nderivative of the original library, and the ordinary General Public License\ntreats it as such.\n\nBecause of this blurred distinction, using the ordinary General\nPublic License for libraries did not effectively promote software\nsharing, because most developers did not use the libraries. We\nconcluded that weaker conditions might promote sharing better.\n\nHowever, unrestricted linking of non-free programs would deprive the\nusers of those programs of all benefit from the free status of the\nlibraries themselves. This Library General Public License is intended to\npermit developers of non-free programs to use free libraries, while\npreserving your freedom as a user of such programs to change the free\nlibraries that are incorporated in them. (We have not seen how to achieve\nthis as regards changes in header files, but we have achieved it as regards\nchanges in the actual functions of the Library.) The hope is that this\nwill lead to faster development of free libraries.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, while the latter only\nworks together with the library.\n\nNote that it is possible for a library to be covered by the ordinary\nGeneral Public License rather than by this special one.\n\nGNU LIBRARY GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library which\ncontains a notice placed by the copyright holder or other authorized\nparty saying it may be distributed under the terms of this Library\nGeneral Public License (also called \"this License\"). Each licensee is\naddressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n6. As an exception to the Sections above, you may also compile or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nc) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\nd) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe source code distributed need not include anything that is normally\ndistributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Library General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Library General Public\nLicense as published by the Free Software Foundation; either\nversion 2 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLibrary General Public License for more details.\n\nYou should have received a copy of the GNU Library General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" } ], - "rule_references": [ - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0" - }, + "license_rule_references": [ { "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", @@ -383,8 +235,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0" + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -423,6 +274,142 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "test-package", + "version": "0.0.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['apache-2.0']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/test-package", + "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", + "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "component-package/package/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/test-package@0.0.1" + } + ], + "consolidated_components": [ + { + "type": "holders", + "identifier": "apache_foundation_software_1", + "consolidated_license_expression": "apache-2.0", + "consolidated_holders": [ + "The Apache Software Foundation" + ], + "consolidated_copyright": "Copyright (c) The Apache Software Foundation", + "core_license_expression": "apache-2.0", + "core_holders": [ + "The Apache Software Foundation" + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 3 + }, + { + "type": "holders", + "identifier": "apache_software_1", + "consolidated_license_expression": "apache-2.0", + "consolidated_holders": [ + "The Apache Software" + ], + "consolidated_copyright": "Copyright (c) The Apache Software", + "core_license_expression": "apache-2.0", + "core_holders": [ + "The Apache Software" + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 1 + }, + { + "type": "holders", + "identifier": "corp_ibm_1", + "consolidated_license_expression": "gpl-2.0", + "consolidated_holders": [ + "IBM Corp." + ], + "consolidated_copyright": "Copyright (c) IBM Corp.", + "core_license_expression": "gpl-2.0", + "core_holders": [ + "IBM Corp." + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 1 + }, + { + "type": "holders", + "identifier": "inc_nexb_1", + "consolidated_license_expression": "lgpl-2.0", + "consolidated_holders": [ + "nexB, Inc." + ], + "consolidated_copyright": "Copyright (c) nexB, Inc.", + "core_license_expression": "lgpl-2.0", + "core_holders": [ + "nexB, Inc." + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 1 + } + ], + "consolidated_packages": [], "files": [ { "path": "component-package", @@ -448,7 +435,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -484,7 +471,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -543,8 +530,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -615,8 +602,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -687,8 +674,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -759,8 +746,8 @@ ], "license_clues": [], "percentage_of_license_text": 42.86, - "for_licenses": [ - "f6292b57-ba6c-0a53-2660-505e6745bffa" + "for_license_detections": [ + "lgpl_2_0#f6292b57-ba6c-0a53-2660-505e6745bffa" ], "copyrights": [ { @@ -811,7 +798,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -870,8 +857,8 @@ ], "license_clues": [], "percentage_of_license_text": 22.22, - "for_licenses": [ - "c6739b12-3643-1e85-cc14-1864411bf945" + "for_license_detections": [ + "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945" ], "copyrights": [ { @@ -930,7 +917,8 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" } ] } @@ -1006,8 +994,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -1078,8 +1066,8 @@ ], "license_clues": [], "percentage_of_license_text": 64.29, - "for_licenses": [ - "b6b96096-114f-387a-cbbd-855af62441b0" + "for_license_detections": [ + "gpl_2_0#b6b96096-114f-387a-cbbd-855af62441b0" ], "copyrights": [ { diff --git a/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json b/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json index d011eb589c6..61603bc4b83 100644 --- a/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json +++ b/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json @@ -1911,8 +1911,6 @@ } ], "consolidated_packages": [], - "license_references": null, - "rule_references": null, "files": [ { "path": "e2fsprogs-1.45.4", diff --git a/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json b/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json index a32db7f208f..6f8ad5345c2 100644 --- a/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json +++ b/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "9a723cc7-93ae-aea4-643f-e96a8f92ef96", + "identifier": "gpl_1_0_plus_and_gpl_2_0#9a723cc7-93ae-aea4-643f-e96a8f92ef96", "license_expression": "gpl-1.0-plus AND gpl-2.0", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -33,9 +33,9 @@ ] }, { - "identifier": "5b91a737-f9ce-eaa1-9284-270cc4460ee2", + "identifier": "apache_2_0#5b91a737-f9ce-eaa1-9284-270cc4460ee2", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -65,59 +65,6 @@ ] } ], - "dependencies": [], - "packages": [], - "consolidated_components": [ - { - "type": "holders", - "identifier": "corp_ibm_1", - "consolidated_license_expression": "gpl-1.0-plus AND gpl-2.0", - "consolidated_holders": [ - "IBM Corp." - ], - "consolidated_copyright": "Copyright (c) IBM Corp.", - "core_license_expression": "gpl-1.0-plus AND gpl-2.0", - "core_holders": [ - "IBM Corp." - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 1 - }, - { - "type": "holders", - "identifier": "corp_oracle_1", - "consolidated_license_expression": "apache-2.0", - "consolidated_holders": [ - "Oracle Corp." - ], - "consolidated_copyright": "Copyright (c) Oracle Corp.", - "core_license_expression": "apache-2.0", - "core_holders": [ - "Oracle Corp." - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 1 - }, - { - "type": "holders", - "identifier": "omegacom_1", - "consolidated_license_expression": "gpl-1.0-plus AND gpl-2.0", - "consolidated_holders": [ - "omega.com" - ], - "consolidated_copyright": "Copyright (c) omega.com", - "core_license_expression": "gpl-1.0-plus AND gpl-2.0", - "core_holders": [ - "omega.com" - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 1 - } - ], - "consolidated_packages": [], "license_references": [ { "key": "apache-2.0", @@ -204,7 +151,7 @@ "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_208.RULE", @@ -278,6 +225,59 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [], + "consolidated_components": [ + { + "type": "holders", + "identifier": "corp_ibm_1", + "consolidated_license_expression": "gpl-1.0-plus AND gpl-2.0", + "consolidated_holders": [ + "IBM Corp." + ], + "consolidated_copyright": "Copyright (c) IBM Corp.", + "core_license_expression": "gpl-1.0-plus AND gpl-2.0", + "core_holders": [ + "IBM Corp." + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 1 + }, + { + "type": "holders", + "identifier": "corp_oracle_1", + "consolidated_license_expression": "apache-2.0", + "consolidated_holders": [ + "Oracle Corp." + ], + "consolidated_copyright": "Copyright (c) Oracle Corp.", + "core_license_expression": "apache-2.0", + "core_holders": [ + "Oracle Corp." + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 1 + }, + { + "type": "holders", + "identifier": "omegacom_1", + "consolidated_license_expression": "gpl-1.0-plus AND gpl-2.0", + "consolidated_holders": [ + "omega.com" + ], + "consolidated_copyright": "Copyright (c) omega.com", + "core_license_expression": "gpl-1.0-plus AND gpl-2.0", + "core_holders": [ + "omega.com" + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 1 + } + ], + "consolidated_packages": [], "files": [ { "path": "license-holder-rollup", @@ -303,7 +303,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -339,7 +339,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -375,7 +375,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -444,8 +444,8 @@ ], "license_clues": [], "percentage_of_license_text": 44.44, - "for_licenses": [ - "9a723cc7-93ae-aea4-643f-e96a8f92ef96" + "for_license_detections": [ + "gpl_1_0_plus_and_gpl_2_0#9a723cc7-93ae-aea4-643f-e96a8f92ef96" ], "copyrights": [ { @@ -496,7 +496,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -532,7 +532,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -601,8 +601,8 @@ ], "license_clues": [], "percentage_of_license_text": 44.44, - "for_licenses": [ - "9a723cc7-93ae-aea4-643f-e96a8f92ef96" + "for_license_detections": [ + "gpl_1_0_plus_and_gpl_2_0#9a723cc7-93ae-aea4-643f-e96a8f92ef96" ], "copyrights": [ { @@ -653,7 +653,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -722,8 +722,8 @@ ], "license_clues": [], "percentage_of_license_text": 55.56, - "for_licenses": [ - "5b91a737-f9ce-eaa1-9284-270cc4460ee2" + "for_license_detections": [ + "apache_2_0#5b91a737-f9ce-eaa1-9284-270cc4460ee2" ], "copyrights": [ { diff --git a/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json b/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json index cb58c228a37..f037d32d4a5 100644 --- a/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json +++ b/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "f9043636-8ec8-6bbe-0948-64c2513e8dee", + "identifier": "gpl_2_0#f9043636-8ec8-6bbe-0948-64c2513e8dee", "license_expression": "gpl-2.0", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -33,27 +33,6 @@ ] } ], - "dependencies": [], - "packages": [], - "consolidated_components": [ - { - "type": "holders", - "identifier": "corp_ibm_1", - "consolidated_license_expression": "gpl-2.0", - "consolidated_holders": [ - "IBM Corp." - ], - "consolidated_copyright": "Copyright (c) IBM Corp.", - "core_license_expression": "gpl-2.0", - "core_holders": [ - "IBM Corp." - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 2 - } - ], - "consolidated_packages": [], "license_references": [ { "key": "gpl-2.0", @@ -90,7 +69,7 @@ "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1074.RULE", @@ -140,6 +119,27 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [], + "consolidated_components": [ + { + "type": "holders", + "identifier": "corp_ibm_1", + "consolidated_license_expression": "gpl-2.0", + "consolidated_holders": [ + "IBM Corp." + ], + "consolidated_copyright": "Copyright (c) IBM Corp.", + "core_license_expression": "gpl-2.0", + "core_holders": [ + "IBM Corp." + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 2 + } + ], + "consolidated_packages": [], "files": [ { "path": "multiple-same-holder-and-license", @@ -165,7 +165,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -234,8 +234,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "f9043636-8ec8-6bbe-0948-64c2513e8dee" + "for_license_detections": [ + "gpl_2_0#f9043636-8ec8-6bbe-0948-64c2513e8dee" ], "copyrights": [ { @@ -327,8 +327,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "f9043636-8ec8-6bbe-0948-64c2513e8dee" + "for_license_detections": [ + "gpl_2_0#f9043636-8ec8-6bbe-0948-64c2513e8dee" ], "copyrights": [ { diff --git a/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json b/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json index a9c88e49249..479c86955bc 100644 --- a/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "0c954d0c-44a8-826f-8a0e-c82112725467", + "identifier": "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467", "license_expression": "apache-2.0", - "occurance_count": 5, + "occurrence_count": 5, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "c6739b12-3643-1e85-cc14-1864411bf945", + "identifier": "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,109 +43,6 @@ ] } ], - "dependencies": [], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "test-package", - "version": "0.0.1", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "apache-2.0", - "declared_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/test-package", - "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", - "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "package-files-not-counted-in-license-holders/package/package.json" - ], - "datasource_ids": [ - "npm_package_json" - ], - "purl": "pkg:npm/test-package@0.0.1" - } - ], - "consolidated_components": [ - { - "type": "holders", - "identifier": "apache_foundation_software_1", - "consolidated_license_expression": "apache-2.0", - "consolidated_holders": [ - "The Apache Software Foundation" - ], - "consolidated_copyright": "Copyright (c) The Apache Software Foundation", - "core_license_expression": "apache-2.0", - "core_holders": [ - "The Apache Software Foundation" - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 5 - }, - { - "type": "holders", - "identifier": "apache_software_1", - "consolidated_license_expression": "apache-2.0", - "consolidated_holders": [ - "The Apache Software" - ], - "consolidated_copyright": "Copyright (c) The Apache Software", - "core_license_expression": "apache-2.0", - "core_holders": [ - "The Apache Software" - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 1 - } - ], - "consolidated_packages": [], "license_references": [ { "key": "apache-2.0", @@ -175,20 +72,7 @@ "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." } ], - "rule_references": [ - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0" - }, + "license_rule_references": [ { "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", @@ -223,8 +107,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0" + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -275,6 +158,110 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "test-package", + "version": "0.0.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['apache-2.0']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/test-package", + "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", + "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "package-files-not-counted-in-license-holders/package/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/test-package@0.0.1" + } + ], + "consolidated_components": [ + { + "type": "holders", + "identifier": "apache_foundation_software_1", + "consolidated_license_expression": "apache-2.0", + "consolidated_holders": [ + "The Apache Software Foundation" + ], + "consolidated_copyright": "Copyright (c) The Apache Software Foundation", + "core_license_expression": "apache-2.0", + "core_holders": [ + "The Apache Software Foundation" + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 5 + }, + { + "type": "holders", + "identifier": "apache_software_1", + "consolidated_license_expression": "apache-2.0", + "consolidated_holders": [ + "The Apache Software" + ], + "consolidated_copyright": "Copyright (c) The Apache Software", + "core_license_expression": "apache-2.0", + "core_holders": [ + "The Apache Software" + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 1 + } + ], + "consolidated_packages": [], "files": [ { "path": "package-files-not-counted-in-license-holders", @@ -300,7 +287,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -338,7 +325,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -396,8 +383,8 @@ ], "license_clues": [], "percentage_of_license_text": 22.22, - "for_licenses": [ - "c6739b12-3643-1e85-cc14-1864411bf945" + "for_license_detections": [ + "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945" ], "copyrights": [ { @@ -456,7 +443,8 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" } ] } @@ -532,8 +520,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -606,8 +594,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -680,8 +668,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -754,8 +742,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -826,8 +814,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { diff --git a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json index 6d64ff25a5d..cb2b08dc043 100644 --- a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "c6739b12-3643-1e85-cc14-1864411bf945", + "identifier": "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "0c954d0c-44a8-826f-8a0e-c82112725467", + "identifier": "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467", "license_expression": "apache-2.0", - "occurance_count": 3, + "occurrence_count": 3, "detection_log": [ "not-combined" ], @@ -43,93 +43,6 @@ ] } ], - "dependencies": [], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "test-package", - "version": "0.0.1", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "apache-2.0", - "declared_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/test-package", - "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", - "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "package/package.json" - ], - "datasource_ids": [ - "npm_package_json" - ], - "purl": "pkg:npm/test-package@0.0.1" - } - ], - "consolidated_components": [ - { - "type": "holders", - "identifier": "apache_foundation_software_1", - "consolidated_license_expression": "apache-2.0", - "consolidated_holders": [ - "The Apache Software Foundation" - ], - "consolidated_copyright": "Copyright (c) The Apache Software Foundation", - "core_license_expression": "apache-2.0", - "core_holders": [ - "The Apache Software Foundation" - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 3 - } - ], - "consolidated_packages": [], "license_references": [ { "key": "apache-2.0", @@ -159,7 +72,7 @@ "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", @@ -170,21 +83,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0" - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0" + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -235,6 +134,94 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "test-package", + "version": "0.0.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['apache-2.0']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/test-package", + "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", + "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "package/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/test-package@0.0.1" + } + ], + "consolidated_components": [ + { + "type": "holders", + "identifier": "apache_foundation_software_1", + "consolidated_license_expression": "apache-2.0", + "consolidated_holders": [ + "The Apache Software Foundation" + ], + "consolidated_copyright": "Copyright (c) The Apache Software Foundation", + "core_license_expression": "apache-2.0", + "core_holders": [ + "The Apache Software Foundation" + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 3 + } + ], + "consolidated_packages": [], "files": [ { "path": "package", @@ -260,7 +247,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -318,8 +305,8 @@ ], "license_clues": [], "percentage_of_license_text": 36.36, - "for_licenses": [ - "c6739b12-3643-1e85-cc14-1864411bf945" + "for_license_detections": [ + "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945" ], "copyrights": [], "holders": [], @@ -366,7 +353,8 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" } ] } @@ -440,8 +428,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -514,8 +502,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -588,8 +576,8 @@ ], "license_clues": [], "percentage_of_license_text": 33.33, - "for_licenses": [ - "0c954d0c-44a8-826f-8a0e-c82112725467" + "for_license_detections": [ + "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { diff --git a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json index f13c61f99b7..719c2dcb2a8 100644 --- a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "c6739b12-3643-1e85-cc14-1864411bf945", + "identifier": "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "d5eb9d8e-3b26-fd74-282d-341e657c08eb", + "identifier": "apache_2_0#d5eb9d8e-3b26-fd74-282d-341e657c08eb", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,6 +43,61 @@ ] } ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + } + ], + "license_rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + } + ], "dependencies": [], "packages": [ { @@ -86,7 +141,8 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" } ] } @@ -113,75 +169,6 @@ ], "consolidated_components": [], "consolidated_packages": [], - "license_references": [ - { - "key": "apache-2.0", - "short_name": "Apache 2.0", - "name": "Apache License 2.0", - "category": "Permissive", - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", - "is_builtin": true, - "spdx_license_key": "Apache-2.0", - "other_spdx_license_keys": [ - "LicenseRef-Apache", - "LicenseRef-Apache-2.0" - ], - "osi_license_key": "Apache-2.0", - "text_urls": [ - "http://www.apache.org/licenses/LICENSE-2.0" - ], - "osi_url": "http://opensource.org/licenses/apache2.0.php", - "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", - "other_urls": [ - "http://www.opensource.org/licenses/Apache-2.0", - "https://opensource.org/licenses/Apache-2.0", - "https://www.apache.org/licenses/LICENSE-2.0" - ], - "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." - } - ], - "rule_references": [ - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0" - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0" - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - } - ], "files": [ { "path": "package-manifest", @@ -207,7 +194,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -263,9 +250,9 @@ ], "license_clues": [], "percentage_of_license_text": 36.36, - "for_licenses": [ - "c6739b12-3643-1e85-cc14-1864411bf945", - "d5eb9d8e-3b26-fd74-282d-341e657c08eb" + "for_license_detections": [ + "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", + "apache_2_0#d5eb9d8e-3b26-fd74-282d-341e657c08eb" ], "copyrights": [], "holders": [], @@ -312,7 +299,8 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" } ] } diff --git a/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json b/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json index 275756cf02d..d6f3563ac49 100644 --- a/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json +++ b/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurance_count": 4, + "occurrence_count": 4, "detection_log": [ "not-combined" ], @@ -22,43 +22,6 @@ ] } ], - "dependencies": [], - "packages": [], - "consolidated_components": [ - { - "type": "holders", - "identifier": "corp_ibm_1", - "consolidated_license_expression": "mit", - "consolidated_holders": [ - "IBM Corp." - ], - "consolidated_copyright": "Copyright (c) IBM Corp.", - "core_license_expression": "mit", - "core_holders": [ - "IBM Corp." - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 3 - }, - { - "type": "holders", - "identifier": "corp_omega_1", - "consolidated_license_expression": "mit", - "consolidated_holders": [ - "Omega Corp." - ], - "consolidated_copyright": "Copyright (c) Omega Corp.", - "core_license_expression": "mit", - "core_holders": [ - "Omega Corp." - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 1 - } - ], - "consolidated_packages": [], "license_references": [ { "key": "mit", @@ -83,7 +46,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "mit", "rule_identifier": "mit.LICENSE", @@ -133,6 +96,43 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [], + "consolidated_components": [ + { + "type": "holders", + "identifier": "corp_ibm_1", + "consolidated_license_expression": "mit", + "consolidated_holders": [ + "IBM Corp." + ], + "consolidated_copyright": "Copyright (c) IBM Corp.", + "core_license_expression": "mit", + "core_holders": [ + "IBM Corp." + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 3 + }, + { + "type": "holders", + "identifier": "corp_omega_1", + "consolidated_license_expression": "mit", + "consolidated_holders": [ + "Omega Corp." + ], + "consolidated_copyright": "Copyright (c) Omega Corp.", + "core_license_expression": "mit", + "core_holders": [ + "Omega Corp." + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 1 + } + ], + "consolidated_packages": [], "files": [ { "path": "report-subdirectory-with-minority-origin", @@ -158,7 +158,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -216,8 +216,8 @@ ], "license_clues": [], "percentage_of_license_text": 97.58, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -288,8 +288,8 @@ ], "license_clues": [], "percentage_of_license_text": 97.58, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -360,8 +360,8 @@ ], "license_clues": [], "percentage_of_license_text": 97.58, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -412,7 +412,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -470,8 +470,8 @@ ], "license_clues": [], "percentage_of_license_text": 97.58, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { diff --git a/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json b/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json index ae44d1c169e..4897b24270d 100644 --- a/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json +++ b/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "5b91a737-f9ce-eaa1-9284-270cc4460ee2", + "identifier": "apache_2_0#5b91a737-f9ce-eaa1-9284-270cc4460ee2", "license_expression": "apache-2.0", - "occurance_count": 3, + "occurrence_count": 3, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -33,9 +33,9 @@ ] }, { - "identifier": "9a723cc7-93ae-aea4-643f-e96a8f92ef96", + "identifier": "gpl_1_0_plus_and_gpl_2_0#9a723cc7-93ae-aea4-643f-e96a8f92ef96", "license_expression": "gpl-1.0-plus AND gpl-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -65,43 +65,6 @@ ] } ], - "dependencies": [], - "packages": [], - "consolidated_components": [ - { - "type": "holders", - "identifier": "apache_foundation_software_1", - "consolidated_license_expression": "apache-2.0", - "consolidated_holders": [ - "The Apache Software Foundation" - ], - "consolidated_copyright": "Copyright (c) The Apache Software Foundation", - "core_license_expression": "apache-2.0", - "core_holders": [ - "The Apache Software Foundation" - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 3 - }, - { - "type": "holders", - "identifier": "corp_ibm_1", - "consolidated_license_expression": "gpl-1.0-plus AND gpl-2.0", - "consolidated_holders": [ - "IBM Corp." - ], - "consolidated_copyright": "Copyright (c) IBM Corp.", - "core_license_expression": "gpl-1.0-plus AND gpl-2.0", - "core_holders": [ - "IBM Corp." - ], - "other_license_expression": null, - "other_holders": [], - "files_count": 1 - } - ], - "consolidated_packages": [], "license_references": [ { "key": "apache-2.0", @@ -188,7 +151,7 @@ "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_2.RULE", @@ -286,6 +249,43 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [], + "consolidated_components": [ + { + "type": "holders", + "identifier": "apache_foundation_software_1", + "consolidated_license_expression": "apache-2.0", + "consolidated_holders": [ + "The Apache Software Foundation" + ], + "consolidated_copyright": "Copyright (c) The Apache Software Foundation", + "core_license_expression": "apache-2.0", + "core_holders": [ + "The Apache Software Foundation" + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 3 + }, + { + "type": "holders", + "identifier": "corp_ibm_1", + "consolidated_license_expression": "gpl-1.0-plus AND gpl-2.0", + "consolidated_holders": [ + "IBM Corp." + ], + "consolidated_copyright": "Copyright (c) IBM Corp.", + "core_license_expression": "gpl-1.0-plus AND gpl-2.0", + "core_holders": [ + "IBM Corp." + ], + "other_license_expression": null, + "other_holders": [], + "files_count": 1 + } + ], + "consolidated_packages": [], "files": [ { "path": "return-nested-local-majority", @@ -311,7 +311,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -347,7 +347,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -416,8 +416,8 @@ ], "license_clues": [], "percentage_of_license_text": 45.45, - "for_licenses": [ - "5b91a737-f9ce-eaa1-9284-270cc4460ee2" + "for_license_detections": [ + "apache_2_0#5b91a737-f9ce-eaa1-9284-270cc4460ee2" ], "copyrights": [ { @@ -499,8 +499,8 @@ ], "license_clues": [], "percentage_of_license_text": 45.45, - "for_licenses": [ - "5b91a737-f9ce-eaa1-9284-270cc4460ee2" + "for_license_detections": [ + "apache_2_0#5b91a737-f9ce-eaa1-9284-270cc4460ee2" ], "copyrights": [ { @@ -551,7 +551,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -620,8 +620,8 @@ ], "license_clues": [], "percentage_of_license_text": 44.44, - "for_licenses": [ - "9a723cc7-93ae-aea4-643f-e96a8f92ef96" + "for_license_detections": [ + "gpl_1_0_plus_and_gpl_2_0#9a723cc7-93ae-aea4-643f-e96a8f92ef96" ], "copyrights": [ { @@ -703,8 +703,8 @@ ], "license_clues": [], "percentage_of_license_text": 45.45, - "for_licenses": [ - "5b91a737-f9ce-eaa1-9284-270cc4460ee2" + "for_license_detections": [ + "apache_2_0#5b91a737-f9ce-eaa1-9284-270cc4460ee2" ], "copyrights": [ { diff --git a/tests/summarycode/data/plugin_consolidate/zlib-expected.json b/tests/summarycode/data/plugin_consolidate/zlib-expected.json index 559e232e9b4..c2154cbad4b 100644 --- a/tests/summarycode/data/plugin_consolidate/zlib-expected.json +++ b/tests/summarycode/data/plugin_consolidate/zlib-expected.json @@ -457,8 +457,6 @@ } ], "consolidated_packages": [], - "license_references": null, - "rule_references": null, "files": [ { "path": "zlib-1.2.11", diff --git a/tests/summarycode/data/score/basic-expected.json b/tests/summarycode/data/score/basic-expected.json index 2b98626df5d..2336decd6fb 100644 --- a/tests/summarycode/data/score/basic-expected.json +++ b/tests/summarycode/data/score/basic-expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "ad8a216c-f324-d61f-494c-f105455d2fee", + "identifier": "mit#ad8a216c-f324-d61f-494c-f105455d2fee", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,18 +43,6 @@ ] } ], - "summary": { - "declared_license_expression": "mit", - "license_clarity_score": { - "score": 100, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - } - }, "license_references": [ { "key": "mit", @@ -79,7 +67,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "mit", "rule_identifier": "mit.LICENSE", @@ -117,6 +105,18 @@ "rule_relevance": 100 } ], + "summary": { + "declared_license_expression": "mit", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + } + }, "files": [ { "path": "basic", @@ -142,7 +142,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -200,8 +200,8 @@ ], "license_clues": [], "percentage_of_license_text": 79.31, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -272,8 +272,8 @@ ], "license_clues": [], "percentage_of_license_text": 64.4, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -344,8 +344,8 @@ ], "license_clues": [], "percentage_of_license_text": 1.83, - "for_licenses": [ - "ad8a216c-f324-d61f-494c-f105455d2fee" + "for_license_detections": [ + "mit#ad8a216c-f324-d61f-494c-f105455d2fee" ], "copyrights": [], "holders": [], diff --git a/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json b/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json index efa9ddcfac7..f33ca007b52 100644 --- a/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json +++ b/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "ad8a216c-f324-d61f-494c-f105455d2fee", + "identifier": "mit#ad8a216c-f324-d61f-494c-f105455d2fee", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "751d4c34-1372-a14c-636a-47543dc16496", + "identifier": "gpl_2_0_plus#751d4c34-1372-a14c-636a-47543dc16496", "license_expression": "gpl-2.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -64,18 +64,6 @@ ] } ], - "summary": { - "declared_license_expression": "mit", - "license_clarity_score": { - "score": 80, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": true, - "ambiguous_compound_licensing": false - } - }, "license_references": [ { "key": "gpl-2.0-plus", @@ -125,7 +113,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "mit", "rule_identifier": "mit.LICENSE", @@ -175,6 +163,18 @@ "rule_relevance": 100 } ], + "summary": { + "declared_license_expression": "mit", + "license_clarity_score": { + "score": 80, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": true, + "ambiguous_compound_licensing": false + } + }, "files": [ { "path": "inconsistent_licenses_copyleft", @@ -200,7 +200,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -258,8 +258,8 @@ ], "license_clues": [], "percentage_of_license_text": 79.31, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -330,8 +330,8 @@ ], "license_clues": [], "percentage_of_license_text": 64.4, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -402,8 +402,8 @@ ], "license_clues": [], "percentage_of_license_text": 1.83, - "for_licenses": [ - "ad8a216c-f324-d61f-494c-f105455d2fee" + "for_license_detections": [ + "mit#ad8a216c-f324-d61f-494c-f105455d2fee" ], "copyrights": [], "holders": [], @@ -468,8 +468,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "751d4c34-1372-a14c-636a-47543dc16496" + "for_license_detections": [ + "gpl_2_0_plus#751d4c34-1372-a14c-636a-47543dc16496" ], "copyrights": [], "holders": [], diff --git a/tests/summarycode/data/score/no_license_ambiguity-expected.json b/tests/summarycode/data/score/no_license_ambiguity-expected.json index 9a26e882b67..8b05effe00f 100644 --- a/tests/summarycode/data/score/no_license_ambiguity-expected.json +++ b/tests/summarycode/data/score/no_license_ambiguity-expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "672f6c77-3a8c-9aac-41cd-431086630d58", + "identifier": "mit_or_apache_2_0#672f6c77-3a8c-9aac-41cd-431086630d58", "license_expression": "mit OR apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "56399a0b-4bfa-003e-fbc1-8e5ee4560baf", + "identifier": "apache_2_0_and__apache_2_0_or_mit#56399a0b-4bfa-003e-fbc1-8e5ee4560baf", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -54,9 +54,9 @@ ] }, { - "identifier": "57eec209-3c1b-b197-2e0d-62a521c2130a", + "identifier": "apache_2_0#57eec209-3c1b-b197-2e0d-62a521c2130a", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -75,9 +75,9 @@ ] }, { - "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -96,9 +96,9 @@ ] }, { - "identifier": "8aaa1034-ec98-504f-3892-a067d346ca98", + "identifier": "mit_or_apache_2_0__and_mit#8aaa1034-ec98-504f-3892-a067d346ca98", "license_expression": "(mit OR apache-2.0) AND mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -128,18 +128,6 @@ ] } ], - "summary": { - "declared_license_expression": "apache-2.0 AND mit", - "license_clarity_score": { - "score": 90, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": true - } - }, "license_references": [ { "key": "apache-2.0", @@ -191,7 +179,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "mit OR apache-2.0", "rule_identifier": "mit_or_apache-2.0_14.RULE", @@ -251,8 +239,47 @@ "is_license_intro": false, "rule_length": 161, "rule_relevance": 100 + }, + { + "license_expression": "mit OR apache-2.0", + "rule_identifier": "mit_or_apache-2.0_9.RULE", + "referenced_filenames": [ + "LICENSE-MIT", + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 26, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit_154.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 } ], + "summary": { + "declared_license_expression": "apache-2.0 AND mit", + "license_clarity_score": { + "score": 90, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": true + } + }, "files": [ { "path": "no_license_ambiguity", @@ -278,7 +305,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -316,7 +343,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -385,8 +412,8 @@ ], "license_clues": [], "percentage_of_license_text": 81.11, - "for_licenses": [ - "56399a0b-4bfa-003e-fbc1-8e5ee4560baf" + "for_license_detections": [ + "apache_2_0_and__apache_2_0_or_mit#56399a0b-4bfa-003e-fbc1-8e5ee4560baf" ], "copyrights": [], "holders": [], @@ -445,8 +472,8 @@ ], "license_clues": [], "percentage_of_license_text": 1.76, - "for_licenses": [ - "672f6c77-3a8c-9aac-41cd-431086630d58" + "for_license_detections": [ + "mit_or_apache_2_0#672f6c77-3a8c-9aac-41cd-431086630d58" ], "copyrights": [ { @@ -523,8 +550,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "57eec209-3c1b-b197-2e0d-62a521c2130a" + "for_license_detections": [ + "apache_2_0#57eec209-3c1b-b197-2e0d-62a521c2130a" ], "copyrights": [], "holders": [], @@ -583,8 +610,8 @@ ], "license_clues": [], "percentage_of_license_text": 92.0, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -682,8 +709,8 @@ ], "license_clues": [], "percentage_of_license_text": 1.69, - "for_licenses": [ - "8aaa1034-ec98-504f-3892-a067d346ca98" + "for_license_detections": [ + "mit_or_apache_2_0__and_mit#8aaa1034-ec98-504f-3892-a067d346ca98" ], "copyrights": [], "holders": [], @@ -722,7 +749,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -760,7 +787,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], diff --git a/tests/summarycode/data/score/no_license_or_copyright-expected.json b/tests/summarycode/data/score/no_license_or_copyright-expected.json index 778185e1957..6763a532517 100644 --- a/tests/summarycode/data/score/no_license_or_copyright-expected.json +++ b/tests/summarycode/data/score/no_license_or_copyright-expected.json @@ -1,5 +1,7 @@ { - "licenses": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "summary": { "declared_license_expression": null, "license_clarity_score": { @@ -12,8 +14,6 @@ "ambiguous_compound_licensing": true } }, - "license_references": [], - "rule_references": [], "files": [ { "path": "no_license_or_copyright", @@ -39,7 +39,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -77,7 +77,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -115,7 +115,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -153,7 +153,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ diff --git a/tests/summarycode/data/score/no_license_text-expected.json b/tests/summarycode/data/score/no_license_text-expected.json index f9a1eac5eeb..5ce86a09ae6 100644 --- a/tests/summarycode/data/score/no_license_text-expected.json +++ b/tests/summarycode/data/score/no_license_text-expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "ad8a216c-f324-d61f-494c-f105455d2fee", + "identifier": "mit#ad8a216c-f324-d61f-494c-f105455d2fee", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,18 +22,6 @@ ] } ], - "summary": { - "declared_license_expression": "mit", - "license_clarity_score": { - "score": 90, - "declared_license": true, - "identification_precision": true, - "has_license_text": false, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - } - }, "license_references": [ { "key": "mit", @@ -58,7 +46,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "mit", "rule_identifier": "mit_30.RULE", @@ -72,6 +60,18 @@ "rule_relevance": 100 } ], + "summary": { + "declared_license_expression": "mit", + "license_clarity_score": { + "score": 90, + "declared_license": true, + "identification_precision": true, + "has_license_text": false, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + } + }, "files": [ { "path": "no_license_text", @@ -97,7 +97,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -135,7 +135,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) Example, Inc.", @@ -185,7 +185,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -243,8 +243,8 @@ ], "license_clues": [], "percentage_of_license_text": 1.83, - "for_licenses": [ - "ad8a216c-f324-d61f-494c-f105455d2fee" + "for_license_detections": [ + "mit#ad8a216c-f324-d61f-494c-f105455d2fee" ], "copyrights": [], "holders": [], diff --git a/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json b/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json index 7800e320116..2f949beacd9 100644 --- a/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json +++ b/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "identifier": "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -75,9 +75,9 @@ ] }, { - "identifier": "824ba385-142f-a4b5-1b88-3bbb8282d2bc", + "identifier": "gpl_1_0_plus_and_gpl_2_0_and_gpl_2_0_plus#824ba385-142f-a4b5-1b88-3bbb8282d2bc", "license_expression": "gpl-1.0-plus AND gpl-2.0 AND gpl-2.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -118,55 +118,6 @@ ] } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "apache-2.0 AND mit", - "license_clarity_score": { - "score": 70, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": true, - "ambiguous_compound_licensing": true - }, - "declared_holder": "Example Corp.", - "primary_language": "Python", - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "apache-2.0", - "count": 1 - }, - { - "value": "apache-2.0 AND (apache-2.0 OR mit)", - "count": 1 - }, - { - "value": "gpl-1.0-plus AND gpl-2.0 AND gpl-2.0-plus", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 2 - }, - { - "value": "Other Corp.", - "count": 1 - } - ], - "other_languages": [] - }, "license_references": [ { "key": "apache-2.0", @@ -300,7 +251,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", @@ -386,6 +337,55 @@ "rule_relevance": 50 } ], + "dependencies": [], + "packages": [], + "summary": { + "declared_license_expression": "apache-2.0 AND mit", + "license_clarity_score": { + "score": 70, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": true, + "ambiguous_compound_licensing": true + }, + "declared_holder": "Example Corp.", + "primary_language": "Python", + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "apache-2.0", + "count": 1 + }, + { + "value": "apache-2.0 AND (apache-2.0 OR mit)", + "count": 1 + }, + { + "value": "gpl-1.0-plus AND gpl-2.0 AND gpl-2.0-plus", + "count": 1 + }, + { + "value": "mit", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 2 + }, + { + "value": "Other Corp.", + "count": 1 + } + ], + "other_languages": [] + }, "files": [ { "path": "codebase", @@ -411,7 +411,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -451,7 +451,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright Example Corp.", @@ -523,8 +523,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "for_license_detections": [ + "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], @@ -585,8 +585,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], @@ -627,7 +627,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -698,8 +698,8 @@ ], "license_clues": [], "percentage_of_license_text": 44.44, - "for_licenses": [ - "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "for_license_detections": [ + "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -762,7 +762,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -844,8 +844,8 @@ ], "license_clues": [], "percentage_of_license_text": 58.33, - "for_licenses": [ - "824ba385-142f-a4b5-1b88-3bbb8282d2bc" + "for_license_detections": [ + "gpl_1_0_plus_and_gpl_2_0_and_gpl_2_0_plus#824ba385-142f-a4b5-1b88-3bbb8282d2bc" ], "copyrights": [ { diff --git a/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json b/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json index 50530a14fa1..14f9f73d52c 100644 --- a/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json +++ b/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f", + "identifier": "gpl_3_0_plus#b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f", "license_expression": "gpl-3.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "e68d2a19-4f30-77b2-c51f-8f14b7a097d2", + "identifier": "gpl_2_0_plus#e68d2a19-4f30-77b2-c51f-8f14b7a097d2", "license_expression": "gpl-2.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,43 +43,6 @@ ] } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "gpl-3.0-plus", - "license_clarity_score": { - "score": 90, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": false, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "", - "primary_language": "C", - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "gpl-2.0-plus", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 2 - }, - { - "value": "Members of the Gmerlin project", - "count": 2 - } - ], - "other_languages": [] - }, "license_references": [ { "key": "gpl-2.0-plus", @@ -132,7 +95,7 @@ "text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", @@ -158,6 +121,43 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [], + "summary": { + "declared_license_expression": "gpl-3.0-plus", + "license_clarity_score": { + "score": 90, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": false, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "", + "primary_language": "C", + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "gpl-2.0-plus", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 2 + }, + { + "value": "Members of the Gmerlin project", + "count": 2 + } + ], + "other_languages": [] + }, "files": [ { "path": "bug-1141.tar.gz", @@ -183,7 +183,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -223,7 +223,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -263,7 +263,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -303,7 +303,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -363,8 +363,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f" + "for_license_detections": [ + "gpl_3_0_plus#b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f" ], "copyrights": [], "holders": [], @@ -405,7 +405,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -445,7 +445,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -485,7 +485,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -525,7 +525,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -585,8 +585,8 @@ ], "license_clues": [], "percentage_of_license_text": 80.95, - "for_licenses": [ - "e68d2a19-4f30-77b2-c51f-8f14b7a097d2" + "for_license_detections": [ + "gpl_2_0_plus#e68d2a19-4f30-77b2-c51f-8f14b7a097d2" ], "copyrights": [ { @@ -639,7 +639,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2001 - 2011 Members of the Gmerlin project", diff --git a/tests/summarycode/data/summary/holders/clear_holder.expected.json b/tests/summarycode/data/summary/holders/clear_holder.expected.json index e7f151f53c8..c98d625ecee 100644 --- a/tests/summarycode/data/summary/holders/clear_holder.expected.json +++ b/tests/summarycode/data/summary/holders/clear_holder.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "identifier": "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurance_count": 3, + "occurrence_count": 3, "detection_log": [ "not-combined" ], @@ -75,47 +75,6 @@ ] } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "license_clarity_score": { - "score": 100, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "Example Corp.", - "primary_language": "Python", - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "apache-2.0", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 2 - }, - { - "value": "Demo Corp.", - "count": 1 - } - ], - "other_languages": [] - }, "license_references": [ { "key": "apache-2.0", @@ -167,7 +126,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", @@ -265,6 +224,47 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [], + "summary": { + "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Example Corp.", + "primary_language": "Python", + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "apache-2.0", + "count": 1 + }, + { + "value": "mit", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 2 + }, + { + "value": "Demo Corp.", + "count": 1 + } + ], + "other_languages": [] + }, "files": [ { "path": "clear_holder", @@ -290,7 +290,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -361,8 +361,8 @@ ], "license_clues": [], "percentage_of_license_text": 47.06, - "for_licenses": [ - "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "for_license_detections": [ + "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -445,8 +445,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "for_license_detections": [ + "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], @@ -507,8 +507,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], @@ -549,7 +549,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -620,8 +620,8 @@ ], "license_clues": [], "percentage_of_license_text": 53.33, - "for_licenses": [ - "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "for_license_detections": [ + "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -674,7 +674,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -745,8 +745,8 @@ ], "license_clues": [], "percentage_of_license_text": 66.67, - "for_licenses": [ - "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "for_license_detections": [ + "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { diff --git a/tests/summarycode/data/summary/holders/combined_holders.expected.json b/tests/summarycode/data/summary/holders/combined_holders.expected.json index f764c45275b..d7aaa280745 100644 --- a/tests/summarycode/data/summary/holders/combined_holders.expected.json +++ b/tests/summarycode/data/summary/holders/combined_holders.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "identifier": "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurance_count": 3, + "occurrence_count": 3, "detection_log": [ "not-combined" ], @@ -75,43 +75,6 @@ ] } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "license_clarity_score": { - "score": 100, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "Example Corp., Demo Corp.", - "primary_language": "Python", - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "apache-2.0", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 4 - } - ], - "other_languages": [] - }, "license_references": [ { "key": "apache-2.0", @@ -163,7 +126,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", @@ -261,6 +224,43 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [], + "summary": { + "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Example Corp., Demo Corp.", + "primary_language": "Python", + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "apache-2.0", + "count": 1 + }, + { + "value": "mit", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 4 + } + ], + "other_languages": [] + }, "files": [ { "path": "combined_holders", @@ -286,7 +286,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -357,8 +357,8 @@ ], "license_clues": [], "percentage_of_license_text": 47.06, - "for_licenses": [ - "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "for_license_detections": [ + "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -441,8 +441,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "for_license_detections": [ + "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], @@ -503,8 +503,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], @@ -545,7 +545,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -616,8 +616,8 @@ ], "license_clues": [], "percentage_of_license_text": 66.67, - "for_licenses": [ - "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "for_license_detections": [ + "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [], "holders": [], @@ -658,7 +658,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -729,8 +729,8 @@ ], "license_clues": [], "percentage_of_license_text": 88.89, - "for_licenses": [ - "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "for_license_detections": [ + "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [], "holders": [], diff --git a/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json b/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json index 68ab710b141..b007ad65507 100644 --- a/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json +++ b/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,43 +43,6 @@ ] } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "apache-2.0 AND mit", - "license_clarity_score": { - "score": 90, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": true - }, - "declared_holder": "Example Corp.", - "primary_language": null, - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "apache-2.0", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 2 - } - ], - "other_languages": [] - }, "license_references": [ { "key": "apache-2.0", @@ -131,7 +94,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", @@ -157,6 +120,43 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [], + "summary": { + "declared_license_expression": "apache-2.0 AND mit", + "license_clarity_score": { + "score": 90, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": true + }, + "declared_holder": "Example Corp.", + "primary_language": null, + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "apache-2.0", + "count": 1 + }, + { + "value": "mit", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 2 + } + ], + "other_languages": [] + }, "files": [ { "path": "ambiguous", @@ -182,7 +182,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -222,7 +222,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright Example Corp.", @@ -294,8 +294,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "for_license_detections": [ + "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], @@ -356,8 +356,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], diff --git a/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json b/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json index 0fb63c309b7..352965dcab7 100644 --- a/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json +++ b/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "identifier": "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -75,43 +75,6 @@ ] } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "license_clarity_score": { - "score": 100, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "Example Corp.", - "primary_language": null, - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "apache-2.0", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 2 - } - ], - "other_languages": [] - }, "license_references": [ { "key": "apache-2.0", @@ -163,7 +126,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", @@ -213,6 +176,43 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [], + "summary": { + "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Example Corp.", + "primary_language": null, + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "apache-2.0", + "count": 1 + }, + { + "value": "mit", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 2 + } + ], + "other_languages": [] + }, "files": [ { "path": "unambiguous", @@ -238,7 +238,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -309,8 +309,8 @@ ], "license_clues": [], "percentage_of_license_text": 57.14, - "for_licenses": [ - "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "for_license_detections": [ + "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -383,8 +383,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "for_license_detections": [ + "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], @@ -445,8 +445,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], diff --git a/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json b/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json index 8a3e7356e88..6b585addb31 100644 --- a/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json +++ b/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "ad8a216c-f324-d61f-494c-f105455d2fee", + "identifier": "mit#ad8a216c-f324-d61f-494c-f105455d2fee", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -64,9 +64,9 @@ ] }, { - "identifier": "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "identifier": "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -96,9 +96,9 @@ ] }, { - "identifier": "c6739b12-3643-1e85-cc14-1864411bf945", + "identifier": "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -117,9 +117,9 @@ ] }, { - "identifier": "d5eb9d8e-3b26-fd74-282d-341e657c08eb", + "identifier": "apache_2_0#d5eb9d8e-3b26-fd74-282d-341e657c08eb", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -138,6 +138,155 @@ ] } ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "license_rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1410, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 80 + }, + { + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + } + ], "dependencies": [], "packages": [ { @@ -189,7 +338,8 @@ "matcher": "1-spdx-id", "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null + "rule_url": null, + "matched_text": "MIT" } ] } @@ -262,7 +412,8 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" } ] } @@ -326,183 +477,6 @@ ], "other_languages": [] }, - "license_references": [ - { - "key": "apache-2.0", - "short_name": "Apache 2.0", - "name": "Apache License 2.0", - "category": "Permissive", - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", - "is_builtin": true, - "spdx_license_key": "Apache-2.0", - "other_spdx_license_keys": [ - "LicenseRef-Apache", - "LicenseRef-Apache-2.0" - ], - "osi_license_key": "Apache-2.0", - "text_urls": [ - "http://www.apache.org/licenses/LICENSE-2.0" - ], - "osi_url": "http://opensource.org/licenses/apache2.0.php", - "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", - "other_urls": [ - "http://www.opensource.org/licenses/Apache-2.0", - "https://opensource.org/licenses/Apache-2.0", - "https://www.apache.org/licenses/LICENSE-2.0" - ], - "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." - }, - { - "key": "mit", - "short_name": "MIT License", - "name": "MIT License", - "category": "Permissive", - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "MIT", - "text_urls": [ - "http://opensource.org/licenses/mit-license.php" - ], - "osi_url": "http://www.opensource.org/licenses/MIT", - "faq_url": "https://ieeexplore.ieee.org/document/9263265", - "other_urls": [ - "https://opensource.com/article/18/3/patent-grant-mit-license", - "https://opensource.com/article/19/4/history-mit-license", - "https://opensource.org/licenses/MIT" - ], - "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." - } - ], - "rule_references": [ - { - "license_expression": "mit", - "rule_identifier": "spdx-license-identifier: mit", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "MIT" - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0" - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_93.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "spdx-license-identifier: mit", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "MIT" - }, - { - "license_expression": "mit", - "rule_identifier": "mit_30.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_73.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80 - }, - { - "license_expression": "apache-2.0 OR mit", - "rule_identifier": "apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0" - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - } - ], "files": [ { "path": "codebase", @@ -528,7 +502,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -599,8 +573,8 @@ ], "license_clues": [], "percentage_of_license_text": 57.14, - "for_licenses": [ - "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "for_license_detections": [ + "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -675,8 +649,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "for_license_detections": [ + "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], @@ -739,8 +713,8 @@ ], "license_clues": [], "percentage_of_license_text": 25.0, - "for_licenses": [ - "ad8a216c-f324-d61f-494c-f105455d2fee" + "for_license_detections": [ + "mit#ad8a216c-f324-d61f-494c-f105455d2fee" ], "copyrights": [], "holders": [], @@ -801,7 +775,8 @@ "matcher": "1-spdx-id", "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null + "rule_url": null, + "matched_text": "MIT" } ] } @@ -880,8 +855,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], @@ -944,9 +919,9 @@ ], "license_clues": [], "percentage_of_license_text": 40.0, - "for_licenses": [ - "c6739b12-3643-1e85-cc14-1864411bf945", - "d5eb9d8e-3b26-fd74-282d-341e657c08eb" + "for_license_detections": [ + "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", + "apache_2_0#d5eb9d8e-3b26-fd74-282d-341e657c08eb" ], "copyrights": [], "holders": [], @@ -1001,7 +976,8 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" } ] } diff --git a/tests/summarycode/data/summary/single_file/single_file.expected.json b/tests/summarycode/data/summary/single_file/single_file.expected.json index c70299aede4..491e8bfaff4 100644 --- a/tests/summarycode/data/summary/single_file/single_file.expected.json +++ b/tests/summarycode/data/summary/single_file/single_file.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "427d039d-8476-c119-f150-af365b19c42b", + "identifier": "jetty#427d039d-8476-c119-f150-af365b19c42b", "license_expression": "jetty", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,30 +22,6 @@ ] } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "jetty", - "license_clarity_score": { - "score": 100, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "Mort Bay Consulting Pty. Ltd. (Australia) and others, Sun Microsystems", - "primary_language": null, - "other_license_expressions": [ - { - "value": null, - "count": 1 - } - ], - "other_holders": [], - "other_languages": [] - }, "license_references": [ { "key": "jetty", @@ -64,7 +40,7 @@ "text": "Jetty License\n$Revision: 584 $\n\nPreamble:\nThe intent of this document is to state the conditions under which the Jetty\nPackage may be copied, such that the Copyright Holder maintains some semblance\nof control over the development of the package, while giving the users of the\npackage the right to use, distribute and make reasonable modifications to the\nPackage in accordance with the goals and ideals of the Open Source concept as\ndescribed at http://www.opensource.org.\n\nIt is the intent of this license to allow commercial usage of the Jetty package,\nso long as the source code is distributed or suitable visible credit given or\nother arrangements made with the copyright holders.\n\nDefinitions:\n* \"Jetty\" refers to the collection of Java classes that are distributed as a\nHTTP server with servlet capabilities and associated utilities.\n\n* \"Package\" refers to the collection of files distributed by the Copyright\nHolder, and derivatives of that collection of files created through textual\nmodification.\n\n* \"Standard Version\" refers to such a Package if it has not been modified,\nor has been modified in accordance with the wishes of the Copyright Holder.\n\n* \"Copyright Holder\" is whoever is named in the copyright or copyrights for\nthe package. Mort Bay Consulting Pty. Ltd. (Australia) is the \"Copyright Holder\" for\nthe Jetty package.\n\n* \"You\" is you, if you're thinking about copying or distributing this\nPackage.\n\n* \"Reasonable copying fee\" is whatever you can justify on the basis of media\ncost, duplication charges, time of people involved, and so on. (You will not be\nrequired to justify it to the Copyright Holder, but only to the computing\ncommunity at large as a market that must bear the fee.)\n\n* \"Freely Available\" means that no fee is charged for the item itself,\nthough there may be fees involved in handling the item. It also means that\nrecipients of the item may redistribute it under the same conditions they\nreceived it.\n\n0. The Jetty Package is Copyright (c) Mort Bay Consulting Pty. Ltd. (Australia)\nand others. Individual files in this package may contain additional copyright\nnotices. The javax.servlet packages are copyright Sun Microsystems Inc.\n\n1. The Standard Version of the Jetty package is available from\nhttp://jetty.mortbay.org.\n\n2. You may make and distribute verbatim copies of the source form of the\nStandard Version of this Package without restriction, provided that you include\nthis license and all of the original copyright notices and associated\ndisclaimers.\n\n3. You may make and distribute verbatim copies of the compiled form of the\nStandard Version of this Package without restriction, provided that you include\nthis license.\n\n4. You may apply bug fixes, portability fixes and other modifications derived\nfrom the Public Domain or from the Copyright Holder. A Package modified in such\na way shall still be considered the Standard Version.\n\n5. You may otherwise modify your copy of this Package in any way, provided that\nyou insert a prominent notice in each changed file stating how and when you\nchanged that file, and provided that you do at least ONE of the following:\n\na) Place your modifications in the Public Domain or otherwise make them\nFreely Available, such as by posting said modifications to Usenet or an\nequivalent medium, or placing the modifications on a major archive site such as\nftp.uu.net, or by allowing the Copyright Holder to include your modifications in\nthe Standard Version of the Package.\n\nb) Use the modified Package only within your corporation or organization.\n\nc) Rename any non-standard classes so the names do not conflict with\nstandard classes, which must also be provided, and provide a separate manual\npage for each non-standard class that clearly documents how it differs from the\nStandard Version.\n\nd) Make other arrangements with the Copyright Holder.\n\n6. You may distribute modifications or subsets of this Package in source code or\ncompiled form, provided that you do at least ONE of the following:\n\na) Distribute this license and all original copyright messages, together\nwith instructions (in the about dialog, manual page or equivalent) on where to\nget the complete Standard Version.\n\nb) Accompany the distribution with the machine-readable source of the\nPackage with your modifications. The modified package must include this license\nand all of the original copyright notices and associated disclaimers, together\nwith instructions on where to get the complete Standard Version.\n\nc) Make other arrangements with the Copyright Holder.\n\n7. You may charge a reasonable copying fee for any distribution of this Package.\nYou may charge any fee you choose for support of this Package. You may not\ncharge a fee for this Package itself. However, you may distribute this Package\nin aggregate with other (possibly commercial) programs as part of a larger\n(possibly commercial) software distribution provided that you meet the other\ndistribution requirements of this license.\n\n8. Input to or the output produced from the programs of this Package do not\nautomatically fall under the copyright of this Package, but belong to whomever\ngenerated them, and may be sold commercially, and may be aggregated with this\nPackage.\n\n9. Any program subroutines supplied by you and linked into this Package shall\nnot be considered part of this Package.\n\n10. The name of the Copyright Holder may not be used to endorse or promote\nproducts derived from this software without specific prior written permission.\n\n11. This license may change with each release of a Standard Version of the\nPackage. You may choose to use the license associated with version you are using\nor the license of the latest Standard Version.\n\n12. THIS PACKAGE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR IMPLIED\nWARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n\n13. If any superior law implies a warranty, the sole remedy under such shall be,\nat the Copyright Holders option either\na) return of any price paid or\nb) use or reasonable endeavours to repair or replace the software.\n\n14. This license shall be read under the laws of Australia.\n\nThe End\nThis license was derived from the Artistic license published on\nhttp://www.opensource.com" } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "jetty", "rule_identifier": "jetty.LICENSE", @@ -78,6 +54,30 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [], + "summary": { + "declared_license_expression": "jetty", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Mort Bay Consulting Pty. Ltd. (Australia) and others, Sun Microsystems", + "primary_language": null, + "other_license_expressions": [ + { + "value": null, + "count": 1 + } + ], + "other_holders": [], + "other_languages": [] + }, "files": [ { "path": "codebase", @@ -103,7 +103,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -163,8 +163,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "427d039d-8476-c119-f150-af365b19c42b" + "for_license_detections": [ + "jetty#427d039d-8476-c119-f150-af365b19c42b" ], "copyrights": [ { diff --git a/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json b/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json index 82b584d4aff..5f12b9f5e64 100644 --- a/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json +++ b/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "ad8a216c-f324-d61f-494c-f105455d2fee", + "identifier": "mit#ad8a216c-f324-d61f-494c-f105455d2fee", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "04f8db63-e6e3-94d5-ae3a-a1a5f5f6ce6e", + "identifier": "mit#04f8db63-e6e3-94d5-ae3a-a1a5f5f6ce6e", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -64,9 +64,9 @@ ] }, { - "identifier": "fb844411-7214-0f1a-1e8f-45cf1b635d24", + "identifier": "unknown_license_reference#fb844411-7214-0f1a-1e8f-45cf1b635d24", "license_expression": "unknown-license-reference", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -85,9 +85,9 @@ ] }, { - "identifier": "a545424e-6bca-63d9-1fbd-c17f2c43ab4b", + "identifier": "mit#a545424e-6bca-63d9-1fbd-c17f2c43ab4b", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -117,6 +117,168 @@ ] } ], + "license_references": [ + { + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" + ], + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" + ], + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "license_rule_references": [ + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "pypi_mit_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "pypi_mit_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see_license_at_manifest_2.RULE", + "referenced_filenames": [ + "LICENSE.txt" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see_license_at_manifest_2.RULE", + "referenced_filenames": [ + "LICENSE.txt" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "pypi_mit_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "pypi_mit_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + } + ], "dependencies": [], "packages": [ { @@ -173,7 +335,8 @@ "matcher": "1-spdx-id", "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null + "rule_url": null, + "matched_text": "MIT" } ] }, @@ -192,7 +355,8 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "pypi_mit_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE", + "matched_text": "['License :: OSI Approved :: MIT License']" } ] } @@ -242,146 +406,6 @@ "other_holders": [], "other_languages": [] }, - "license_references": [ - { - "key": "mit", - "short_name": "MIT License", - "name": "MIT License", - "category": "Permissive", - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "MIT", - "text_urls": [ - "http://opensource.org/licenses/mit-license.php" - ], - "osi_url": "http://www.opensource.org/licenses/MIT", - "faq_url": "https://ieeexplore.ieee.org/document/9263265", - "other_urls": [ - "https://opensource.com/article/18/3/patent-grant-mit-license", - "https://opensource.com/article/19/4/history-mit-license", - "https://opensource.org/licenses/MIT" - ], - "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." - } - ], - "rule_references": [ - { - "license_expression": "mit", - "rule_identifier": "spdx-license-identifier: mit", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "MIT" - }, - { - "license_expression": "mit", - "rule_identifier": "pypi_mit_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "['License :: OSI Approved :: MIT License']" - }, - { - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "spdx-license-identifier: mit", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "MIT" - }, - { - "license_expression": "mit", - "rule_identifier": "pypi_mit_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "['License :: OSI Approved :: MIT License']" - }, - { - "license_expression": "mit", - "rule_identifier": "spdx-license-identifier: mit", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100, - "matched_text": "MIT" - }, - { - "license_expression": "mit", - "rule_identifier": "pypi_mit_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100, - "matched_text": "['License :: OSI Approved :: MIT License']" - }, - { - "license_expression": "mit", - "rule_identifier": "mit_30.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "pypi_mit_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - } - ], "files": [ { "path": "pip-22.0.4", @@ -391,7 +415,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "is_legal": false, @@ -409,7 +433,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -449,8 +473,8 @@ ], "license_clues": [], "percentage_of_license_text": 93.6, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "package_data": [], "for_packages": [ @@ -471,7 +495,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -491,7 +515,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -580,10 +604,10 @@ ], "license_clues": [], "percentage_of_license_text": 1.86, - "for_licenses": [ - "ad8a216c-f324-d61f-494c-f105455d2fee", - "04f8db63-e6e3-94d5-ae3a-a1a5f5f6ce6e", - "fb844411-7214-0f1a-1e8f-45cf1b635d24" + "for_license_detections": [ + "mit#ad8a216c-f324-d61f-494c-f105455d2fee", + "mit#04f8db63-e6e3-94d5-ae3a-a1a5f5f6ce6e", + "unknown_license_reference#fb844411-7214-0f1a-1e8f-45cf1b635d24" ], "package_data": [ { @@ -640,7 +664,8 @@ "matcher": "1-spdx-id", "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null + "rule_url": null, + "matched_text": "MIT" } ] }, @@ -659,7 +684,8 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "pypi_mit_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE", + "matched_text": "['License :: OSI Approved :: MIT License']" } ] } @@ -701,7 +727,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -721,7 +747,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "is_legal": false, @@ -739,7 +765,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [ { "type": "pypi", @@ -970,7 +996,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [ { "type": "pypi", @@ -1094,8 +1120,8 @@ ], "license_clues": [], "percentage_of_license_text": 1.96, - "for_licenses": [ - "fb844411-7214-0f1a-1e8f-45cf1b635d24" + "for_license_detections": [ + "unknown_license_reference#fb844411-7214-0f1a-1e8f-45cf1b635d24" ], "package_data": [ { @@ -1231,8 +1257,8 @@ ], "license_clues": [], "percentage_of_license_text": 2.37, - "for_licenses": [ - "a545424e-6bca-63d9-1fbd-c17f2c43ab4b" + "for_license_detections": [ + "mit#a545424e-6bca-63d9-1fbd-c17f2c43ab4b" ], "package_data": [ { @@ -1289,7 +1315,8 @@ "matcher": "1-spdx-id", "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null + "rule_url": null, + "matched_text": "MIT" } ] }, @@ -1308,7 +1335,8 @@ "matcher": "1-hash", "license_expression": "mit", "rule_identifier": "pypi_mit_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE", + "matched_text": "['License :: OSI Approved :: MIT License']" } ] } @@ -1351,7 +1379,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "is_legal": false, @@ -1369,7 +1397,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [], "is_legal": false, @@ -1387,7 +1415,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1407,7 +1435,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" @@ -1427,7 +1455,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" diff --git a/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json b/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json index 90653958aad..050abf47862 100644 --- a/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json +++ b/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "28a4af66-3385-dc3d-3b4b-27eea19ac8ca", + "identifier": "apache_2_0#28a4af66-3385-dc3d-3b4b-27eea19ac8ca", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,6 +22,49 @@ ] } ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + } + ], + "license_rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100 + } + ], "dependencies": [ { "purl": "pkg:pypi/pybind11", @@ -140,61 +183,6 @@ ], "other_languages": [] }, - "license_references": [ - { - "key": "apache-2.0", - "short_name": "Apache 2.0", - "name": "Apache License 2.0", - "category": "Permissive", - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", - "is_builtin": true, - "spdx_license_key": "Apache-2.0", - "other_spdx_license_keys": [ - "LicenseRef-Apache", - "LicenseRef-Apache-2.0" - ], - "osi_license_key": "Apache-2.0", - "text_urls": [ - "http://www.apache.org/licenses/LICENSE-2.0" - ], - "osi_url": "http://opensource.org/licenses/apache2.0.php", - "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", - "other_urls": [ - "http://www.opensource.org/licenses/Apache-2.0", - "https://opensource.org/licenses/Apache-2.0", - "https://www.apache.org/licenses/LICENSE-2.0" - ], - "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." - } - ], - "rule_references": [ - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100 - } - ], "files": [ { "path": "codebase", @@ -220,7 +208,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -260,7 +248,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) Example Corporation", @@ -334,8 +322,8 @@ ], "license_clues": [], "percentage_of_license_text": 53.12, - "for_licenses": [ - "28a4af66-3385-dc3d-3b4b-27eea19ac8ca" + "for_license_detections": [ + "apache_2_0#28a4af66-3385-dc3d-3b4b-27eea19ac8ca" ], "copyrights": [ { diff --git a/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json b/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json index b6283c802a2..01db235ee1f 100644 --- a/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json +++ b/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "identifier": "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -75,9 +75,9 @@ ] }, { - "identifier": "c6739b12-3643-1e85-cc14-1864411bf945", + "identifier": "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -96,9 +96,9 @@ ] }, { - "identifier": "d5eb9d8e-3b26-fd74-282d-341e657c08eb", + "identifier": "apache_2_0#d5eb9d8e-3b26-fd74-282d-341e657c08eb", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -117,117 +117,6 @@ ] } ], - "dependencies": [], - "packages": [ - { - "type": "pypi", - "namespace": null, - "name": "codebase", - "version": null, - "qualifiers": {}, - "subpath": null, - "primary_language": "Python", - "description": null, - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Example Corp.", - "email": null, - "url": null - } - ], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "apache-2.0", - "declared_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "{'license': 'apache-2.0'}", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://pypi.org/project/codebase", - "repository_download_url": null, - "api_data_url": "https://pypi.org/pypi/codebase/json", - "package_uid": "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "codebase/setup.py" - ], - "datasource_ids": [ - "pypi_setup_py" - ], - "purl": "pkg:pypi/codebase" - } - ], - "summary": { - "declared_license_expression": "apache-2.0", - "license_clarity_score": { - "score": 100, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "Example Corp.", - "primary_language": "Python", - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "apache-2.0 AND (apache-2.0 OR mit)", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 3 - } - ], - "other_languages": [] - }, "license_references": [ { "key": "apache-2.0", @@ -279,20 +168,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0" - }, + "license_rule_references": [ { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", @@ -351,8 +227,7 @@ "is_license_tag": false, "is_license_intro": false, "rule_length": 3, - "rule_relevance": 100, - "matched_text": "apache-2.0" + "rule_relevance": 100 }, { "license_expression": "apache-2.0", @@ -367,6 +242,118 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [ + { + "type": "pypi", + "namespace": null, + "name": "codebase", + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Example Corp.", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "{'license': 'apache-2.0'}", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://pypi.org/project/codebase", + "repository_download_url": null, + "api_data_url": "https://pypi.org/pypi/codebase/json", + "package_uid": "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "codebase/setup.py" + ], + "datasource_ids": [ + "pypi_setup_py" + ], + "purl": "pkg:pypi/codebase" + } + ], + "summary": { + "declared_license_expression": "apache-2.0", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Example Corp.", + "primary_language": "Python", + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "apache-2.0 AND (apache-2.0 OR mit)", + "count": 1 + }, + { + "value": "mit", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 3 + } + ], + "other_languages": [] + }, "files": [ { "path": "codebase", @@ -392,7 +379,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -463,8 +450,8 @@ ], "license_clues": [], "percentage_of_license_text": 57.14, - "for_licenses": [ - "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "for_license_detections": [ + "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -539,8 +526,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "for_license_detections": [ + "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], @@ -603,8 +590,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], @@ -667,9 +654,9 @@ ], "license_clues": [], "percentage_of_license_text": 40.0, - "for_licenses": [ - "c6739b12-3643-1e85-cc14-1864411bf945", - "d5eb9d8e-3b26-fd74-282d-341e657c08eb" + "for_license_detections": [ + "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", + "apache_2_0#d5eb9d8e-3b26-fd74-282d-341e657c08eb" ], "copyrights": [], "holders": [], @@ -724,7 +711,8 @@ "matcher": "1-hash", "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" } ] } diff --git a/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json b/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json index 557931c8dac..c871ae177ba 100644 --- a/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json +++ b/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "identifier": "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -75,43 +75,6 @@ ] } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "license_clarity_score": { - "score": 100, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "Example Corp.", - "primary_language": null, - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "apache-2.0", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 2 - } - ], - "other_languages": [] - }, "license_references": [ { "key": "apache-2.0", @@ -163,7 +126,7 @@ "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", @@ -213,6 +176,43 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [], + "summary": { + "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Example Corp.", + "primary_language": null, + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "apache-2.0", + "count": 1 + }, + { + "value": "mit", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 2 + } + ], + "other_languages": [] + }, "files": [ { "path": "codebase", @@ -238,7 +238,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -309,8 +309,8 @@ ], "license_clues": [], "percentage_of_license_text": 57.14, - "for_licenses": [ - "0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "for_license_detections": [ + "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -383,8 +383,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "for_license_detections": [ + "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], @@ -445,8 +445,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "e60e2912-9996-f235-207c-8ce2b9e55eb9" + "for_license_detections": [ + "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], diff --git a/tests/summarycode/data/tallies/copyright_tallies/tallies.expected.json b/tests/summarycode/data/tallies/copyright_tallies/tallies.expected.json index eeeb66db15b..ac0cec441df 100644 --- a/tests/summarycode/data/tallies/copyright_tallies/tallies.expected.json +++ b/tests/summarycode/data/tallies/copyright_tallies/tallies.expected.json @@ -119,8 +119,6 @@ } ] }, - "license_references": [], - "rule_references": [], "files": [ { "path": "scan", diff --git a/tests/summarycode/data/tallies/copyright_tallies/tallies2.expected.json b/tests/summarycode/data/tallies/copyright_tallies/tallies2.expected.json index 815af1468e3..1d9bc4fdc9e 100644 --- a/tests/summarycode/data/tallies/copyright_tallies/tallies2.expected.json +++ b/tests/summarycode/data/tallies/copyright_tallies/tallies2.expected.json @@ -27,8 +27,6 @@ } ] }, - "license_references": [], - "rule_references": [], "files": [ { "path": "scan2", diff --git a/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected.json b/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected.json index 85fa2ceb049..8b8e8e2142d 100644 --- a/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected.json +++ b/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected.json @@ -119,8 +119,6 @@ } ] }, - "license_references": [], - "rule_references": [], "files": [ { "path": "scan", diff --git a/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected2.json b/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected2.json index 85fa2ceb049..8b8e8e2142d 100644 --- a/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected2.json +++ b/tests/summarycode/data/tallies/copyright_tallies/tallies_details.expected2.json @@ -119,8 +119,6 @@ } ] }, - "license_references": [], - "rule_references": [], "files": [ { "path": "scan", diff --git a/tests/summarycode/data/tallies/copyright_tallies/tallies_key_files.expected.json b/tests/summarycode/data/tallies/copyright_tallies/tallies_key_files.expected.json index f15e802cd74..f34a3363f24 100644 --- a/tests/summarycode/data/tallies/copyright_tallies/tallies_key_files.expected.json +++ b/tests/summarycode/data/tallies/copyright_tallies/tallies_key_files.expected.json @@ -143,8 +143,6 @@ "authors": [], "programming_language": [] }, - "license_references": [], - "rule_references": [], "files": [ { "path": "scan", diff --git a/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json b/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json index 5c55f3d9e5f..868476af63d 100644 --- a/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json +++ b/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f", + "identifier": "gpl_3_0_plus#b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f", "license_expression": "gpl-3.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "e68d2a19-4f30-77b2-c51f-8f14b7a097d2", + "identifier": "gpl_2_0_plus#e68d2a19-4f30-77b2-c51f-8f14b7a097d2", "license_expression": "gpl-2.0-plus", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,72 +43,6 @@ ] } ], - "dependencies": [], - "packages": [], - "tallies": { - "detected_license_expression": [ - { - "value": null, - "count": 1 - }, - { - "value": "gpl-2.0-plus", - "count": 1 - }, - { - "value": "gpl-3.0-plus", - "count": 1 - } - ], - "copyrights": [ - { - "value": null, - "count": 2 - }, - { - "value": "Copyright (c) - Members of the Gmerlin project", - "count": 1 - }, - { - "value": "Copyright (c) - Members of the Gmerlin project gmerlin-general@lists.sourceforge.net http://gmerlin.sourceforge.net", - "count": 1 - } - ], - "holders": [ - { - "value": null, - "count": 2 - }, - { - "value": "Members of the Gmerlin project", - "count": 2 - } - ], - "authors": [ - { - "value": null, - "count": 4 - } - ], - "programming_language": [ - { - "value": "C", - "count": 2 - } - ] - }, - "tallies_of_key_files": { - "detected_license_expression": [ - { - "value": "gpl-3.0-plus", - "count": 1 - } - ], - "copyrights": [], - "holders": [], - "authors": [], - "programming_language": [] - }, "license_references": [ { "key": "gpl-2.0-plus", @@ -161,7 +95,7 @@ "text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", @@ -187,6 +121,72 @@ "rule_relevance": 100 } ], + "dependencies": [], + "packages": [], + "tallies": { + "detected_license_expression": [ + { + "value": null, + "count": 1 + }, + { + "value": "gpl-2.0-plus", + "count": 1 + }, + { + "value": "gpl-3.0-plus", + "count": 1 + } + ], + "copyrights": [ + { + "value": null, + "count": 2 + }, + { + "value": "Copyright (c) - Members of the Gmerlin project", + "count": 1 + }, + { + "value": "Copyright (c) - Members of the Gmerlin project gmerlin-general@lists.sourceforge.net http://gmerlin.sourceforge.net", + "count": 1 + } + ], + "holders": [ + { + "value": null, + "count": 2 + }, + { + "value": "Members of the Gmerlin project", + "count": 2 + } + ], + "authors": [ + { + "value": null, + "count": 4 + } + ], + "programming_language": [ + { + "value": "C", + "count": 2 + } + ] + }, + "tallies_of_key_files": { + "detected_license_expression": [ + { + "value": "gpl-3.0-plus", + "count": 1 + } + ], + "copyrights": [], + "holders": [], + "authors": [], + "programming_language": [] + }, "files": [ { "path": "bug-1141.tar.gz", @@ -212,7 +212,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -253,7 +253,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -294,7 +294,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -335,7 +335,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -396,8 +396,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f" + "for_license_detections": [ + "gpl_3_0_plus#b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f" ], "copyrights": [], "holders": [], @@ -441,7 +441,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -484,7 +484,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -525,7 +525,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -566,7 +566,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -627,8 +627,8 @@ ], "license_clues": [], "percentage_of_license_text": 80.95, - "for_licenses": [ - "e68d2a19-4f30-77b2-c51f-8f14b7a097d2" + "for_license_detections": [ + "gpl_2_0_plus#e68d2a19-4f30-77b2-c51f-8f14b7a097d2" ], "copyrights": [ { @@ -684,7 +684,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2001 - 2011 Members of the Gmerlin project", diff --git a/tests/summarycode/data/tallies/full_tallies/tallies.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies.expected.json index 28f25be7d06..865b46402d9 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "c7a96db7-de74-527f-da8d-b573175736b4", + "identifier": "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4", "license_expression": "cc0-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "8755d5fd-6521-04e7-ace1-4344b99647e3", + "identifier": "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3", "license_expression": "artistic-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "9c6f31cf-0e74-9f00-c846-b76477e312c2", + "identifier": "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2", "license_expression": "zlib", - "occurance_count": 9, + "occurrence_count": 9, "detection_log": [ "not-combined" ], @@ -64,9 +64,9 @@ ] }, { - "identifier": "866b02ed-ff4b-379e-e254-8ebc15ceae23", + "identifier": "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23", "license_expression": "zlib", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -85,9 +85,9 @@ ] }, { - "identifier": "126b3e65-1401-e7e2-8359-60042a41771c", + "identifier": "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c", "license_expression": "lgpl-2.1-plus", - "occurance_count": 3, + "occurrence_count": 3, "detection_log": [ "not-combined" ], @@ -106,9 +106,9 @@ ] }, { - "identifier": "26ed35f7-744b-aeec-b973-783eeb6928b4", + "identifier": "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4", "license_expression": "cc-by-2.5", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -127,9 +127,9 @@ ] }, { - "identifier": "ab43ac21-eeae-978d-b391-58e77ab54a8c", + "identifier": "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c", "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -148,9 +148,9 @@ ] }, { - "identifier": "b015a903-1844-66d2-fd10-6e5e24a7b011", + "identifier": "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011", "license_expression": "boost-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -169,9 +169,9 @@ ] }, { - "identifier": "b242753c-a31d-3db4-b77a-92bdef5c5389", + "identifier": "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389", "license_expression": "zlib", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -190,9 +190,9 @@ ] }, { - "identifier": "41d50a44-94c9-224f-adc2-02743727be1a", + "identifier": "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a", "license_expression": "mit-old-style", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -211,401 +211,593 @@ ] } ], - "dependencies": [ + "license_references": [ { - "purl": "pkg:npm/abbrev", - "extracted_requirement": "~1.0.7", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/abbrev?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "ada-linking-exception", + "short_name": "Ada linking exception to GPL 2.0 or later", + "name": "Ada linking exception to GPL 2.0 or later", + "category": "Copyleft Limited", + "owner": "Dmitriy Anisimkov", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", + "other_urls": [ + "http://zlib-ada.sourceforge.net/", + "http://ada-ru.org/" + ], + "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", + "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." }, { - "purl": "pkg:npm/ansi", - "extracted_requirement": "~0.3.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansi?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "artistic-2.0", + "short_name": "Artistic 2.0", + "name": "Artistic License 2.0", + "category": "Copyleft Limited", + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "Artistic-2.0", + "osi_license_key": "Artistic-2.0", + "text_urls": [ + "https://www.perlfoundation.org/artistic_license_2_0", + "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" + ], + "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", + "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", + "other_urls": [ + "http://www.perlfoundation.org/artistic_license_2_0", + "https://opensource.org/licenses/artistic-license-2.0", + "https://www.opensource.org/licenses/artistic-license-2.0", + "https://www.perlfoundation.org/artistic-license-20.html" + ], + "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." }, { - "purl": "pkg:npm/ansicolors", - "extracted_requirement": "~0.3.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansicolors?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "boost-1.0", + "short_name": "Boost 1.0", + "name": "Boost Software License 1.0", + "category": "Permissive", + "owner": "Boost", + "homepage_url": "http://www.boost.org/users/license.html", + "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "BSL-1.0", + "text_urls": [ + "http://www.boost.org/LICENSE_1_0.txt" + ], + "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", + "other_urls": [ + "http://www.boost.org/users/license.html", + "http://www.opensource.org/licenses/BSL-1.0", + "https://opensource.org/licenses/BSL-1.0" + ], + "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." }, { - "purl": "pkg:npm/ansistyles", - "extracted_requirement": "~0.1.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansistyles?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "cc-by-2.5", + "short_name": "CC-BY-2.5", + "name": "Creative Commons Attribution License 2.5", + "category": "Permissive", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by/2.5/", + "is_builtin": true, + "spdx_license_key": "CC-BY-2.5", + "text_urls": [ + "http://creativecommons.org/licenses/by/2.5/legalcode" + ], + "other_urls": [ + "https://creativecommons.org/licenses/by/2.5/legalcode" + ], + "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." }, { - "purl": "pkg:npm/archy", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/archy?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "cc0-1.0", + "short_name": "CC0-1.0", + "name": "Creative Commons CC0 1.0 Universal", + "category": "Public Domain", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", + "is_builtin": true, + "spdx_license_key": "CC0-1.0", + "text_urls": [ + "http://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", + "other_urls": [ + "https://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." }, { - "purl": "pkg:npm/async-some", - "extracted_requirement": "~1.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/async-some?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." }, { - "purl": "pkg:npm/block-stream", - "extracted_requirement": "0.0.8", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/block-stream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" }, { - "purl": "pkg:npm/char-spinner", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/char-spinner?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "mit-old-style", + "short_name": "MIT Old Style", + "name": "MIT Old Style", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-mit-old-style", + "text_urls": [ + "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" + ], + "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." }, { - "purl": "pkg:npm/chmodr", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/chmodr?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, + "key": "zlib", + "short_name": "ZLIB License", + "name": "ZLIB License", + "category": "Permissive", + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "notes": "Per SPDX.org, this is OSI certified", + "is_builtin": true, + "spdx_license_key": "Zlib", + "text_urls": [ + "http://www.gzip.org/zlib/zlib_license.html" + ], + "osi_url": "http://www.opensource.org/licenses/zlib-license.php", + "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", + "other_urls": [ + "http://www.opensource.org/licenses/Zlib", + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "minimum_coverage": 50, + "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." + } + ], + "license_rule_references": [ { - "purl": "pkg:npm/chownr", - "extracted_requirement": "0.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/chownr?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 981, + "rule_relevance": 100 }, { - "purl": "pkg:npm/cmd-shim", - "extracted_requirement": "~2.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/cmd-shim?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50 }, { - "purl": "pkg:npm/columnify", - "extracted_requirement": "~1.5.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/columnify?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 }, { - "purl": "pkg:npm/config-chain", - "extracted_requirement": "~1.1.9", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/config-chain?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 }, { - "purl": "pkg:npm/dezalgo", - "extracted_requirement": "~1.0.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/dezalgo?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 }, { - "purl": "pkg:npm/editor", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/editor?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 }, { - "purl": "pkg:npm/fs-vacuum", - "extracted_requirement": "~1.2.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fs-vacuum?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 }, { - "purl": "pkg:npm/fs-write-stream-atomic", - "extracted_requirement": "~1.0.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fs-write-stream-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 14, + "rule_relevance": 100 }, { - "purl": "pkg:npm/fstream", - "extracted_requirement": "~1.0.7", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fstream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 }, { - "purl": "pkg:npm/fstream-npm", - "extracted_requirement": "~1.0.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fstream-npm?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 }, { - "purl": "pkg:npm/github-url-from-git", - "extracted_requirement": "~1.4.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/github-url-from-git?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 }, { - "purl": "pkg:npm/github-url-from-username-repo", - "extracted_requirement": "~1.0.2", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 176, + "rule_relevance": 100 + }, + { + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "referenced_filenames": [ + "LICENSE_1_0.txt" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 32, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 71, + "rule_relevance": 100 + } + ], + "dependencies": [ + { + "purl": "pkg:npm/abbrev", + "extracted_requirement": "~1.0.7", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/github-url-from-username-repo?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/abbrev?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/glob", - "extracted_requirement": "~5.0.14", + "purl": "pkg:npm/ansi", + "extracted_requirement": "~0.3.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/glob?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/ansi?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/graceful-fs", - "extracted_requirement": "~4.1.2", + "purl": "pkg:npm/ansicolors", + "extracted_requirement": "~0.3.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/graceful-fs?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/ansicolors?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/hosted-git-info", - "extracted_requirement": "~2.1.4", + "purl": "pkg:npm/ansistyles", + "extracted_requirement": "~0.1.3", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/hosted-git-info?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/ansistyles?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/inflight", - "extracted_requirement": "~1.0.4", + "purl": "pkg:npm/archy", + "extracted_requirement": "~1.0.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/inflight?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/archy?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/inherits", - "extracted_requirement": "~2.0.1", + "purl": "pkg:npm/async-some", + "extracted_requirement": "~1.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/inherits?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/async-some?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/ini", - "extracted_requirement": "~1.3.4", + "purl": "pkg:npm/block-stream", + "extracted_requirement": "0.0.8", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/ini?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/block-stream?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/init-package-json", - "extracted_requirement": "~1.7.1", + "purl": "pkg:npm/char-spinner", + "extracted_requirement": "~1.0.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/init-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/char-spinner?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/lockfile", + "purl": "pkg:npm/chmodr", "extracted_requirement": "~1.0.1", "scope": "dependencies", "is_runtime": true, @@ -613,704 +805,984 @@ "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/lockfile?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/chmodr?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/lru-cache", - "extracted_requirement": "~2.6.5", + "purl": "pkg:npm/chownr", + "extracted_requirement": "0.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/lru-cache?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/chownr?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/minimatch", - "extracted_requirement": "~2.0.10", + "purl": "pkg:npm/cmd-shim", + "extracted_requirement": "~2.0.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/minimatch?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/cmd-shim?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/mkdirp", - "extracted_requirement": "~0.5.1", + "purl": "pkg:npm/columnify", + "extracted_requirement": "~1.5.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/mkdirp?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/columnify?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/node-gyp", - "extracted_requirement": "~2.0.2", + "purl": "pkg:npm/config-chain", + "extracted_requirement": "~1.1.9", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/node-gyp?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/config-chain?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/nopt", - "extracted_requirement": "~3.0.3", + "purl": "pkg:npm/dezalgo", + "extracted_requirement": "~1.0.3", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/nopt?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/dezalgo?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/normalize-git-url", - "extracted_requirement": "~3.0.1", + "purl": "pkg:npm/editor", + "extracted_requirement": "~1.0.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/normalize-git-url?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/editor?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/normalize-package-data", - "extracted_requirement": "~2.3.1", + "purl": "pkg:npm/fs-vacuum", + "extracted_requirement": "~1.2.6", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/normalize-package-data?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/fs-vacuum?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-cache-filename", - "extracted_requirement": "~1.0.2", + "purl": "pkg:npm/fs-write-stream-atomic", + "extracted_requirement": "~1.0.3", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-cache-filename?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/fs-write-stream-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-install-checks", - "extracted_requirement": "~1.0.6", + "purl": "pkg:npm/fstream", + "extracted_requirement": "~1.0.7", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-install-checks?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/fstream?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-package-arg", - "extracted_requirement": "~4.0.2", + "purl": "pkg:npm/fstream-npm", + "extracted_requirement": "~1.0.4", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-package-arg?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/fstream-npm?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-registry-client", - "extracted_requirement": "~6.5.1", + "purl": "pkg:npm/github-url-from-git", + "extracted_requirement": "~1.4.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-client?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/github-url-from-git?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-user-validate", - "extracted_requirement": "~0.1.2", + "purl": "pkg:npm/github-url-from-username-repo", + "extracted_requirement": "~1.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-user-validate?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/github-url-from-username-repo?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npmlog", - "extracted_requirement": "~1.2.1", + "purl": "pkg:npm/glob", + "extracted_requirement": "~5.0.14", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npmlog?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/glob?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/once", - "extracted_requirement": "~1.3.2", + "purl": "pkg:npm/graceful-fs", + "extracted_requirement": "~4.1.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/once?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/graceful-fs?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/opener", - "extracted_requirement": "~1.4.1", + "purl": "pkg:npm/hosted-git-info", + "extracted_requirement": "~2.1.4", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/opener?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/hosted-git-info?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/osenv", - "extracted_requirement": "~0.1.3", + "purl": "pkg:npm/inflight", + "extracted_requirement": "~1.0.4", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/osenv?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/inflight?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/path-is-inside", - "extracted_requirement": "~1.0.0", + "purl": "pkg:npm/inherits", + "extracted_requirement": "~2.0.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/path-is-inside?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/inherits?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/read", - "extracted_requirement": "~1.0.6", + "purl": "pkg:npm/ini", + "extracted_requirement": "~1.3.4", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/read?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/ini?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/read-installed", - "extracted_requirement": "~4.0.2", + "purl": "pkg:npm/init-package-json", + "extracted_requirement": "~1.7.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/read-installed?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/init-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/read-package-json", - "extracted_requirement": "~2.0.0", + "purl": "pkg:npm/lockfile", + "extracted_requirement": "~1.0.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/read-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/lockfile?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/readable-stream", - "extracted_requirement": "~1.1.13", + "purl": "pkg:npm/lru-cache", + "extracted_requirement": "~2.6.5", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/readable-stream?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/lru-cache?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/realize-package-specifier", - "extracted_requirement": "~3.0.1", + "purl": "pkg:npm/minimatch", + "extracted_requirement": "~2.0.10", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/realize-package-specifier?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/minimatch?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/request", - "extracted_requirement": "~2.60.0", + "purl": "pkg:npm/mkdirp", + "extracted_requirement": "~0.5.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/request?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/mkdirp?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/retry", - "extracted_requirement": "~0.6.1", + "purl": "pkg:npm/node-gyp", + "extracted_requirement": "~2.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/retry?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/node-gyp?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/rimraf", - "extracted_requirement": "~2.4.2", + "purl": "pkg:npm/nopt", + "extracted_requirement": "~3.0.3", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/rimraf?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/nopt?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/semver", - "extracted_requirement": "~5.0.1", + "purl": "pkg:npm/normalize-git-url", + "extracted_requirement": "~3.0.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/semver?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/normalize-git-url?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/sha", - "extracted_requirement": "~1.3.0", + "purl": "pkg:npm/normalize-package-data", + "extracted_requirement": "~2.3.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/sha?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/normalize-package-data?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/slide", - "extracted_requirement": "~1.1.6", + "purl": "pkg:npm/npm-cache-filename", + "extracted_requirement": "~1.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/slide?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npm-cache-filename?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/sorted-object", - "extracted_requirement": "~1.0.0", + "purl": "pkg:npm/npm-install-checks", + "extracted_requirement": "~1.0.6", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/sorted-object?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npm-install-checks?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/spdx", - "extracted_requirement": "~0.4.1", + "purl": "pkg:npm/npm-package-arg", + "extracted_requirement": "~4.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/spdx?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npm-package-arg?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/tar", - "extracted_requirement": "~2.1.1", + "purl": "pkg:npm/npm-registry-client", + "extracted_requirement": "~6.5.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/tar?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npm-registry-client?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/text-table", - "extracted_requirement": "~0.2.0", + "purl": "pkg:npm/npm-user-validate", + "extracted_requirement": "~0.1.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/text-table?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npm-user-validate?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/uid-number", - "extracted_requirement": "0.0.6", + "purl": "pkg:npm/npmlog", + "extracted_requirement": "~1.2.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/uid-number?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npmlog?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/umask", - "extracted_requirement": "~1.1.0", + "purl": "pkg:npm/once", + "extracted_requirement": "~1.3.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/umask?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/once?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/validate-npm-package-name", - "extracted_requirement": "~2.2.2", + "purl": "pkg:npm/opener", + "extracted_requirement": "~1.4.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/validate-npm-package-name?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/opener?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/which", - "extracted_requirement": "~1.1.1", + "purl": "pkg:npm/osenv", + "extracted_requirement": "~0.1.3", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/which?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/osenv?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/wrappy", - "extracted_requirement": "~1.0.1", + "purl": "pkg:npm/path-is-inside", + "extracted_requirement": "~1.0.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/wrappy?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/path-is-inside?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/write-file-atomic", - "extracted_requirement": "~1.1.2", + "purl": "pkg:npm/read", + "extracted_requirement": "~1.0.6", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/write-file-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/read?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/validate-npm-package-license", - "extracted_requirement": "*", + "purl": "pkg:npm/read-installed", + "extracted_requirement": "~4.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/validate-npm-package-license?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/read-installed?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/deep-equal", - "extracted_requirement": "~1.0.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, + "purl": "pkg:npm/read-package-json", + "extracted_requirement": "~2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/deep-equal?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/read-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/marked", - "extracted_requirement": "~0.3.3", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, + "purl": "pkg:npm/readable-stream", + "extracted_requirement": "~1.1.13", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/marked?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/readable-stream?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/marked-man", - "extracted_requirement": "~0.1.5", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, + "purl": "pkg:npm/realize-package-specifier", + "extracted_requirement": "~3.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/marked-man?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/realize-package-specifier?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/nock", - "extracted_requirement": "~2.10.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, + "purl": "pkg:npm/request", + "extracted_requirement": "~2.60.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/nock?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/request?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-registry-couchapp", - "extracted_requirement": "~2.6.7", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, + "purl": "pkg:npm/retry", + "extracted_requirement": "~0.6.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-couchapp?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/retry?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-registry-mock", - "extracted_requirement": "~1.0.0", - "scope": "devDependencies", - "is_runtime": false, + "purl": "pkg:npm/rimraf", + "extracted_requirement": "~2.4.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/rimraf?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/semver", + "extracted_requirement": "~5.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/semver?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sha", + "extracted_requirement": "~1.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sha?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/slide", + "extracted_requirement": "~1.1.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/slide?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sorted-object", + "extracted_requirement": "~1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sorted-object?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/spdx", + "extracted_requirement": "~0.4.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/spdx?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/tar", + "extracted_requirement": "~2.1.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/tar?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/text-table", + "extracted_requirement": "~0.2.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/text-table?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/uid-number", + "extracted_requirement": "0.0.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/uid-number?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/umask", + "extracted_requirement": "~1.1.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/umask?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/validate-npm-package-name", + "extracted_requirement": "~2.2.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/validate-npm-package-name?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/which", + "extracted_requirement": "~1.1.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/which?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/wrappy", + "extracted_requirement": "~1.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/wrappy?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/write-file-atomic", + "extracted_requirement": "~1.1.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/write-file-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/validate-npm-package-license", + "extracted_requirement": "*", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/validate-npm-package-license?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/deep-equal", + "extracted_requirement": "~1.0.0", + "scope": "devDependencies", + "is_runtime": false, "is_optional": true, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-mock?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/deep-equal?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/require-inject", - "extracted_requirement": "~1.2.0", + "purl": "pkg:npm/marked", + "extracted_requirement": "~0.3.3", "scope": "devDependencies", "is_runtime": false, "is_optional": true, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/require-inject?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/marked?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/sprintf-js", - "extracted_requirement": "~1.0.2", + "purl": "pkg:npm/marked-man", + "extracted_requirement": "~0.1.5", "scope": "devDependencies", "is_runtime": false, "is_optional": true, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/sprintf-js?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/marked-man?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/tap", - "extracted_requirement": "~1.3.1", + "purl": "pkg:npm/nock", + "extracted_requirement": "~2.10.0", "scope": "devDependencies", "is_runtime": false, "is_optional": true, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/tap?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/nock?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" - } - ], - "packages": [ + }, { - "type": "npm", - "namespace": null, - "name": "npm", - "version": "2.13.5", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": "a package manager for JavaScript", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me" - }, - { + "purl": "pkg:npm/npm-registry-couchapp", + "extracted_requirement": "~2.6.7", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-registry-couchapp?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-registry-mock", + "extracted_requirement": "~1.0.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-registry-mock?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/require-inject", + "extracted_requirement": "~1.2.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/require-inject?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sprintf-js", + "extracted_requirement": "~1.0.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sprintf-js?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/tap", + "extracted_requirement": "~1.3.1", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/tap?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + } + ], + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "npm", + "version": "2.13.5", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "a package manager for JavaScript", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me" + }, + { "type": "person", "role": "contributor", "name": "Isaac Z. Schlueter", @@ -3516,7 +3988,8 @@ "matcher": "1-hash", "license_expression": "artistic-2.0", "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "matched_text": "Artistic-2.0" } ] } @@ -3721,422 +4194,6 @@ } ] }, - "license_references": [ - { - "key": "ada-linking-exception", - "short_name": "Ada linking exception to GPL 2.0 or later", - "name": "Ada linking exception to GPL 2.0 or later", - "category": "Copyleft Limited", - "owner": "Dmitriy Anisimkov", - "is_builtin": true, - "is_exception": true, - "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", - "other_urls": [ - "http://zlib-ada.sourceforge.net/", - "http://ada-ru.org/" - ], - "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", - "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." - }, - { - "key": "artistic-2.0", - "short_name": "Artistic 2.0", - "name": "Artistic License 2.0", - "category": "Copyleft Limited", - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", - "is_builtin": true, - "spdx_license_key": "Artistic-2.0", - "osi_license_key": "Artistic-2.0", - "text_urls": [ - "https://www.perlfoundation.org/artistic_license_2_0", - "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" - ], - "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", - "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", - "other_urls": [ - "http://www.perlfoundation.org/artistic_license_2_0", - "https://opensource.org/licenses/artistic-license-2.0", - "https://www.opensource.org/licenses/artistic-license-2.0", - "https://www.perlfoundation.org/artistic-license-20.html" - ], - "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "boost-1.0", - "short_name": "Boost 1.0", - "name": "Boost Software License 1.0", - "category": "Permissive", - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", - "is_builtin": true, - "spdx_license_key": "BSL-1.0", - "text_urls": [ - "http://www.boost.org/LICENSE_1_0.txt" - ], - "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", - "other_urls": [ - "http://www.boost.org/users/license.html", - "http://www.opensource.org/licenses/BSL-1.0", - "https://opensource.org/licenses/BSL-1.0" - ], - "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." - }, - { - "key": "cc-by-2.5", - "short_name": "CC-BY-2.5", - "name": "Creative Commons Attribution License 2.5", - "category": "Permissive", - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by/2.5/", - "is_builtin": true, - "spdx_license_key": "CC-BY-2.5", - "text_urls": [ - "http://creativecommons.org/licenses/by/2.5/legalcode" - ], - "other_urls": [ - "https://creativecommons.org/licenses/by/2.5/legalcode" - ], - "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." - }, - { - "key": "cc0-1.0", - "short_name": "CC0-1.0", - "name": "Creative Commons CC0 1.0 Universal", - "category": "Public Domain", - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", - "is_builtin": true, - "spdx_license_key": "CC0-1.0", - "text_urls": [ - "http://creativecommons.org/publicdomain/zero/1.0/legalcode" - ], - "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", - "other_urls": [ - "https://creativecommons.org/publicdomain/zero/1.0/legalcode" - ], - "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." - }, - { - "key": "gpl-2.0-plus", - "short_name": "GPL 2.0 or later", - "name": "GNU General Public License 2.0 or later", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "GPL-2.0-or-later", - "other_spdx_license_keys": [ - "GPL-2.0+", - "GPL 2.0+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" - ], - "other_urls": [ - "http://www.opensource.org/licenses/GPL-2.0", - "https://opensource.org/licenses/GPL-2.0", - "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" - ], - "minimum_coverage": 99, - "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." - }, - { - "key": "lgpl-2.1-plus", - "short_name": "LGPL 2.1 or later", - "name": "GNU Lesser General Public License 2.1 or later", - "category": "Copyleft Limited", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "LGPL-2.1-or-later", - "other_spdx_license_keys": [ - "LGPL-2.1+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" - ], - "other_urls": [ - "http://www.gnu.org/copyleft/lesser.html", - "http://www.opensource.org/licenses/LGPL-2.1", - "https://opensource.org/licenses/LGPL-2.1", - "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" - ], - "minimum_coverage": 99, - "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" - }, - { - "key": "mit-old-style", - "short_name": "MIT Old Style", - "name": "MIT Old Style", - "category": "Permissive", - "owner": "MIT", - "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "is_builtin": true, - "spdx_license_key": "LicenseRef-scancode-mit-old-style", - "text_urls": [ - "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" - ], - "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." - }, - { - "key": "zlib", - "short_name": "ZLIB License", - "name": "ZLIB License", - "category": "Permissive", - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "notes": "Per SPDX.org, this is OSI certified", - "is_builtin": true, - "spdx_license_key": "Zlib", - "text_urls": [ - "http://www.gzip.org/zlib/zlib_license.html" - ], - "osi_url": "http://www.opensource.org/licenses/zlib-license.php", - "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", - "other_urls": [ - "http://www.opensource.org/licenses/Zlib", - "http://www.zlib.net/zlib_license.html", - "https://opensource.org/licenses/Zlib" - ], - "minimum_coverage": 50, - "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." - } - ], - "rule_references": [ - { - "license_expression": "artistic-2.0", - "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "Artistic-2.0" - }, - { - "license_expression": "cc0-1.0", - "rule_identifier": "cc0-1.0_155.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100 - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "Artistic-2.0" - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "cc-by-2.5", - "rule_identifier": "cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100 - }, - { - "license_expression": "boost-1.0", - "rule_identifier": "boost-1.0_21.RULE", - "referenced_filenames": [ - "LICENSE_1_0.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "mit-old-style", - "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100 - } - ], "files": [ { "path": "scan", @@ -4162,7 +4219,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -4197,7 +4254,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -4234,7 +4291,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -4291,8 +4348,8 @@ ], "license_clues": [], "percentage_of_license_text": 79.62, - "for_licenses": [ - "126b3e65-1401-e7e2-8359-60042a41771c" + "for_license_detections": [ + "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4362,8 +4419,8 @@ ], "license_clues": [], "percentage_of_license_text": 19.72, - "for_licenses": [ - "26ed35f7-744b-aeec-b973-783eeb6928b4" + "for_license_detections": [ + "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4" ], "copyrights": [ { @@ -4439,8 +4496,8 @@ ], "license_clues": [], "percentage_of_license_text": 78.62, - "for_licenses": [ - "126b3e65-1401-e7e2-8359-60042a41771c" + "for_license_detections": [ + "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4490,7 +4547,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -4533,7 +4590,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -4596,8 +4653,8 @@ ], "license_clues": [], "percentage_of_license_text": 78.12, - "for_licenses": [ - "126b3e65-1401-e7e2-8359-60042a41771c" + "for_license_detections": [ + "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4647,7 +4704,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -4690,7 +4747,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -4727,7 +4784,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -4795,8 +4852,8 @@ ], "license_clues": [], "percentage_of_license_text": 42.86, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -4866,8 +4923,8 @@ ], "license_clues": [], "percentage_of_license_text": 69.57, - "for_licenses": [ - "866b02ed-ff4b-379e-e254-8ebc15ceae23" + "for_license_detections": [ + "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -4948,8 +5005,8 @@ ], "license_clues": [], "percentage_of_license_text": 20.34, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -5019,8 +5076,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "c7a96db7-de74-527f-da8d-b573175736b4" + "for_license_detections": [ + "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4" ], "copyrights": [], "holders": [], @@ -5078,8 +5135,8 @@ ], "license_clues": [], "percentage_of_license_text": 0.1, - "for_licenses": [ - "8755d5fd-6521-04e7-ace1-4344b99647e3" + "for_license_detections": [ + "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3" ], "copyrights": [], "holders": [], @@ -7315,7 +7372,8 @@ "matcher": "1-hash", "license_expression": "artistic-2.0", "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "matched_text": "Artistic-2.0" } ] } @@ -8139,7 +8197,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -8176,7 +8234,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -8233,8 +8291,8 @@ ], "license_clues": [], "percentage_of_license_text": 94.12, - "for_licenses": [ - "ab43ac21-eeae-978d-b391-58e77ab54a8c" + "for_license_detections": [ + "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c" ], "copyrights": [ { @@ -8315,8 +8373,8 @@ ], "license_clues": [], "percentage_of_license_text": 42.86, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -8397,8 +8455,8 @@ ], "license_clues": [], "percentage_of_license_text": 40.0, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -8479,8 +8537,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -8530,7 +8588,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -8567,7 +8625,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2004 by Henrik Ravn", @@ -8636,8 +8694,8 @@ ], "license_clues": [], "percentage_of_license_text": 88.89, - "for_licenses": [ - "b015a903-1844-66d2-fd10-6e5e24a7b011" + "for_license_detections": [ + "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011" ], "copyrights": [ { @@ -8687,7 +8745,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -8744,8 +8802,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "b242753c-a31d-3db4-b77a-92bdef5c5389" + "for_license_detections": [ + "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389" ], "copyrights": [ { @@ -8801,7 +8859,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -8858,8 +8916,8 @@ ], "license_clues": [], "percentage_of_license_text": 44.44, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -8929,8 +8987,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -8980,7 +9038,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -9037,8 +9095,8 @@ ], "license_clues": [], "percentage_of_license_text": 79.78, - "for_licenses": [ - "41d50a44-94c9-224f-adc2-02743727be1a" + "for_license_detections": [ + "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a" ], "copyrights": [ { @@ -9108,8 +9166,8 @@ ], "license_clues": [], "percentage_of_license_text": 84.21, - "for_licenses": [ - "866b02ed-ff4b-379e-e254-8ebc15ceae23" + "for_license_detections": [ + "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -9190,8 +9248,8 @@ ], "license_clues": [], "percentage_of_license_text": 37.5, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9272,8 +9330,8 @@ ], "license_clues": [], "percentage_of_license_text": 20.34, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json index e6d279ce575..abcb976a0ff 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "c7a96db7-de74-527f-da8d-b573175736b4", + "identifier": "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4", "license_expression": "cc0-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "8755d5fd-6521-04e7-ace1-4344b99647e3", + "identifier": "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3", "license_expression": "artistic-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "9c6f31cf-0e74-9f00-c846-b76477e312c2", + "identifier": "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2", "license_expression": "zlib", - "occurance_count": 9, + "occurrence_count": 9, "detection_log": [ "not-combined" ], @@ -64,9 +64,9 @@ ] }, { - "identifier": "866b02ed-ff4b-379e-e254-8ebc15ceae23", + "identifier": "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23", "license_expression": "zlib", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -85,9 +85,9 @@ ] }, { - "identifier": "126b3e65-1401-e7e2-8359-60042a41771c", + "identifier": "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c", "license_expression": "lgpl-2.1-plus", - "occurance_count": 3, + "occurrence_count": 3, "detection_log": [ "not-combined" ], @@ -106,9 +106,9 @@ ] }, { - "identifier": "26ed35f7-744b-aeec-b973-783eeb6928b4", + "identifier": "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4", "license_expression": "cc-by-2.5", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -127,9 +127,9 @@ ] }, { - "identifier": "ab43ac21-eeae-978d-b391-58e77ab54a8c", + "identifier": "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c", "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -148,9 +148,9 @@ ] }, { - "identifier": "b015a903-1844-66d2-fd10-6e5e24a7b011", + "identifier": "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011", "license_expression": "boost-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -169,9 +169,9 @@ ] }, { - "identifier": "b242753c-a31d-3db4-b77a-92bdef5c5389", + "identifier": "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389", "license_expression": "zlib", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -190,9 +190,9 @@ ] }, { - "identifier": "41d50a44-94c9-224f-adc2-02743727be1a", + "identifier": "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a", "license_expression": "mit-old-style", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -211,401 +211,593 @@ ] } ], - "dependencies": [ + "license_references": [ { - "purl": "pkg:npm/abbrev", - "extracted_requirement": "~1.0.7", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/abbrev?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "ada-linking-exception", + "short_name": "Ada linking exception to GPL 2.0 or later", + "name": "Ada linking exception to GPL 2.0 or later", + "category": "Copyleft Limited", + "owner": "Dmitriy Anisimkov", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", + "other_urls": [ + "http://zlib-ada.sourceforge.net/", + "http://ada-ru.org/" + ], + "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", + "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." }, { - "purl": "pkg:npm/ansi", - "extracted_requirement": "~0.3.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansi?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "artistic-2.0", + "short_name": "Artistic 2.0", + "name": "Artistic License 2.0", + "category": "Copyleft Limited", + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "Artistic-2.0", + "osi_license_key": "Artistic-2.0", + "text_urls": [ + "https://www.perlfoundation.org/artistic_license_2_0", + "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" + ], + "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", + "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", + "other_urls": [ + "http://www.perlfoundation.org/artistic_license_2_0", + "https://opensource.org/licenses/artistic-license-2.0", + "https://www.opensource.org/licenses/artistic-license-2.0", + "https://www.perlfoundation.org/artistic-license-20.html" + ], + "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." }, { - "purl": "pkg:npm/ansicolors", - "extracted_requirement": "~0.3.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansicolors?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "boost-1.0", + "short_name": "Boost 1.0", + "name": "Boost Software License 1.0", + "category": "Permissive", + "owner": "Boost", + "homepage_url": "http://www.boost.org/users/license.html", + "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "BSL-1.0", + "text_urls": [ + "http://www.boost.org/LICENSE_1_0.txt" + ], + "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", + "other_urls": [ + "http://www.boost.org/users/license.html", + "http://www.opensource.org/licenses/BSL-1.0", + "https://opensource.org/licenses/BSL-1.0" + ], + "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." }, { - "purl": "pkg:npm/ansistyles", - "extracted_requirement": "~0.1.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansistyles?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "cc-by-2.5", + "short_name": "CC-BY-2.5", + "name": "Creative Commons Attribution License 2.5", + "category": "Permissive", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by/2.5/", + "is_builtin": true, + "spdx_license_key": "CC-BY-2.5", + "text_urls": [ + "http://creativecommons.org/licenses/by/2.5/legalcode" + ], + "other_urls": [ + "https://creativecommons.org/licenses/by/2.5/legalcode" + ], + "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." }, { - "purl": "pkg:npm/archy", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/archy?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "cc0-1.0", + "short_name": "CC0-1.0", + "name": "Creative Commons CC0 1.0 Universal", + "category": "Public Domain", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", + "is_builtin": true, + "spdx_license_key": "CC0-1.0", + "text_urls": [ + "http://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", + "other_urls": [ + "https://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." }, { - "purl": "pkg:npm/async-some", - "extracted_requirement": "~1.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/async-some?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." }, { - "purl": "pkg:npm/block-stream", - "extracted_requirement": "0.0.8", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/block-stream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" }, { - "purl": "pkg:npm/char-spinner", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/char-spinner?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "mit-old-style", + "short_name": "MIT Old Style", + "name": "MIT Old Style", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-mit-old-style", + "text_urls": [ + "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" + ], + "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." }, { - "purl": "pkg:npm/chmodr", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/chmodr?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, + "key": "zlib", + "short_name": "ZLIB License", + "name": "ZLIB License", + "category": "Permissive", + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "notes": "Per SPDX.org, this is OSI certified", + "is_builtin": true, + "spdx_license_key": "Zlib", + "text_urls": [ + "http://www.gzip.org/zlib/zlib_license.html" + ], + "osi_url": "http://www.opensource.org/licenses/zlib-license.php", + "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", + "other_urls": [ + "http://www.opensource.org/licenses/Zlib", + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "minimum_coverage": 50, + "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." + } + ], + "license_rule_references": [ { - "purl": "pkg:npm/chownr", - "extracted_requirement": "0.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/chownr?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 981, + "rule_relevance": 100 }, { - "purl": "pkg:npm/cmd-shim", - "extracted_requirement": "~2.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/cmd-shim?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50 }, { - "purl": "pkg:npm/columnify", - "extracted_requirement": "~1.5.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/columnify?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 }, { - "purl": "pkg:npm/config-chain", - "extracted_requirement": "~1.1.9", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/config-chain?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 }, { - "purl": "pkg:npm/dezalgo", - "extracted_requirement": "~1.0.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/dezalgo?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 }, { - "purl": "pkg:npm/editor", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/editor?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 }, { - "purl": "pkg:npm/fs-vacuum", - "extracted_requirement": "~1.2.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fs-vacuum?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 }, { - "purl": "pkg:npm/fs-write-stream-atomic", - "extracted_requirement": "~1.0.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fs-write-stream-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 14, + "rule_relevance": 100 }, { - "purl": "pkg:npm/fstream", - "extracted_requirement": "~1.0.7", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fstream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 }, { - "purl": "pkg:npm/fstream-npm", - "extracted_requirement": "~1.0.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fstream-npm?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 }, { - "purl": "pkg:npm/github-url-from-git", - "extracted_requirement": "~1.4.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/github-url-from-git?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 }, { - "purl": "pkg:npm/github-url-from-username-repo", - "extracted_requirement": "~1.0.2", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 176, + "rule_relevance": 100 + }, + { + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "referenced_filenames": [ + "LICENSE_1_0.txt" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 32, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 71, + "rule_relevance": 100 + } + ], + "dependencies": [ + { + "purl": "pkg:npm/abbrev", + "extracted_requirement": "~1.0.7", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/github-url-from-username-repo?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/abbrev?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/glob", - "extracted_requirement": "~5.0.14", + "purl": "pkg:npm/ansi", + "extracted_requirement": "~0.3.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/glob?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/ansi?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/graceful-fs", - "extracted_requirement": "~4.1.2", + "purl": "pkg:npm/ansicolors", + "extracted_requirement": "~0.3.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/graceful-fs?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/ansicolors?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/hosted-git-info", - "extracted_requirement": "~2.1.4", + "purl": "pkg:npm/ansistyles", + "extracted_requirement": "~0.1.3", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/hosted-git-info?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/ansistyles?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/inflight", - "extracted_requirement": "~1.0.4", + "purl": "pkg:npm/archy", + "extracted_requirement": "~1.0.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/inflight?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/archy?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/inherits", - "extracted_requirement": "~2.0.1", + "purl": "pkg:npm/async-some", + "extracted_requirement": "~1.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/inherits?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/async-some?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/ini", - "extracted_requirement": "~1.3.4", + "purl": "pkg:npm/block-stream", + "extracted_requirement": "0.0.8", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/ini?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/block-stream?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/init-package-json", - "extracted_requirement": "~1.7.1", + "purl": "pkg:npm/char-spinner", + "extracted_requirement": "~1.0.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/init-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/char-spinner?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/lockfile", + "purl": "pkg:npm/chmodr", "extracted_requirement": "~1.0.1", "scope": "dependencies", "is_runtime": true, @@ -613,704 +805,984 @@ "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/lockfile?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/chmodr?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/lru-cache", - "extracted_requirement": "~2.6.5", + "purl": "pkg:npm/chownr", + "extracted_requirement": "0.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/lru-cache?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/chownr?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/minimatch", - "extracted_requirement": "~2.0.10", + "purl": "pkg:npm/cmd-shim", + "extracted_requirement": "~2.0.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/minimatch?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/cmd-shim?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/mkdirp", - "extracted_requirement": "~0.5.1", + "purl": "pkg:npm/columnify", + "extracted_requirement": "~1.5.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/mkdirp?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/columnify?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/node-gyp", - "extracted_requirement": "~2.0.2", + "purl": "pkg:npm/config-chain", + "extracted_requirement": "~1.1.9", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/node-gyp?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/config-chain?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/nopt", - "extracted_requirement": "~3.0.3", + "purl": "pkg:npm/dezalgo", + "extracted_requirement": "~1.0.3", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/nopt?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/dezalgo?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/normalize-git-url", - "extracted_requirement": "~3.0.1", + "purl": "pkg:npm/editor", + "extracted_requirement": "~1.0.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/normalize-git-url?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/editor?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/normalize-package-data", - "extracted_requirement": "~2.3.1", + "purl": "pkg:npm/fs-vacuum", + "extracted_requirement": "~1.2.6", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/normalize-package-data?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/fs-vacuum?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-cache-filename", - "extracted_requirement": "~1.0.2", + "purl": "pkg:npm/fs-write-stream-atomic", + "extracted_requirement": "~1.0.3", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-cache-filename?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/fs-write-stream-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-install-checks", - "extracted_requirement": "~1.0.6", + "purl": "pkg:npm/fstream", + "extracted_requirement": "~1.0.7", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-install-checks?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/fstream?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-package-arg", - "extracted_requirement": "~4.0.2", + "purl": "pkg:npm/fstream-npm", + "extracted_requirement": "~1.0.4", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-package-arg?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/fstream-npm?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-registry-client", - "extracted_requirement": "~6.5.1", + "purl": "pkg:npm/github-url-from-git", + "extracted_requirement": "~1.4.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-client?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/github-url-from-git?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-user-validate", - "extracted_requirement": "~0.1.2", + "purl": "pkg:npm/github-url-from-username-repo", + "extracted_requirement": "~1.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-user-validate?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/github-url-from-username-repo?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npmlog", - "extracted_requirement": "~1.2.1", + "purl": "pkg:npm/glob", + "extracted_requirement": "~5.0.14", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npmlog?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/glob?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/once", - "extracted_requirement": "~1.3.2", + "purl": "pkg:npm/graceful-fs", + "extracted_requirement": "~4.1.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/once?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/graceful-fs?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/opener", - "extracted_requirement": "~1.4.1", + "purl": "pkg:npm/hosted-git-info", + "extracted_requirement": "~2.1.4", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/opener?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/hosted-git-info?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/osenv", - "extracted_requirement": "~0.1.3", + "purl": "pkg:npm/inflight", + "extracted_requirement": "~1.0.4", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/osenv?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/inflight?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/path-is-inside", - "extracted_requirement": "~1.0.0", + "purl": "pkg:npm/inherits", + "extracted_requirement": "~2.0.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/path-is-inside?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/inherits?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/read", - "extracted_requirement": "~1.0.6", + "purl": "pkg:npm/ini", + "extracted_requirement": "~1.3.4", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/read?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/ini?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/read-installed", - "extracted_requirement": "~4.0.2", + "purl": "pkg:npm/init-package-json", + "extracted_requirement": "~1.7.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/read-installed?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/init-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/read-package-json", - "extracted_requirement": "~2.0.0", + "purl": "pkg:npm/lockfile", + "extracted_requirement": "~1.0.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/read-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/lockfile?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/readable-stream", - "extracted_requirement": "~1.1.13", + "purl": "pkg:npm/lru-cache", + "extracted_requirement": "~2.6.5", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/readable-stream?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/lru-cache?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/realize-package-specifier", - "extracted_requirement": "~3.0.1", + "purl": "pkg:npm/minimatch", + "extracted_requirement": "~2.0.10", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/realize-package-specifier?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/minimatch?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/request", - "extracted_requirement": "~2.60.0", + "purl": "pkg:npm/mkdirp", + "extracted_requirement": "~0.5.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/request?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/mkdirp?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/retry", - "extracted_requirement": "~0.6.1", + "purl": "pkg:npm/node-gyp", + "extracted_requirement": "~2.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/retry?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/node-gyp?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/rimraf", - "extracted_requirement": "~2.4.2", + "purl": "pkg:npm/nopt", + "extracted_requirement": "~3.0.3", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/rimraf?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/nopt?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/semver", - "extracted_requirement": "~5.0.1", + "purl": "pkg:npm/normalize-git-url", + "extracted_requirement": "~3.0.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/semver?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/normalize-git-url?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/sha", - "extracted_requirement": "~1.3.0", + "purl": "pkg:npm/normalize-package-data", + "extracted_requirement": "~2.3.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/sha?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/normalize-package-data?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/slide", - "extracted_requirement": "~1.1.6", + "purl": "pkg:npm/npm-cache-filename", + "extracted_requirement": "~1.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/slide?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npm-cache-filename?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/sorted-object", - "extracted_requirement": "~1.0.0", + "purl": "pkg:npm/npm-install-checks", + "extracted_requirement": "~1.0.6", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/sorted-object?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npm-install-checks?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/spdx", - "extracted_requirement": "~0.4.1", + "purl": "pkg:npm/npm-package-arg", + "extracted_requirement": "~4.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/spdx?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npm-package-arg?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/tar", - "extracted_requirement": "~2.1.1", + "purl": "pkg:npm/npm-registry-client", + "extracted_requirement": "~6.5.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/tar?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npm-registry-client?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/text-table", - "extracted_requirement": "~0.2.0", + "purl": "pkg:npm/npm-user-validate", + "extracted_requirement": "~0.1.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/text-table?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npm-user-validate?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/uid-number", - "extracted_requirement": "0.0.6", + "purl": "pkg:npm/npmlog", + "extracted_requirement": "~1.2.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/uid-number?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npmlog?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/umask", - "extracted_requirement": "~1.1.0", + "purl": "pkg:npm/once", + "extracted_requirement": "~1.3.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/umask?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/once?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/validate-npm-package-name", - "extracted_requirement": "~2.2.2", + "purl": "pkg:npm/opener", + "extracted_requirement": "~1.4.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/validate-npm-package-name?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/opener?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/which", - "extracted_requirement": "~1.1.1", + "purl": "pkg:npm/osenv", + "extracted_requirement": "~0.1.3", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/which?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/osenv?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/wrappy", - "extracted_requirement": "~1.0.1", + "purl": "pkg:npm/path-is-inside", + "extracted_requirement": "~1.0.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/wrappy?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/path-is-inside?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/write-file-atomic", - "extracted_requirement": "~1.1.2", + "purl": "pkg:npm/read", + "extracted_requirement": "~1.0.6", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/write-file-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/read?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/validate-npm-package-license", - "extracted_requirement": "*", + "purl": "pkg:npm/read-installed", + "extracted_requirement": "~4.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/validate-npm-package-license?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/read-installed?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/deep-equal", - "extracted_requirement": "~1.0.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, + "purl": "pkg:npm/read-package-json", + "extracted_requirement": "~2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/deep-equal?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/read-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/marked", - "extracted_requirement": "~0.3.3", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, + "purl": "pkg:npm/readable-stream", + "extracted_requirement": "~1.1.13", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/marked?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/readable-stream?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/marked-man", - "extracted_requirement": "~0.1.5", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, + "purl": "pkg:npm/realize-package-specifier", + "extracted_requirement": "~3.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/marked-man?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/realize-package-specifier?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/nock", - "extracted_requirement": "~2.10.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, + "purl": "pkg:npm/request", + "extracted_requirement": "~2.60.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/nock?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/request?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-registry-couchapp", - "extracted_requirement": "~2.6.7", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, + "purl": "pkg:npm/retry", + "extracted_requirement": "~0.6.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-couchapp?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/retry?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-registry-mock", - "extracted_requirement": "~1.0.0", - "scope": "devDependencies", - "is_runtime": false, + "purl": "pkg:npm/rimraf", + "extracted_requirement": "~2.4.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/rimraf?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/semver", + "extracted_requirement": "~5.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/semver?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sha", + "extracted_requirement": "~1.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sha?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/slide", + "extracted_requirement": "~1.1.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/slide?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sorted-object", + "extracted_requirement": "~1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sorted-object?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/spdx", + "extracted_requirement": "~0.4.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/spdx?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/tar", + "extracted_requirement": "~2.1.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/tar?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/text-table", + "extracted_requirement": "~0.2.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/text-table?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/uid-number", + "extracted_requirement": "0.0.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/uid-number?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/umask", + "extracted_requirement": "~1.1.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/umask?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/validate-npm-package-name", + "extracted_requirement": "~2.2.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/validate-npm-package-name?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/which", + "extracted_requirement": "~1.1.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/which?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/wrappy", + "extracted_requirement": "~1.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/wrappy?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/write-file-atomic", + "extracted_requirement": "~1.1.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/write-file-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/validate-npm-package-license", + "extracted_requirement": "*", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/validate-npm-package-license?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/deep-equal", + "extracted_requirement": "~1.0.0", + "scope": "devDependencies", + "is_runtime": false, "is_optional": true, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-mock?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/deep-equal?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/require-inject", - "extracted_requirement": "~1.2.0", + "purl": "pkg:npm/marked", + "extracted_requirement": "~0.3.3", "scope": "devDependencies", "is_runtime": false, "is_optional": true, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/require-inject?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/marked?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/sprintf-js", - "extracted_requirement": "~1.0.2", + "purl": "pkg:npm/marked-man", + "extracted_requirement": "~0.1.5", "scope": "devDependencies", "is_runtime": false, "is_optional": true, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/sprintf-js?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/marked-man?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/tap", - "extracted_requirement": "~1.3.1", + "purl": "pkg:npm/nock", + "extracted_requirement": "~2.10.0", "scope": "devDependencies", "is_runtime": false, "is_optional": true, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/tap?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/nock?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" - } - ], - "packages": [ + }, { - "type": "npm", - "namespace": null, - "name": "npm", - "version": "2.13.5", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": "a package manager for JavaScript", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me" - }, - { + "purl": "pkg:npm/npm-registry-couchapp", + "extracted_requirement": "~2.6.7", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-registry-couchapp?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-registry-mock", + "extracted_requirement": "~1.0.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-registry-mock?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/require-inject", + "extracted_requirement": "~1.2.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/require-inject?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sprintf-js", + "extracted_requirement": "~1.0.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sprintf-js?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/tap", + "extracted_requirement": "~1.3.1", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/tap?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + } + ], + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "npm", + "version": "2.13.5", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "a package manager for JavaScript", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me" + }, + { "type": "person", "role": "contributor", "name": "Isaac Z. Schlueter", @@ -3516,7 +3988,8 @@ "matcher": "1-hash", "license_expression": "artistic-2.0", "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "matched_text": "Artistic-2.0" } ] } @@ -3974,422 +4447,6 @@ } } ], - "license_references": [ - { - "key": "ada-linking-exception", - "short_name": "Ada linking exception to GPL 2.0 or later", - "name": "Ada linking exception to GPL 2.0 or later", - "category": "Copyleft Limited", - "owner": "Dmitriy Anisimkov", - "is_builtin": true, - "is_exception": true, - "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", - "other_urls": [ - "http://zlib-ada.sourceforge.net/", - "http://ada-ru.org/" - ], - "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", - "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." - }, - { - "key": "artistic-2.0", - "short_name": "Artistic 2.0", - "name": "Artistic License 2.0", - "category": "Copyleft Limited", - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", - "is_builtin": true, - "spdx_license_key": "Artistic-2.0", - "osi_license_key": "Artistic-2.0", - "text_urls": [ - "https://www.perlfoundation.org/artistic_license_2_0", - "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" - ], - "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", - "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", - "other_urls": [ - "http://www.perlfoundation.org/artistic_license_2_0", - "https://opensource.org/licenses/artistic-license-2.0", - "https://www.opensource.org/licenses/artistic-license-2.0", - "https://www.perlfoundation.org/artistic-license-20.html" - ], - "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "boost-1.0", - "short_name": "Boost 1.0", - "name": "Boost Software License 1.0", - "category": "Permissive", - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", - "is_builtin": true, - "spdx_license_key": "BSL-1.0", - "text_urls": [ - "http://www.boost.org/LICENSE_1_0.txt" - ], - "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", - "other_urls": [ - "http://www.boost.org/users/license.html", - "http://www.opensource.org/licenses/BSL-1.0", - "https://opensource.org/licenses/BSL-1.0" - ], - "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." - }, - { - "key": "cc-by-2.5", - "short_name": "CC-BY-2.5", - "name": "Creative Commons Attribution License 2.5", - "category": "Permissive", - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by/2.5/", - "is_builtin": true, - "spdx_license_key": "CC-BY-2.5", - "text_urls": [ - "http://creativecommons.org/licenses/by/2.5/legalcode" - ], - "other_urls": [ - "https://creativecommons.org/licenses/by/2.5/legalcode" - ], - "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." - }, - { - "key": "cc0-1.0", - "short_name": "CC0-1.0", - "name": "Creative Commons CC0 1.0 Universal", - "category": "Public Domain", - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", - "is_builtin": true, - "spdx_license_key": "CC0-1.0", - "text_urls": [ - "http://creativecommons.org/publicdomain/zero/1.0/legalcode" - ], - "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", - "other_urls": [ - "https://creativecommons.org/publicdomain/zero/1.0/legalcode" - ], - "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." - }, - { - "key": "gpl-2.0-plus", - "short_name": "GPL 2.0 or later", - "name": "GNU General Public License 2.0 or later", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "GPL-2.0-or-later", - "other_spdx_license_keys": [ - "GPL-2.0+", - "GPL 2.0+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" - ], - "other_urls": [ - "http://www.opensource.org/licenses/GPL-2.0", - "https://opensource.org/licenses/GPL-2.0", - "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" - ], - "minimum_coverage": 99, - "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." - }, - { - "key": "lgpl-2.1-plus", - "short_name": "LGPL 2.1 or later", - "name": "GNU Lesser General Public License 2.1 or later", - "category": "Copyleft Limited", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "LGPL-2.1-or-later", - "other_spdx_license_keys": [ - "LGPL-2.1+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" - ], - "other_urls": [ - "http://www.gnu.org/copyleft/lesser.html", - "http://www.opensource.org/licenses/LGPL-2.1", - "https://opensource.org/licenses/LGPL-2.1", - "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" - ], - "minimum_coverage": 99, - "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" - }, - { - "key": "mit-old-style", - "short_name": "MIT Old Style", - "name": "MIT Old Style", - "category": "Permissive", - "owner": "MIT", - "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "is_builtin": true, - "spdx_license_key": "LicenseRef-scancode-mit-old-style", - "text_urls": [ - "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" - ], - "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." - }, - { - "key": "zlib", - "short_name": "ZLIB License", - "name": "ZLIB License", - "category": "Permissive", - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "notes": "Per SPDX.org, this is OSI certified", - "is_builtin": true, - "spdx_license_key": "Zlib", - "text_urls": [ - "http://www.gzip.org/zlib/zlib_license.html" - ], - "osi_url": "http://www.opensource.org/licenses/zlib-license.php", - "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", - "other_urls": [ - "http://www.opensource.org/licenses/Zlib", - "http://www.zlib.net/zlib_license.html", - "https://opensource.org/licenses/Zlib" - ], - "minimum_coverage": 50, - "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." - } - ], - "rule_references": [ - { - "license_expression": "artistic-2.0", - "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "Artistic-2.0" - }, - { - "license_expression": "cc0-1.0", - "rule_identifier": "cc0-1.0_155.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100 - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "Artistic-2.0" - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "cc-by-2.5", - "rule_identifier": "cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100 - }, - { - "license_expression": "boost-1.0", - "rule_identifier": "boost-1.0_21.RULE", - "referenced_filenames": [ - "LICENSE_1_0.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "mit-old-style", - "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100 - } - ], "files": [ { "path": "scan", @@ -4415,7 +4472,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -4453,7 +4510,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -4493,7 +4550,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -4553,8 +4610,8 @@ ], "license_clues": [], "percentage_of_license_text": 79.62, - "for_licenses": [ - "126b3e65-1401-e7e2-8359-60042a41771c" + "for_license_detections": [ + "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4635,8 +4692,8 @@ ], "license_clues": [], "percentage_of_license_text": 19.72, - "for_licenses": [ - "26ed35f7-744b-aeec-b973-783eeb6928b4" + "for_license_detections": [ + "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4" ], "copyrights": [ { @@ -4728,8 +4785,8 @@ ], "license_clues": [], "percentage_of_license_text": 78.62, - "for_licenses": [ - "126b3e65-1401-e7e2-8359-60042a41771c" + "for_license_detections": [ + "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4790,7 +4847,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -4838,7 +4895,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -4906,8 +4963,8 @@ ], "license_clues": [], "percentage_of_license_text": 78.12, - "for_licenses": [ - "126b3e65-1401-e7e2-8359-60042a41771c" + "for_license_detections": [ + "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4968,7 +5025,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -5016,7 +5073,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -5069,7 +5126,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -5140,8 +5197,8 @@ ], "license_clues": [], "percentage_of_license_text": 42.86, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -5216,8 +5273,8 @@ ], "license_clues": [], "percentage_of_license_text": 69.57, - "for_licenses": [ - "866b02ed-ff4b-379e-e254-8ebc15ceae23" + "for_license_detections": [ + "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -5320,8 +5377,8 @@ ], "license_clues": [], "percentage_of_license_text": 20.34, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -5396,8 +5453,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "c7a96db7-de74-527f-da8d-b573175736b4" + "for_license_detections": [ + "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4" ], "copyrights": [], "holders": [], @@ -5460,8 +5517,8 @@ ], "license_clues": [], "percentage_of_license_text": 0.1, - "for_licenses": [ - "8755d5fd-6521-04e7-ace1-4344b99647e3" + "for_license_detections": [ + "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3" ], "copyrights": [], "holders": [], @@ -7697,7 +7754,8 @@ "matcher": "1-hash", "license_expression": "artistic-2.0", "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "matched_text": "Artistic-2.0" } ] } @@ -8808,7 +8866,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -8848,7 +8906,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -8908,8 +8966,8 @@ ], "license_clues": [], "percentage_of_license_text": 94.12, - "for_licenses": [ - "ab43ac21-eeae-978d-b391-58e77ab54a8c" + "for_license_detections": [ + "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c" ], "copyrights": [ { @@ -8995,8 +9053,8 @@ ], "license_clues": [], "percentage_of_license_text": 42.86, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9082,8 +9140,8 @@ ], "license_clues": [], "percentage_of_license_text": 40.0, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9169,8 +9227,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9225,7 +9283,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -9265,7 +9323,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2004 by Henrik Ravn", @@ -9339,8 +9397,8 @@ ], "license_clues": [], "percentage_of_license_text": 88.89, - "for_licenses": [ - "b015a903-1844-66d2-fd10-6e5e24a7b011" + "for_license_detections": [ + "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011" ], "copyrights": [ { @@ -9401,7 +9459,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -9461,8 +9519,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "b242753c-a31d-3db4-b77a-92bdef5c5389" + "for_license_detections": [ + "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389" ], "copyrights": [ { @@ -9539,7 +9597,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -9599,8 +9657,8 @@ ], "license_clues": [], "percentage_of_license_text": 44.44, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9675,8 +9733,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9731,7 +9789,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -9791,8 +9849,8 @@ ], "license_clues": [], "percentage_of_license_text": 79.78, - "for_licenses": [ - "41d50a44-94c9-224f-adc2-02743727be1a" + "for_license_detections": [ + "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a" ], "copyrights": [ { @@ -9873,8 +9931,8 @@ ], "license_clues": [], "percentage_of_license_text": 84.21, - "for_licenses": [ - "866b02ed-ff4b-379e-e254-8ebc15ceae23" + "for_license_detections": [ + "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -9971,8 +10029,8 @@ ], "license_clues": [], "percentage_of_license_text": 37.5, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -10058,8 +10116,8 @@ ], "license_clues": [], "percentage_of_license_text": 20.34, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json index 2c26fa87a5e..15b27ec954f 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "c7a96db7-de74-527f-da8d-b573175736b4", + "identifier": "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4", "license_expression": "cc0-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "8755d5fd-6521-04e7-ace1-4344b99647e3", + "identifier": "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3", "license_expression": "artistic-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "9c6f31cf-0e74-9f00-c846-b76477e312c2", + "identifier": "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2", "license_expression": "zlib", - "occurance_count": 9, + "occurrence_count": 9, "detection_log": [ "not-combined" ], @@ -64,9 +64,9 @@ ] }, { - "identifier": "866b02ed-ff4b-379e-e254-8ebc15ceae23", + "identifier": "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23", "license_expression": "zlib", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -85,9 +85,9 @@ ] }, { - "identifier": "126b3e65-1401-e7e2-8359-60042a41771c", + "identifier": "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c", "license_expression": "lgpl-2.1-plus", - "occurance_count": 3, + "occurrence_count": 3, "detection_log": [ "not-combined" ], @@ -106,9 +106,9 @@ ] }, { - "identifier": "26ed35f7-744b-aeec-b973-783eeb6928b4", + "identifier": "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4", "license_expression": "cc-by-2.5", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -127,9 +127,9 @@ ] }, { - "identifier": "ab43ac21-eeae-978d-b391-58e77ab54a8c", + "identifier": "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c", "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -148,9 +148,9 @@ ] }, { - "identifier": "b015a903-1844-66d2-fd10-6e5e24a7b011", + "identifier": "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011", "license_expression": "boost-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -169,9 +169,9 @@ ] }, { - "identifier": "b242753c-a31d-3db4-b77a-92bdef5c5389", + "identifier": "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389", "license_expression": "zlib", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -190,9 +190,9 @@ ] }, { - "identifier": "41d50a44-94c9-224f-adc2-02743727be1a", + "identifier": "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a", "license_expression": "mit-old-style", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -211,401 +211,593 @@ ] } ], - "dependencies": [ + "license_references": [ { - "purl": "pkg:npm/abbrev", - "extracted_requirement": "~1.0.7", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/abbrev?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "ada-linking-exception", + "short_name": "Ada linking exception to GPL 2.0 or later", + "name": "Ada linking exception to GPL 2.0 or later", + "category": "Copyleft Limited", + "owner": "Dmitriy Anisimkov", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", + "other_urls": [ + "http://zlib-ada.sourceforge.net/", + "http://ada-ru.org/" + ], + "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", + "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." }, { - "purl": "pkg:npm/ansi", - "extracted_requirement": "~0.3.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansi?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "artistic-2.0", + "short_name": "Artistic 2.0", + "name": "Artistic License 2.0", + "category": "Copyleft Limited", + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "Artistic-2.0", + "osi_license_key": "Artistic-2.0", + "text_urls": [ + "https://www.perlfoundation.org/artistic_license_2_0", + "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" + ], + "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", + "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", + "other_urls": [ + "http://www.perlfoundation.org/artistic_license_2_0", + "https://opensource.org/licenses/artistic-license-2.0", + "https://www.opensource.org/licenses/artistic-license-2.0", + "https://www.perlfoundation.org/artistic-license-20.html" + ], + "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." }, { - "purl": "pkg:npm/ansicolors", - "extracted_requirement": "~0.3.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansicolors?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "boost-1.0", + "short_name": "Boost 1.0", + "name": "Boost Software License 1.0", + "category": "Permissive", + "owner": "Boost", + "homepage_url": "http://www.boost.org/users/license.html", + "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "BSL-1.0", + "text_urls": [ + "http://www.boost.org/LICENSE_1_0.txt" + ], + "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", + "other_urls": [ + "http://www.boost.org/users/license.html", + "http://www.opensource.org/licenses/BSL-1.0", + "https://opensource.org/licenses/BSL-1.0" + ], + "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." }, { - "purl": "pkg:npm/ansistyles", - "extracted_requirement": "~0.1.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansistyles?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "cc-by-2.5", + "short_name": "CC-BY-2.5", + "name": "Creative Commons Attribution License 2.5", + "category": "Permissive", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by/2.5/", + "is_builtin": true, + "spdx_license_key": "CC-BY-2.5", + "text_urls": [ + "http://creativecommons.org/licenses/by/2.5/legalcode" + ], + "other_urls": [ + "https://creativecommons.org/licenses/by/2.5/legalcode" + ], + "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." }, { - "purl": "pkg:npm/archy", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/archy?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "cc0-1.0", + "short_name": "CC0-1.0", + "name": "Creative Commons CC0 1.0 Universal", + "category": "Public Domain", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", + "is_builtin": true, + "spdx_license_key": "CC0-1.0", + "text_urls": [ + "http://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", + "other_urls": [ + "https://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." }, { - "purl": "pkg:npm/async-some", - "extracted_requirement": "~1.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/async-some?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." }, { - "purl": "pkg:npm/block-stream", - "extracted_requirement": "0.0.8", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/block-stream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" }, { - "purl": "pkg:npm/char-spinner", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/char-spinner?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "key": "mit-old-style", + "short_name": "MIT Old Style", + "name": "MIT Old Style", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-mit-old-style", + "text_urls": [ + "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" + ], + "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." }, { - "purl": "pkg:npm/chmodr", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/chmodr?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, + "key": "zlib", + "short_name": "ZLIB License", + "name": "ZLIB License", + "category": "Permissive", + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "notes": "Per SPDX.org, this is OSI certified", + "is_builtin": true, + "spdx_license_key": "Zlib", + "text_urls": [ + "http://www.gzip.org/zlib/zlib_license.html" + ], + "osi_url": "http://www.opensource.org/licenses/zlib-license.php", + "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", + "other_urls": [ + "http://www.opensource.org/licenses/Zlib", + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "minimum_coverage": 50, + "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." + } + ], + "license_rule_references": [ { - "purl": "pkg:npm/chownr", - "extracted_requirement": "0.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/chownr?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 981, + "rule_relevance": 100 }, { - "purl": "pkg:npm/cmd-shim", - "extracted_requirement": "~2.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/cmd-shim?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50 }, { - "purl": "pkg:npm/columnify", - "extracted_requirement": "~1.5.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/columnify?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 }, { - "purl": "pkg:npm/config-chain", - "extracted_requirement": "~1.1.9", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/config-chain?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 }, { - "purl": "pkg:npm/dezalgo", - "extracted_requirement": "~1.0.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/dezalgo?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 }, { - "purl": "pkg:npm/editor", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/editor?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 }, { - "purl": "pkg:npm/fs-vacuum", - "extracted_requirement": "~1.2.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fs-vacuum?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 }, { - "purl": "pkg:npm/fs-write-stream-atomic", - "extracted_requirement": "~1.0.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fs-write-stream-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 14, + "rule_relevance": 100 }, { - "purl": "pkg:npm/fstream", - "extracted_requirement": "~1.0.7", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fstream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 }, { - "purl": "pkg:npm/fstream-npm", - "extracted_requirement": "~1.0.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fstream-npm?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 }, { - "purl": "pkg:npm/github-url-from-git", - "extracted_requirement": "~1.4.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/github-url-from-git?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 }, { - "purl": "pkg:npm/github-url-from-username-repo", - "extracted_requirement": "~1.0.2", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 176, + "rule_relevance": 100 + }, + { + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "referenced_filenames": [ + "LICENSE_1_0.txt" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 32, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 71, + "rule_relevance": 100 + } + ], + "dependencies": [ + { + "purl": "pkg:npm/abbrev", + "extracted_requirement": "~1.0.7", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/github-url-from-username-repo?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/abbrev?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/glob", - "extracted_requirement": "~5.0.14", + "purl": "pkg:npm/ansi", + "extracted_requirement": "~0.3.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/glob?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/ansi?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/graceful-fs", - "extracted_requirement": "~4.1.2", + "purl": "pkg:npm/ansicolors", + "extracted_requirement": "~0.3.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/graceful-fs?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/ansicolors?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/hosted-git-info", - "extracted_requirement": "~2.1.4", + "purl": "pkg:npm/ansistyles", + "extracted_requirement": "~0.1.3", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/hosted-git-info?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/ansistyles?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/inflight", - "extracted_requirement": "~1.0.4", + "purl": "pkg:npm/archy", + "extracted_requirement": "~1.0.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/inflight?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/archy?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/inherits", - "extracted_requirement": "~2.0.1", + "purl": "pkg:npm/async-some", + "extracted_requirement": "~1.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/inherits?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/async-some?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/ini", - "extracted_requirement": "~1.3.4", + "purl": "pkg:npm/block-stream", + "extracted_requirement": "0.0.8", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/ini?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/block-stream?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/init-package-json", - "extracted_requirement": "~1.7.1", + "purl": "pkg:npm/char-spinner", + "extracted_requirement": "~1.0.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/init-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/char-spinner?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/lockfile", + "purl": "pkg:npm/chmodr", "extracted_requirement": "~1.0.1", "scope": "dependencies", "is_runtime": true, @@ -613,704 +805,984 @@ "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/lockfile?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/chmodr?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/lru-cache", - "extracted_requirement": "~2.6.5", + "purl": "pkg:npm/chownr", + "extracted_requirement": "0.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/lru-cache?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/chownr?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/minimatch", - "extracted_requirement": "~2.0.10", + "purl": "pkg:npm/cmd-shim", + "extracted_requirement": "~2.0.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/minimatch?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/cmd-shim?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/mkdirp", - "extracted_requirement": "~0.5.1", + "purl": "pkg:npm/columnify", + "extracted_requirement": "~1.5.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/mkdirp?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/columnify?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/node-gyp", - "extracted_requirement": "~2.0.2", + "purl": "pkg:npm/config-chain", + "extracted_requirement": "~1.1.9", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/node-gyp?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/config-chain?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/nopt", - "extracted_requirement": "~3.0.3", + "purl": "pkg:npm/dezalgo", + "extracted_requirement": "~1.0.3", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/nopt?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/dezalgo?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/normalize-git-url", - "extracted_requirement": "~3.0.1", + "purl": "pkg:npm/editor", + "extracted_requirement": "~1.0.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/normalize-git-url?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/editor?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/normalize-package-data", - "extracted_requirement": "~2.3.1", + "purl": "pkg:npm/fs-vacuum", + "extracted_requirement": "~1.2.6", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/normalize-package-data?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/fs-vacuum?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-cache-filename", - "extracted_requirement": "~1.0.2", + "purl": "pkg:npm/fs-write-stream-atomic", + "extracted_requirement": "~1.0.3", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-cache-filename?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/fs-write-stream-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-install-checks", - "extracted_requirement": "~1.0.6", + "purl": "pkg:npm/fstream", + "extracted_requirement": "~1.0.7", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-install-checks?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/fstream?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-package-arg", - "extracted_requirement": "~4.0.2", + "purl": "pkg:npm/fstream-npm", + "extracted_requirement": "~1.0.4", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-package-arg?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/fstream-npm?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-registry-client", - "extracted_requirement": "~6.5.1", + "purl": "pkg:npm/github-url-from-git", + "extracted_requirement": "~1.4.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-client?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/github-url-from-git?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-user-validate", - "extracted_requirement": "~0.1.2", + "purl": "pkg:npm/github-url-from-username-repo", + "extracted_requirement": "~1.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-user-validate?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/github-url-from-username-repo?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npmlog", - "extracted_requirement": "~1.2.1", + "purl": "pkg:npm/glob", + "extracted_requirement": "~5.0.14", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npmlog?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/glob?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/once", - "extracted_requirement": "~1.3.2", + "purl": "pkg:npm/graceful-fs", + "extracted_requirement": "~4.1.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/once?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/graceful-fs?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/opener", - "extracted_requirement": "~1.4.1", + "purl": "pkg:npm/hosted-git-info", + "extracted_requirement": "~2.1.4", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/opener?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/hosted-git-info?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/osenv", - "extracted_requirement": "~0.1.3", + "purl": "pkg:npm/inflight", + "extracted_requirement": "~1.0.4", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/osenv?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/inflight?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/path-is-inside", - "extracted_requirement": "~1.0.0", + "purl": "pkg:npm/inherits", + "extracted_requirement": "~2.0.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/path-is-inside?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/inherits?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/read", - "extracted_requirement": "~1.0.6", + "purl": "pkg:npm/ini", + "extracted_requirement": "~1.3.4", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/read?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/ini?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/read-installed", - "extracted_requirement": "~4.0.2", + "purl": "pkg:npm/init-package-json", + "extracted_requirement": "~1.7.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/read-installed?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/init-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/read-package-json", - "extracted_requirement": "~2.0.0", + "purl": "pkg:npm/lockfile", + "extracted_requirement": "~1.0.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/read-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/lockfile?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/readable-stream", - "extracted_requirement": "~1.1.13", + "purl": "pkg:npm/lru-cache", + "extracted_requirement": "~2.6.5", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/readable-stream?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/lru-cache?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/realize-package-specifier", - "extracted_requirement": "~3.0.1", + "purl": "pkg:npm/minimatch", + "extracted_requirement": "~2.0.10", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/realize-package-specifier?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/minimatch?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/request", - "extracted_requirement": "~2.60.0", + "purl": "pkg:npm/mkdirp", + "extracted_requirement": "~0.5.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/request?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/mkdirp?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/retry", - "extracted_requirement": "~0.6.1", + "purl": "pkg:npm/node-gyp", + "extracted_requirement": "~2.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/retry?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/node-gyp?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/rimraf", - "extracted_requirement": "~2.4.2", + "purl": "pkg:npm/nopt", + "extracted_requirement": "~3.0.3", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/rimraf?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/nopt?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/semver", - "extracted_requirement": "~5.0.1", + "purl": "pkg:npm/normalize-git-url", + "extracted_requirement": "~3.0.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/semver?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/normalize-git-url?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/sha", - "extracted_requirement": "~1.3.0", + "purl": "pkg:npm/normalize-package-data", + "extracted_requirement": "~2.3.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/sha?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/normalize-package-data?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/slide", - "extracted_requirement": "~1.1.6", + "purl": "pkg:npm/npm-cache-filename", + "extracted_requirement": "~1.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/slide?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npm-cache-filename?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/sorted-object", - "extracted_requirement": "~1.0.0", + "purl": "pkg:npm/npm-install-checks", + "extracted_requirement": "~1.0.6", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/sorted-object?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npm-install-checks?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/spdx", - "extracted_requirement": "~0.4.1", + "purl": "pkg:npm/npm-package-arg", + "extracted_requirement": "~4.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/spdx?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npm-package-arg?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/tar", - "extracted_requirement": "~2.1.1", + "purl": "pkg:npm/npm-registry-client", + "extracted_requirement": "~6.5.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/tar?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npm-registry-client?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/text-table", - "extracted_requirement": "~0.2.0", + "purl": "pkg:npm/npm-user-validate", + "extracted_requirement": "~0.1.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/text-table?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npm-user-validate?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/uid-number", - "extracted_requirement": "0.0.6", + "purl": "pkg:npm/npmlog", + "extracted_requirement": "~1.2.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/uid-number?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/npmlog?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/umask", - "extracted_requirement": "~1.1.0", + "purl": "pkg:npm/once", + "extracted_requirement": "~1.3.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/umask?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/once?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/validate-npm-package-name", - "extracted_requirement": "~2.2.2", + "purl": "pkg:npm/opener", + "extracted_requirement": "~1.4.1", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/validate-npm-package-name?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/opener?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/which", - "extracted_requirement": "~1.1.1", + "purl": "pkg:npm/osenv", + "extracted_requirement": "~0.1.3", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/which?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/osenv?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/wrappy", - "extracted_requirement": "~1.0.1", + "purl": "pkg:npm/path-is-inside", + "extracted_requirement": "~1.0.0", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/wrappy?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/path-is-inside?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/write-file-atomic", - "extracted_requirement": "~1.1.2", + "purl": "pkg:npm/read", + "extracted_requirement": "~1.0.6", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/write-file-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/read?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/validate-npm-package-license", - "extracted_requirement": "*", + "purl": "pkg:npm/read-installed", + "extracted_requirement": "~4.0.2", "scope": "dependencies", "is_runtime": true, "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/validate-npm-package-license?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/read-installed?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/deep-equal", - "extracted_requirement": "~1.0.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, + "purl": "pkg:npm/read-package-json", + "extracted_requirement": "~2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/deep-equal?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/read-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/marked", - "extracted_requirement": "~0.3.3", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, + "purl": "pkg:npm/readable-stream", + "extracted_requirement": "~1.1.13", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/marked?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/readable-stream?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/marked-man", - "extracted_requirement": "~0.1.5", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, + "purl": "pkg:npm/realize-package-specifier", + "extracted_requirement": "~3.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/marked-man?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/realize-package-specifier?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/nock", - "extracted_requirement": "~2.10.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, + "purl": "pkg:npm/request", + "extracted_requirement": "~2.60.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/nock?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/request?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-registry-couchapp", - "extracted_requirement": "~2.6.7", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, + "purl": "pkg:npm/retry", + "extracted_requirement": "~0.6.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-couchapp?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/retry?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/npm-registry-mock", - "extracted_requirement": "~1.0.0", - "scope": "devDependencies", - "is_runtime": false, + "purl": "pkg:npm/rimraf", + "extracted_requirement": "~2.4.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/rimraf?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/semver", + "extracted_requirement": "~5.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/semver?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sha", + "extracted_requirement": "~1.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sha?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/slide", + "extracted_requirement": "~1.1.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/slide?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sorted-object", + "extracted_requirement": "~1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sorted-object?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/spdx", + "extracted_requirement": "~0.4.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/spdx?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/tar", + "extracted_requirement": "~2.1.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/tar?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/text-table", + "extracted_requirement": "~0.2.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/text-table?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/uid-number", + "extracted_requirement": "0.0.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/uid-number?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/umask", + "extracted_requirement": "~1.1.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/umask?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/validate-npm-package-name", + "extracted_requirement": "~2.2.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/validate-npm-package-name?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/which", + "extracted_requirement": "~1.1.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/which?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/wrappy", + "extracted_requirement": "~1.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/wrappy?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/write-file-atomic", + "extracted_requirement": "~1.1.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/write-file-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/validate-npm-package-license", + "extracted_requirement": "*", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/validate-npm-package-license?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/deep-equal", + "extracted_requirement": "~1.0.0", + "scope": "devDependencies", + "is_runtime": false, "is_optional": true, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-mock?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/deep-equal?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/require-inject", - "extracted_requirement": "~1.2.0", + "purl": "pkg:npm/marked", + "extracted_requirement": "~0.3.3", "scope": "devDependencies", "is_runtime": false, "is_optional": true, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/require-inject?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/marked?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/sprintf-js", - "extracted_requirement": "~1.0.2", + "purl": "pkg:npm/marked-man", + "extracted_requirement": "~0.1.5", "scope": "devDependencies", "is_runtime": false, "is_optional": true, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/sprintf-js?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/marked-man?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/tap", - "extracted_requirement": "~1.3.1", + "purl": "pkg:npm/nock", + "extracted_requirement": "~2.10.0", "scope": "devDependencies", "is_runtime": false, "is_optional": true, "is_resolved": false, "resolved_package": {}, "extra_data": {}, - "dependency_uid": "pkg:npm/tap?uuid=fixed-uid-done-for-testing-5642512d1758", + "dependency_uid": "pkg:npm/nock?uuid=fixed-uid-done-for-testing-5642512d1758", "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_path": "scan/package.json", "datasource_id": "npm_package_json" - } - ], - "packages": [ + }, { - "type": "npm", - "namespace": null, - "name": "npm", - "version": "2.13.5", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": "a package manager for JavaScript", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me" - }, - { + "purl": "pkg:npm/npm-registry-couchapp", + "extracted_requirement": "~2.6.7", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-registry-couchapp?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-registry-mock", + "extracted_requirement": "~1.0.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-registry-mock?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/require-inject", + "extracted_requirement": "~1.2.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/require-inject?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sprintf-js", + "extracted_requirement": "~1.0.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sprintf-js?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/tap", + "extracted_requirement": "~1.3.1", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/tap?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + } + ], + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "npm", + "version": "2.13.5", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "a package manager for JavaScript", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me" + }, + { "type": "person", "role": "contributor", "name": "Isaac Z. Schlueter", @@ -3516,7 +3988,8 @@ "matcher": "1-hash", "license_expression": "artistic-2.0", "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "matched_text": "Artistic-2.0" } ] } @@ -3721,422 +4194,6 @@ } ] }, - "license_references": [ - { - "key": "ada-linking-exception", - "short_name": "Ada linking exception to GPL 2.0 or later", - "name": "Ada linking exception to GPL 2.0 or later", - "category": "Copyleft Limited", - "owner": "Dmitriy Anisimkov", - "is_builtin": true, - "is_exception": true, - "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", - "other_urls": [ - "http://zlib-ada.sourceforge.net/", - "http://ada-ru.org/" - ], - "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", - "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." - }, - { - "key": "artistic-2.0", - "short_name": "Artistic 2.0", - "name": "Artistic License 2.0", - "category": "Copyleft Limited", - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", - "is_builtin": true, - "spdx_license_key": "Artistic-2.0", - "osi_license_key": "Artistic-2.0", - "text_urls": [ - "https://www.perlfoundation.org/artistic_license_2_0", - "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" - ], - "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", - "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", - "other_urls": [ - "http://www.perlfoundation.org/artistic_license_2_0", - "https://opensource.org/licenses/artistic-license-2.0", - "https://www.opensource.org/licenses/artistic-license-2.0", - "https://www.perlfoundation.org/artistic-license-20.html" - ], - "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "boost-1.0", - "short_name": "Boost 1.0", - "name": "Boost Software License 1.0", - "category": "Permissive", - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", - "is_builtin": true, - "spdx_license_key": "BSL-1.0", - "text_urls": [ - "http://www.boost.org/LICENSE_1_0.txt" - ], - "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", - "other_urls": [ - "http://www.boost.org/users/license.html", - "http://www.opensource.org/licenses/BSL-1.0", - "https://opensource.org/licenses/BSL-1.0" - ], - "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." - }, - { - "key": "cc-by-2.5", - "short_name": "CC-BY-2.5", - "name": "Creative Commons Attribution License 2.5", - "category": "Permissive", - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by/2.5/", - "is_builtin": true, - "spdx_license_key": "CC-BY-2.5", - "text_urls": [ - "http://creativecommons.org/licenses/by/2.5/legalcode" - ], - "other_urls": [ - "https://creativecommons.org/licenses/by/2.5/legalcode" - ], - "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." - }, - { - "key": "cc0-1.0", - "short_name": "CC0-1.0", - "name": "Creative Commons CC0 1.0 Universal", - "category": "Public Domain", - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", - "is_builtin": true, - "spdx_license_key": "CC0-1.0", - "text_urls": [ - "http://creativecommons.org/publicdomain/zero/1.0/legalcode" - ], - "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", - "other_urls": [ - "https://creativecommons.org/publicdomain/zero/1.0/legalcode" - ], - "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." - }, - { - "key": "gpl-2.0-plus", - "short_name": "GPL 2.0 or later", - "name": "GNU General Public License 2.0 or later", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "GPL-2.0-or-later", - "other_spdx_license_keys": [ - "GPL-2.0+", - "GPL 2.0+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" - ], - "other_urls": [ - "http://www.opensource.org/licenses/GPL-2.0", - "https://opensource.org/licenses/GPL-2.0", - "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" - ], - "minimum_coverage": 99, - "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." - }, - { - "key": "lgpl-2.1-plus", - "short_name": "LGPL 2.1 or later", - "name": "GNU Lesser General Public License 2.1 or later", - "category": "Copyleft Limited", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "LGPL-2.1-or-later", - "other_spdx_license_keys": [ - "LGPL-2.1+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" - ], - "other_urls": [ - "http://www.gnu.org/copyleft/lesser.html", - "http://www.opensource.org/licenses/LGPL-2.1", - "https://opensource.org/licenses/LGPL-2.1", - "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" - ], - "minimum_coverage": 99, - "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" - }, - { - "key": "mit-old-style", - "short_name": "MIT Old Style", - "name": "MIT Old Style", - "category": "Permissive", - "owner": "MIT", - "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "is_builtin": true, - "spdx_license_key": "LicenseRef-scancode-mit-old-style", - "text_urls": [ - "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" - ], - "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." - }, - { - "key": "zlib", - "short_name": "ZLIB License", - "name": "ZLIB License", - "category": "Permissive", - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "notes": "Per SPDX.org, this is OSI certified", - "is_builtin": true, - "spdx_license_key": "Zlib", - "text_urls": [ - "http://www.gzip.org/zlib/zlib_license.html" - ], - "osi_url": "http://www.opensource.org/licenses/zlib-license.php", - "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", - "other_urls": [ - "http://www.opensource.org/licenses/Zlib", - "http://www.zlib.net/zlib_license.html", - "https://opensource.org/licenses/Zlib" - ], - "minimum_coverage": 50, - "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." - } - ], - "rule_references": [ - { - "license_expression": "artistic-2.0", - "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "Artistic-2.0" - }, - { - "license_expression": "cc0-1.0", - "rule_identifier": "cc0-1.0_155.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100 - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50, - "matched_text": "Artistic-2.0" - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "cc-by-2.5", - "rule_identifier": "cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100 - }, - { - "license_expression": "boost-1.0", - "rule_identifier": "boost-1.0_21.RULE", - "referenced_filenames": [ - "LICENSE_1_0.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "mit-old-style", - "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100 - } - ], "files": [ { "path": "scan", @@ -4162,7 +4219,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -4377,7 +4434,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -4490,7 +4547,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -4623,8 +4680,8 @@ ], "license_clues": [], "percentage_of_license_text": 79.62, - "for_licenses": [ - "126b3e65-1401-e7e2-8359-60042a41771c" + "for_license_detections": [ + "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4726,8 +4783,8 @@ ], "license_clues": [], "percentage_of_license_text": 19.72, - "for_licenses": [ - "26ed35f7-744b-aeec-b973-783eeb6928b4" + "for_license_detections": [ + "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4" ], "copyrights": [ { @@ -4835,8 +4892,8 @@ ], "license_clues": [], "percentage_of_license_text": 78.62, - "for_licenses": [ - "126b3e65-1401-e7e2-8359-60042a41771c" + "for_license_detections": [ + "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4918,7 +4975,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -4993,7 +5050,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -5088,8 +5145,8 @@ ], "license_clues": [], "percentage_of_license_text": 78.12, - "for_licenses": [ - "126b3e65-1401-e7e2-8359-60042a41771c" + "for_license_detections": [ + "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -5171,7 +5228,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -5246,7 +5303,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -5315,7 +5372,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -5435,8 +5492,8 @@ ], "license_clues": [], "percentage_of_license_text": 42.86, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -5538,8 +5595,8 @@ ], "license_clues": [], "percentage_of_license_text": 69.57, - "for_licenses": [ - "866b02ed-ff4b-379e-e254-8ebc15ceae23" + "for_license_detections": [ + "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -5652,8 +5709,8 @@ ], "license_clues": [], "percentage_of_license_text": 20.34, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -5755,8 +5812,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "c7a96db7-de74-527f-da8d-b573175736b4" + "for_license_detections": [ + "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4" ], "copyrights": [], "holders": [], @@ -5846,8 +5903,8 @@ ], "license_clues": [], "percentage_of_license_text": 0.1, - "for_licenses": [ - "8755d5fd-6521-04e7-ace1-4344b99647e3" + "for_license_detections": [ + "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3" ], "copyrights": [], "holders": [], @@ -8083,7 +8140,8 @@ "matcher": "1-hash", "license_expression": "artistic-2.0", "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "matched_text": "Artistic-2.0" } ] } @@ -8939,7 +8997,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -9088,7 +9146,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -9176,8 +9234,8 @@ ], "license_clues": [], "percentage_of_license_text": 94.12, - "for_licenses": [ - "ab43ac21-eeae-978d-b391-58e77ab54a8c" + "for_license_detections": [ + "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c" ], "copyrights": [ { @@ -9290,8 +9348,8 @@ ], "license_clues": [], "percentage_of_license_text": 42.86, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9404,8 +9462,8 @@ ], "license_clues": [], "percentage_of_license_text": 40.0, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9518,8 +9576,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9601,7 +9659,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -9678,7 +9736,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2004 by Henrik Ravn", @@ -9779,8 +9837,8 @@ ], "license_clues": [], "percentage_of_license_text": 88.89, - "for_licenses": [ - "b015a903-1844-66d2-fd10-6e5e24a7b011" + "for_license_detections": [ + "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011" ], "copyrights": [ { @@ -9862,7 +9920,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -9955,8 +10013,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "b242753c-a31d-3db4-b77a-92bdef5c5389" + "for_license_detections": [ + "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389" ], "copyrights": [ { @@ -10044,7 +10102,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -10137,8 +10195,8 @@ ], "license_clues": [], "percentage_of_license_text": 44.44, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -10240,8 +10298,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -10323,7 +10381,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -10416,8 +10474,8 @@ ], "license_clues": [], "percentage_of_license_text": 79.78, - "for_licenses": [ - "41d50a44-94c9-224f-adc2-02743727be1a" + "for_license_detections": [ + "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a" ], "copyrights": [ { @@ -10519,8 +10577,8 @@ ], "license_clues": [], "percentage_of_license_text": 84.21, - "for_licenses": [ - "866b02ed-ff4b-379e-e254-8ebc15ceae23" + "for_license_detections": [ + "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -10633,8 +10691,8 @@ ], "license_clues": [], "percentage_of_license_text": 37.5, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -10747,8 +10805,8 @@ ], "license_clues": [], "percentage_of_license_text": 20.34, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines b/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines index 12a69a2d0aa..89f1f1f3c5f 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines +++ b/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines @@ -24,7 +24,7 @@ "cpu_architecture": "64", "platform": "Linux-5.14.0-1054-oem-x86_64-with-glibc2.29", "platform_version": "#61-Ubuntu SMP Fri Oct 14 13:05:50 UTC 2022", - "python_version": "3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]" + "python_version": "3.8.10 (default, Nov 14 2022, 12:59:47) \n[GCC 9.4.0]" }, "spdx_license_list_version": "3.17", "files_count": 26 @@ -33,11 +33,11 @@ ] }, { - "licenses": [ + "license_detections": [ { - "identifier": "c7a96db7-de74-527f-da8d-b573175736b4", + "identifier": "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4", "license_expression": "cc0-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -56,9 +56,9 @@ ] }, { - "identifier": "8755d5fd-6521-04e7-ace1-4344b99647e3", + "identifier": "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3", "license_expression": "artistic-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -77,9 +77,9 @@ ] }, { - "identifier": "9c6f31cf-0e74-9f00-c846-b76477e312c2", + "identifier": "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2", "license_expression": "zlib", - "occurance_count": 9, + "occurrence_count": 9, "detection_log": [ "not-combined" ], @@ -98,9 +98,9 @@ ] }, { - "identifier": "866b02ed-ff4b-379e-e254-8ebc15ceae23", + "identifier": "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23", "license_expression": "zlib", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -119,9 +119,9 @@ ] }, { - "identifier": "126b3e65-1401-e7e2-8359-60042a41771c", + "identifier": "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c", "license_expression": "lgpl-2.1-plus", - "occurance_count": 3, + "occurrence_count": 3, "detection_log": [ "not-combined" ], @@ -140,9 +140,9 @@ ] }, { - "identifier": "26ed35f7-744b-aeec-b973-783eeb6928b4", + "identifier": "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4", "license_expression": "cc-by-2.5", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -161,9 +161,9 @@ ] }, { - "identifier": "ab43ac21-eeae-978d-b391-58e77ab54a8c", + "identifier": "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c", "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -182,9 +182,9 @@ ] }, { - "identifier": "b015a903-1844-66d2-fd10-6e5e24a7b011", + "identifier": "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011", "license_expression": "boost-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -203,9 +203,9 @@ ] }, { - "identifier": "b242753c-a31d-3db4-b77a-92bdef5c5389", + "identifier": "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389", "license_expression": "zlib", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -224,9 +224,9 @@ ] }, { - "identifier": "41d50a44-94c9-224f-adc2-02743727be1a", + "identifier": "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a", "license_expression": "mit-old-style", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -246,211 +246,6 @@ } ] }, - { - "tallies": { - "detected_license_expression": [ - { - "value": "zlib", - "count": 12 - }, - { - "value": "lgpl-2.1-plus", - "count": 3 - }, - { - "value": null, - "count": 1 - }, - { - "value": "artistic-2.0", - "count": 1 - }, - { - "value": "boost-1.0", - "count": 1 - }, - { - "value": "cc-by-2.5", - "count": 1 - }, - { - "value": "cc0-1.0", - "count": 1 - }, - { - "value": "gpl-2.0-plus WITH ada-linking-exception", - "count": 1 - }, - { - "value": "mit-old-style", - "count": 1 - } - ], - "copyrights": [ - { - "value": null, - "count": 6 - }, - { - "value": "Copyright (c) Jean-loup Gailly", - "count": 4 - }, - { - "value": "Copyright (c) Mark Adler", - "count": 4 - }, - { - "value": "Copyright (c) Jean-loup Gailly and Mark Adler", - "count": 3 - }, - { - "value": "Copyright (c) Brian Goetz and Tim Peierls", - "count": 1 - }, - { - "value": "Copyright (c) Christian Michelsen Research AS Advanced Computing", - "count": 1 - }, - { - "value": "Copyright (c) Dmitriy Anisimkov", - "count": 1 - }, - { - "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant", - "count": 1 - }, - { - "value": "Copyright (c) by Henrik Ravn", - "count": 1 - }, - { - "value": "Copyright Henrik Ravn", - "count": 1 - }, - { - "value": "Copyright JBoss Inc., and individual contributors", - "count": 1 - }, - { - "value": "Copyright Red Hat Middleware LLC, and individual contributors", - "count": 1 - }, - { - "value": "Copyright Red Hat, Inc. and individual contributors", - "count": 1 - } - ], - "holders": [ - { - "value": null, - "count": 6 - }, - { - "value": "Jean-loup Gailly", - "count": 4 - }, - { - "value": "Mark Adler", - "count": 4 - }, - { - "value": "Jean-loup Gailly and Mark Adler", - "count": 3 - }, - { - "value": "Henrik Ravn", - "count": 2 - }, - { - "value": "Brian Goetz and Tim Peierls", - "count": 1 - }, - { - "value": "Christian Michelsen Research AS Advanced Computing", - "count": 1 - }, - { - "value": "Dmitriy Anisimkov", - "count": 1 - }, - { - "value": "JBoss Inc., and individual contributors", - "count": 1 - }, - { - "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant", - "count": 1 - }, - { - "value": "Red Hat Middleware LLC, and individual contributors", - "count": 1 - }, - { - "value": "Red Hat, Inc. and individual contributors", - "count": 1 - } - ], - "authors": [ - { - "value": null, - "count": 20 - }, - { - "value": "Bela Ban", - "count": 4 - }, - { - "value": "Gilles Vollant", - "count": 1 - }, - { - "value": "name' Isaac Z.", - "count": 1 - } - ], - "programming_language": [ - { - "value": "C", - "count": 12 - }, - { - "value": "Java", - "count": 7 - }, - { - "value": "C#", - "count": 2 - }, - { - "value": "GAS", - "count": 1 - } - ] - } - }, - { - "tallies_of_key_files": { - "detected_license_expression": [ - { - "value": "artistic-2.0", - "count": 1 - }, - { - "value": "cc0-1.0", - "count": 1 - } - ], - "copyrights": [], - "holders": [], - "authors": [ - { - "value": "name' Isaac Z.", - "count": 1 - } - ], - "programming_language": [] - } - }, { "license_references": [ { @@ -640,7 +435,7 @@ ] }, { - "rule_references": [ + "license_rule_references": [ { "license_expression": "cc0-1.0", "rule_identifier": "cc0-1.0_155.RULE", @@ -691,6 +486,20 @@ "rule_length": 144, "rule_relevance": 100 }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, { "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", @@ -765,6 +574,62 @@ "rule_length": 144, "rule_relevance": 100 }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, { "license_expression": "gpl-2.0-plus WITH ada-linking-exception", "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", @@ -845,6 +710,211 @@ } ] }, + { + "tallies": { + "detected_license_expression": [ + { + "value": "zlib", + "count": 12 + }, + { + "value": "lgpl-2.1-plus", + "count": 3 + }, + { + "value": null, + "count": 1 + }, + { + "value": "artistic-2.0", + "count": 1 + }, + { + "value": "boost-1.0", + "count": 1 + }, + { + "value": "cc-by-2.5", + "count": 1 + }, + { + "value": "cc0-1.0", + "count": 1 + }, + { + "value": "gpl-2.0-plus WITH ada-linking-exception", + "count": 1 + }, + { + "value": "mit-old-style", + "count": 1 + } + ], + "copyrights": [ + { + "value": null, + "count": 6 + }, + { + "value": "Copyright (c) Jean-loup Gailly", + "count": 4 + }, + { + "value": "Copyright (c) Mark Adler", + "count": 4 + }, + { + "value": "Copyright (c) Jean-loup Gailly and Mark Adler", + "count": 3 + }, + { + "value": "Copyright (c) Brian Goetz and Tim Peierls", + "count": 1 + }, + { + "value": "Copyright (c) Christian Michelsen Research AS Advanced Computing", + "count": 1 + }, + { + "value": "Copyright (c) Dmitriy Anisimkov", + "count": 1 + }, + { + "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant", + "count": 1 + }, + { + "value": "Copyright (c) by Henrik Ravn", + "count": 1 + }, + { + "value": "Copyright Henrik Ravn", + "count": 1 + }, + { + "value": "Copyright JBoss Inc., and individual contributors", + "count": 1 + }, + { + "value": "Copyright Red Hat Middleware LLC, and individual contributors", + "count": 1 + }, + { + "value": "Copyright Red Hat, Inc. and individual contributors", + "count": 1 + } + ], + "holders": [ + { + "value": null, + "count": 6 + }, + { + "value": "Jean-loup Gailly", + "count": 4 + }, + { + "value": "Mark Adler", + "count": 4 + }, + { + "value": "Jean-loup Gailly and Mark Adler", + "count": 3 + }, + { + "value": "Henrik Ravn", + "count": 2 + }, + { + "value": "Brian Goetz and Tim Peierls", + "count": 1 + }, + { + "value": "Christian Michelsen Research AS Advanced Computing", + "count": 1 + }, + { + "value": "Dmitriy Anisimkov", + "count": 1 + }, + { + "value": "JBoss Inc., and individual contributors", + "count": 1 + }, + { + "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant", + "count": 1 + }, + { + "value": "Red Hat Middleware LLC, and individual contributors", + "count": 1 + }, + { + "value": "Red Hat, Inc. and individual contributors", + "count": 1 + } + ], + "authors": [ + { + "value": null, + "count": 20 + }, + { + "value": "Bela Ban", + "count": 4 + }, + { + "value": "Gilles Vollant", + "count": 1 + }, + { + "value": "name' Isaac Z.", + "count": 1 + } + ], + "programming_language": [ + { + "value": "C", + "count": 12 + }, + { + "value": "Java", + "count": 7 + }, + { + "value": "C#", + "count": 2 + }, + { + "value": "GAS", + "count": 1 + } + ] + } + }, + { + "tallies_of_key_files": { + "detected_license_expression": [ + { + "value": "artistic-2.0", + "count": 1 + }, + { + "value": "cc0-1.0", + "count": 1 + } + ], + "copyrights": [], + "holders": [], + "authors": [ + { + "value": "name' Isaac Z.", + "count": 1 + } + ], + "programming_language": [] + } + }, { "files": [ { @@ -871,7 +941,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -933,8 +1003,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "c7a96db7-de74-527f-da8d-b573175736b4" + "for_license_detections": [ + "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4" ], "copyrights": [], "holders": [], @@ -997,8 +1067,8 @@ ], "license_clues": [], "percentage_of_license_text": 0.1, - "for_licenses": [ - "8755d5fd-6521-04e7-ace1-4344b99647e3" + "for_license_detections": [ + "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3" ], "copyrights": [], "holders": [], @@ -1047,7 +1117,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -1089,7 +1159,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -1162,8 +1232,8 @@ ], "license_clues": [], "percentage_of_license_text": 42.86, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -1238,8 +1308,8 @@ ], "license_clues": [], "percentage_of_license_text": 69.57, - "for_licenses": [ - "866b02ed-ff4b-379e-e254-8ebc15ceae23" + "for_license_detections": [ + "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -1325,8 +1395,8 @@ ], "license_clues": [], "percentage_of_license_text": 20.34, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -1381,7 +1451,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -1423,7 +1493,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -1485,8 +1555,8 @@ ], "license_clues": [], "percentage_of_license_text": 79.62, - "for_licenses": [ - "126b3e65-1401-e7e2-8359-60042a41771c" + "for_license_detections": [ + "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -1561,8 +1631,8 @@ ], "license_clues": [], "percentage_of_license_text": 19.72, - "for_licenses": [ - "26ed35f7-744b-aeec-b973-783eeb6928b4" + "for_license_detections": [ + "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4" ], "copyrights": [ { @@ -1643,8 +1713,8 @@ ], "license_clues": [], "percentage_of_license_text": 78.62, - "for_licenses": [ - "126b3e65-1401-e7e2-8359-60042a41771c" + "for_license_detections": [ + "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -1699,7 +1769,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -1747,7 +1817,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -1815,8 +1885,8 @@ ], "license_clues": [], "percentage_of_license_text": 78.12, - "for_licenses": [ - "126b3e65-1401-e7e2-8359-60042a41771c" + "for_license_detections": [ + "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -1871,7 +1941,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -1919,7 +1989,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -1992,8 +2062,8 @@ ], "license_clues": [], "percentage_of_license_text": 42.86, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2079,8 +2149,8 @@ ], "license_clues": [], "percentage_of_license_text": 40.0, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2166,8 +2236,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2242,8 +2312,8 @@ ], "license_clues": [], "percentage_of_license_text": 84.21, - "for_licenses": [ - "866b02ed-ff4b-379e-e254-8ebc15ceae23" + "for_license_detections": [ + "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -2329,8 +2399,8 @@ ], "license_clues": [], "percentage_of_license_text": 37.5, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2416,8 +2486,8 @@ ], "license_clues": [], "percentage_of_license_text": 20.34, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2472,7 +2542,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -2534,8 +2604,8 @@ ], "license_clues": [], "percentage_of_license_text": 94.12, - "for_licenses": [ - "ab43ac21-eeae-978d-b391-58e77ab54a8c" + "for_license_detections": [ + "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c" ], "copyrights": [ { @@ -2590,7 +2660,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -2632,7 +2702,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2004 by Henrik Ravn", @@ -2706,8 +2776,8 @@ ], "license_clues": [], "percentage_of_license_text": 88.89, - "for_licenses": [ - "b015a903-1844-66d2-fd10-6e5e24a7b011" + "for_license_detections": [ + "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011" ], "copyrights": [ { @@ -2762,7 +2832,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -2824,8 +2894,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "b242753c-a31d-3db4-b77a-92bdef5c5389" + "for_license_detections": [ + "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389" ], "copyrights": [ { @@ -2886,7 +2956,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -2948,8 +3018,8 @@ ], "license_clues": [], "percentage_of_license_text": 44.44, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -3024,8 +3094,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -3080,7 +3150,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -3142,8 +3212,8 @@ ], "license_clues": [], "percentage_of_license_text": 79.78, - "for_licenses": [ - "41d50a44-94c9-224f-adc2-02743727be1a" + "for_license_detections": [ + "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a" ], "copyrights": [ { diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json index 9691cd05a4a..85c78ff8465 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json @@ -1,9 +1,9 @@ { - "licenses": [ + "license_detections": [ { - "identifier": "c7a96db7-de74-527f-da8d-b573175736b4", + "identifier": "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4", "license_expression": "cc0-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "8755d5fd-6521-04e7-ace1-4344b99647e3", + "identifier": "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3", "license_expression": "artistic-2.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "9c6f31cf-0e74-9f00-c846-b76477e312c2", + "identifier": "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2", "license_expression": "zlib", - "occurance_count": 9, + "occurrence_count": 9, "detection_log": [ "not-combined" ], @@ -64,9 +64,9 @@ ] }, { - "identifier": "866b02ed-ff4b-379e-e254-8ebc15ceae23", + "identifier": "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23", "license_expression": "zlib", - "occurance_count": 2, + "occurrence_count": 2, "detection_log": [ "not-combined" ], @@ -85,9 +85,9 @@ ] }, { - "identifier": "126b3e65-1401-e7e2-8359-60042a41771c", + "identifier": "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c", "license_expression": "lgpl-2.1-plus", - "occurance_count": 3, + "occurrence_count": 3, "detection_log": [ "not-combined" ], @@ -106,9 +106,9 @@ ] }, { - "identifier": "26ed35f7-744b-aeec-b973-783eeb6928b4", + "identifier": "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4", "license_expression": "cc-by-2.5", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -127,9 +127,9 @@ ] }, { - "identifier": "ab43ac21-eeae-978d-b391-58e77ab54a8c", + "identifier": "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c", "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -148,9 +148,9 @@ ] }, { - "identifier": "b015a903-1844-66d2-fd10-6e5e24a7b011", + "identifier": "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011", "license_expression": "boost-1.0", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -169,9 +169,9 @@ ] }, { - "identifier": "b242753c-a31d-3db4-b77a-92bdef5c5389", + "identifier": "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389", "license_expression": "zlib", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -190,9 +190,9 @@ ] }, { - "identifier": "41d50a44-94c9-224f-adc2-02743727be1a", + "identifier": "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a", "license_expression": "mit-old-style", - "occurance_count": 1, + "occurrence_count": 1, "detection_log": [ "not-combined" ], @@ -211,207 +211,6 @@ ] } ], - "tallies": { - "detected_license_expression": [ - { - "value": "zlib", - "count": 12 - }, - { - "value": "lgpl-2.1-plus", - "count": 3 - }, - { - "value": null, - "count": 1 - }, - { - "value": "artistic-2.0", - "count": 1 - }, - { - "value": "boost-1.0", - "count": 1 - }, - { - "value": "cc-by-2.5", - "count": 1 - }, - { - "value": "cc0-1.0", - "count": 1 - }, - { - "value": "gpl-2.0-plus WITH ada-linking-exception", - "count": 1 - }, - { - "value": "mit-old-style", - "count": 1 - } - ], - "copyrights": [ - { - "value": null, - "count": 6 - }, - { - "value": "Copyright (c) Jean-loup Gailly", - "count": 4 - }, - { - "value": "Copyright (c) Mark Adler", - "count": 4 - }, - { - "value": "Copyright (c) Jean-loup Gailly and Mark Adler", - "count": 3 - }, - { - "value": "Copyright (c) Brian Goetz and Tim Peierls", - "count": 1 - }, - { - "value": "Copyright (c) Christian Michelsen Research AS Advanced Computing", - "count": 1 - }, - { - "value": "Copyright (c) Dmitriy Anisimkov", - "count": 1 - }, - { - "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant", - "count": 1 - }, - { - "value": "Copyright (c) by Henrik Ravn", - "count": 1 - }, - { - "value": "Copyright Henrik Ravn", - "count": 1 - }, - { - "value": "Copyright JBoss Inc., and individual contributors", - "count": 1 - }, - { - "value": "Copyright Red Hat Middleware LLC, and individual contributors", - "count": 1 - }, - { - "value": "Copyright Red Hat, Inc. and individual contributors", - "count": 1 - } - ], - "holders": [ - { - "value": null, - "count": 6 - }, - { - "value": "Jean-loup Gailly", - "count": 4 - }, - { - "value": "Mark Adler", - "count": 4 - }, - { - "value": "Jean-loup Gailly and Mark Adler", - "count": 3 - }, - { - "value": "Henrik Ravn", - "count": 2 - }, - { - "value": "Brian Goetz and Tim Peierls", - "count": 1 - }, - { - "value": "Christian Michelsen Research AS Advanced Computing", - "count": 1 - }, - { - "value": "Dmitriy Anisimkov", - "count": 1 - }, - { - "value": "JBoss Inc., and individual contributors", - "count": 1 - }, - { - "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant", - "count": 1 - }, - { - "value": "Red Hat Middleware LLC, and individual contributors", - "count": 1 - }, - { - "value": "Red Hat, Inc. and individual contributors", - "count": 1 - } - ], - "authors": [ - { - "value": null, - "count": 20 - }, - { - "value": "Bela Ban", - "count": 4 - }, - { - "value": "Gilles Vollant", - "count": 1 - }, - { - "value": "name' Isaac Z.", - "count": 1 - } - ], - "programming_language": [ - { - "value": "C", - "count": 12 - }, - { - "value": "Java", - "count": 7 - }, - { - "value": "C#", - "count": 2 - }, - { - "value": "GAS", - "count": 1 - } - ] - }, - "tallies_of_key_files": { - "detected_license_expression": [ - { - "value": "artistic-2.0", - "count": 1 - }, - { - "value": "cc0-1.0", - "count": 1 - } - ], - "copyrights": [], - "holders": [], - "authors": [ - { - "value": "name' Isaac Z.", - "count": 1 - } - ], - "programming_language": [] - }, "license_references": [ { "key": "ada-linking-exception", @@ -598,7 +397,7 @@ "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." } ], - "rule_references": [ + "license_rule_references": [ { "license_expression": "cc0-1.0", "rule_identifier": "cc0-1.0_155.RULE", @@ -649,6 +448,20 @@ "rule_length": 144, "rule_relevance": 100 }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, { "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", @@ -723,6 +536,62 @@ "rule_length": 144, "rule_relevance": 100 }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, { "license_expression": "gpl-2.0-plus WITH ada-linking-exception", "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", @@ -802,6 +671,207 @@ "rule_relevance": 100 } ], + "tallies": { + "detected_license_expression": [ + { + "value": "zlib", + "count": 12 + }, + { + "value": "lgpl-2.1-plus", + "count": 3 + }, + { + "value": null, + "count": 1 + }, + { + "value": "artistic-2.0", + "count": 1 + }, + { + "value": "boost-1.0", + "count": 1 + }, + { + "value": "cc-by-2.5", + "count": 1 + }, + { + "value": "cc0-1.0", + "count": 1 + }, + { + "value": "gpl-2.0-plus WITH ada-linking-exception", + "count": 1 + }, + { + "value": "mit-old-style", + "count": 1 + } + ], + "copyrights": [ + { + "value": null, + "count": 6 + }, + { + "value": "Copyright (c) Jean-loup Gailly", + "count": 4 + }, + { + "value": "Copyright (c) Mark Adler", + "count": 4 + }, + { + "value": "Copyright (c) Jean-loup Gailly and Mark Adler", + "count": 3 + }, + { + "value": "Copyright (c) Brian Goetz and Tim Peierls", + "count": 1 + }, + { + "value": "Copyright (c) Christian Michelsen Research AS Advanced Computing", + "count": 1 + }, + { + "value": "Copyright (c) Dmitriy Anisimkov", + "count": 1 + }, + { + "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant", + "count": 1 + }, + { + "value": "Copyright (c) by Henrik Ravn", + "count": 1 + }, + { + "value": "Copyright Henrik Ravn", + "count": 1 + }, + { + "value": "Copyright JBoss Inc., and individual contributors", + "count": 1 + }, + { + "value": "Copyright Red Hat Middleware LLC, and individual contributors", + "count": 1 + }, + { + "value": "Copyright Red Hat, Inc. and individual contributors", + "count": 1 + } + ], + "holders": [ + { + "value": null, + "count": 6 + }, + { + "value": "Jean-loup Gailly", + "count": 4 + }, + { + "value": "Mark Adler", + "count": 4 + }, + { + "value": "Jean-loup Gailly and Mark Adler", + "count": 3 + }, + { + "value": "Henrik Ravn", + "count": 2 + }, + { + "value": "Brian Goetz and Tim Peierls", + "count": 1 + }, + { + "value": "Christian Michelsen Research AS Advanced Computing", + "count": 1 + }, + { + "value": "Dmitriy Anisimkov", + "count": 1 + }, + { + "value": "JBoss Inc., and individual contributors", + "count": 1 + }, + { + "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant", + "count": 1 + }, + { + "value": "Red Hat Middleware LLC, and individual contributors", + "count": 1 + }, + { + "value": "Red Hat, Inc. and individual contributors", + "count": 1 + } + ], + "authors": [ + { + "value": null, + "count": 20 + }, + { + "value": "Bela Ban", + "count": 4 + }, + { + "value": "Gilles Vollant", + "count": 1 + }, + { + "value": "name' Isaac Z.", + "count": 1 + } + ], + "programming_language": [ + { + "value": "C", + "count": 12 + }, + { + "value": "Java", + "count": 7 + }, + { + "value": "C#", + "count": 2 + }, + { + "value": "GAS", + "count": 1 + } + ] + }, + "tallies_of_key_files": { + "detected_license_expression": [ + { + "value": "artistic-2.0", + "count": 1 + }, + { + "value": "cc0-1.0", + "count": 1 + } + ], + "copyrights": [], + "holders": [], + "authors": [ + { + "value": "name' Isaac Z.", + "count": 1 + } + ], + "programming_language": [] + }, "files": [ { "path": "scan", @@ -827,7 +897,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -865,7 +935,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -903,7 +973,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -961,8 +1031,8 @@ ], "license_clues": [], "percentage_of_license_text": 79.62, - "for_licenses": [ - "126b3e65-1401-e7e2-8359-60042a41771c" + "for_license_detections": [ + "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -1033,8 +1103,8 @@ ], "license_clues": [], "percentage_of_license_text": 19.72, - "for_licenses": [ - "26ed35f7-744b-aeec-b973-783eeb6928b4" + "for_license_detections": [ + "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4" ], "copyrights": [ { @@ -1111,8 +1181,8 @@ ], "license_clues": [], "percentage_of_license_text": 78.62, - "for_licenses": [ - "126b3e65-1401-e7e2-8359-60042a41771c" + "for_license_detections": [ + "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -1163,7 +1233,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -1207,7 +1277,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -1271,8 +1341,8 @@ ], "license_clues": [], "percentage_of_license_text": 78.12, - "for_licenses": [ - "126b3e65-1401-e7e2-8359-60042a41771c" + "for_license_detections": [ + "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -1323,7 +1393,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [ @@ -1367,7 +1437,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -1405,7 +1475,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -1474,8 +1544,8 @@ ], "license_clues": [], "percentage_of_license_text": 42.86, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -1546,8 +1616,8 @@ ], "license_clues": [], "percentage_of_license_text": 69.57, - "for_licenses": [ - "866b02ed-ff4b-379e-e254-8ebc15ceae23" + "for_license_detections": [ + "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -1629,8 +1699,8 @@ ], "license_clues": [], "percentage_of_license_text": 20.34, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -1701,8 +1771,8 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, - "for_licenses": [ - "c7a96db7-de74-527f-da8d-b573175736b4" + "for_license_detections": [ + "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4" ], "copyrights": [], "holders": [], @@ -1761,8 +1831,8 @@ ], "license_clues": [], "percentage_of_license_text": 0.1, - "for_licenses": [ - "8755d5fd-6521-04e7-ace1-4344b99647e3" + "for_license_detections": [ + "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3" ], "copyrights": [], "holders": [], @@ -1807,7 +1877,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -1845,7 +1915,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -1903,8 +1973,8 @@ ], "license_clues": [], "percentage_of_license_text": 94.12, - "for_licenses": [ - "ab43ac21-eeae-978d-b391-58e77ab54a8c" + "for_license_detections": [ + "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c" ], "copyrights": [ { @@ -1986,8 +2056,8 @@ ], "license_clues": [], "percentage_of_license_text": 42.86, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2069,8 +2139,8 @@ ], "license_clues": [], "percentage_of_license_text": 40.0, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2152,8 +2222,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2204,7 +2274,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -2242,7 +2312,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [ { "copyright": "Copyright (c) 2004 by Henrik Ravn", @@ -2312,8 +2382,8 @@ ], "license_clues": [], "percentage_of_license_text": 88.89, - "for_licenses": [ - "b015a903-1844-66d2-fd10-6e5e24a7b011" + "for_license_detections": [ + "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011" ], "copyrights": [ { @@ -2364,7 +2434,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -2422,8 +2492,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "b242753c-a31d-3db4-b77a-92bdef5c5389" + "for_license_detections": [ + "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389" ], "copyrights": [ { @@ -2480,7 +2550,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -2538,8 +2608,8 @@ ], "license_clues": [], "percentage_of_license_text": 44.44, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2610,8 +2680,8 @@ ], "license_clues": [], "percentage_of_license_text": 50.0, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2662,7 +2732,7 @@ "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, - "for_licenses": [], + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], @@ -2720,8 +2790,8 @@ ], "license_clues": [], "percentage_of_license_text": 79.78, - "for_licenses": [ - "41d50a44-94c9-224f-adc2-02743727be1a" + "for_license_detections": [ + "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a" ], "copyrights": [ { @@ -2792,8 +2862,8 @@ ], "license_clues": [], "percentage_of_license_text": 84.21, - "for_licenses": [ - "866b02ed-ff4b-379e-e254-8ebc15ceae23" + "for_license_detections": [ + "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -2875,8 +2945,8 @@ ], "license_clues": [], "percentage_of_license_text": 37.5, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2958,8 +3028,8 @@ ], "license_clues": [], "percentage_of_license_text": 20.34, - "for_licenses": [ - "9c6f31cf-0e74-9f00-c846-b76477e312c2" + "for_license_detections": [ + "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { diff --git a/tests/summarycode/data/tallies/packages/expected.json b/tests/summarycode/data/tallies/packages/expected.json index 1fccd6cc3ad..c16e41e5c5d 100644 --- a/tests/summarycode/data/tallies/packages/expected.json +++ b/tests/summarycode/data/tallies/packages/expected.json @@ -1154,8 +1154,6 @@ } ], "tallies": {}, - "license_references": [], - "rule_references": [], "files": [ { "path": "scan", From e286a18e63fb49d90c9bde2dec99c77504abfd1c Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Tue, 20 Dec 2022 04:22:54 +0530 Subject: [PATCH 08/11] Don't remove license references in package license detection Signed-off-by: Ayan Sinha Mahapatra --- src/packagedcode/licensing.py | 7 ------- src/packagedcode/plugin_package.py | 4 ---- 2 files changed, 11 deletions(-) diff --git a/src/packagedcode/licensing.py b/src/packagedcode/licensing.py index 08ba64363cd..823a12524cd 100644 --- a/src/packagedcode/licensing.py +++ b/src/packagedcode/licensing.py @@ -24,7 +24,6 @@ from licensedcode.detection import find_referenced_resource from licensedcode.detection import detect_licenses from licensedcode.detection import LicenseDetectionFromResult -from licensedcode.licenses_reference import extract_license_rules_reference_data from licensedcode.spans import Span from licensedcode import query @@ -110,9 +109,6 @@ def add_referenced_license_matches_for_package(resource, codebase, no_licenses): referenced_license_detections = get_license_detection_mappings( location=referenced_resource.location ) - _references = extract_license_rules_reference_data( - license_detections=referenced_license_detections - ) else: referenced_license_detections = referenced_resource.license_detections @@ -353,9 +349,6 @@ def get_license_detections_from_sibling_file(resource, codebase, no_licenses): analysis=DetectionCategory.PACKAGE_ADD_FROM_SIBLING_FILE.value, post_scan=True, ) - _references = extract_license_rules_reference_data( - license_detections=detections, - ) license_detections.extend(detections) else: license_detections.extend(sibling.license_detections) diff --git a/src/packagedcode/plugin_package.py b/src/packagedcode/plugin_package.py index 0e1f819e974..94124c9cdb5 100644 --- a/src/packagedcode/plugin_package.py +++ b/src/packagedcode/plugin_package.py @@ -25,7 +25,6 @@ from licensedcode.cache import build_spdx_license_expression from licensedcode.cache import get_cache from licensedcode.detection import DetectionRule -from licensedcode.licenses_reference import extract_license_rules_reference_data from packagedcode import get_package_handler from packagedcode.licensing import add_referenced_license_matches_for_package from packagedcode.licensing import add_referenced_license_detection_from_package @@ -221,9 +220,6 @@ def add_license_from_file(resource, codebase, no_licenses): if no_licenses: license_detections_file = get_license_detection_mappings(location=resource.location) - _references = extract_license_rules_reference_data( - license_detections=license_detections_file, - ) else: license_detections_file = resource.license_detections From 972df60801bef9762f8b63bd00e15e88454fcab1 Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Tue, 20 Dec 2022 05:02:18 +0530 Subject: [PATCH 09/11] Reorder codebase and resource attributes * Reorder codebase and resource level attributes * replace `#` in license detection identifier with `-` * regenerate test expectations * reorder license rule references attributes * add rule text to license rule references data Signed-off-by: Ayan Sinha Mahapatra --- src/cluecode/plugin_copyright.py | 2 +- src/cluecode/plugin_email.py | 2 +- src/cluecode/plugin_url.py | 2 +- src/licensedcode/detection.py | 6 +- src/licensedcode/plugin_license.py | 2 +- src/packagedcode/plugin_package.py | 6 +- src/summarycode/classify_plugin.py | 2 +- src/summarycode/plugin_consolidate.py | 2 +- src/summarycode/summarizer.py | 2 +- src/summarycode/tallies.py | 2 +- .../filtered-expected.json | 6 +- .../filtered-expected2.json | 6 +- .../filtered-expected3.json | 6 +- .../data/yaml/simple-expected.yaml | 12 +- .../data/yaml/tree/expected.yaml | 36 +- ...e-reference-works-with-clues.expected.json | 78 +- ...-matched-text-with-reference.expected.json | 262 +- .../scan-with-reference.expected.json | 260 +- .../license-expression/scan.expected.json | 12 +- .../spdx-expressions.expected.json | 6 +- .../license-ref-see-copying.expected.json | 12 +- .../license_reference/scan-ref.expected.json | 12 +- ...-unknown-reference-copyright.expected.json | 20 +- ...unknown-ref-to-key-file-root.expected.json | 42 +- .../license_url/license_url.expected.json | 6 +- .../package/package.expected.json | 300 +- .../scan/e2fsprogs-expected.json | 12 +- .../scan/ffmpeg-license.expected.json | 42 +- .../sqlite/sqlite.expected.json | 276 +- .../text/scan-diag.expected.json | 12 +- .../plugin_license/text/scan.expected.json | 12 +- .../text_long_lines/scan-diag.expected.json | 12 +- .../text_long_lines/scan.expected.json | 12 +- ...n-unknown-intro-dual-license.expected.json | 6 +- ...tro-eclipse-foundation-tycho.expected.json | 80 +- ...own-intro-eclipse-foundation.expected.json | 6 +- ...nown-intro-long-gaps-between.expected.json | 12 +- ...intro-with-imperfect-matches.expected.json | 6 +- .../policy-codebase.expected.json | 30 +- .../plugin_license_text/scan.expected.json | 30 +- .../activemq-camel.expected.json | 309 +- .../google-built-collection.expected.json | 246 +- .../flutter_playtabs_bridge.expected.json | 368 +- .../nanopb.expected.json | 334 +- .../reference-to-package/base.expected.json | 299 +- .../fusiondirectory.expected.json | 9844 ++++++++--------- .../google_appengine_sdk.expected.json | 1054 +- .../paddlenlp.expected.json | 1044 +- .../physics.expected.json | 120 +- .../reference-to-package/samba.expected.json | 1821 +-- tests/scancode/data/info/all.expected.json | 12 +- .../data/info/all.rooted.expected.json | 12 +- .../scancode/data/license_text/test.expected | 6 +- .../plugin_only_findings/basic.expected.json | 24 +- .../data/virtual_idempotent/codebase.json | 38 +- .../component-package-build-expected.json | 420 +- .../component-package-expected.json | 308 +- .../license-holder-rollup-expected.json | 54 +- ...iple-same-holder-and-license-expected.json | 24 +- ...t-counted-in-license-holders-expected.json | 294 +- .../package-fileset-expected.json | 254 +- .../package-manifest-expected.json | 226 +- ...rectory-with-minority-origin-expected.json | 40 +- ...return-nested-local-majority-expected.json | 48 +- .../data/score/basic-expected.json | 14 +- ...consistent_licenses_copyleft-expected.json | 20 +- .../score/no_license_ambiguity-expected.json | 30 +- .../data/score/no_license_text-expected.json | 6 +- ...nflicting_license_categories.expected.json | 154 +- .../summary/end-2-end/bug-1141.expected.json | 130 +- .../holders/clear_holder.expected.json | 136 +- .../holders/combined_holders.expected.json | 128 +- .../license_ambiguity/ambiguous.expected.json | 102 +- .../unambiguous.expected.json | 108 +- .../multiple_package_data.expected.json | 700 +- .../single_file/single_file.expected.json | 62 +- .../summary-without-holder-pypi.expected.json | 846 +- ...holder_from_package_resource.expected.json | 347 +- .../with_package_data.expected.json | 354 +- .../without_package_data.expected.json | 108 +- .../tallies/end-2-end/bug-1141.expected.json | 60 +- .../full_tallies/tallies.expected.json | 4330 ++++---- .../tallies_by_facet.expected.json | 4330 ++++---- .../tallies_details.expected.json | 4330 ++++---- ...lies_key_files-details.expected.json-lines | 82 +- .../tallies_key_files.expected.json | 82 +- 86 files changed, 18070 insertions(+), 17240 deletions(-) diff --git a/src/cluecode/plugin_copyright.py b/src/cluecode/plugin_copyright.py index 16ac3778293..21d990902ea 100644 --- a/src/cluecode/plugin_copyright.py +++ b/src/cluecode/plugin_copyright.py @@ -28,7 +28,7 @@ class CopyrightScanner(ScanPlugin): ('authors',attr.ib(default=attr.Factory(list))), ]) - sort_order = 4 + sort_order = 6 options = [ PluggableCommandLineOption(('-c', '--copyright',), diff --git a/src/cluecode/plugin_email.py b/src/cluecode/plugin_email.py index 62338e1fcc9..50db005cd7f 100644 --- a/src/cluecode/plugin_email.py +++ b/src/cluecode/plugin_email.py @@ -25,7 +25,7 @@ class EmailScanner(ScanPlugin): """ resource_attributes = dict(emails=attr.ib(default=attr.Factory(list))) - sort_order = 8 + sort_order = 7 options = [ PluggableCommandLineOption(('-e', '--email',), diff --git a/src/cluecode/plugin_url.py b/src/cluecode/plugin_url.py index 92fe1f3cd14..aa8d2b399d4 100644 --- a/src/cluecode/plugin_url.py +++ b/src/cluecode/plugin_url.py @@ -26,7 +26,7 @@ class UrlScanner(ScanPlugin): resource_attributes = dict(urls=attr.ib(default=attr.Factory(list))) - sort_order = 10 + sort_order = 8 options = [ PluggableCommandLineOption(('-u', '--url',), diff --git a/src/licensedcode/detection.py b/src/licensedcode/detection.py index 367a9b75779..108c7891f2f 100644 --- a/src/licensedcode/detection.py +++ b/src/licensedcode/detection.py @@ -292,7 +292,7 @@ def identifier(self): @property def identifier_with_expression(self): id_safe_expression = python_safe_name(s=str(self.license_expression)) - return "{}#{}".format(id_safe_expression, self.identifier) + return "{}-{}".format(id_safe_expression, self.identifier) def get_start_end_line(self): @@ -657,7 +657,7 @@ class UniqueDetection: """ identifier = attr.ib(default=None) license_expression = attr.ib(default=None) - occurrence_count = attr.ib(default=None) + count = attr.ib(default=None) detection_log = attr.ib(default=attr.Factory(list)) matches = attr.ib(default=attr.Factory(list)) files = attr.ib(factory=list) @@ -693,7 +693,7 @@ def get_unique_detections(cls, license_detections): license_expression=detection_mapping["license_expression"], detection_log=detection_mapping["detection_log"], matches=detection_mapping["matches"], - occurrence_count=len(files), + count=len(files), files=files, ) ) diff --git a/src/licensedcode/plugin_license.py b/src/licensedcode/plugin_license.py index 7db98ef3127..725c8a816b1 100644 --- a/src/licensedcode/plugin_license.py +++ b/src/licensedcode/plugin_license.py @@ -74,7 +74,7 @@ class LicenseScanner(ScanPlugin): license_rule_references=attr.ib(default=attr.Factory(list)) ) - sort_order = 2 + sort_order = 4 options = [ PluggableCommandLineOption(('-l', '--license'), diff --git a/src/packagedcode/plugin_package.py b/src/packagedcode/plugin_package.py index 94124c9cdb5..6629365c936 100644 --- a/src/packagedcode/plugin_package.py +++ b/src/packagedcode/plugin_package.py @@ -91,10 +91,10 @@ class PackageScanner(ScanPlugin): """ codebase_attributes = dict( - # a list of dependencies - dependencies=attr.ib(default=attr.Factory(list), repr=False), # a list of packages packages=attr.ib(default=attr.Factory(list), repr=False), + # a list of dependencies + dependencies=attr.ib(default=attr.Factory(list), repr=False), ) resource_attributes = dict( # a list of package data @@ -105,7 +105,7 @@ class PackageScanner(ScanPlugin): required_plugins = ['scan:licenses'] - sort_order = 6 + sort_order = 3 options = [ PluggableCommandLineOption( diff --git a/src/summarycode/classify_plugin.py b/src/summarycode/classify_plugin.py index 85cbd86aaeb..309dbb3a2af 100644 --- a/src/summarycode/classify_plugin.py +++ b/src/summarycode/classify_plugin.py @@ -93,7 +93,7 @@ class FileClassifier(PreScanPlugin): ]) - sort_order = 50 + sort_order = 30 options = [ PluggableCommandLineOption(('--classify',), diff --git a/src/summarycode/plugin_consolidate.py b/src/summarycode/plugin_consolidate.py index ae5352124a4..8649efeb9ed 100644 --- a/src/summarycode/plugin_consolidate.py +++ b/src/summarycode/plugin_consolidate.py @@ -139,7 +139,7 @@ class Consolidator(PostScanPlugin): consolidated_to=attr.ib(default=attr.Factory(list)) ) - sort_order = 8 + sort_order = 10 options = [ PluggableCommandLineOption(('--consolidate',), diff --git a/src/summarycode/summarizer.py b/src/summarycode/summarizer.py index 964a8f80a06..e5a447209af 100644 --- a/src/summarycode/summarizer.py +++ b/src/summarycode/summarizer.py @@ -55,7 +55,7 @@ class ScanSummary(PostScanPlugin): Summarize a scan at the codebase level. """ - sort_order = 10 + sort_order = 2 codebase_attributes = dict(summary=attr.ib(default=attr.Factory(dict))) diff --git a/src/summarycode/tallies.py b/src/summarycode/tallies.py index a9604ab8e6d..76a27299d71 100644 --- a/src/summarycode/tallies.py +++ b/src/summarycode/tallies.py @@ -47,7 +47,7 @@ class Tallies(PostScanPlugin): """ Compute tallies for license, copyright and other scans at the codebase level """ - sort_order = 10 + sort_order = 15 codebase_attributes = dict(tallies=attr.ib(default=attr.Factory(dict))) diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected.json index 99b3a960806..14410dadcbf 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "apache_1_1#81b019ea-ed6c-17e3-1cfc-fad8557f8cac", + "identifier": "apache_1_1-81b019ea-ed6c-17e3-1cfc-fad8557f8cac", "license_expression": "apache-1.1", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -105,7 +105,7 @@ "license_clues": [], "percentage_of_license_text": 92.44, "for_license_detections": [ - "apache_1_1#81b019ea-ed6c-17e3-1cfc-fad8557f8cac" + "apache_1_1-81b019ea-ed6c-17e3-1cfc-fad8557f8cac" ], "copyrights": [ { diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json index a423ddba1fe..bf9acb9110a 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "pygres_2_2#7b7e2330-4841-998b-3287-06b5bc6e5a90", + "identifier": "pygres_2_2-7b7e2330-4841-998b-3287-06b5bc6e5a90", "license_expression": "pygres-2.2", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -97,7 +97,7 @@ "license_clues": [], "percentage_of_license_text": 69.38, "for_license_detections": [ - "pygres_2_2#7b7e2330-4841-998b-3287-06b5bc6e5a90" + "pygres_2_2-7b7e2330-4841-998b-3287-06b5bc6e5a90" ], "copyrights": [ { diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json index ef6b01a4d31..c0d3ceaad0e 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "pcre#043db187-9376-d7a9-e89b-d027667acb34", + "identifier": "pcre-043db187-9376-d7a9-e89b-d027667acb34", "license_expression": "pcre", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -98,7 +98,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "pcre#043db187-9376-d7a9-e89b-d027667acb34" + "pcre-043db187-9376-d7a9-e89b-d027667acb34" ], "copyrights": [ { diff --git a/tests/formattedcode/data/yaml/simple-expected.yaml b/tests/formattedcode/data/yaml/simple-expected.yaml index 566d538099e..7b18eb86e6e 100644 --- a/tests/formattedcode/data/yaml/simple-expected.yaml +++ b/tests/formattedcode/data/yaml/simple-expected.yaml @@ -27,11 +27,11 @@ headers: python_version: "3.8.10 (default, Nov 14 2022, 12:59:47) \n[GCC 9.4.0]" spdx_license_list_version: '3.17' files_count: 1 +packages: [] +dependencies: [] license_detections: [] license_references: [] license_rule_references: [] -dependencies: [] -packages: [] files: - path: simple type: directory @@ -51,6 +51,8 @@ files: is_media: no is_source: no is_script: no + package_data: [] + for_packages: [] detected_license_expression: detected_license_expression_spdx: license_detections: [] @@ -60,8 +62,6 @@ files: copyrights: [] holders: [] authors: [] - package_data: [] - for_packages: [] files_count: 1 dirs_count: '0' size_count: 55 @@ -84,6 +84,8 @@ files: is_media: no is_source: yes is_script: no + package_data: [] + for_packages: [] detected_license_expression: detected_license_expression_spdx: license_detections: [] @@ -99,8 +101,6 @@ files: start_line: 1 end_line: 1 authors: [] - package_data: [] - for_packages: [] files_count: '0' dirs_count: '0' size_count: '0' diff --git a/tests/formattedcode/data/yaml/tree/expected.yaml b/tests/formattedcode/data/yaml/tree/expected.yaml index 0ca4f47fe60..9e4be9a09fa 100644 --- a/tests/formattedcode/data/yaml/tree/expected.yaml +++ b/tests/formattedcode/data/yaml/tree/expected.yaml @@ -28,11 +28,11 @@ headers: python_version: "3.8.10 (default, Nov 14 2022, 12:59:47) \n[GCC 9.4.0]" spdx_license_list_version: '3.17' files_count: 7 +packages: [] +dependencies: [] license_detections: [] license_references: [] license_rule_references: [] -dependencies: [] -packages: [] files: - path: copy1.c type: file @@ -52,6 +52,8 @@ files: is_media: no is_source: yes is_script: no + package_data: [] + for_packages: [] detected_license_expression: detected_license_expression_spdx: license_detections: [] @@ -67,8 +69,6 @@ files: start_line: 1 end_line: 1 authors: [] - package_data: [] - for_packages: [] files_count: '0' dirs_count: '0' size_count: '0' @@ -91,6 +91,8 @@ files: is_media: no is_source: yes is_script: no + package_data: [] + for_packages: [] detected_license_expression: detected_license_expression_spdx: license_detections: [] @@ -106,8 +108,6 @@ files: start_line: 1 end_line: 1 authors: [] - package_data: [] - for_packages: [] files_count: '0' dirs_count: '0' size_count: '0' @@ -130,6 +130,8 @@ files: is_media: no is_source: yes is_script: no + package_data: [] + for_packages: [] detected_license_expression: detected_license_expression_spdx: license_detections: [] @@ -145,8 +147,6 @@ files: start_line: 1 end_line: 1 authors: [] - package_data: [] - for_packages: [] files_count: '0' dirs_count: '0' size_count: '0' @@ -169,6 +169,8 @@ files: is_media: no is_source: no is_script: no + package_data: [] + for_packages: [] detected_license_expression: detected_license_expression_spdx: license_detections: [] @@ -178,8 +180,6 @@ files: copyrights: [] holders: [] authors: [] - package_data: [] - for_packages: [] files_count: 4 dirs_count: '0' size_count: 361 @@ -202,6 +202,8 @@ files: is_media: no is_source: yes is_script: no + package_data: [] + for_packages: [] detected_license_expression: detected_license_expression_spdx: license_detections: [] @@ -217,8 +219,6 @@ files: start_line: 1 end_line: 1 authors: [] - package_data: [] - for_packages: [] files_count: '0' dirs_count: '0' size_count: '0' @@ -241,6 +241,8 @@ files: is_media: no is_source: yes is_script: no + package_data: [] + for_packages: [] detected_license_expression: detected_license_expression_spdx: license_detections: [] @@ -256,8 +258,6 @@ files: start_line: 1 end_line: 1 authors: [] - package_data: [] - for_packages: [] files_count: '0' dirs_count: '0' size_count: '0' @@ -280,6 +280,8 @@ files: is_media: no is_source: yes is_script: no + package_data: [] + for_packages: [] detected_license_expression: detected_license_expression_spdx: license_detections: [] @@ -295,8 +297,6 @@ files: start_line: 1 end_line: 1 authors: [] - package_data: [] - for_packages: [] files_count: '0' dirs_count: '0' size_count: '0' @@ -319,6 +319,8 @@ files: is_media: no is_source: yes is_script: no + package_data: [] + for_packages: [] detected_license_expression: detected_license_expression_spdx: license_detections: [] @@ -334,8 +336,6 @@ files: start_line: 1 end_line: 1 authors: [] - package_data: [] - for_packages: [] files_count: '0' dirs_count: '0' size_count: '0' diff --git a/tests/licensedcode/data/licenses_reference_reporting/license-reference-works-with-clues.expected.json b/tests/licensedcode/data/licenses_reference_reporting/license-reference-works-with-clues.expected.json index 7bb5c2a0caf..d94829e4c10 100644 --- a/tests/licensedcode/data/licenses_reference_reporting/license-reference-works-with-clues.expected.json +++ b/tests/licensedcode/data/licenses_reference_reporting/license-reference-works-with-clues.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "python#f9a5ba7d-9d66-5878-a0bd-1afe42fe0bd9", + "identifier": "python-f9a5ba7d-9d66-5878-a0bd-1afe42fe0bd9", "license_expression": "python", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "other_copyleft_and_gpl_1_0_plus#a9ef94dc-a60e-21b6-82b8-77454e7751c0", + "identifier": "other_copyleft_and_gpl_1_0_plus-a9ef94dc-a60e-21b6-82b8-77454e7751c0", "license_expression": "other-copyleft AND gpl-1.0-plus", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -120,9 +120,9 @@ ] }, { - "identifier": "python_and_python_cwi#3136274a-0a35-5bea-9531-6e328486ea3b", + "identifier": "python_and_python_cwi-3136274a-0a35-5bea-9531-6e328486ea3b", "license_expression": "python AND python-cwi", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -152,9 +152,9 @@ ] }, { - "identifier": "bzip2_libbzip_2010#4854df4f-b9f8-1a96-92bd-44873ee7c7c5", + "identifier": "bzip2_libbzip_2010-4854df4f-b9f8-1a96-92bd-44873ee7c7c5", "license_expression": "bzip2-libbzip-2010", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -184,9 +184,9 @@ ] }, { - "identifier": "sleepycat#82c2d26c-feb1-2257-3b27-0e92e4721958", + "identifier": "sleepycat-82c2d26c-feb1-2257-3b27-0e92e4721958", "license_expression": "sleepycat", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -216,9 +216,9 @@ ] }, { - "identifier": "bsd_simplified#d90f717a-d127-c345-d8a9-dc828c2be7e6", + "identifier": "bsd_simplified-d90f717a-d127-c345-d8a9-dc828c2be7e6", "license_expression": "bsd-simplified", - "occurrence_count": 1, + "count": 1, "detection_log": [ "license-clues", "not-license-clues-as-more-detections-present" @@ -238,9 +238,9 @@ ] }, { - "identifier": "bsd_new#e65e2324-d4b0-5ad8-3314-a798683d13e3", + "identifier": "bsd_new-e65e2324-d4b0-5ad8-3314-a798683d13e3", "license_expression": "bsd-new", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -259,9 +259,9 @@ ] }, { - "identifier": "bsd_new#4c57e726-e851-a66a-1dbe-d6106bcb4751", + "identifier": "bsd_new-4c57e726-e851-a66a-1dbe-d6106bcb4751", "license_expression": "bsd-new", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -280,9 +280,9 @@ ] }, { - "identifier": "openssl_ssleay#7a0dc499-dddd-4bf1-2d0d-9a84c910b0bc", + "identifier": "openssl_ssleay-7a0dc499-dddd-4bf1-2d0d-9a84c910b0bc", "license_expression": "openssl-ssleay", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -323,9 +323,9 @@ ] }, { - "identifier": "openssl#dacfdecf-b752-23a6-37ba-f98e7d93554a", + "identifier": "openssl-dacfdecf-b752-23a6-37ba-f98e7d93554a", "license_expression": "openssl", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -344,9 +344,9 @@ ] }, { - "identifier": "ssleay_windows#50e05b6f-8602-75e7-7568-c3b4e72fec38", + "identifier": "ssleay_windows-50e05b6f-8602-75e7-7568-c3b4e72fec38", "license_expression": "ssleay-windows", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -365,9 +365,9 @@ ] }, { - "identifier": "tcl#d352cc42-40ca-8f87-931e-725ee0a85c3e", + "identifier": "tcl-d352cc42-40ca-8f87-931e-725ee0a85c3e", "license_expression": "tcl", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -397,9 +397,9 @@ ] }, { - "identifier": "tcl#e49b63d5-028c-f39c-035e-68c9e6c60e34", + "identifier": "tcl-e49b63d5-028c-f39c-035e-68c9e6c60e34", "license_expression": "tcl", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -1425,19 +1425,19 @@ "license_clues": [], "percentage_of_license_text": 83.64, "for_license_detections": [ - "python#f9a5ba7d-9d66-5878-a0bd-1afe42fe0bd9", - "other_copyleft_and_gpl_1_0_plus#a9ef94dc-a60e-21b6-82b8-77454e7751c0", - "python_and_python_cwi#3136274a-0a35-5bea-9531-6e328486ea3b", - "bzip2_libbzip_2010#4854df4f-b9f8-1a96-92bd-44873ee7c7c5", - "sleepycat#82c2d26c-feb1-2257-3b27-0e92e4721958", - "bsd_simplified#d90f717a-d127-c345-d8a9-dc828c2be7e6", - "bsd_new#e65e2324-d4b0-5ad8-3314-a798683d13e3", - "bsd_new#4c57e726-e851-a66a-1dbe-d6106bcb4751", - "openssl_ssleay#7a0dc499-dddd-4bf1-2d0d-9a84c910b0bc", - "openssl#dacfdecf-b752-23a6-37ba-f98e7d93554a", - "ssleay_windows#50e05b6f-8602-75e7-7568-c3b4e72fec38", - "tcl#d352cc42-40ca-8f87-931e-725ee0a85c3e", - "tcl#e49b63d5-028c-f39c-035e-68c9e6c60e34" + "python-f9a5ba7d-9d66-5878-a0bd-1afe42fe0bd9", + "other_copyleft_and_gpl_1_0_plus-a9ef94dc-a60e-21b6-82b8-77454e7751c0", + "python_and_python_cwi-3136274a-0a35-5bea-9531-6e328486ea3b", + "bzip2_libbzip_2010-4854df4f-b9f8-1a96-92bd-44873ee7c7c5", + "sleepycat-82c2d26c-feb1-2257-3b27-0e92e4721958", + "bsd_simplified-d90f717a-d127-c345-d8a9-dc828c2be7e6", + "bsd_new-e65e2324-d4b0-5ad8-3314-a798683d13e3", + "bsd_new-4c57e726-e851-a66a-1dbe-d6106bcb4751", + "openssl_ssleay-7a0dc499-dddd-4bf1-2d0d-9a84c910b0bc", + "openssl-dacfdecf-b752-23a6-37ba-f98e7d93554a", + "ssleay_windows-50e05b6f-8602-75e7-7568-c3b4e72fec38", + "tcl-d352cc42-40ca-8f87-931e-725ee0a85c3e", + "tcl-e49b63d5-028c-f39c-035e-68c9e6c60e34" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json b/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json index a41d20b9505..2c87c14a544 100644 --- a/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json +++ b/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json @@ -1,9 +1,91 @@ { + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "npm", + "version": "2.13.5", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "a package manager for JavaScript", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me" + } + ], + "keywords": [ + "package manager", + "modules", + "install", + "package.json" + ], + "homepage_url": "https://docs.npmjs.com/", + "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "size": null, + "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "http://github.com/npm/npm/issues", + "code_view_url": null, + "vcs_url": "git+https://github.com/npm/npm.git", + "copyright": null, + "declared_license_expression": "artistic-2.0 OR mit", + "declared_license_expression_spdx": "Artistic-2.0 OR MIT", + "license_detections": [ + { + "license_expression": "artistic-2.0 OR mit", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "artistic-2.0 OR mit", + "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", + "rule_url": null, + "matched_text": "Artistic-2.0 OR MIT" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['Artistic-2.0 OR MIT']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/npm", + "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "api_data_url": "https://registry.npmjs.org/npm/2.13.5", + "package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "scan/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/npm@2.13.5" + } + ], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0_and__mit_or_bsd_simplified#6bc05a2e-db2d-cf02-757a-3805bbf81f2e", + "identifier": "apache_2_0_and__mit_or_bsd_simplified-6bc05a2e-db2d-cf02-757a-3805bbf81f2e", "license_expression": "apache-2.0 AND (mit OR bsd-simplified)", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -33,9 +115,9 @@ ] }, { - "identifier": "artistic_2_0#c69ba991-eda9-d458-568a-670d821906e2", + "identifier": "artistic_2_0-c69ba991-eda9-d458-568a-670d821906e2", "license_expression": "artistic-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -54,9 +136,9 @@ ] }, { - "identifier": "artistic_2_0_or_mit#2bc704cf-ef68-50b0-a7f0-b3a137ac7246", + "identifier": "artistic_2_0_or_mit-2bc704cf-ef68-50b0-a7f0-b3a137ac7246", "license_expression": "artistic-2.0 OR mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -177,6 +259,18 @@ } ], "license_rule_references": [ + { + "license_expression": "artistic-2.0 OR mit", + "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", @@ -228,105 +322,27 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "npm", - "version": "2.13.5", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": "a package manager for JavaScript", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me" - } - ], - "keywords": [ - "package manager", - "modules", - "install", - "package.json" - ], - "homepage_url": "https://docs.npmjs.com/", - "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "size": null, - "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": "http://github.com/npm/npm/issues", - "code_view_url": null, - "vcs_url": "git+https://github.com/npm/npm.git", - "copyright": null, - "declared_license_expression": "artistic-2.0 OR mit", - "declared_license_expression_spdx": "Artistic-2.0 OR MIT", - "license_detections": [ - { - "license_expression": "artistic-2.0 OR mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null, - "matched_text": "Artistic-2.0 OR MIT" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0 OR MIT']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/npm", - "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "api_data_url": "https://registry.npmjs.org/npm/2.13.5", - "package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "scan/package.json" - ], - "datasource_ids": [ - "npm_package_json" - ], - "purl": "pkg:npm/npm@2.13.5" - } - ], "files": [ { "path": "scan", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "scan/copyr.java", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0 AND (mit OR bsd-simplified)", "detected_license_expression_spdx": "Apache-2.0 AND (MIT OR BSD-2-Clause)", "license_detections": [ @@ -366,47 +382,13 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "apache_2_0_and__mit_or_bsd_simplified#6bc05a2e-db2d-cf02-757a-3805bbf81f2e" - ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + "apache_2_0_and__mit_or_bsd_simplified-6bc05a2e-db2d-cf02-757a-3805bbf81f2e" ], "scan_errors": [] }, { "path": "scan/package.json", "type": "file", - "detected_license_expression": "artistic-2.0", - "detected_license_expression_spdx": "Artistic-2.0", - "license_detections": [ - { - "license_expression": "artistic-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 28, - "end_line": 28, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", - "matched_text": " \"license\": \"Artistic-2.0 OR MIT\"," - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 5.0, - "for_license_detections": [ - "artistic_2_0#c69ba991-eda9-d458-568a-670d821906e2", - "artistic_2_0_or_mit#2bc704cf-ef68-50b0-a7f0-b3a137ac7246" - ], "package_data": [ { "type": "npm", @@ -487,6 +469,36 @@ "for_packages": [ "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "artistic-2.0", + "detected_license_expression_spdx": "Artistic-2.0", + "license_detections": [ + { + "license_expression": "artistic-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 28, + "end_line": 28, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", + "matched_text": " \"license\": \"Artistic-2.0 OR MIT\"," + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 5.0, + "for_license_detections": [ + "artistic_2_0-c69ba991-eda9-d458-568a-670d821906e2", + "artistic_2_0_or_mit-2bc704cf-ef68-50b0-a7f0-b3a137ac7246" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json b/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json index 4443b55a546..24246ccebad 100644 --- a/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json +++ b/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json @@ -1,9 +1,91 @@ { + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "npm", + "version": "2.13.5", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "a package manager for JavaScript", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me" + } + ], + "keywords": [ + "package manager", + "modules", + "install", + "package.json" + ], + "homepage_url": "https://docs.npmjs.com/", + "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "size": null, + "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "http://github.com/npm/npm/issues", + "code_view_url": null, + "vcs_url": "git+https://github.com/npm/npm.git", + "copyright": null, + "declared_license_expression": "artistic-2.0 OR mit", + "declared_license_expression_spdx": "Artistic-2.0 OR MIT", + "license_detections": [ + { + "license_expression": "artistic-2.0 OR mit", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "artistic-2.0 OR mit", + "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", + "rule_url": null, + "matched_text": "Artistic-2.0 OR MIT" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['Artistic-2.0 OR MIT']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/npm", + "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "api_data_url": "https://registry.npmjs.org/npm/2.13.5", + "package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "scan/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/npm@2.13.5" + } + ], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0_and__mit_or_bsd_simplified#43444665-1eb3-02f0-09a9-336b2186d8ce", + "identifier": "apache_2_0_and__mit_or_bsd_simplified-43444665-1eb3-02f0-09a9-336b2186d8ce", "license_expression": "apache-2.0 AND (mit OR bsd-simplified)", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -33,9 +115,9 @@ ] }, { - "identifier": "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3", + "identifier": "artistic_2_0-8755d5fd-6521-04e7-ace1-4344b99647e3", "license_expression": "artistic-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -54,9 +136,9 @@ ] }, { - "identifier": "artistic_2_0_or_mit#2bc704cf-ef68-50b0-a7f0-b3a137ac7246", + "identifier": "artistic_2_0_or_mit-2bc704cf-ef68-50b0-a7f0-b3a137ac7246", "license_expression": "artistic-2.0 OR mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -177,6 +259,18 @@ } ], "license_rule_references": [ + { + "license_expression": "artistic-2.0 OR mit", + "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", @@ -228,105 +322,27 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "npm", - "version": "2.13.5", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": "a package manager for JavaScript", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me" - } - ], - "keywords": [ - "package manager", - "modules", - "install", - "package.json" - ], - "homepage_url": "https://docs.npmjs.com/", - "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "size": null, - "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": "http://github.com/npm/npm/issues", - "code_view_url": null, - "vcs_url": "git+https://github.com/npm/npm.git", - "copyright": null, - "declared_license_expression": "artistic-2.0 OR mit", - "declared_license_expression_spdx": "Artistic-2.0 OR MIT", - "license_detections": [ - { - "license_expression": "artistic-2.0 OR mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "rule_url": null, - "matched_text": "Artistic-2.0 OR MIT" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0 OR MIT']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/npm", - "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "api_data_url": "https://registry.npmjs.org/npm/2.13.5", - "package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "scan/package.json" - ], - "datasource_ids": [ - "npm_package_json" - ], - "purl": "pkg:npm/npm@2.13.5" - } - ], "files": [ { "path": "scan", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "scan/copyr.java", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0 AND (mit OR bsd-simplified)", "detected_license_expression_spdx": "Apache-2.0 AND (MIT OR BSD-2-Clause)", "license_detections": [ @@ -364,46 +380,13 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "apache_2_0_and__mit_or_bsd_simplified#43444665-1eb3-02f0-09a9-336b2186d8ce" - ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + "apache_2_0_and__mit_or_bsd_simplified-43444665-1eb3-02f0-09a9-336b2186d8ce" ], "scan_errors": [] }, { "path": "scan/package.json", "type": "file", - "detected_license_expression": "artistic-2.0", - "detected_license_expression_spdx": "Artistic-2.0", - "license_detections": [ - { - "license_expression": "artistic-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 28, - "end_line": 28, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 5.0, - "for_license_detections": [ - "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3", - "artistic_2_0_or_mit#2bc704cf-ef68-50b0-a7f0-b3a137ac7246" - ], "package_data": [ { "type": "npm", @@ -484,6 +467,35 @@ "for_packages": [ "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "artistic-2.0", + "detected_license_expression_spdx": "Artistic-2.0", + "license_detections": [ + { + "license_expression": "artistic-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 28, + "end_line": 28, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 5.0, + "for_license_detections": [ + "artistic_2_0-8755d5fd-6521-04e7-ace1-4344b99647e3", + "artistic_2_0_or_mit-2bc704cf-ef68-50b0-a7f0-b3a137ac7246" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json b/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json index 8c886ef57d8..cf80bedb295 100644 --- a/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "apache_1_0#c0668fcd-2d15-caa1-2e29-7df8daec68a5", + "identifier": "apache_1_0-c0668fcd-2d15-caa1-2e29-7df8daec68a5", "license_expression": "apache-1.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#51fb40ac-0b3a-03c4-2532-40ada1cb7912", + "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib-51fb40ac-0b3a-03c4-2532-40ada1cb7912", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -186,7 +186,7 @@ "license_clues": [], "percentage_of_license_text": 97.61, "for_license_detections": [ - "apache_1_0#c0668fcd-2d15-caa1-2e29-7df8daec68a5" + "apache_1_0-c0668fcd-2d15-caa1-2e29-7df8daec68a5" ], "scan_errors": [] }, @@ -219,7 +219,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#51fb40ac-0b3a-03c4-2532-40ada1cb7912" + "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib-51fb40ac-0b3a-03c4-2532-40ada1cb7912" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json b/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json index 1d2d542766d..046e0024516 100644 --- a/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json +++ b/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "zlib_and_apache_2_0#6a62dd92-d687-5046-a149-47edab69491d", + "identifier": "zlib_and_apache_2_0-6a62dd92-d687-5046-a149-47edab69491d", "license_expression": "zlib AND apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -154,7 +154,7 @@ "license_clues": [], "percentage_of_license_text": 90.91, "for_license_detections": [ - "zlib_and_apache_2_0#6a62dd92-d687-5046-a149-47edab69491d" + "zlib_and_apache_2_0-6a62dd92-d687-5046-a149-47edab69491d" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json b/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json index 44238d522d3..9b25d8134ab 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "apache_2_0#f76efb47-fed2-ece2-85a7-be5297788421", + "identifier": "apache_2_0-f76efb47-fed2-ece2-85a7-be5297788421", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "unknown_license_reference#589846e0-5ae8-148c-1e24-c9a3b337f0f6", + "identifier": "unknown_license_reference-589846e0-5ae8-148c-1e24-c9a3b337f0f6", "license_expression": "unknown-license-reference", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -131,7 +131,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "apache_2_0#f76efb47-fed2-ece2-85a7-be5297788421" + "apache_2_0-f76efb47-fed2-ece2-85a7-be5297788421" ], "scan_errors": [] }, @@ -177,7 +177,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "unknown_license_reference#589846e0-5ae8-148c-1e24-c9a3b337f0f6" + "unknown_license_reference-589846e0-5ae8-148c-1e24-c9a3b337f0f6" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json b/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json index 740e05c412c..c4d5c9cebd1 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "mit#74e8eedf-db6a-01e4-830f-8ac6e27be365", + "identifier": "mit-74e8eedf-db6a-01e4-830f-8ac6e27be365", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "unknown_license_reference#77d29bdd-8b2e-96ec-6420-8c5107d3eabe", + "identifier": "unknown_license_reference-77d29bdd-8b2e-96ec-6420-8c5107d3eabe", "license_expression": "unknown-license-reference", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -126,7 +126,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "mit#74e8eedf-db6a-01e4-830f-8ac6e27be365" + "mit-74e8eedf-db6a-01e4-830f-8ac6e27be365" ], "scan_errors": [] }, @@ -172,7 +172,7 @@ "license_clues": [], "percentage_of_license_text": 0.2, "for_license_detections": [ - "unknown_license_reference#77d29bdd-8b2e-96ec-6420-8c5107d3eabe" + "unknown_license_reference-77d29bdd-8b2e-96ec-6420-8c5107d3eabe" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json b/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json index 696e60005f1..78582d43911 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "unknown_license_reference#cb2d1ad5-873d-6301-d317-22a999e29333", + "identifier": "unknown_license_reference-cb2d1ad5-873d-6301-d317-22a999e29333", "license_expression": "unknown-license-reference", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "x11_xconsortium_veillard#f8587161-833d-692c-3d76-0d68eb040d40", + "identifier": "x11_xconsortium_veillard-f8587161-833d-692c-3d76-0d68eb040d40", "license_expression": "x11-xconsortium-veillard", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "unknown_license_reference#0fca325a-cfc9-3067-2426-a2e81f63954e", + "identifier": "unknown_license_reference-0fca325a-cfc9-3067-2426-a2e81f63954e", "license_expression": "unknown-license-reference", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -168,7 +168,7 @@ "license_clues": [], "percentage_of_license_text": 81.89, "for_license_detections": [ - "x11_xconsortium_veillard#f8587161-833d-692c-3d76-0d68eb040d40" + "x11_xconsortium_veillard-f8587161-833d-692c-3d76-0d68eb040d40" ], "scan_errors": [] }, @@ -214,7 +214,7 @@ "license_clues": [], "percentage_of_license_text": 1.32, "for_license_detections": [ - "unknown_license_reference#cb2d1ad5-873d-6301-d317-22a999e29333" + "unknown_license_reference-cb2d1ad5-873d-6301-d317-22a999e29333" ], "scan_errors": [] }, @@ -260,7 +260,7 @@ "license_clues": [], "percentage_of_license_text": 0.1, "for_license_detections": [ - "unknown_license_reference#cb2d1ad5-873d-6301-d317-22a999e29333" + "unknown_license_reference-cb2d1ad5-873d-6301-d317-22a999e29333" ], "scan_errors": [] }, @@ -328,7 +328,7 @@ "license_clues": [], "percentage_of_license_text": 2.47, "for_license_detections": [ - "unknown_license_reference#0fca325a-cfc9-3067-2426-a2e81f63954e" + "unknown_license_reference-0fca325a-cfc9-3067-2426-a2e81f63954e" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json b/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json index 19921dccc0c..223c2dd816d 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "unknown_license_reference#e7257024-d126-956a-74bb-495572281351", + "identifier": "unknown_license_reference-e7257024-d126-956a-74bb-495572281351", "license_expression": "unknown-license-reference", - "occurrence_count": 4, + "count": 4, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "mit#26a4c3aa-d426-9e04-08af-0c92585a1998", + "identifier": "mit-26a4c3aa-d426-9e04-08af-0c92585a1998", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "mit#a103b5a9-df52-531b-ca52-7c2967858cd9", + "identifier": "mit-a103b5a9-df52-531b-ca52-7c2967858cd9", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -75,9 +75,9 @@ ] }, { - "identifier": "mit#a97190f9-e182-1c66-a517-fc3368d5b248", + "identifier": "mit-a97190f9-e182-1c66-a517-fc3368d5b248", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -96,9 +96,9 @@ ] }, { - "identifier": "mit#b0986273-a9c0-9bfc-a7e4-7324f777dfbe", + "identifier": "mit-b0986273-a9c0-9bfc-a7e4-7324f777dfbe", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -117,9 +117,9 @@ ] }, { - "identifier": "mit#5af45262-306f-3814-a419-bcbdaadfae4d", + "identifier": "mit-5af45262-306f-3814-a419-bcbdaadfae4d", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -337,7 +337,7 @@ "license_clues": [], "percentage_of_license_text": 95.38, "for_license_detections": [ - "mit#a103b5a9-df52-531b-ca52-7c2967858cd9" + "mit-a103b5a9-df52-531b-ca52-7c2967858cd9" ], "scan_errors": [] }, @@ -371,7 +371,7 @@ "license_clues": [], "percentage_of_license_text": 0.3, "for_license_detections": [ - "mit#b0986273-a9c0-9bfc-a7e4-7324f777dfbe" + "mit-b0986273-a9c0-9bfc-a7e4-7324f777dfbe" ], "scan_errors": [] }, @@ -429,7 +429,7 @@ "license_clues": [], "percentage_of_license_text": 0.83, "for_license_detections": [ - "unknown_license_reference#e7257024-d126-956a-74bb-495572281351" + "unknown_license_reference-e7257024-d126-956a-74bb-495572281351" ], "scan_errors": [] }, @@ -487,7 +487,7 @@ "license_clues": [], "percentage_of_license_text": 5.71, "for_license_detections": [ - "unknown_license_reference#e7257024-d126-956a-74bb-495572281351" + "unknown_license_reference-e7257024-d126-956a-74bb-495572281351" ], "scan_errors": [] }, @@ -545,7 +545,7 @@ "license_clues": [], "percentage_of_license_text": 1.14, "for_license_detections": [ - "unknown_license_reference#e7257024-d126-956a-74bb-495572281351" + "unknown_license_reference-e7257024-d126-956a-74bb-495572281351" ], "scan_errors": [] }, @@ -579,7 +579,7 @@ "license_clues": [], "percentage_of_license_text": 3.7, "for_license_detections": [ - "mit#26a4c3aa-d426-9e04-08af-0c92585a1998" + "mit-26a4c3aa-d426-9e04-08af-0c92585a1998" ], "scan_errors": [] }, @@ -613,7 +613,7 @@ "license_clues": [], "percentage_of_license_text": 2.67, "for_license_detections": [ - "mit#a97190f9-e182-1c66-a517-fc3368d5b248" + "mit-a97190f9-e182-1c66-a517-fc3368d5b248" ], "scan_errors": [] }, @@ -671,7 +671,7 @@ "license_clues": [], "percentage_of_license_text": 2.52, "for_license_detections": [ - "mit#5af45262-306f-3814-a419-bcbdaadfae4d" + "mit-5af45262-306f-3814-a419-bcbdaadfae4d" ], "scan_errors": [] }, @@ -740,7 +740,7 @@ "license_clues": [], "percentage_of_license_text": 4.65, "for_license_detections": [ - "unknown_license_reference#e7257024-d126-956a-74bb-495572281351" + "unknown_license_reference-e7257024-d126-956a-74bb-495572281351" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json b/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json index 8a480d17497..e5b92106fb7 100644 --- a/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json +++ b/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "apache_1_0#c0668fcd-2d15-caa1-2e29-7df8daec68a5", + "identifier": "apache_1_0-c0668fcd-2d15-caa1-2e29-7df8daec68a5", "license_expression": "apache-1.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -95,7 +95,7 @@ "license_clues": [], "percentage_of_license_text": 97.61, "for_license_detections": [ - "apache_1_0#c0668fcd-2d15-caa1-2e29-7df8daec68a5" + "apache_1_0-c0668fcd-2d15-caa1-2e29-7df8daec68a5" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/package/package.expected.json b/tests/licensedcode/data/plugin_license/package/package.expected.json index cb78ec1db99..51e35baf671 100644 --- a/tests/licensedcode/data/plugin_license/package/package.expected.json +++ b/tests/licensedcode/data/plugin_license/package/package.expected.json @@ -1,9 +1,120 @@ { + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "busboy", + "version": "0.2.14", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "A streaming parser for HTML form data for node.js", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Brian White", + "email": "mscdex@mscdex.net", + "url": null + } + ], + "keywords": [ + "uploads", + "forms", + "multipart", + "form-data" + ], + "homepage_url": null, + "download_url": "https://registry.npmjs.org/busboy/-/busboy-0.2.14.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": "git+http://github.com/mscdex/busboy.git", + "copyright": null, + "declared_license_expression": "mit", + "declared_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "rule_url": null, + "matched_text": "MIT" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "[{'type': 'MIT', 'url': 'http://github.com/mscdex/busboy/raw/master/LICENSE'}]", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/busboy", + "repository_download_url": "https://registry.npmjs.org/busboy/-/busboy-0.2.14.tgz", + "api_data_url": "https://registry.npmjs.org/busboy/0.2.14", + "package_uid": "pkg:npm/busboy@0.2.14?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/busboy@0.2.14" + } + ], + "dependencies": [ + { + "purl": "pkg:npm/dicer", + "extracted_requirement": "0.2.5", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/dicer?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/busboy@0.2.14?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/readable-stream", + "extracted_requirement": "1.1.x", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/readable-stream?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/busboy@0.2.14?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "package.json", + "datasource_id": "npm_package_json" + } + ], "license_detections": [ { - "identifier": "mit#a56e6f7d-76c6-b3b6-1dfa-7667ccf44fcc", + "identifier": "mit-a56e6f7d-76c6-b3b6-1dfa-7667ccf44fcc", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +133,9 @@ ] }, { - "identifier": "mit#ef6d2c56-a637-62b0-4f8d-c66f8f2da55b", + "identifier": "mit-ef6d2c56-a637-62b0-4f8d-c66f8f2da55b", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -82,161 +193,33 @@ }, { "license_expression": "mit", - "rule_identifier": "mit_272.RULE", + "rule_identifier": "spdx-license-identifier: mit", "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 3, + "rule_length": 1, "rule_relevance": 100 - } - ], - "dependencies": [ - { - "purl": "pkg:npm/dicer", - "extracted_requirement": "0.2.5", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/dicer?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/busboy@0.2.14?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "package.json", - "datasource_id": "npm_package_json" }, { - "purl": "pkg:npm/readable-stream", - "extracted_requirement": "1.1.x", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/readable-stream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/busboy@0.2.14?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "package.json", - "datasource_id": "npm_package_json" - } - ], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "busboy", - "version": "0.2.14", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": "A streaming parser for HTML form data for node.js", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Brian White", - "email": "mscdex@mscdex.net", - "url": null - } - ], - "keywords": [ - "uploads", - "forms", - "multipart", - "form-data" - ], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/busboy/-/busboy-0.2.14.tgz", - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": "git+http://github.com/mscdex/busboy.git", - "copyright": null, - "declared_license_expression": "mit", - "declared_license_expression_spdx": "MIT", - "license_detections": [ - { - "license_expression": "mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 1, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "mit", - "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null, - "matched_text": "MIT" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "[{'type': 'MIT', 'url': 'http://github.com/mscdex/busboy/raw/master/LICENSE'}]", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/busboy", - "repository_download_url": "https://registry.npmjs.org/busboy/-/busboy-0.2.14.tgz", - "api_data_url": "https://registry.npmjs.org/busboy/0.2.14", - "package_uid": "pkg:npm/busboy@0.2.14?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "package.json" - ], - "datasource_ids": [ - "npm_package_json" - ], - "purl": "pkg:npm/busboy@0.2.14" + "license_expression": "mit", + "rule_identifier": "mit_272.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 } ], "files": [ { "path": "package.json", "type": "file", - "detected_license_expression": "mit", - "detected_license_expression_spdx": "MIT", - "license_detections": [ - { - "license_expression": "mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 15, - "end_line": 15, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit", - "rule_identifier": "mit_272.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_272.RULE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 4.05, - "for_license_detections": [ - "mit#a56e6f7d-76c6-b3b6-1dfa-7667ccf44fcc", - "mit#ef6d2c56-a637-62b0-4f8d-c66f8f2da55b" - ], "package_data": [ { "type": "npm", @@ -338,6 +321,35 @@ "for_packages": [ "pkg:npm/busboy@0.2.14?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "mit", + "detected_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 15, + "end_line": 15, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_272.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_272.RULE" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 4.05, + "for_license_detections": [ + "mit-a56e6f7d-76c6-b3b6-1dfa-7667ccf44fcc", + "mit-ef6d2c56-a637-62b0-4f8d-c66f8f2da55b" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json b/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json index 433fbc9c4bc..2b98a00a431 100644 --- a/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json +++ b/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "none#c356b4b4-d67f-a20e-2b27-6b846b248f17", + "identifier": "none-c356b4b4-d67f-a20e-2b27-6b846b248f17", "license_expression": null, - "occurrence_count": 1, + "count": 1, "detection_log": [ "license-clues" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "gpl_2_0_and_patent_disclaimer#7a8b2654-e2b3-da24-ce96-d08ca2d4d8c3", + "identifier": "gpl_2_0_and_patent_disclaimer-7a8b2654-e2b3-da24-ce96-d08ca2d4d8c3", "license_expression": "gpl-2.0 AND patent-disclaimer", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -138,7 +138,7 @@ ], "percentage_of_license_text": 22.73, "for_license_detections": [ - "none#c356b4b4-d67f-a20e-2b27-6b846b248f17" + "none-c356b4b4-d67f-a20e-2b27-6b846b248f17" ], "scan_errors": [] }, @@ -171,7 +171,7 @@ "license_clues": [], "percentage_of_license_text": 95.36, "for_license_detections": [ - "gpl_2_0_and_patent_disclaimer#7a8b2654-e2b3-da24-ce96-d08ca2d4d8c3" + "gpl_2_0_and_patent_disclaimer-7a8b2654-e2b3-da24-ce96-d08ca2d4d8c3" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json b/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json index 32cd4dfd569..bdecf4b68d1 100644 --- a/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json +++ b/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "lgpl_2_1_plus_and_other_permissive_and_gpl_2_0_plus#14099f19-eb98-27ed-cc72-38bbf5c0a1e7", + "identifier": "lgpl_2_1_plus_and_other_permissive_and_gpl_2_0_plus-14099f19-eb98-27ed-cc72-38bbf5c0a1e7", "license_expression": "lgpl-2.1-plus AND other-permissive AND gpl-2.0-plus", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "gpl_1_0_plus#b16770da-ae1c-5e72-d72a-ca61d8d81ae9", + "identifier": "gpl_1_0_plus-b16770da-ae1c-5e72-d72a-ca61d8d81ae9", "license_expression": "gpl-1.0-plus", - "occurrence_count": 1, + "count": 1, "detection_log": [ "possible-false-positive", "not-license-clues-as-more-detections-present" @@ -44,9 +44,9 @@ ] }, { - "identifier": "lgpl_3_0_and_lgpl_3_0_plus_and__lgpl_3_0_and_gpl_3_0#c47094e3-d257-d183-2320-782b7720ff17", + "identifier": "lgpl_3_0_and_lgpl_3_0_plus_and__lgpl_3_0_and_gpl_3_0-c47094e3-d257-d183-2320-782b7720ff17", "license_expression": "lgpl-3.0 AND lgpl-3.0-plus AND (lgpl-3.0 AND gpl-3.0)", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -87,9 +87,9 @@ ] }, { - "identifier": "ijg_and_mit#86d0b13f-7abd-19fb-ddb8-941d97380f00", + "identifier": "ijg_and_mit-86d0b13f-7abd-19fb-ddb8-941d97380f00", "license_expression": "ijg AND mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -130,9 +130,9 @@ ] }, { - "identifier": "gpl_1_0_plus#aeb7da71-ec9e-bc5f-52f3-4e9299af7bb1", + "identifier": "gpl_1_0_plus-aeb7da71-ec9e-bc5f-52f3-4e9299af7bb1", "license_expression": "gpl-1.0-plus", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -151,9 +151,9 @@ ] }, { - "identifier": "gpl_2_0_and_apache_2_0_and_lgpl_3_0_plus#5f2ed903-ee9f-f370-5de1-07fbc6f1e0fd", + "identifier": "gpl_2_0_and_apache_2_0_and_lgpl_3_0_plus-5f2ed903-ee9f-f370-5de1-07fbc6f1e0fd", "license_expression": "gpl-2.0 AND apache-2.0 AND lgpl-3.0-plus", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -194,9 +194,9 @@ ] }, { - "identifier": "gpl_2_0_and_lgpl_2_0_plus_and_proprietary_license#a54d7281-05a0-24e4-ef42-199dd7d49606", + "identifier": "gpl_2_0_and_lgpl_2_0_plus_and_proprietary_license-a54d7281-05a0-24e4-ef42-199dd7d49606", "license_expression": "gpl-2.0 AND lgpl-2.0-plus AND proprietary-license", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -1019,13 +1019,13 @@ "license_clues": [], "percentage_of_license_text": 34.96, "for_license_detections": [ - "lgpl_2_1_plus_and_other_permissive_and_gpl_2_0_plus#14099f19-eb98-27ed-cc72-38bbf5c0a1e7", - "gpl_1_0_plus#b16770da-ae1c-5e72-d72a-ca61d8d81ae9", - "lgpl_3_0_and_lgpl_3_0_plus_and__lgpl_3_0_and_gpl_3_0#c47094e3-d257-d183-2320-782b7720ff17", - "ijg_and_mit#86d0b13f-7abd-19fb-ddb8-941d97380f00", - "gpl_1_0_plus#aeb7da71-ec9e-bc5f-52f3-4e9299af7bb1", - "gpl_2_0_and_apache_2_0_and_lgpl_3_0_plus#5f2ed903-ee9f-f370-5de1-07fbc6f1e0fd", - "gpl_2_0_and_lgpl_2_0_plus_and_proprietary_license#a54d7281-05a0-24e4-ef42-199dd7d49606" + "lgpl_2_1_plus_and_other_permissive_and_gpl_2_0_plus-14099f19-eb98-27ed-cc72-38bbf5c0a1e7", + "gpl_1_0_plus-b16770da-ae1c-5e72-d72a-ca61d8d81ae9", + "lgpl_3_0_and_lgpl_3_0_plus_and__lgpl_3_0_and_gpl_3_0-c47094e3-d257-d183-2320-782b7720ff17", + "ijg_and_mit-86d0b13f-7abd-19fb-ddb8-941d97380f00", + "gpl_1_0_plus-aeb7da71-ec9e-bc5f-52f3-4e9299af7bb1", + "gpl_2_0_and_apache_2_0_and_lgpl_3_0_plus-5f2ed903-ee9f-f370-5de1-07fbc6f1e0fd", + "gpl_2_0_and_lgpl_2_0_plus_and_proprietary_license-a54d7281-05a0-24e4-ef42-199dd7d49606" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json index 4c97471c528..78987770168 100644 --- a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json +++ b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", + "identifier": "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", "license_expression": "blessing", - "occurrence_count": 136, + "count": 136, "detection_log": [ "not-combined" ], @@ -4415,142 +4415,142 @@ "license_clues": [], "percentage_of_license_text": 36.67, "for_license_detections": [ - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75", - "blessing#d56f762b-a283-5361-23c4-d3935b7e9c75" + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75", + "blessing-d56f762b-a283-5361-23c4-d3935b7e9c75" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json b/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json index 4aaab4f116f..d24bd0b5532 100644 --- a/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json +++ b/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0", + "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib-041f32d1-6cb1-f9fa-a580-14f3958007f0", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "fsf_ap#6dc1f0cf-64b7-5ad7-e5a7-e5ccd044d866", + "identifier": "fsf_ap-6dc1f0cf-64b7-5ad7-e5a7-e5ccd044d866", "license_expression": "fsf-ap", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -190,7 +190,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0" + "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib-041f32d1-6cb1-f9fa-a580-14f3958007f0" ], "scan_errors": [] }, @@ -224,7 +224,7 @@ "license_clues": [], "percentage_of_license_text": 91.43, "for_license_detections": [ - "fsf_ap#6dc1f0cf-64b7-5ad7-e5a7-e5ccd044d866" + "fsf_ap-6dc1f0cf-64b7-5ad7-e5a7-e5ccd044d866" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/text/scan.expected.json b/tests/licensedcode/data/plugin_license/text/scan.expected.json index 03c08892984..9a9386290f7 100644 --- a/tests/licensedcode/data/plugin_license/text/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/text/scan.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0", + "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib-041f32d1-6cb1-f9fa-a580-14f3958007f0", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "fsf_ap#2bbf00d0-20d9-2d91-6cb6-8f28a4670a5d", + "identifier": "fsf_ap-2bbf00d0-20d9-2d91-6cb6-8f28a4670a5d", "license_expression": "fsf-ap", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -190,7 +190,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0" + "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib-041f32d1-6cb1-f9fa-a580-14f3958007f0" ], "scan_errors": [] }, @@ -224,7 +224,7 @@ "license_clues": [], "percentage_of_license_text": 91.43, "for_license_detections": [ - "fsf_ap#2bbf00d0-20d9-2d91-6cb6-8f28a4670a5d" + "fsf_ap-2bbf00d0-20d9-2d91-6cb6-8f28a4670a5d" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json b/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json index bed3333bf2d..125a3674e6c 100644 --- a/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json +++ b/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0", + "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib-041f32d1-6cb1-f9fa-a580-14f3958007f0", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "unlicense#df43f663-8e79-9294-efa7-e4438c80cfbd", + "identifier": "unlicense-df43f663-8e79-9294-efa7-e4438c80cfbd", "license_expression": "unlicense", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -187,7 +187,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0" + "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib-041f32d1-6cb1-f9fa-a580-14f3958007f0" ], "scan_errors": [] }, @@ -221,7 +221,7 @@ "license_clues": [], "percentage_of_license_text": 5.25, "for_license_detections": [ - "unlicense#df43f663-8e79-9294-efa7-e4438c80cfbd" + "unlicense-df43f663-8e79-9294-efa7-e4438c80cfbd" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json b/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json index bed3333bf2d..125a3674e6c 100644 --- a/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0", + "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib-041f32d1-6cb1-f9fa-a580-14f3958007f0", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "unlicense#df43f663-8e79-9294-efa7-e4438c80cfbd", + "identifier": "unlicense-df43f663-8e79-9294-efa7-e4438c80cfbd", "license_expression": "unlicense", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -187,7 +187,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0" + "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib-041f32d1-6cb1-f9fa-a580-14f3958007f0" ], "scan_errors": [] }, @@ -221,7 +221,7 @@ "license_clues": [], "percentage_of_license_text": 5.25, "for_license_detections": [ - "unlicense#df43f663-8e79-9294-efa7-e4438c80cfbd" + "unlicense-df43f663-8e79-9294-efa7-e4438c80cfbd" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json index b28e141a5cf..af1340bee9d 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "wtfpl_2_0_and_mit#04db1ff4-743d-5e4b-c651-babe28ddd938", + "identifier": "wtfpl_2_0_and_mit-04db1ff4-743d-5e4b-c651-babe28ddd938", "license_expression": "wtfpl-2.0 AND mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -214,7 +214,7 @@ "license_clues": [], "percentage_of_license_text": 8.18, "for_license_detections": [ - "wtfpl_2_0_and_mit#04db1ff4-743d-5e4b-c651-babe28ddd938" + "wtfpl_2_0_and_mit-04db1ff4-743d-5e4b-c651-babe28ddd938" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json index 5a8d9ce373b..9068097665d 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "epl_1_0#1867eafe-a258-cbb4-408f-2bd33d02ee23", + "identifier": "epl_1_0-1867eafe-a258-cbb4-408f-2bd33d02ee23", "license_expression": "epl-1.0", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -33,9 +33,9 @@ ] }, { - "identifier": "apache_2_0#b414489c-d2f7-2207-9e37-ea197f00d317", + "identifier": "apache_2_0-b414489c-d2f7-2207-9e37-ea197f00d317", "license_expression": "apache-2.0", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -54,9 +54,9 @@ ] }, { - "identifier": "apache_2_0#53c14ef2-2b41-3f63-1dbb-e3a1efbd1e8d", + "identifier": "apache_2_0-53c14ef2-2b41-3f63-1dbb-e3a1efbd1e8d", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -119,9 +119,9 @@ ] }, { - "identifier": "apache_2_0#b109c41b-dc8b-5301-5c83-09b7b64f5059", + "identifier": "apache_2_0-b109c41b-dc8b-5301-5c83-09b7b64f5059", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -184,9 +184,9 @@ ] }, { - "identifier": "apache_2_0#85fd4f2f-af55-4aed-03d9-86d8c06bef05", + "identifier": "apache_2_0-85fd4f2f-af55-4aed-03d9-86d8c06bef05", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -238,9 +238,9 @@ ] }, { - "identifier": "apache_2_0#185ee88a-b361-c631-330a-31ef36f48039", + "identifier": "apache_2_0-185ee88a-b361-c631-330a-31ef36f48039", "license_expression": "apache-2.0", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -270,9 +270,9 @@ ] }, { - "identifier": "epl_2_0_or_apache_2_0__and_apache_2_0_and_epl_2_0#f1d35b57-fc37-e01b-67c0-ff901ec607b2", + "identifier": "epl_2_0_or_apache_2_0__and_apache_2_0_and_epl_2_0-f1d35b57-fc37-e01b-67c0-ff901ec607b2", "license_expression": "(epl-2.0 OR apache-2.0) AND apache-2.0 AND epl-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -324,9 +324,9 @@ ] }, { - "identifier": "epl_1_0#7e99df1e-faa6-aea3-5280-d3a36ed87c16", + "identifier": "epl_1_0-7e99df1e-faa6-aea3-5280-d3a36ed87c16", "license_expression": "epl-1.0", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -356,9 +356,9 @@ ] }, { - "identifier": "cpl_1_0#5502d99b-f332-cf59-5e87-59714bf42486", + "identifier": "cpl_1_0-5502d99b-f332-cf59-5e87-59714bf42486", "license_expression": "cpl-1.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -399,9 +399,9 @@ ] }, { - "identifier": "bsd_new#f76d24d8-c42a-51a2-5be0-b1bee6618afc", + "identifier": "bsd_new-f76d24d8-c42a-51a2-5be0-b1bee6618afc", "license_expression": "bsd-new", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -453,9 +453,9 @@ ] }, { - "identifier": "bsd_new#fe8a2ed4-ca73-5e9c-1a4c-974a245a78b2", + "identifier": "bsd_new-fe8a2ed4-ca73-5e9c-1a4c-974a245a78b2", "license_expression": "bsd-new", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -474,9 +474,9 @@ ] }, { - "identifier": "cpl_1_0#f0e5933e-cc7c-4c33-eb43-c0d66389bf17", + "identifier": "cpl_1_0-f0e5933e-cc7c-4c33-eb43-c0d66389bf17", "license_expression": "cpl-1.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -1314,9 +1314,9 @@ "license_clues": [], "percentage_of_license_text": 52.82, "for_license_detections": [ - "epl_1_0#1867eafe-a258-cbb4-408f-2bd33d02ee23", - "apache_2_0#b414489c-d2f7-2207-9e37-ea197f00d317", - "apache_2_0#53c14ef2-2b41-3f63-1dbb-e3a1efbd1e8d" + "epl_1_0-1867eafe-a258-cbb4-408f-2bd33d02ee23", + "apache_2_0-b414489c-d2f7-2207-9e37-ea197f00d317", + "apache_2_0-53c14ef2-2b41-3f63-1dbb-e3a1efbd1e8d" ], "scan_errors": [] }, @@ -1626,13 +1626,13 @@ "license_clues": [], "percentage_of_license_text": 42.91, "for_license_detections": [ - "epl_1_0#1867eafe-a258-cbb4-408f-2bd33d02ee23", - "apache_2_0#b414489c-d2f7-2207-9e37-ea197f00d317", - "apache_2_0#b109c41b-dc8b-5301-5c83-09b7b64f5059", - "apache_2_0#85fd4f2f-af55-4aed-03d9-86d8c06bef05", - "apache_2_0#185ee88a-b361-c631-330a-31ef36f48039", - "apache_2_0#185ee88a-b361-c631-330a-31ef36f48039", - "epl_2_0_or_apache_2_0__and_apache_2_0_and_epl_2_0#f1d35b57-fc37-e01b-67c0-ff901ec607b2" + "epl_1_0-1867eafe-a258-cbb4-408f-2bd33d02ee23", + "apache_2_0-b414489c-d2f7-2207-9e37-ea197f00d317", + "apache_2_0-b109c41b-dc8b-5301-5c83-09b7b64f5059", + "apache_2_0-85fd4f2f-af55-4aed-03d9-86d8c06bef05", + "apache_2_0-185ee88a-b361-c631-330a-31ef36f48039", + "apache_2_0-185ee88a-b361-c631-330a-31ef36f48039", + "epl_2_0_or_apache_2_0__and_apache_2_0_and_epl_2_0-f1d35b57-fc37-e01b-67c0-ff901ec607b2" ], "scan_errors": [] }, @@ -1798,10 +1798,10 @@ "license_clues": [], "percentage_of_license_text": 50.37, "for_license_detections": [ - "epl_1_0#7e99df1e-faa6-aea3-5280-d3a36ed87c16", - "cpl_1_0#5502d99b-f332-cf59-5e87-59714bf42486", - "bsd_new#f76d24d8-c42a-51a2-5be0-b1bee6618afc", - "bsd_new#fe8a2ed4-ca73-5e9c-1a4c-974a245a78b2" + "epl_1_0-7e99df1e-faa6-aea3-5280-d3a36ed87c16", + "cpl_1_0-5502d99b-f332-cf59-5e87-59714bf42486", + "bsd_new-f76d24d8-c42a-51a2-5be0-b1bee6618afc", + "bsd_new-fe8a2ed4-ca73-5e9c-1a4c-974a245a78b2" ], "scan_errors": [] }, @@ -1903,8 +1903,8 @@ "license_clues": [], "percentage_of_license_text": 47.22, "for_license_detections": [ - "epl_1_0#7e99df1e-faa6-aea3-5280-d3a36ed87c16", - "cpl_1_0#f0e5933e-cc7c-4c33-eb43-c0d66389bf17" + "epl_1_0-7e99df1e-faa6-aea3-5280-d3a36ed87c16", + "cpl_1_0-f0e5933e-cc7c-4c33-eb43-c0d66389bf17" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json index 1f547a807c8..b4c05cc3c3c 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "epl_2_0#269715cc-0554-3f26-8832-1c4eb6145143", + "identifier": "epl_2_0-269715cc-0554-3f26-8832-1c4eb6145143", "license_expression": "epl-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -123,7 +123,7 @@ "license_clues": [], "percentage_of_license_text": 86.05, "for_license_detections": [ - "epl_2_0#269715cc-0554-3f26-8832-1c4eb6145143" + "epl_2_0-269715cc-0554-3f26-8832-1c4eb6145143" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json index 8542e824288..6c0cb594b0f 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "x11_lucent#3d4ebed6-d6ff-5d71-13d5-9ae3bb5bc485", + "identifier": "x11_lucent-3d4ebed6-d6ff-5d71-13d5-9ae3bb5bc485", "license_expression": "x11-lucent", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -33,9 +33,9 @@ ] }, { - "identifier": "bzip2_libbzip_2010#5537c6e0-e03f-c489-9ac3-243ae2274830", + "identifier": "bzip2_libbzip_2010-5537c6e0-e03f-c489-9ac3-243ae2274830", "license_expression": "bzip2-libbzip-2010", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -223,8 +223,8 @@ "license_clues": [], "percentage_of_license_text": 87.73, "for_license_detections": [ - "x11_lucent#3d4ebed6-d6ff-5d71-13d5-9ae3bb5bc485", - "bzip2_libbzip_2010#5537c6e0-e03f-c489-9ac3-243ae2274830" + "x11_lucent-3d4ebed6-d6ff-5d71-13d5-9ae3bb5bc485", + "bzip2_libbzip_2010-5537c6e0-e03f-c489-9ac3-243ae2274830" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json index 227f6b759a8..edff9a9b029 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "mit#f48a0b5f-0e8e-aa20-08c9-3b97c3f7f3e8", + "identifier": "mit-f48a0b5f-0e8e-aa20-08c9-3b97c3f7f3e8", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -196,7 +196,7 @@ "license_clues": [], "percentage_of_license_text": 89.06, "for_license_detections": [ - "mit#f48a0b5f-0e8e-aa20-08c9-3b97c3f7f3e8" + "mit-f48a0b5f-0e8e-aa20-08c9-3b97c3f7f3e8" ], "scan_errors": [] } diff --git a/tests/licensedcode/data/plugin_license_policy/policy-codebase.expected.json b/tests/licensedcode/data/plugin_license_policy/policy-codebase.expected.json index c04dc556f1d..0473e5c3343 100644 --- a/tests/licensedcode/data/plugin_license_policy/policy-codebase.expected.json +++ b/tests/licensedcode/data/plugin_license_policy/policy-codebase.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "broadcom_commercial#f6c9c367-8633-e084-aa5e-3e7d8487b573", + "identifier": "broadcom_commercial-f6c9c367-8633-e084-aa5e-3e7d8487b573", "license_expression": "broadcom-commercial", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "bsd_1988#5437b0fa-07f0-4b4c-88c8-7fec0448fcc9", + "identifier": "bsd_1988-5437b0fa-07f0-4b4c-88c8-7fec0448fcc9", "license_expression": "bsd-1988", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "esri_devkit#7dd8a798-09b4-b787-6afc-8b359bc69b38", + "identifier": "esri_devkit-7dd8a798-09b4-b787-6afc-8b359bc69b38", "license_expression": "esri-devkit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -64,9 +64,9 @@ ] }, { - "identifier": "oracle_java_ee_sdk_2010#711aae83-9be3-306c-4691-0af7f33e0017", + "identifier": "oracle_java_ee_sdk_2010-711aae83-9be3-306c-4691-0af7f33e0017", "license_expression": "oracle-java-ee-sdk-2010", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -85,9 +85,9 @@ ] }, { - "identifier": "rh_eula#02fdc73a-b185-679c-4076-be7e361b3a19", + "identifier": "rh_eula-02fdc73a-b185-679c-4076-be7e361b3a19", "license_expression": "rh-eula", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -337,7 +337,7 @@ "license_clues": [], "percentage_of_license_text": 84.0, "for_license_detections": [ - "broadcom_commercial#f6c9c367-8633-e084-aa5e-3e7d8487b573" + "broadcom_commercial-f6c9c367-8633-e084-aa5e-3e7d8487b573" ], "license_policy": { "license_key": "broadcom-commercial", @@ -396,7 +396,7 @@ "license_clues": [], "percentage_of_license_text": 93.75, "for_license_detections": [ - "bsd_1988#5437b0fa-07f0-4b4c-88c8-7fec0448fcc9" + "bsd_1988-5437b0fa-07f0-4b4c-88c8-7fec0448fcc9" ], "license_policy": { "license_key": "bsd-1988", @@ -455,7 +455,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "esri_devkit#7dd8a798-09b4-b787-6afc-8b359bc69b38" + "esri_devkit-7dd8a798-09b4-b787-6afc-8b359bc69b38" ], "license_policy": { "license_key": "esri-devkit", @@ -514,7 +514,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "oracle_java_ee_sdk_2010#711aae83-9be3-306c-4691-0af7f33e0017" + "oracle_java_ee_sdk_2010-711aae83-9be3-306c-4691-0af7f33e0017" ], "license_policy": { "license_key": "oracle-java-ee-sdk-2010", @@ -573,7 +573,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "rh_eula#02fdc73a-b185-679c-4076-be7e361b3a19" + "rh_eula-02fdc73a-b185-679c-4076-be7e361b3a19" ], "license_policy": { "license_key": "rh-eula", diff --git a/tests/licensedcode/data/plugin_license_text/scan.expected.json b/tests/licensedcode/data/plugin_license_text/scan.expected.json index e0fffe90f55..abc6cbd1400 100644 --- a/tests/licensedcode/data/plugin_license_text/scan.expected.json +++ b/tests/licensedcode/data/plugin_license_text/scan.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "apache_1_0#467418ea-42a8-45bb-a30e-a9fcb411f2bb", + "identifier": "apache_1_0-467418ea-42a8-45bb-a30e-a9fcb411f2bb", "license_expression": "apache-1.0", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "ja_sig#303cd8fe-cdb4-d62a-6a7b-306e31fce477", + "identifier": "ja_sig-303cd8fe-cdb4-d62a-6a7b-306e31fce477", "license_expression": "ja-sig", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "apache_2_0#c2a02f69-4a86-e4f0-bdc9-55915fe527db", + "identifier": "apache_2_0-c2a02f69-4a86-e4f0-bdc9-55915fe527db", "license_expression": "apache-2.0", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -64,9 +64,9 @@ ] }, { - "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0", + "identifier": "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib-041f32d1-6cb1-f9fa-a580-14f3958007f0", "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -379,7 +379,7 @@ "license_clues": [], "percentage_of_license_text": 96.08, "for_license_detections": [ - "apache_1_0#467418ea-42a8-45bb-a30e-a9fcb411f2bb" + "apache_1_0-467418ea-42a8-45bb-a30e-a9fcb411f2bb" ], "is_license_text": true, "files_count": 0, @@ -433,7 +433,7 @@ "license_clues": [], "percentage_of_license_text": 40.98, "for_license_detections": [ - "apache_1_0#467418ea-42a8-45bb-a30e-a9fcb411f2bb" + "apache_1_0-467418ea-42a8-45bb-a30e-a9fcb411f2bb" ], "is_license_text": false, "files_count": 0, @@ -507,8 +507,8 @@ "license_clues": [], "percentage_of_license_text": 91.69, "for_license_detections": [ - "ja_sig#303cd8fe-cdb4-d62a-6a7b-306e31fce477", - "apache_2_0#c2a02f69-4a86-e4f0-bdc9-55915fe527db" + "ja_sig-303cd8fe-cdb4-d62a-6a7b-306e31fce477", + "apache_2_0-c2a02f69-4a86-e4f0-bdc9-55915fe527db" ], "is_license_text": true, "files_count": 0, @@ -562,7 +562,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib#041f32d1-6cb1-f9fa-a580-14f3958007f0" + "gpl_2_0_with_linux_syscall_exception_gpl_or_linux_openib-041f32d1-6cb1-f9fa-a580-14f3958007f0" ], "is_license_text": true, "files_count": 0, @@ -636,8 +636,8 @@ "license_clues": [], "percentage_of_license_text": 30.71, "for_license_detections": [ - "ja_sig#303cd8fe-cdb4-d62a-6a7b-306e31fce477", - "apache_2_0#c2a02f69-4a86-e4f0-bdc9-55915fe527db" + "ja_sig-303cd8fe-cdb4-d62a-6a7b-306e31fce477", + "apache_2_0-c2a02f69-4a86-e4f0-bdc9-55915fe527db" ], "is_license_text": false, "files_count": 0, diff --git a/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json b/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json index 1944796cfde..31bf6b048d1 100644 --- a/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json +++ b/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json @@ -1,70 +1,72 @@ { - "license_detections": [ + "packages": [ { - "identifier": "apache_2_0#c2a02f69-4a86-e4f0-bdc9-55915fe527db", - "license_expression": "apache-2.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "maven", + "namespace": "org.apache.activemq", + "name": "activemq-camel", + "version": "5.4.2", + "qualifiers": {}, + "subpath": null, + "primary_language": "Java", + "description": "ActiveMQ :: Camel\nActiveMQ component for Camel", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ { - "score": 100.0, - "start_line": 3, - "end_line": 16, - "matched_length": 119, - "match_coverage": 100.0, - "matcher": "2-aho", "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" + "detection_log": [ + "from-package-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 16, + "matched_length": 119, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n contributor license agreements. See the NOTICE file distributed with\n this work for additional information regarding copyright ownership.\n The ASF licenses this file to You under the Apache License, Version 2.0\n (the \"License\"); you may not use this file except in compliance with\n the License. You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." + } + ] } - ] - } - ], - "license_references": [ - { - "key": "apache-2.0", - "short_name": "Apache 2.0", - "name": "Apache License 2.0", - "category": "Permissive", - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", - "is_builtin": true, - "spdx_license_key": "Apache-2.0", - "other_spdx_license_keys": [ - "LicenseRef-Apache", - "LicenseRef-Apache-2.0" ], - "osi_license_key": "Apache-2.0", - "text_urls": [ - "http://www.apache.org/licenses/LICENSE-2.0" + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [ + "pkg:maven/org.apache.activemq/activemq-camel@5.4.2?classifier=sources" ], - "osi_url": "http://opensource.org/licenses/apache2.0.php", - "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", - "other_urls": [ - "http://www.opensource.org/licenses/Apache-2.0", - "https://opensource.org/licenses/Apache-2.0", - "https://www.apache.org/licenses/LICENSE-2.0" + "extra_data": {}, + "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/activemq/activemq-camel/5.4.2/", + "repository_download_url": "https://repo1.maven.org/maven2/org/apache/activemq/activemq-camel/5.4.2/activemq-camel-5.4.2.jar", + "api_data_url": "https://repo1.maven.org/maven2/org/apache/activemq/activemq-camel/5.4.2/activemq-camel-5.4.2.pom", + "package_uid": "pkg:maven/org.apache.activemq/activemq-camel@5.4.2?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "activemq-camel-pom.xml" ], - "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." - } - ], - "license_rule_references": [ - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" + "datasource_ids": [ + "maven_pom" ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100 + "purl": "pkg:maven/org.apache.activemq/activemq-camel@5.4.2" } ], "dependencies": [ @@ -223,109 +225,92 @@ "datasource_id": "maven_pom" } ], - "packages": [ + "license_detections": [ { - "type": "maven", - "namespace": "org.apache.activemq", - "name": "activemq-camel", - "version": "5.4.2", - "qualifiers": {}, - "subpath": null, - "primary_language": "Java", - "description": "ActiveMQ :: Camel\nActiveMQ component for Camel", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "apache-2.0", - "declared_license_expression_spdx": "Apache-2.0", - "license_detections": [ + "identifier": "apache_2_0-c2a02f69-4a86-e4f0-bdc9-55915fe527db", + "license_expression": "apache-2.0", + "count": 2, + "detection_log": [ + "from-package-file" + ], + "matches": [ { + "score": 100.0, + "start_line": 3, + "end_line": 16, + "matched_length": 119, + "match_coverage": 100.0, + "matcher": "2-aho", "license_expression": "apache-2.0", - "detection_log": [ - "from-package-file" - ], - "matches": [ - { - "score": 100.0, - "start_line": 3, - "end_line": 16, - "matched_length": 119, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", - "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n contributor license agreements. See the NOTICE file distributed with\n this work for additional information regarding copyright ownership.\n The ASF licenses this file to You under the Apache License, Version 2.0\n (the \"License\"); you may not use this file except in compliance with\n the License. You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." - } - ] + "rule_identifier": "apache-2.0_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE" } + ] + } + ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [ - "pkg:maven/org.apache.activemq/activemq-camel@5.4.2?classifier=sources" + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" ], - "extra_data": {}, - "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/activemq/activemq-camel/5.4.2/", - "repository_download_url": "https://repo1.maven.org/maven2/org/apache/activemq/activemq-camel/5.4.2/activemq-camel-5.4.2.jar", - "api_data_url": "https://repo1.maven.org/maven2/org/apache/activemq/activemq-camel/5.4.2/activemq-camel-5.4.2.pom", - "package_uid": "pkg:maven/org.apache.activemq/activemq-camel@5.4.2?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "activemq-camel-pom.xml" + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" ], - "datasource_ids": [ - "maven_pom" + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + } + ], + "license_rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" ], - "purl": "pkg:maven/org.apache.activemq/activemq-camel@5.4.2" + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "referenced_filenames": [ + "NOTICE" + ], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 119, + "rule_relevance": 100 } ], "files": [ { "path": "activemq-camel-pom.xml", "type": "file", - "detected_license_expression": "apache-2.0", - "detected_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "from-package-file" - ], - "matches": [ - { - "score": 100.0, - "start_line": 3, - "end_line": 16, - "matched_length": 119, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", - "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n contributor license agreements. See the NOTICE file distributed with\n this work for additional information regarding copyright ownership.\n The ASF licenses this file to You under the Apache License, Version 2.0\n (the \"License\"); you may not use this file except in compliance with\n the License. You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 22.37, - "for_license_detections": [ - "apache_2_0#c2a02f69-4a86-e4f0-bdc9-55915fe527db" - ], "package_data": [ { "type": "maven", @@ -506,6 +491,36 @@ "for_packages": [ "pkg:maven/org.apache.activemq/activemq-camel@5.4.2?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "apache-2.0", + "detected_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "from-package-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 16, + "matched_length": 119, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "matched_text": "Licensed to the Apache Software Foundation (ASF) under one or more\n contributor license agreements. See the NOTICE file distributed with\n this work for additional information regarding copyright ownership.\n The ASF licenses this file to You under the Apache License, Version 2.0\n (the \"License\"); you may not use this file except in compliance with\n the License. You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License." + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 22.37, + "for_license_detections": [ + "apache_2_0-c2a02f69-4a86-e4f0-bdc9-55915fe527db", + "apache_2_0-c2a02f69-4a86-e4f0-bdc9-55915fe527db" + ], "scan_errors": [] } ] diff --git a/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json b/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json index 4c63d1d9f42..47fafe61bc3 100644 --- a/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json +++ b/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json @@ -1,111 +1,4 @@ { - "license_detections": [ - { - "identifier": "bsd_new#614261e5-1086-6652-1076-f1a96238a5c3", - "license_expression": "bsd-new", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 3, - "end_line": 28, - "matched_length": 212, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE" - } - ] - } - ], - "license_references": [ - { - "key": "bsd-new", - "short_name": "BSD-3-Clause", - "name": "BSD-3-Clause", - "category": "Permissive", - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "BSD-3-Clause", - "other_spdx_license_keys": [ - "LicenseRef-scancode-libzip" - ], - "osi_license_key": "BSD-3-Clause", - "text_urls": [ - "http://www.opensource.org/licenses/BSD-3-Clause" - ], - "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "other_urls": [ - "http://framework.zend.com/license/new-bsd", - "https://opensource.org/licenses/BSD-3-Clause" - ], - "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - } - ], - "license_rule_references": [ - { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_166.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 212, - "rule_relevance": 100 - } - ], - "dependencies": [ - { - "purl": "pkg:pubspec/pedantic", - "extracted_requirement": "^1.4.0", - "scope": "dev_dependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:pubspec/pedantic?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:dart/built_collection@5.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "pubspec.yaml", - "datasource_id": "pubspec_yaml" - }, - { - "purl": "pkg:pubspec/test", - "extracted_requirement": "^1.16.0-nullsafety", - "scope": "dev_dependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:pubspec/test?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:dart/built_collection@5.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "pubspec.yaml", - "datasource_id": "pubspec_yaml" - }, - { - "purl": "pkg:pubspec/sdk", - "extracted_requirement": ">=2.12.0-0 <3.0.0", - "scope": "environment", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:pubspec/sdk?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:dart/built_collection@5.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "pubspec.yaml", - "datasource_id": "pubspec_yaml" - } - ], "packages": [ { "type": "dart", @@ -174,10 +67,131 @@ "purl": "pkg:dart/built_collection@5.1.1" } ], + "dependencies": [ + { + "purl": "pkg:pubspec/pedantic", + "extracted_requirement": "^1.4.0", + "scope": "dev_dependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:pubspec/pedantic?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:dart/built_collection@5.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "pubspec.yaml", + "datasource_id": "pubspec_yaml" + }, + { + "purl": "pkg:pubspec/test", + "extracted_requirement": "^1.16.0-nullsafety", + "scope": "dev_dependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:pubspec/test?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:dart/built_collection@5.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "pubspec.yaml", + "datasource_id": "pubspec_yaml" + }, + { + "purl": "pkg:pubspec/sdk", + "extracted_requirement": ">=2.12.0-0 <3.0.0", + "scope": "environment", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:pubspec/sdk?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:dart/built_collection@5.1.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "pubspec.yaml", + "datasource_id": "pubspec_yaml" + } + ], + "license_detections": [ + { + "identifier": "bsd_new-614261e5-1086-6652-1076-f1a96238a5c3", + "license_expression": "bsd-new", + "count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 28, + "matched_length": 212, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_166.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE" + } + ] + } + ], + "license_references": [ + { + "key": "bsd-new", + "short_name": "BSD-3-Clause", + "name": "BSD-3-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-3-Clause", + "other_spdx_license_keys": [ + "LicenseRef-scancode-libzip" + ], + "osi_license_key": "BSD-3-Clause", + "text_urls": [ + "http://www.opensource.org/licenses/BSD-3-Clause" + ], + "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "other_urls": [ + "http://framework.zend.com/license/new-bsd", + "https://opensource.org/licenses/BSD-3-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + } + ], + "license_rule_references": [ + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_166.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 212, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_166.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 212, + "rule_relevance": 100 + } + ], "files": [ { "path": "LICENSE", "type": "file", + "package_data": [], + "for_packages": [], "detected_license_expression": "bsd-new", "detected_license_expression_spdx": "BSD-3-Clause", "license_detections": [ @@ -205,21 +219,13 @@ "license_clues": [], "percentage_of_license_text": 96.8, "for_license_detections": [ - "bsd_new#614261e5-1086-6652-1076-f1a96238a5c3" + "bsd_new-614261e5-1086-6652-1076-f1a96238a5c3" ], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "pubspec.yaml", "type": "file", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_license_detections": [], "package_data": [ { "type": "dart", @@ -318,6 +324,14 @@ "for_packages": [ "pkg:dart/built_collection@5.1.1?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_license_detections": [ + "bsd_new-614261e5-1086-6652-1076-f1a96238a5c3" + ], "scan_errors": [] } ] diff --git a/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json b/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json index 5c55b57b26d..f28b2e15912 100644 --- a/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json +++ b/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json @@ -1,9 +1,110 @@ { + "packages": [ + { + "type": "cocoapods", + "namespace": null, + "name": "flutter_paytabs_bridge", + "version": "2.2.5", + "qualifiers": {}, + "subpath": null, + "primary_language": "Objective-C", + "description": "A new flutter plugin project.", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Your Company ", + "email": "email@example.com", + "url": null + } + ], + "keywords": [], + "homepage_url": "http://example.com", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "./issues/", + "code_view_url": "./tree/2.2.5", + "vcs_url": ".", + "copyright": null, + "declared_license_expression": "mit", + "declared_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "detection_log": [ + "package-unknown-reference-to-local-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE", + "matched_text": "license :file = ../LICENSE" + }, + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_14.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE", + "matched_text": "MIT License" + }, + { + "score": 100.0, + "start_line": 5, + "end_line": 21, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE." + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": ":file = ../LICENSE", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://cocoapods.org/pods/flutter_paytabs_bridge", + "repository_download_url": "./archive/refs/tags/2.2.5.zip", + "api_data_url": "https://raw.githubusercontent.com/CocoaPods/Specs/blob/master/Specs/5/1/4/flutter_paytabs_bridge/2.2.5/flutter_paytabs_bridge.podspec.json", + "package_uid": "pkg:cocoapods/flutter_paytabs_bridge@2.2.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "flutter_paytabs_bridge.podspec" + ], + "datasource_ids": [ + "cocoapods_podspec" + ], + "purl": "pkg:cocoapods/flutter_paytabs_bridge@2.2.5" + } + ], + "dependencies": [], "license_detections": [ { - "identifier": "unknown_license_reference#3ed7ddff-b77d-c413-8226-a98a1cfe3596", + "identifier": "unknown_license_reference-3ed7ddff-b77d-c413-8226-a98a1cfe3596", "license_expression": "unknown-license-reference", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +123,9 @@ ] }, { - "identifier": "mit#8797b332-08a7-0a37-90da-02f897152150", + "identifier": "mit-8797b332-08a7-0a37-90da-02f897152150", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -76,18 +177,6 @@ "https://opensource.org/licenses/MIT" ], "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." - }, - { - "key": "unknown-license-reference", - "short_name": "Unknown License reference", - "name": "Unknown License file reference", - "category": "Unstated License", - "owner": "Unspecified", - "notes": "This applies to the case of a file with no clear license, which may be referenced via URL or text such as \"See license in...\" or \"This file is licensed under...\", but where the reference cannot be resolved to a specific named, public license.", - "is_builtin": true, - "is_unknown": true, - "spdx_license_key": "LicenseRef-scancode-unknown-license-reference", - "text": "" } ], "license_rule_references": [ @@ -105,6 +194,30 @@ "rule_length": 3, "rule_relevance": 100 }, + { + "license_expression": "mit", + "rule_identifier": "mit_14.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, { "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", @@ -142,113 +255,28 @@ "is_license_intro": false, "rule_length": 161, "rule_relevance": 100 - } - ], - "dependencies": [], - "packages": [ + }, { - "type": "cocoapods", - "namespace": null, - "name": "flutter_paytabs_bridge", - "version": "2.2.5", - "qualifiers": {}, - "subpath": null, - "primary_language": "Objective-C", - "description": "A new flutter plugin project.", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Your Company ", - "email": "email@example.com", - "url": null - } - ], - "keywords": [], - "homepage_url": "http://example.com", - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": "./issues/", - "code_view_url": "./tree/2.2.5", - "vcs_url": ".", - "copyright": null, - "declared_license_expression": "mit", - "declared_license_expression_spdx": "MIT", - "license_detections": [ - { - "license_expression": "mit", - "detection_log": [ - "package-unknown-reference-to-local-file" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "unknown-license-reference", - "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE", - "matched_text": "license :file = ../LICENSE" - }, - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit", - "rule_identifier": "mit_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE", - "matched_text": "MIT License" - }, - { - "score": 100.0, - "start_line": 5, - "end_line": 21, - "matched_length": 161, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE." - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": ":file = ../LICENSE", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://cocoapods.org/pods/flutter_paytabs_bridge", - "repository_download_url": "./archive/refs/tags/2.2.5.zip", - "api_data_url": "https://raw.githubusercontent.com/CocoaPods/Specs/blob/master/Specs/5/1/4/flutter_paytabs_bridge/2.2.5/flutter_paytabs_bridge.podspec.json", - "package_uid": "pkg:cocoapods/flutter_paytabs_bridge@2.2.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "flutter_paytabs_bridge.podspec" - ], - "datasource_ids": [ - "cocoapods_podspec" + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", + "referenced_filenames": [ + "LICENSE" ], - "purl": "pkg:cocoapods/flutter_paytabs_bridge@2.2.5" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 } ], "files": [ { "path": "LICENSE", "type": "file", + "package_data": [], + "for_packages": [], "detected_license_expression": "mit", "detected_license_expression_spdx": "MIT", "license_detections": [ @@ -288,68 +316,13 @@ "license_clues": [], "percentage_of_license_text": 97.6, "for_license_detections": [ - "mit#8797b332-08a7-0a37-90da-02f897152150" + "mit-8797b332-08a7-0a37-90da-02f897152150" ], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "flutter_paytabs_bridge.podspec", "type": "file", - "detected_license_expression": "mit", - "detected_license_expression_spdx": "MIT", - "license_detections": [ - { - "license_expression": "mit", - "detection_log": [ - "unknown-reference-to-local-file" - ], - "matches": [ - { - "score": 100.0, - "start_line": 13, - "end_line": 13, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "unknown-license-reference", - "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE", - "matched_text": "license = { :file => '../LICENSE' }" - }, - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit", - "rule_identifier": "mit_14.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE", - "matched_text": "MIT License" - }, - { - "score": 100.0, - "start_line": 5, - "end_line": 21, - "matched_length": 161, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", - "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE." - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 2.5, - "for_license_detections": [ - "unknown_license_reference#3ed7ddff-b77d-c413-8226-a98a1cfe3596" - ], "package_data": [ { "type": "cocoapods", @@ -449,6 +422,59 @@ "for_packages": [ "pkg:cocoapods/flutter_paytabs_bridge@2.2.5?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "mit", + "detected_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "detection_log": [ + "unknown-reference-to-local-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 13, + "end_line": 13, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE", + "matched_text": "license = { :file => '../LICENSE' }" + }, + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_14.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE", + "matched_text": "MIT License" + }, + { + "score": 100.0, + "start_line": 5, + "end_line": 21, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE." + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 2.5, + "for_license_detections": [ + "unknown_license_reference-3ed7ddff-b77d-c413-8226-a98a1cfe3596" + ], "scan_errors": [] } ] diff --git a/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json b/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json index ddf19f06a0f..0fe822ff715 100644 --- a/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json +++ b/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json @@ -1,9 +1,98 @@ { + "packages": [ + { + "type": "cocoapods", + "namespace": null, + "name": "nanopb", + "version": "1.30905.0", + "qualifiers": {}, + "subpath": null, + "primary_language": "Objective-C", + "description": "Protocol buffers with small code size.\nNanopb is a small code-size Protocol Buffers implementation\n in ansi C. It is especially suitable for use in\n microcontrollers, but fits any memory restricted system.", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Petteri Aimonen ", + "email": "jpa@nanopb.mail.kapsi.fi", + "url": null + } + ], + "keywords": [], + "homepage_url": "https://github.com/nanopb/nanopb", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "https://github.com/nanopb/nanopb/issues/", + "code_view_url": "https://github.com/nanopb/nanopb/tree/1.30905.0", + "vcs_url": "https://github.com/nanopb/nanopb.git", + "copyright": null, + "declared_license_expression": "zlib", + "declared_license_expression_spdx": "Zlib", + "license_detections": [ + { + "license_expression": "zlib", + "detection_log": [ + "package-unknown-reference-to-local-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "zlib", + "rule_identifier": "zlib_in_manifest.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE", + "matched_text": ":type = zlib, :file = LICENSE.txt" + }, + { + "score": 100.0, + "start_line": 3, + "end_line": 20, + "matched_length": 132, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution." + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": ":type = zlib, :file = LICENSE.txt", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://cocoapods.org/pods/nanopb", + "repository_download_url": "https://github.com/nanopb/nanopb/archive/refs/tags/1.30905.0.zip", + "api_data_url": "https://raw.githubusercontent.com/CocoaPods/Specs/blob/master/Specs/6/1/e/nanopb/1.30905.0/nanopb.podspec.json", + "package_uid": "pkg:cocoapods/nanopb@1.30905.0?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "nanopb.podspec" + ], + "datasource_ids": [ + "cocoapods_podspec" + ], + "purl": "pkg:cocoapods/nanopb@1.30905.0" + } + ], + "dependencies": [], "license_detections": [ { - "identifier": "zlib#fb544817-ac13-5bb2-e219-0e3bba38b9bf", + "identifier": "zlib-fb544817-ac13-5bb2-e219-0e3bba38b9bf", "license_expression": "zlib", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +111,9 @@ ] }, { - "identifier": "zlib#750cc90c-1587-3743-f22a-e2ff2e95e077", + "identifier": "zlib-750cc90c-1587-3743-f22a-e2ff2e95e077", "license_expression": "zlib", - "occurrence_count": 2, + "count": 1, "detection_log": [ "not-combined" ], @@ -41,6 +130,38 @@ "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE" } ] + }, + { + "identifier": "zlib-9aa78722-757b-e59f-3862-ef714530eedc", + "license_expression": "zlib", + "count": 1, + "detection_log": [ + "package-unknown-reference-to-local-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "zlib", + "rule_identifier": "zlib_in_manifest.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE" + }, + { + "score": 100.0, + "start_line": 3, + "end_line": 20, + "matched_length": 132, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE" + } + ] } ], "license_references": [ @@ -69,6 +190,32 @@ } ], "license_rule_references": [ + { + "license_expression": "zlib", + "rule_identifier": "zlib_in_manifest.RULE", + "referenced_filenames": [ + "LICENSE.txt" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100 + }, { "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", @@ -110,99 +257,12 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [ - { - "type": "cocoapods", - "namespace": null, - "name": "nanopb", - "version": "1.30905.0", - "qualifiers": {}, - "subpath": null, - "primary_language": "Objective-C", - "description": "Protocol buffers with small code size.\nNanopb is a small code-size Protocol Buffers implementation\n in ansi C. It is especially suitable for use in\n microcontrollers, but fits any memory restricted system.", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Petteri Aimonen ", - "email": "jpa@nanopb.mail.kapsi.fi", - "url": null - } - ], - "keywords": [], - "homepage_url": "https://github.com/nanopb/nanopb", - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": "https://github.com/nanopb/nanopb/issues/", - "code_view_url": "https://github.com/nanopb/nanopb/tree/1.30905.0", - "vcs_url": "https://github.com/nanopb/nanopb.git", - "copyright": null, - "declared_license_expression": "zlib", - "declared_license_expression_spdx": "Zlib", - "license_detections": [ - { - "license_expression": "zlib", - "detection_log": [ - "package-unknown-reference-to-local-file" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "zlib", - "rule_identifier": "zlib_in_manifest.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE", - "matched_text": ":type = zlib, :file = LICENSE.txt" - }, - { - "score": 100.0, - "start_line": 3, - "end_line": 20, - "matched_length": 132, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "zlib", - "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution." - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": ":type = zlib, :file = LICENSE.txt", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://cocoapods.org/pods/nanopb", - "repository_download_url": "https://github.com/nanopb/nanopb/archive/refs/tags/1.30905.0.zip", - "api_data_url": "https://raw.githubusercontent.com/CocoaPods/Specs/blob/master/Specs/6/1/e/nanopb/1.30905.0/nanopb.podspec.json", - "package_uid": "pkg:cocoapods/nanopb@1.30905.0?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "nanopb.podspec" - ], - "datasource_ids": [ - "cocoapods_podspec" - ], - "purl": "pkg:cocoapods/nanopb@1.30905.0" - } - ], "files": [ { "path": "LICENSE.txt", "type": "file", + "package_data": [], + "for_packages": [], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -230,57 +290,13 @@ "license_clues": [], "percentage_of_license_text": 92.31, "for_license_detections": [ - "zlib#fb544817-ac13-5bb2-e219-0e3bba38b9bf" + "zlib-fb544817-ac13-5bb2-e219-0e3bba38b9bf" ], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "nanopb.podspec", "type": "file", - "detected_license_expression": "zlib", - "detected_license_expression_spdx": "Zlib", - "license_detections": [ - { - "license_expression": "zlib", - "detection_log": [ - "unknown-reference-to-local-file" - ], - "matches": [ - { - "score": 100.0, - "start_line": 14, - "end_line": 14, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "zlib", - "rule_identifier": "zlib_in_manifest.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE", - "matched_text": "type => 'zlib', :file => 'LICENSE.txt' }" - }, - { - "score": 100.0, - "start_line": 3, - "end_line": 20, - "matched_length": 132, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "zlib", - "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", - "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution." - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 2.49, - "for_license_detections": [ - "zlib#750cc90c-1587-3743-f22a-e2ff2e95e077", - "zlib#750cc90c-1587-3743-f22a-e2ff2e95e077" - ], "package_data": [ { "type": "cocoapods", @@ -368,6 +384,48 @@ "for_packages": [ "pkg:cocoapods/nanopb@1.30905.0?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "zlib", + "detected_license_expression_spdx": "Zlib", + "license_detections": [ + { + "license_expression": "zlib", + "detection_log": [ + "unknown-reference-to-local-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 14, + "end_line": 14, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_in_manifest.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE", + "matched_text": "type => 'zlib', :file => 'LICENSE.txt' }" + }, + { + "score": 100.0, + "start_line": 3, + "end_line": 20, + "matched_length": 132, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "matched_text": "This software is provided 'as-is', without any express or \nimplied warranty. In no event will the authors be held liable \nfor any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any \npurpose, including commercial applications, and to alter it and \nredistribute it freely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you \n must not claim that you wrote the original software. If you use \n this software in a product, an acknowledgment in the product \n documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and \n must not be misrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source \n distribution." + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 2.49, + "for_license_detections": [ + "zlib-750cc90c-1587-3743-f22a-e2ff2e95e077", + "zlib-9aa78722-757b-e59f-3862-ef714530eedc" + ], "scan_errors": [] } ] diff --git a/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json index 46969667226..4dae2731c05 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json @@ -1,11 +1,102 @@ { + "packages": [ + { + "type": "pypi", + "namespace": null, + "name": "Django", + "version": "1.2.5", + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "A high-level Python Web framework that encourages rapid development and clean, pragmatic design.\nUNKNOWN", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Django Software Foundation", + "email": "foundation@djangoproject.com", + "url": null + } + ], + "keywords": [ + "Development Status :: 5 - Production/Stable", + "Environment :: Web Environment", + "Framework :: Django", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Topic :: Internet :: WWW/HTTP", + "Topic :: Internet :: WWW/HTTP :: Dynamic Content", + "Topic :: Internet :: WWW/HTTP :: WSGI", + "Topic :: Software Development :: Libraries :: Application Frameworks", + "Topic :: Software Development :: Libraries :: Python Modules" + ], + "homepage_url": "http://www.djangoproject.com/", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "bsd-new", + "declared_license_expression_spdx": "BSD-3-Clause", + "license_detections": [ + { + "license_expression": "bsd-new", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", + "notice_text": null, + "source_packages": [], + "extra_data": { + "Download-URL": "http://media.djangoproject.com/releases/1.2/Django-1.2.5.tar.gz" + }, + "repository_homepage_url": "https://pypi.org/project/Django", + "repository_download_url": "https://pypi.org/packages/source/D/Django/Django-1.2.5.tar.gz", + "api_data_url": "https://pypi.org/pypi/Django/1.2.5/json", + "package_uid": "pkg:pypi/django@1.2.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "PKG-INFO" + ], + "datasource_ids": [ + "pypi_sdist_pkginfo" + ], + "purl": "pkg:pypi/django@1.2.5" + } + ], + "dependencies": [], "license_detections": [ { - "identifier": "free_unknown#b311c6a4-90ca-420f-ddb7-53c164b9bf65", - "license_expression": "free-unknown", - "occurrence_count": 1, + "identifier": "bsd_new-db0ced8a-d236-94c7-9e4d-e77c7bbebad9", + "license_expression": "bsd-new", + "count": 1, "detection_log": [ - "not-combined" + "unknown-reference-in-file-to-package" ], "matches": [ { @@ -18,13 +109,24 @@ "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_1.RULE", "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE" + }, + { + "score": 99.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] }, { - "identifier": "bsd_new#8b191dea-30ee-8738-fab1-2c6dbb5d65c2", + "identifier": "bsd_new-8b191dea-30ee-8738-fab1-2c6dbb5d65c2", "license_expression": "bsd-new", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -67,21 +169,21 @@ "https://opensource.org/licenses/BSD-3-Clause" ], "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "free-unknown", - "short_name": "Free unknown", - "name": "Free unknown license detected but not recognized", - "category": "Unstated License", - "owner": "Unspecified", - "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", - "is_builtin": true, - "is_unknown": true, - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "text": "" } ], "license_rule_references": [ + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99 + }, { "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_1.RULE", @@ -121,131 +223,10 @@ "rule_relevance": 99 } ], - "dependencies": [], - "packages": [ - { - "type": "pypi", - "namespace": null, - "name": "Django", - "version": "1.2.5", - "qualifiers": {}, - "subpath": null, - "primary_language": "Python", - "description": "A high-level Python Web framework that encourages rapid development and clean, pragmatic design.\nUNKNOWN", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Django Software Foundation", - "email": "foundation@djangoproject.com", - "url": null - } - ], - "keywords": [ - "Development Status :: 5 - Production/Stable", - "Environment :: Web Environment", - "Framework :: Django", - "Intended Audience :: Developers", - "Operating System :: OS Independent", - "Programming Language :: Python", - "Topic :: Internet :: WWW/HTTP", - "Topic :: Internet :: WWW/HTTP :: Dynamic Content", - "Topic :: Internet :: WWW/HTTP :: WSGI", - "Topic :: Software Development :: Libraries :: Application Frameworks", - "Topic :: Software Development :: Libraries :: Python Modules" - ], - "homepage_url": "http://www.djangoproject.com/", - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "bsd-new", - "declared_license_expression_spdx": "BSD-3-Clause", - "license_detections": [ - { - "license_expression": "bsd-new", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 99.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "matched_text": "['License :: OSI Approved :: BSD License']" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", - "notice_text": null, - "source_packages": [], - "extra_data": { - "Download-URL": "http://media.djangoproject.com/releases/1.2/Django-1.2.5.tar.gz" - }, - "repository_homepage_url": "https://pypi.org/project/Django", - "repository_download_url": "https://pypi.org/packages/source/D/Django/Django-1.2.5.tar.gz", - "api_data_url": "https://pypi.org/pypi/Django/1.2.5/json", - "package_uid": "pkg:pypi/django@1.2.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "PKG-INFO" - ], - "datasource_ids": [ - "pypi_sdist_pkginfo" - ], - "purl": "pkg:pypi/django@1.2.5" - } - ], "files": [ { "path": "PKG-INFO", "type": "file", - "detected_license_expression": "bsd-new", - "detected_license_expression_spdx": "BSD-3-Clause", - "license_detections": [ - { - "license_expression": "bsd-new", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 99.0, - "start_line": 16, - "end_line": 16, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "matched_text": "License :: OSI Approved :: BSD License" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 4.03, - "for_license_detections": [ - "bsd_new#8b191dea-30ee-8738-fab1-2c6dbb5d65c2", - "bsd_new#8b191dea-30ee-8738-fab1-2c6dbb5d65c2" - ], "package_data": [ { "type": "pypi", @@ -335,11 +316,45 @@ "for_packages": [ "pkg:pypi/django@1.2.5?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "bsd-new", + "detected_license_expression_spdx": "BSD-3-Clause", + "license_detections": [ + { + "license_expression": "bsd-new", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.0, + "start_line": 16, + "end_line": 16, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "License :: OSI Approved :: BSD License" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 4.03, + "for_license_detections": [ + "bsd_new-8b191dea-30ee-8738-fab1-2c6dbb5d65c2", + "bsd_new-8b191dea-30ee-8738-fab1-2c6dbb5d65c2" + ], "scan_errors": [] }, { "path": "django.po", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django@1.2.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "bsd-new", "detected_license_expression_spdx": "BSD-3-Clause", "license_detections": [ @@ -379,11 +394,7 @@ "license_clues": [], "percentage_of_license_text": 0.07, "for_license_detections": [ - "free_unknown#b311c6a4-90ca-420f-ddb7-53c164b9bf65" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/django@1.2.5?uuid=fixed-uid-done-for-testing-5642512d1758" + "bsd_new-db0ced8a-d236-94c7-9e4d-e77c7bbebad9" ], "scan_errors": [] } diff --git a/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json index 6b4d3b4ab48..5b56a55fd91 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json @@ -1,2093 +1,2742 @@ { - "license_detections": [ + "packages": [ { - "identifier": "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "license_expression": "gpl-2.0-plus", - "occurrence_count": 21, - "detection_log": [ - "not-combined" + "type": "deb", + "namespace": null, + "name": "fusiondirectory", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "Web Based LDAP Administration Program\n Provided is access to posix, shadow, samba, proxy, pureftp and\n kerberos accounts. It is able to manage the postfix/cyrus server\n combination and can write user adapted sieve scripts.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "matches": [ - { - "score": 100.0, - "start_line": 297, - "end_line": 297, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" - } - ] - }, - { - "identifier": "gpl_2_0_plus_and_free_unknown#0667fcba-0434-a8b0-c381-d21e497f339e", - "license_expression": "gpl-2.0-plus AND free-unknown", - "occurrence_count": 1, - "detection_log": [ - "not-combined" + "datasource_ids": [ + "debian_control_in_source" ], - "matches": [ - { - "score": 100.0, - "start_line": 411, - "end_line": 411, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" - }, - { - "score": 100.0, - "start_line": 413, - "end_line": 413, - "matched_length": 12, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" - } - ] + "purl": "pkg:deb/fusiondirectory?architecture=all" }, { - "identifier": "bsd_new#5e7cf470-62b4-d7f2-403b-32e360af9959", - "license_expression": "bsd-new", - "occurrence_count": 1, - "detection_log": [ - "not-combined" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-alias", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "alias plugin for FusionDirectory\n This plugin is designed to configure mail aliases for postfix.\n It provide description and expiration Date\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-alias?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "matches": [ - { - "score": 100.0, - "start_line": 441, - "end_line": 441, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_195.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE" - } - ] - }, - { - "identifier": "apache_2_0_and_gpl_2_0_plus_and_free_unknown#8f13c053-ee2e-fbc9-00bd-94342ccaca54", - "license_expression": "apache-2.0 AND gpl-2.0-plus AND free-unknown", - "occurrence_count": 1, - "detection_log": [ - "not-combined" + "datasource_ids": [ + "debian_control_in_source" ], - "matches": [ - { - "score": 20.0, - "start_line": 560, - "end_line": 562, - "matched_length": 6, - "match_coverage": 20.0, - "matcher": "3-seq", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_1066.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1066.RULE" - }, - { - "score": 100.0, - "start_line": 560, - "end_line": 560, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" - }, - { - "score": 100.0, - "start_line": 562, - "end_line": 562, - "matched_length": 10, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" - } - ] + "purl": "pkg:deb/fusiondirectory-plugin-alias?architecture=all" }, { - "identifier": "lgpl_3_0_plus#436a53e8-cee5-a1a3-1a63-23f72b7ecff8", - "license_expression": "lgpl-3.0-plus", - "occurrence_count": 1, - "detection_log": [ - "not-combined" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-alias-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory alias plugin\n This package includes the LDAP schema needed by the FusionDirectory\n alias plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-alias-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "matches": [ - { - "score": 100.0, - "start_line": 968, - "end_line": 968, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE" - } - ] + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-alias-schema?architecture=all" }, { - "identifier": "public_domain#bd9559dd-d998-d270-8750-8a6673b7e089", - "license_expression": "public-domain", - "occurrence_count": 1, - "detection_log": [ - "possible-false-positive", - "not-license-clues-as-more-detections-present" - ], - "matches": [ - { - "score": 99.0, - "start_line": 1094, - "end_line": 1094, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "public-domain", - "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" - } - ] + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-applications", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "Applications management plugin for FusionDirectory\n Application management plugin for desktop and web.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-applications?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-applications?architecture=all" }, { - "identifier": "gpl_2_0_plus#5b77229a-4d7f-8d90-8406-e2f0bbefad2f", - "license_expression": "gpl-2.0-plus", - "occurrence_count": 1, - "detection_log": [ - "possible-false-positive", - "not-license-clues-as-more-detections-present" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-applications-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory application management plugin\n This package includes the LDAP schema needed by the FusionDirectory\n application management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-applications-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "matches": [ - { - "score": 100.0, - "start_line": 1099, - "end_line": 1099, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_67.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_67.RULE" - } - ] + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-applications-schema?architecture=all" }, { - "identifier": "mit#c653439c-e276-d2c2-c877-f4cf44461425", - "license_expression": "mit", - "occurrence_count": 3, - "detection_log": [ - "possible-false-positive", - "not-license-clues-as-more-detections-present" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-argonaut", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "Argonaut plugin for FusionDirectory\n Store all the configuration for the Argonaut deployment system.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-argonaut?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "matches": [ - { - "score": 100.0, - "start_line": 1429, - "end_line": 1429, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit", - "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" - } - ] + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-argonaut?architecture=all" }, { - "identifier": "bsd_original#98ef120f-3326-ab2a-1549-8e606ef5d913", - "license_expression": "bsd-original", - "occurrence_count": 1, - "detection_log": [ - "not-combined" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-argonaut-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory Argonaut plugin\n This package includes the LDAP schema needed by the FusionDirectory\n Argonaut plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-argonaut-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "matches": [ - { - "score": 100.0, - "start_line": 1501, - "end_line": 1501, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-original", - "rule_identifier": "bsd-original_43.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE" - } - ] + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-argonaut-schema?architecture=all" }, { - "identifier": "gpl_2_0_plus_and_gpl_3_0_plus_and_lgpl_2_1_plus_and_lgpl_3_0_plus_and_bsd_new_and_bsd_original_and_mit_and_public_domain_and_other_permissive#3f66e975-1f1b-f709-e7a9-03ce0158276e", - "license_expression": "gpl-2.0-plus AND gpl-3.0-plus AND lgpl-2.1-plus AND lgpl-3.0-plus AND bsd-new AND bsd-original AND mit AND public-domain AND other-permissive", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1521, - "end_line": 1521, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" - }, - { - "score": 100.0, - "start_line": 1521, - "end_line": 1521, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-3.0-plus", - "rule_identifier": "gpl-3.0-plus_89.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_89.RULE" - }, - { - "score": 100.0, - "start_line": 1521, - "end_line": 1521, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_64.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_64.RULE" - }, - { - "score": 100.0, - "start_line": 1521, - "end_line": 1521, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_36.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_36.RULE" - }, - { - "score": 100.0, - "start_line": 1521, - "end_line": 1521, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_10.RULE" - }, - { - "score": 100.0, - "start_line": 1521, - "end_line": 1521, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-original", - "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE" - }, - { - "score": 100.0, - "start_line": 1523, - "end_line": 1523, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" - }, - { - "score": 100.0, - "start_line": 1524, - "end_line": 1539, - "matched_length": 136, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_1038.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_1038.RULE" - }, - { - "score": 100.0, - "start_line": 1541, - "end_line": 1541, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-3.0-plus", - "rule_identifier": "gpl-3.0-plus_92.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_92.RULE" - }, - { - "score": 100.0, - "start_line": 1542, - "end_line": 1557, - "matched_length": 136, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-3.0-plus", - "rule_identifier": "gpl-3.0-plus_512.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_512.RULE" - }, - { - "score": 100.0, - "start_line": 1559, - "end_line": 1559, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_108.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_108.RULE" - }, - { - "score": 100.0, - "start_line": 1560, - "end_line": 1577, - "matched_length": 146, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_418.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_418.RULE" - }, - { - "score": 100.0, - "start_line": 1579, - "end_line": 1579, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit", - "rule_identifier": "mit_437.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" - }, - { - "score": 100.0, - "start_line": 1580, - "end_line": 1596, - "matched_length": 161, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" - }, - { - "score": 100.0, - "start_line": 1598, - "end_line": 1598, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_195.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE" - }, - { - "score": 100.0, - "start_line": 1599, - "end_line": 1621, - "matched_length": 213, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_577.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_577.RULE" - }, - { - "score": 100.0, - "start_line": 1623, - "end_line": 1623, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-original", - "rule_identifier": "bsd-original_43.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE" - }, - { - "score": 100.0, - "start_line": 1624, - "end_line": 1649, - "matched_length": 236, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-original", - "rule_identifier": "bsd-original_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_71.RULE" - }, - { - "score": 100.0, - "start_line": 1651, - "end_line": 1651, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_166.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE" - }, - { - "score": 100.0, - "start_line": 1652, - "end_line": 1663, - "matched_length": 105, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_189.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_189.RULE" - }, - { - "score": 99.0, - "start_line": 1665, - "end_line": 1665, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "public-domain", - "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" - }, - { - "score": 100.0, - "start_line": 1666, - "end_line": 1669, - "matched_length": 40, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "other-permissive", - "rule_identifier": "other-permissive_325.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_325.RULE" - } - ] - }, - { - "identifier": "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "license_expression": "gpl-2.0-plus", - "occurrence_count": 22, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 2692, - "end_line": 2692, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" - } - ] - }, - { - "identifier": "bsd_simplified#6d9cdb91-f72a-e66d-131a-5df68f4b8dbe", - "license_expression": "bsd-simplified", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 2880, - "end_line": 2880, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-simplified", - "rule_identifier": "bsd-simplified_136.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_136.RULE" - } - ] - }, - { - "identifier": "lgpl_3_0#96ffe1b7-0393-b4ce-7307-8ea9f7b6a926", - "license_expression": "lgpl-3.0", - "occurrence_count": 1, - "detection_log": [ - "possible-false-positive", - "not-license-clues-as-more-detections-present" - ], - "matches": [ - { - "score": 100.0, - "start_line": 2925, - "end_line": 2925, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-3.0", - "rule_identifier": "lgpl-3.0_37.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_37.RULE" - } - ] - }, - { - "identifier": "mit_and_other_permissive#2fcd3356-800d-11d7-c648-c983d7089c6f", - "license_expression": "mit AND other-permissive", - "occurrence_count": 1, - "detection_log": [ - "possible-false-positive", - "not-license-clues-as-more-detections-present" - ], - "matches": [ - { - "score": 90.0, - "start_line": 3010, - "end_line": 3010, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit", - "rule_identifier": "mit_221.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_221.RULE" - }, - { - "score": 100.0, - "start_line": 3010, - "end_line": 3010, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "other-permissive", - "rule_identifier": "other-permissive_16.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_16.RULE" - } - ] - }, - { - "identifier": "public_domain_and_bsd_original_and_gpl_1_0_plus#97b7b447-cbd8-46bc-d573-acd1c32c3e4d", - "license_expression": "public-domain AND bsd-original AND gpl-1.0-plus", - "occurrence_count": 1, - "detection_log": [ - "possible-false-positive", - "not-license-clues-as-more-detections-present" - ], - "matches": [ - { - "score": 99.0, - "start_line": 3016, - "end_line": 3016, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "public-domain", - "rule_identifier": "pypi_public_domain.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" - }, - { - "score": 100.0, - "start_line": 3016, - "end_line": 3016, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-original", - "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE" - }, - { - "score": 50.0, - "start_line": 3016, - "end_line": 3016, - "matched_length": 1, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_bare_word_only.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE" - } - ] - }, - { - "identifier": "none#36666984-5064-88c2-90a6-dc14744d84f0", - "license_expression": null, - "occurrence_count": 1, - "detection_log": [ - "license-clues" - ], - "matches": [ - { - "score": 4.71, - "start_line": 1, - "end_line": 3, - "matched_length": 4, - "match_coverage": 4.71, - "matcher": "3-seq", - "license_expression": "borceux", - "rule_identifier": "borceux.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/borceux.LICENSE" - } - ] - }, - { - "identifier": "free_unknown#142f3261-5728-9933-74c7-7e8aa278ff6d", - "license_expression": "free-unknown", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 3, - "end_line": 3, - "matched_length": 10, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" - } - ] - }, - { - "identifier": "free_unknown#b311c6a4-90ca-420f-ddb7-53c164b9bf65", - "license_expression": "free-unknown", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 3, - "end_line": 3, - "matched_length": 11, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE" - } - ] - } - ], - "license_references": [ - { - "key": "apache-2.0", - "short_name": "Apache 2.0", - "name": "Apache License 2.0", - "category": "Permissive", - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", - "is_builtin": true, - "spdx_license_key": "Apache-2.0", - "other_spdx_license_keys": [ - "LicenseRef-Apache", - "LicenseRef-Apache-2.0" - ], - "osi_license_key": "Apache-2.0", - "text_urls": [ - "http://www.apache.org/licenses/LICENSE-2.0" - ], - "osi_url": "http://opensource.org/licenses/apache2.0.php", - "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", - "other_urls": [ - "http://www.opensource.org/licenses/Apache-2.0", - "https://opensource.org/licenses/Apache-2.0", - "https://www.apache.org/licenses/LICENSE-2.0" - ], - "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." - }, - { - "key": "bsd-new", - "short_name": "BSD-3-Clause", - "name": "BSD-3-Clause", - "category": "Permissive", - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "BSD-3-Clause", - "other_spdx_license_keys": [ - "LicenseRef-scancode-libzip" - ], - "osi_license_key": "BSD-3-Clause", - "text_urls": [ - "http://www.opensource.org/licenses/BSD-3-Clause" - ], - "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "other_urls": [ - "http://framework.zend.com/license/new-bsd", - "https://opensource.org/licenses/BSD-3-Clause" - ], - "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "bsd-original", - "short_name": "BSD-Original", - "name": "BSD-Original", - "category": "Permissive", - "owner": "Regents of the University of California", - "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", - "notes": "Per SPDX.org, this license was rescinded by the author on 22 July 1999.", - "is_builtin": true, - "spdx_license_key": "BSD-4-Clause", - "text_urls": [ - "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6" - ], - "osi_url": "http://www.opensource.org/licenses/bsd-license.php", - "other_urls": [ - "http://directory.fsf.org/wiki/License:BSD_4Clause", - "http://www.fsf.org/licensing/essays/bsd.html", - "http://www.gnu.org/philosophy/bsd.html" - ], - "text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice,\nthis list 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\nand/or other materials provided with the distribution.\n\n3. All advertising materials mentioning features or use of this software\nmust display the following acknowledgement: This product includes software\ndeveloped by the .\n\n4. Neither the name of the nor the names of its contributors\nmay be used to endorse or promote products derived from this software\nwithout specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY ''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 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,\nOR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\nEVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "bsd-simplified", - "short_name": "BSD-2-Clause", - "name": "BSD-2-Clause", - "category": "Permissive", - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "BSD-2-Clause", - "other_spdx_license_keys": [ - "BSD-2-Clause-NetBSD", - "BSD-2" - ], - "text_urls": [ - "http://opensource.org/licenses/bsd-license.php" - ], - "osi_url": "http://opensource.org/licenses/bsd-license.php", - "other_urls": [ - "http://spdx.org/licenses/BSD-2-Clause", - "http://www.freebsd.org/copyright/copyright.html", - "https://opensource.org/licenses/BSD-2-Clause" - ], - "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." - }, - { - "key": "free-unknown", - "short_name": "Free unknown", - "name": "Free unknown license detected but not recognized", - "category": "Unstated License", - "owner": "Unspecified", - "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", - "is_builtin": true, - "is_unknown": true, - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "text": "" - }, - { - "key": "gpl-1.0-plus", - "short_name": "GPL 1.0 or later", - "name": "GNU General Public License 1.0 or later", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "notes": "Per SPDX.org, this license was released February 1989.", - "is_builtin": true, - "spdx_license_key": "GPL-1.0-or-later", - "other_spdx_license_keys": [ - "GPL-1.0+", - "LicenseRef-GPL" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" - ], - "other_urls": [ - "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" - ], - "minimum_coverage": 99, - "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 1, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,\nCambridge, MA 02139, USA.\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 1, February 1989\n\nCopyright (C) 1989 Free Software Foundation, Inc.\n51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe license agreements of most software companies try to keep users\nat the mercy of those companies. By contrast, our General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. The\nGeneral Public License applies to the Free Software Foundation's\nsoftware and to any other program whose authors commit to using it.\nYou can use it for your programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Specifically, the General Public License is designed to make\nsure that you have the freedom to give away or sell copies of free\nsoftware, that you receive source code or can get it if you want it,\nthat you can change the software or use pieces of it in new free\nprograms; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of a such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must tell them their rights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any program or other work which\ncontains a notice placed by the copyright holder saying it may be\ndistributed under the terms of this General Public License. The\n\"Program\", below, refers to any such program or work, and a \"work based\non the Program\" means either the Program or any work containing the\nProgram or a portion of it, either verbatim or with modifications. Each\nlicensee is addressed as \"you\".\n\n1. You may copy and distribute verbatim copies of the Program's source\ncode as you receive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice and\ndisclaimer of warranty; keep intact all the notices that refer to this\nGeneral Public License and to the absence of any warranty; and give any\nother recipients of the Program a copy of this General Public License\nalong with the Program. You may charge a fee for the physical act of\ntransferring a copy.\n\n2. You may modify your copy or copies of the Program or any portion of\nit, and copy and distribute such modifications under the terms of Paragraph\n1 above, provided that you also do the following:\n\na) cause the modified files to carry prominent notices stating that\nyou changed the files and the date of any change; and\n\nb) cause the whole of any work that you distribute or publish, that\nin whole or in part contains the Program or any part thereof, either\nwith or without modifications, to be licensed at no charge to all\nthird parties under the terms of this General Public License (except\nthat you may choose to grant warranty protection to some or all\nthird parties, at your option).\n\nc) If the modified program normally reads commands interactively when\nrun, you must cause it, when started running for such interactive use\nin the simplest and most usual way, to print or display an\nannouncement including an appropriate copyright notice and a notice\nthat there is no warranty (or else, saying that you provide a\nwarranty) and that users may redistribute the program under these\nconditions, and telling the user how to view a copy of this General\nPublic License.\n\nd) You may charge a fee for the physical act of transferring a\ncopy, and you may at your option offer warranty protection in\nexchange for a fee.\n\nMere aggregation of another independent work with the Program (or its\nderivative) on a volume of a storage or distribution medium does not bring\nthe other work under the scope of these terms.\n\n\n3. You may copy and distribute the Program (or a portion or derivative of\nit, under Paragraph 2) in object code or executable form under the terms of\nParagraphs 1 and 2 above provided that you also do one of the following:\n\na) accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nb) accompany it with a written offer, valid for at least three\nyears, to give any third party free (except for a nominal charge\nfor the cost of distribution) a complete machine-readable copy of the\ncorresponding source code, to be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nc) accompany it with the information you received as to where the\ncorresponding source code may be obtained. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form alone.)\n\nSource code for a work means the preferred form of the work for making\nmodifications to it. For an executable file, complete source code means\nall the source code for all modules it contains; but, as a special\nexception, it need not include source code for modules which are standard\nlibraries that accompany the operating system on which the executable\nfile runs, or for standard header files or definitions files that\naccompany that operating system.\n\n4. You may not copy, modify, sublicense, distribute or transfer the\nProgram except as expressly provided under this General Public License.\nAny attempt otherwise to copy, modify, sublicense, distribute or transfer\nthe Program is void, and will automatically terminate your rights to use\nthe Program under this License. However, parties who have received\ncopies, or rights to use copies, from you under this General Public\nLicense will not have their licenses terminated so long as such parties\nremain in full compliance.\n\n5. By copying, distributing or modifying the Program (or any work based\non the Program) you indicate your acceptance of this license to do so,\nand all its terms and conditions.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the original\nlicensor to copy, distribute or modify the Program subject to these\nterms and conditions. You may not impose any further restrictions on the\nrecipients' exercise of the rights granted herein.\n\n\n7. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of the license which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthe license, you may choose any version ever published by the Free Software\nFoundation.\n\n8. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nAppendix: How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to humanity, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these\nterms.\n\nTo do so, attach the following notices to the program. It is safest to\nattach them to the start of each source file to most effectively convey\nthe exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) 19yy \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 1, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA\n\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) 19xx name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the\nappropriate parts of the General Public License. Of course, the\ncommands you use may be called something other than `show w' and `show\nc'; they could even be mouse-clicks or menu items--whatever suits your\nprogram.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nprogram `Gnomovision' (a program to direct compilers to make passes\nat assemblers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThat's all there is to it!" - }, - { - "key": "gpl-2.0-plus", - "short_name": "GPL 2.0 or later", - "name": "GNU General Public License 2.0 or later", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "GPL-2.0-or-later", - "other_spdx_license_keys": [ - "GPL-2.0+", - "GPL 2.0+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" - ], - "other_urls": [ - "http://www.opensource.org/licenses/GPL-2.0", - "https://opensource.org/licenses/GPL-2.0", - "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" - ], - "minimum_coverage": 99, - "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." - }, - { - "key": "gpl-3.0-plus", - "short_name": "GPL 3.0 or later", - "name": "GNU General Public License 3.0 or later", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", - "notes": "Per SPDX.org, this license was released 29 June 2007 This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "GPL-3.0-or-later", - "other_spdx_license_keys": [ - "GPL-3.0+", - "LicenseRef-GPL-3.0-or-later" - ], - "text_urls": [ - "http://www.gnu.org/licenses/gpl-3.0-standalone.html" - ], - "other_urls": [ - "http://www.opensource.org/licenses/GPL-3.0", - "https://opensource.org/licenses/GPL-3.0", - "https://www.gnu.org/licenses/gpl-3.0-standalone.html" - ], - "minimum_coverage": 99, - "text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." - }, - { - "key": "lgpl-2.1-plus", - "short_name": "LGPL 2.1 or later", - "name": "GNU Lesser General Public License 2.1 or later", - "category": "Copyleft Limited", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "LGPL-2.1-or-later", - "other_spdx_license_keys": [ - "LGPL-2.1+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" - ], - "other_urls": [ - "http://www.gnu.org/copyleft/lesser.html", - "http://www.opensource.org/licenses/LGPL-2.1", - "https://opensource.org/licenses/LGPL-2.1", - "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" - ], - "minimum_coverage": 99, - "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" - }, - { - "key": "lgpl-3.0", - "short_name": "LGPL 3.0", - "name": "GNU Lesser General Public License 3.0", - "category": "Copyleft Limited", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", - "notes": "Per SPDX.org, this license was released 29 June 2007. This license is OSI\nCertified.\n", - "is_builtin": true, - "spdx_license_key": "LGPL-3.0-only", - "other_spdx_license_keys": [ - "LGPL-3.0" - ], - "osi_license_key": "LGPL-3.0", - "text_urls": [ - "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "http://www.gnu.org/licenses/lgpl-3.0.txt" - ], - "osi_url": "http://www.opensource.org/licenses/lgpl-3.0.html", - "other_urls": [ - "http://www.gnu.org/copyleft/lesser.html", - "http://www.gnu.org/licenses/why-not-lgpl.html", - "http://www.opensource.org/licenses/LGPL-3.0", - "https://opensource.org/licenses/LGPL-3.0", - "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", - "https://www.gnu.org/licenses/lgpl-3.0-standalone.html" - ], - "text": "GNU LESSER GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n\nThis version of the GNU Lesser General Public License incorporates\nthe terms and conditions of version 3 of the GNU General Public\nLicense, supplemented by the additional permissions listed below.\n\n0. Additional Definitions.\n\nAs used herein, \"this License\" refers to version 3 of the GNU Lesser\nGeneral Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public License.\n\n\"The Library\" refers to a covered work governed by this License,\nother than an Application or a Combined Work as defined below.\n\nAn \"Application\" is any work that makes use of an interface provided\nby the Library, but which is not otherwise based on the Library.\nDefining a subclass of a class defined by the Library is deemed a mode\nof using an interface provided by the Library.\n\nA \"Combined Work\" is a work produced by combining or linking an\nApplication with the Library. The particular version of the Library\nwith which the Combined Work was made is also called the \"Linked\nVersion\".\n\nThe \"Minimal Corresponding Source\" for a Combined Work means the\nCorresponding Source for the Combined Work, excluding any source code\nfor portions of the Combined Work that, considered in isolation, are\nbased on the Application, and not on the Linked Version.\n\nThe \"Corresponding Application Code\" for a Combined Work means the\nobject code and/or source code for the Application, including any data\nand utility programs needed for reproducing the Combined Work from the\nApplication, but excluding the System Libraries of the Combined Work.\n\n1. Exception to Section 3 of the GNU GPL.\n\nYou may convey a covered work under sections 3 and 4 of this License\nwithout being bound by section 3 of the GNU GPL.\n\n2. Conveying Modified Versions.\n\nIf you modify a copy of the Library, and, in your modifications, a\nfacility refers to a function or data to be supplied by an Application\nthat uses the facility (other than as an argument passed when the\nfacility is invoked), then you may convey a copy of the modified\nversion:\n\na) under this License, provided that you make a good faith effort to\nensure that, in the event an Application does not supply the\nfunction or data, the facility still operates, and performs\nwhatever part of its purpose remains meaningful, or\n\nb) under the GNU GPL, with none of the additional permissions of\nthis License applicable to that copy.\n\n3. Object Code Incorporating Material from Library Header Files.\n\nThe object code form of an Application may incorporate material from\na header file that is part of the Library. You may convey such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial is not limited to numerical parameters, data structure\nlayouts and accessors, or small macros, inline functions and templates\n(ten or fewer lines in length), you do both of the following:\n\na) Give prominent notice with each copy of the object code that the\nLibrary is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the object code with a copy of the GNU GPL and this license\ndocument.\n\n4. Combined Works.\n\nYou may convey a Combined Work under terms of your choice that,\ntaken together, effectively do not restrict modification of the\nportions of the Library contained in the Combined Work and reverse\nengineering for debugging such modifications, if you also do each of\nthe following:\n\na) Give prominent notice with each copy of the Combined Work that\nthe Library is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the Combined Work with a copy of the GNU GPL and this license\ndocument.\n\nc) For a Combined Work that displays copyright notices during\nexecution, include the copyright notice for the Library among\nthese notices, as well as a reference directing the user to the\ncopies of the GNU GPL and this license document.\n\nd) Do one of the following:\n\n0) Convey the Minimal Corresponding Source under the terms of this\nLicense, and the Corresponding Application Code in a form\nsuitable for, and under terms that permit, the user to\nrecombine or relink the Application with a modified version of\nthe Linked Version to produce a modified Combined Work, in the\nmanner specified by section 6 of the GNU GPL for conveying\nCorresponding Source.\n\n1) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (a) uses at run time\na copy of the Library already present on the user's computer\nsystem, and (b) will operate properly with a modified version\nof the Library that is interface-compatible with the Linked\nVersion.\n\ne) Provide Installation Information, but only if you would otherwise\nbe required to provide such information under section 6 of the\nGNU GPL, and only to the extent that such information is\nnecessary to install and execute a modified version of the\nCombined Work produced by recombining or relinking the\nApplication with a modified version of the Linked Version. (If\nyou use option 4d0, the Installation Information must accompany\nthe Minimal Corresponding Source and Corresponding Application\nCode. If you use option 4d1, you must provide the Installation\nInformation in the manner specified by section 6 of the GNU GPL\nfor conveying Corresponding Source.)\n\n5. Combined Libraries.\n\nYou may place library facilities that are a work based on the\nLibrary side by side in a single library together with other library\nfacilities that are not Applications and are not covered by this\nLicense, and convey such a combined library under terms of your\nchoice, if you do both of the following:\n\na) Accompany the combined library with a copy of the same work based\non the Library, uncombined with any other library facilities,\nconveyed under the terms of this License.\n\nb) Give prominent notice with the combined library that part of it\nis a work based on the Library, and explaining where to find the\naccompanying uncombined form of the same work.\n\n6. Revised Versions of the GNU Lesser General Public License.\n\nThe Free Software Foundation may publish revised and/or new versions\nof the GNU Lesser General Public License from time to time. Such new\nversions will be similar in spirit to the present version, but may\ndiffer in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nLibrary as you received it specifies that a certain numbered version\nof the GNU Lesser General Public License \"or any later version\"\napplies to it, you have the option of following the terms and\nconditions either of that published version or of any later version\npublished by the Free Software Foundation. If the Library as you\nreceived it does not specify a version number of the GNU Lesser\nGeneral Public License, you may choose any version of the GNU Lesser\nGeneral Public License ever published by the Free Software Foundation.\n\nIf the Library as you received it specifies that a proxy can decide\nwhether future versions of the GNU Lesser General Public License shall\napply, that proxy's public statement of acceptance of any version is\npermanent authorization for you to choose that version for the\nLibrary." - }, - { - "key": "lgpl-3.0-plus", - "short_name": "LGPL 3.0 or later", - "name": "GNU Lesser General Public License 3.0 or later", - "category": "Copyleft Limited", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", - "notes": "Per SPDX.org, this license was released 29 June 2007. This license is OSI\nCertified.\n", - "is_builtin": true, - "spdx_license_key": "LGPL-3.0-or-later", - "other_spdx_license_keys": [ - "LGPL-3.0+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/lgpl-3.0-standalone.html" - ], - "other_urls": [ - "http://www.gnu.org/copyleft/lesser.html", - "http://www.opensource.org/licenses/LGPL-3.0", - "https://opensource.org/licenses/LGPL-3.0", - "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", - "https://www.gnu.org/licenses/lgpl-3.0-standalone.html" - ], - "minimum_coverage": 99, - "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 3.0 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n\nThis version of the GNU Lesser General Public License incorporates\nthe terms and conditions of version 3 of the GNU General Public\nLicense, supplemented by the additional permissions listed below.\n\n0. Additional Definitions.\n\nAs used herein, \"this License\" refers to version 3 of the GNU Lesser\nGeneral Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public License.\n\n\"The Library\" refers to a covered work governed by this License,\nother than an Application or a Combined Work as defined below.\n\nAn \"Application\" is any work that makes use of an interface provided\nby the Library, but which is not otherwise based on the Library.\nDefining a subclass of a class defined by the Library is deemed a mode\nof using an interface provided by the Library.\n\nA \"Combined Work\" is a work produced by combining or linking an\nApplication with the Library. The particular version of the Library\nwith which the Combined Work was made is also called the \"Linked\nVersion\".\n\nThe \"Minimal Corresponding Source\" for a Combined Work means the\nCorresponding Source for the Combined Work, excluding any source code\nfor portions of the Combined Work that, considered in isolation, are\nbased on the Application, and not on the Linked Version.\n\nThe \"Corresponding Application Code\" for a Combined Work means the\nobject code and/or source code for the Application, including any data\nand utility programs needed for reproducing the Combined Work from the\nApplication, but excluding the System Libraries of the Combined Work.\n\n1. Exception to Section 3 of the GNU GPL.\n\nYou may convey a covered work under sections 3 and 4 of this License\nwithout being bound by section 3 of the GNU GPL.\n\n2. Conveying Modified Versions.\n\nIf you modify a copy of the Library, and, in your modifications, a\nfacility refers to a function or data to be supplied by an Application\nthat uses the facility (other than as an argument passed when the\nfacility is invoked), then you may convey a copy of the modified\nversion:\n\na) under this License, provided that you make a good faith effort to\nensure that, in the event an Application does not supply the\nfunction or data, the facility still operates, and performs\nwhatever part of its purpose remains meaningful, or\n\nb) under the GNU GPL, with none of the additional permissions of\nthis License applicable to that copy.\n\n3. Object Code Incorporating Material from Library Header Files.\n\nThe object code form of an Application may incorporate material from\na header file that is part of the Library. You may convey such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial is not limited to numerical parameters, data structure\nlayouts and accessors, or small macros, inline functions and templates\n(ten or fewer lines in length), you do both of the following:\n\na) Give prominent notice with each copy of the object code that the\nLibrary is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the object code with a copy of the GNU GPL and this license\ndocument.\n\n4. Combined Works.\n\nYou may convey a Combined Work under terms of your choice that,\ntaken together, effectively do not restrict modification of the\nportions of the Library contained in the Combined Work and reverse\nengineering for debugging such modifications, if you also do each of\nthe following:\n\na) Give prominent notice with each copy of the Combined Work that\nthe Library is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the Combined Work with a copy of the GNU GPL and this license\ndocument.\n\nc) For a Combined Work that displays copyright notices during\nexecution, include the copyright notice for the Library among\nthese notices, as well as a reference directing the user to the\ncopies of the GNU GPL and this license document.\n\nd) Do one of the following:\n\n0) Convey the Minimal Corresponding Source under the terms of this\nLicense, and the Corresponding Application Code in a form\nsuitable for, and under terms that permit, the user to\nrecombine or relink the Application with a modified version of\nthe Linked Version to produce a modified Combined Work, in the\nmanner specified by section 6 of the GNU GPL for conveying\nCorresponding Source.\n\n1) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (a) uses at run time\na copy of the Library already present on the user's computer\nsystem, and (b) will operate properly with a modified version\nof the Library that is interface-compatible with the Linked\nVersion.\n\ne) Provide Installation Information, but only if you would otherwise\nbe required to provide such information under section 6 of the\nGNU GPL, and only to the extent that such information is\nnecessary to install and execute a modified version of the\nCombined Work produced by recombining or relinking the\nApplication with a modified version of the Linked Version. (If\nyou use option 4d0, the Installation Information must accompany\nthe Minimal Corresponding Source and Corresponding Application\nCode. If you use option 4d1, you must provide the Installation\nInformation in the manner specified by section 6 of the GNU GPL\nfor conveying Corresponding Source.)\n\n5. Combined Libraries.\n\nYou may place library facilities that are a work based on the\nLibrary side by side in a single library together with other library\nfacilities that are not Applications and are not covered by this\nLicense, and convey such a combined library under terms of your\nchoice, if you do both of the following:\n\na) Accompany the combined library with a copy of the same work based\non the Library, uncombined with any other library facilities,\nconveyed under the terms of this License.\n\nb) Give prominent notice with the combined library that part of it\nis a work based on the Library, and explaining where to find the\naccompanying uncombined form of the same work.\n\n6. Revised Versions of the GNU Lesser General Public License.\n\nThe Free Software Foundation may publish revised and/or new versions\nof the GNU Lesser General Public License from time to time. Such new\nversions will be similar in spirit to the present version, but may\ndiffer in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nLibrary as you received it specifies that a certain numbered version\nof the GNU Lesser General Public License \"or any later version\"\napplies to it, you have the option of following the terms and\nconditions either of that published version or of any later version\npublished by the Free Software Foundation. If the Library as you\nreceived it does not specify a version number of the GNU Lesser\nGeneral Public License, you may choose any version of the GNU Lesser\nGeneral Public License ever published by the Free Software Foundation.\n\nIf the Library as you received it specifies that a proxy can decide\nwhether future versions of the GNU Lesser General Public License shall\napply, that proxy's public statement of acceptance of any version is\npermanent authorization for you to choose that version for the\nLibrary." - }, - { - "key": "mit", - "short_name": "MIT License", - "name": "MIT License", - "category": "Permissive", - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "notes": "Per SPDX.org, this license is OSI certified.", - "is_builtin": true, - "spdx_license_key": "MIT", - "text_urls": [ - "http://opensource.org/licenses/mit-license.php" - ], - "osi_url": "http://www.opensource.org/licenses/MIT", - "faq_url": "https://ieeexplore.ieee.org/document/9263265", - "other_urls": [ - "https://opensource.com/article/18/3/patent-grant-mit-license", - "https://opensource.com/article/19/4/history-mit-license", - "https://opensource.org/licenses/MIT" - ], - "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." - }, - { - "key": "other-permissive", - "short_name": "Other Permissive Licenses", - "name": "Other Permissive Licenses", - "category": "Permissive", - "owner": "nexB", - "notes": "this is a catch all and ellipsis to deal with some cases when a large\nnumber of ancillary yet similar licenses may be reported as one.\n", - "is_builtin": true, - "is_generic": true, - "spdx_license_key": "LicenseRef-scancode-other-permissive", - "text": "This component contains multiple third-party subcomponents licensed\nunder permissive licenses in the style of MIT, BSD, X11, and/or Apache." - }, - { - "key": "public-domain", - "short_name": "Public Domain", - "name": "Public Domain", - "category": "Public Domain", - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "is_builtin": true, - "is_generic": true, - "spdx_license_key": "LicenseRef-scancode-public-domain", - "other_spdx_license_keys": [ - "LicenseRef-PublicDomain" - ], - "faq_url": "http://www.linfo.org/publicdomain.html", - "other_urls": [ - "http://creativecommons.org/licenses/publicdomain/", - "http://en.wikipedia.org/wiki/Public_domain", - "http://www.linfo.org/publicdomain.html" - ], - "text": "" - } - ], - "license_rule_references": [ - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_195.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_1066.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 30, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_166.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "public-domain", - "rule_identifier": "pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_67.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "bsd-original", - "rule_identifier": "bsd-original_43.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-3.0-plus", - "rule_identifier": "gpl-3.0-plus_89.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_64.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-audit", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "audit plugin for FusionDirectory\n This package contains the audit plugin for FusionDirectory\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-audit?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-audit?architecture=all" }, { - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-audit-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory audit plugin\n This package includes the LDAP schema needed by the FusionDirectory\n audit plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-audit-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-audit-schema?architecture=all" }, { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_10.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-autofs", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "autofs plugin for FusionDirectory\n Automount management plugin for FusionDirectory\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-autofs?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-autofs?architecture=all" }, { - "license_expression": "bsd-original", - "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-autofs-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory autofs plugin\n This package includes the LDAP schema needed by the FusionDirectory\n autofs plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-autofs-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-autofs-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-certificates", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "certificates plugin for FusionDirectory\n Allow storage of SSL certificates in the user entries.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-certificates?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-certificates?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_1038.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/GPL-2" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-community", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "community plugin for FusionDirectory\n Community and Organization management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-community?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 136, - "rule_relevance": 100 + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-community?architecture=all" }, { - "license_expression": "gpl-3.0-plus", - "rule_identifier": "gpl-3.0-plus_92.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-community-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory community plugin\n This package includes the LDAP schema needed by the FusionDirectory\n community plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-community-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-community-schema?architecture=all" }, { - "license_expression": "gpl-3.0-plus", - "rule_identifier": "gpl-3.0-plus_512.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/GPL-3" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-cyrus", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "cyrus plugin for FusionDirectory\n Cyrus account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-cyrus?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 136, - "rule_relevance": 100 + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-cyrus?architecture=all" }, { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_108.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-cyrus-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory cyrus plugin\n This package includes the LDAP schema needed by the FusionDirectory\n cyrus plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-cyrus-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-cyrus-schema?architecture=all" }, { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_418.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/LGPL-2.1" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-debconf", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "Debconf plugin for FusionDirectory\n Simple debconf plugin for FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-debconf?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 146, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-debconf?architecture=all" }, { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_195.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-debconf-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory Debconf Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n Debconf Plugin. It is the same LDAP schema as distributed in the\n debconf-doc package for the Debconf's basic, built-in LDAP driver.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-debconf-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-debconf-schema?architecture=all" }, { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_577.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 213, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-developers", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "Provide doc and tools for FusionDirectory development\n This package provides codesniffer templates for code conformity,\n a plugin to show reference between classes, and a simple plugin\n example to show the basic use of the API and a doxyfile to generate API\n from sourcecode.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-developers?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-developers?architecture=all" }, { - "license_expression": "bsd-original", - "rule_identifier": "bsd-original_43.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dhcp", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "dhcp plugin for FusionDirectory\n DHCP service management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dhcp?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dhcp?architecture=all" }, { - "license_expression": "bsd-original", - "rule_identifier": "bsd-original_71.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 236, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dhcp-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory dhcp plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dhcp plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dhcp-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dhcp-schema?architecture=all" }, { - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_166.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dns", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "dns plugin for FusionDirectory\n DNS service management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dns?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dns?architecture=all" }, { - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_189.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/LGPL-3" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dns-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory dns plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dns plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dns-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 105, - "rule_relevance": 100 + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dns-schema?architecture=all" }, { - "license_expression": "public-domain", - "rule_identifier": "pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dovecot", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "dovecot plugin for FusionDirectory\n Dovecot account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dovecot?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dovecot?architecture=all" }, { - "license_expression": "other-permissive", - "rule_identifier": "other-permissive_325.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 40, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dovecot-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory dovecot plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dovecot plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dovecot-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dovecot-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dsa", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "dsa plugin for FusionDirectory\n This plugin is designed to maintain the dsa branch of your LDAP directory.\n The dsa branch is the one tha contains the security account for LDAP clients\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dsa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dsa?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-dsa-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory dsa plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dsa plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-dsa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-dsa-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ejbca", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "ejbca plugin for FusionDirectory\n This plugin is designed to show the certificates for servers and users\n stored by ejbca inside LDAP.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ejbca?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ejbca?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ejbca-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory ejbca plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ejbca plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ejbca-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ejbca-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-fai", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "fai plugin for FusionDirectory\n FAI plugin for managing Linux system deployment.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-fai?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-fai?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-fai-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory fai plugin\n This package includes the LDAP schema needed by the FusionDirectory\n fai plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-fai-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-fai-schema?architecture=all" }, { - "license_expression": "bsd-simplified", - "rule_identifier": "bsd-simplified_136.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-freeradius", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "freeradius plugin for FusionDirectory\n This package adds FreeRADIUS management to FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-freeradius?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-freeradius?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-freeradius-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory freeradius plugin\n This package includes the LDAP schema needed by the FusionDirectory\n freeradius plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-freeradius-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-freeradius-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-fusioninventory", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "FusionInventory plugin for FusionDirectory\n This plugin allow you to manage your inventories with the fusioninventory\n agent.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-fusioninventory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-fusioninventory?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-fusioninventory-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory fusioninventory plugin\n This package includes the LDAP schema needed by the FusionDirectory\n fusioninventory plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-fusioninventory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-fusioninventory-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-gpg", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "gpg plugin for FusionDirectory\n This plugin allow you to manage gpg key for the user in your LDAP tree.\n It also allow you to configure a gpg server to fetch his key from the\n LDAP server.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-gpg?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-gpg?architecture=all" }, { - "license_expression": "lgpl-3.0", - "rule_identifier": "lgpl-3.0_37.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-gpg-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory gpg plugin\n This package includes the LDAP schema needed by the FusionDirectory\n gpg plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-gpg-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-gpg-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ipmi", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "ipmi plugin for FusionDirectory\n This plugin allow you to manage ipmi services.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ipmi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ipmi?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ipmi-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory ipmi plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ipmi plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ipmi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ipmi-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ldapdump", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "ldapdump plugin for FusionDirectory\n Show raw LDAP data\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ldapdump?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ldapdump?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ldapmanager", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "ldapmanager plugin for FusionDirectory\n LDAP import and export management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ldapmanager?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ldapmanager?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-mail", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "base mail plugin for FusionDirectory\n Mail management base plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-mail?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-mail?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-mail-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory mail plugin\n This package includes the LDAP schema needed by the FusionDirectory\n mail plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-mail-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-mail-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-mixedgroups", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "plugin to manage groups mixing memberuid and member\n Member and memberuid mixed in the same groups, this need specific\n modified core ldap schema\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-mixedgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-mixedgroups?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-nagios", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "nagios plugin for FusionDirectory\n Nagios account settings management\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-nagios?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-nagios?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-nagios-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory nagios plugin\n This package includes the LDAP schema needed by the FusionDirectory\n nagios plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-nagios-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-nagios-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-netgroups", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "netgroup plugin for FusionDirectory\n Nis Netgroups account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-netgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-netgroups?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-netgroups-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory netgroups plugin\n This package includes the LDAP schema needed by the FusionDirectory\n netgroups plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-netgroups-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-netgroups-schema?architecture=all" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-newsletter", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "newsletter plugin for FusionDirectory\n Newsletter account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-newsletter?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-newsletter?architecture=all" }, { - "license_expression": "mit", - "rule_identifier": "mit_221.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 90 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-newsletter-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory newsletter plugin\n This package includes the LDAP schema needed by the FusionDirectory\n newsletter plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-newsletter-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-newsletter-schema?architecture=all" }, { - "license_expression": "other-permissive", - "rule_identifier": "other-permissive_16.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-opsi", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "opsi plugin for FusionDirectory\n Opsi management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-opsi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-opsi?architecture=all" }, { - "license_expression": "public-domain", - "rule_identifier": "pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-opsi-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory opsi plugin\n This package includes the LDAP schema needed by the FusionDirectory\n opsi plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-opsi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-opsi-schema?architecture=all" }, { - "license_expression": "bsd-original", - "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-personal", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "Personal plugin for FusionDirectory\n The personal plugin for FusionDirectory is used to stored personal data,\n like twitter, facebook, private email addresses and nickname.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-personal?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-personal?architecture=all" + }, + { + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-personal-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory personal Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n personal Plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-personal-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-personal-schema?architecture=all" }, { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_bare_word_only.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 50 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-posix", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "posix account and group plugin for FusionDirectory\n Manage the posix account and groups via FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-posix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-posix?architecture=all" }, { - "license_expression": "borceux", - "rule_identifier": "borceux.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100 + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-postfix", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "postfix service plugin for FusionDirectory\n Postfix service plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-postfix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" + ], + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-postfix?architecture=all" }, { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-postfix-schema", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "LDAP schema for FusionDirectory postfix plugin\n This package includes the LDAP schema needed by the FusionDirectory\n postfix plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-postfix-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100 + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-postfix-schema?architecture=all" }, { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_1.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" + "type": "deb", + "namespace": null, + "name": "fusiondirectory-plugin-ppolicy", + "version": null, + "qualifiers": { + "architecture": "all" + }, + "subpath": null, + "primary_language": null, + "description": "ppolicy overlay module plugin for FusionDirectory\n Manage the LDAP ppolicy overlay via FusionDirectory. Ppolicy provides enhanced\n password management capabilities that are applied to non-rootdn bind attempts\n in OpenLDAP.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:deb/fusiondirectory-plugin-ppolicy?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "debian/control" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100 - } - ], - "dependencies": [], - "packages": [ + "datasource_ids": [ + "debian_control_in_source" + ], + "purl": "pkg:deb/fusiondirectory-plugin-ppolicy?architecture=all" + }, { "type": "deb", "namespace": null, - "name": "fusiondirectory", + "name": "fusiondirectory-plugin-ppolicy-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "Web Based LDAP Administration Program\n Provided is access to posix, shadow, samba, proxy, pureftp and\n kerberos accounts. It is able to manage the postfix/cyrus server\n combination and can write user adapted sieve scripts.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory ppolicy Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ppolicy Plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", "release_date": null, "parties": [], "keywords": [], @@ -2115,26 +2764,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-ppolicy-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-ppolicy-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-alias", + "name": "fusiondirectory-plugin-puppet", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "alias plugin for FusionDirectory\n This plugin is designed to configure mail aliases for postfix.\n It provide description and expiration Date\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "description": "Puppet plugin for FusionDirectory\n Simple puppet plugin for FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -2162,26 +2811,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-alias?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-puppet?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-alias?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-puppet?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-alias-schema", + "name": "fusiondirectory-plugin-puppet-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory alias plugin\n This package includes the LDAP schema needed by the FusionDirectory\n alias plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "description": "LDAP schema for FusionDirectory puppet Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n Puppet Plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", "release_date": null, "parties": [], "keywords": [], @@ -2209,26 +2858,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-alias-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-puppet-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-alias-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-puppet-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-applications", + "name": "fusiondirectory-plugin-pureftpd", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "Applications management plugin for FusionDirectory\n Application management plugin for desktop and web.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "pureftpd plugin for FusionDirectory\n PureFTPD plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -2256,26 +2905,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-applications?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-pureftpd?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-applications?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-pureftpd?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-applications-schema", + "name": "fusiondirectory-plugin-pureftpd-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory application management plugin\n This package includes the LDAP schema needed by the FusionDirectory\n application management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "description": "LDAP schema for FusionDirectory pureftpd plugin\n This package includes the LDAP schema needed by the FusionDirectory\n pureftpd plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -2303,26 +2952,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-applications-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-pureftpd-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-applications-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-pureftpd-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-argonaut", + "name": "fusiondirectory-plugin-quota", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "Argonaut plugin for FusionDirectory\n Store all the configuration for the Argonaut deployment system.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "quota plugin for FusionDirectory\n Linux Quota plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -2350,26 +2999,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-argonaut?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-quota?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-argonaut?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-quota?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-argonaut-schema", + "name": "fusiondirectory-plugin-quota-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory Argonaut plugin\n This package includes the LDAP schema needed by the FusionDirectory\n Argonaut plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory quota plugin\n This package includes the LDAP schema needed by the FusionDirectory\n quota plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -2397,26 +3046,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-argonaut-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-quota-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-argonaut-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-quota-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-audit", + "name": "fusiondirectory-plugin-renater-partage", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "audit plugin for FusionDirectory\n This package contains the audit plugin for FusionDirectory\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "Renater partage integration plugin for FusionDirectory\n Renater partage plugin for https://partage.renater.fr/\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -2444,26 +3093,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-audit?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-renater-partage?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-audit?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-renater-partage?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-audit-schema", + "name": "fusiondirectory-plugin-renater-partage-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory audit plugin\n This package includes the LDAP schema needed by the FusionDirectory\n audit plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory renater partage plugin\n This package includes the LDAP schema needed by the FusionDirectory\n renater partage plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", "release_date": null, "parties": [], "keywords": [], @@ -2491,26 +3140,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-audit-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-renater-partage-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-audit-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-renater-partage-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-autofs", + "name": "fusiondirectory-plugin-repository", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "autofs plugin for FusionDirectory\n Automount management plugin for FusionDirectory\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "repository plugin for FusionDirectory\n Repository plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -2538,26 +3187,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-autofs?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-repository?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-autofs?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-repository?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-autofs-schema", + "name": "fusiondirectory-plugin-repository-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory autofs plugin\n This package includes the LDAP schema needed by the FusionDirectory\n autofs plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory repository plugin\n This package includes the LDAP schema needed by the FusionDirectory\n repository plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", "release_date": null, "parties": [], "keywords": [], @@ -2585,26 +3234,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-autofs-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-repository-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-autofs-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-repository-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-certificates", + "name": "fusiondirectory-plugin-samba", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "certificates plugin for FusionDirectory\n Allow storage of SSL certificates in the user entries.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "samba3 plugin for FusionDirectory\n Plugin for Samba 3 management.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -2632,26 +3281,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-certificates?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-samba?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-certificates?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-samba?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-community", + "name": "fusiondirectory-plugin-samba-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "community plugin for FusionDirectory\n Community and Organization management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory samba plugin\n This package includes the LDAP schema needed by the FusionDirectory\n samba plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -2679,26 +3328,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-community?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-samba-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-community?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-samba-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-community-schema", + "name": "fusiondirectory-plugin-sogo", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory community plugin\n This package includes the LDAP schema needed by the FusionDirectory\n community plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "SOGo plugin for FusionDirectory\n SOGo resource management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -2726,26 +3375,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-community-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-sogo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-community-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-sogo?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-cyrus", + "name": "fusiondirectory-plugin-sogo-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "cyrus plugin for FusionDirectory\n Cyrus account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory SOgo plugin\n This package includes the LDAP schemas needed by the FusionDirectory\n SOGo plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -2773,26 +3422,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-cyrus?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-sogo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-cyrus?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-sogo-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-cyrus-schema", + "name": "fusiondirectory-plugin-spamassassin", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory cyrus plugin\n This package includes the LDAP schema needed by the FusionDirectory\n cyrus plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "spamassassin plugin for FusionDirectory\n spamassassin plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -2820,26 +3469,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-cyrus-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-spamassassin?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-cyrus-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-spamassassin?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-debconf", + "name": "fusiondirectory-plugin-spamassassin-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "Debconf plugin for FusionDirectory\n Simple debconf plugin for FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory spamassassin plugin\n This package includes the LDAP schema needed by the FusionDirectory\n spamassassin plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -2867,26 +3516,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-debconf?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-spamassassin-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-debconf?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-spamassassin-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-debconf-schema", + "name": "fusiondirectory-plugin-squid", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory Debconf Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n Debconf Plugin. It is the same LDAP schema as distributed in the\n debconf-doc package for the Debconf's basic, built-in LDAP driver.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", + "description": "squid plugin for FusionDirectory\n Squid plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -2914,26 +3563,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-debconf-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-squid?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-debconf-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-squid?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-developers", + "name": "fusiondirectory-plugin-squid-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "Provide doc and tools for FusionDirectory development\n This package provides codesniffer templates for code conformity,\n a plugin to show reference between classes, and a simple plugin\n example to show the basic use of the API and a doxyfile to generate API\n from sourcecode.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory squid plugin\n This package includes the LDAP schema needed by the FusionDirectory\n squid plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -2961,26 +3610,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-developers?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-squid-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-developers?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-squid-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-dhcp", + "name": "fusiondirectory-plugin-ssh", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "dhcp plugin for FusionDirectory\n DHCP service management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "ssh plugin for FusionDirectory\n SSH key management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -3008,26 +3657,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dhcp?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-ssh?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-dhcp?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-ssh?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-dhcp-schema", + "name": "fusiondirectory-plugin-ssh-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory dhcp plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dhcp plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory ssh plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ssh plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -3055,26 +3704,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dhcp-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-ssh-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-dhcp-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-ssh-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-dns", + "name": "fusiondirectory-plugin-subcontracting", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "dns plugin for FusionDirectory\n DNS service management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "subcontracting plugin for FusionDirectory\n This package includes the subcontracting plugin for FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -3102,26 +3751,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dns?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-subcontracting?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-dns?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-subcontracting?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-dns-schema", + "name": "fusiondirectory-plugin-subcontracting-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory dns plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dns plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory subcontracting plugin\n This package includes the LDAP schema needed by the FusionDirectory\n subcontracting plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -3149,26 +3798,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dns-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-subcontracting-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-dns-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-subcontracting-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-dovecot", + "name": "fusiondirectory-plugin-sudo", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "dovecot plugin for FusionDirectory\n Dovecot account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "sudo plugin for FusionDirectory\n Sudo management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -3196,26 +3845,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dovecot?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-sudo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-dovecot?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-sudo?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-dovecot-schema", + "name": "fusiondirectory-plugin-sudo-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory dovecot plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dovecot plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory sudo plugin\n This package includes the LDAP schema needed by the FusionDirectory\n sudo plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -3243,26 +3892,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dovecot-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-sudo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-dovecot-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-sudo-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-dsa", + "name": "fusiondirectory-plugin-supann", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "dsa plugin for FusionDirectory\n This plugin is designed to maintain the dsa branch of your LDAP directory.\n The dsa branch is the one tha contains the security account for LDAP clients\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "description": "supann plugin for FusionDirectory\n Supann management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -3290,26 +3939,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dsa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-supann?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-dsa?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-supann?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-dsa-schema", + "name": "fusiondirectory-plugin-supann-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory dsa plugin\n This package includes the LDAP schema needed by the FusionDirectory\n dsa plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory supann plugin\n This package includes the LDAP schema needed by the FusionDirectory\n supann plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -3337,26 +3986,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-dsa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-supann-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-dsa-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-supann-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-ejbca", + "name": "fusiondirectory-plugin-sympa", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "ejbca plugin for FusionDirectory\n This plugin is designed to show the certificates for servers and users\n stored by ejbca inside LDAP.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "description": "sympa plugin for FusionDirectory\n This plugin is designed to configure basic sympa lists.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", "release_date": null, "parties": [], "keywords": [], @@ -3384,26 +4033,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ejbca?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-sympa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-ejbca?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-sympa?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-ejbca-schema", + "name": "fusiondirectory-plugin-sympa-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory ejbca plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ejbca plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory sympa plugin\n This package includes the LDAP schema needed by the FusionDirectory\n sympa plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", "release_date": null, "parties": [], "keywords": [], @@ -3431,26 +4080,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ejbca-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-sympa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-ejbca-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-sympa-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-fai", + "name": "fusiondirectory-plugin-systems", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "fai plugin for FusionDirectory\n FAI plugin for managing Linux system deployment.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "systems plugin for FusionDirectory\n Systems management base plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -3478,26 +4127,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-fai?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-systems?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-fai?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-systems?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-fai-schema", + "name": "fusiondirectory-plugin-systems-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory fai plugin\n This package includes the LDAP schema needed by the FusionDirectory\n fai plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory systems plugin\n This package includes the LDAP schema needed by the FusionDirectory\n systems plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", "release_date": null, "parties": [], "keywords": [], @@ -3525,26 +4174,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-fai-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-systems-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-fai-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-systems-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-freeradius", + "name": "fusiondirectory-plugin-user-reminder", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "freeradius plugin for FusionDirectory\n This package adds FreeRADIUS management to FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "user reminder plugin for FusionDirectory\n The user reminder plugin allows you to configure a reminder for expiring\n account to ask user if they want to keep the account open or not.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -3572,26 +4221,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-freeradius?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-user-reminder?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-freeradius?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-user-reminder?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-freeradius-schema", + "name": "fusiondirectory-plugin-user-reminder-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory freeradius plugin\n This package includes the LDAP schema needed by the FusionDirectory\n freeradius plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory user reminder plugin\n This package includes the LDAP schema needed by the FusionDirectory\n user-reminder plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", "release_date": null, "parties": [], "keywords": [], @@ -3619,26 +4268,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-freeradius-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-user-reminder-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-freeradius-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-user-reminder-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-fusioninventory", + "name": "fusiondirectory-plugin-weblink", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "FusionInventory plugin for FusionDirectory\n This plugin allow you to manage your inventories with the fusioninventory\n agent.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "weblink plugin for FusionDirectory\n The weblink plugin allows you to add a link to systems pointing\n to their web interface.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -3666,26 +4315,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-fusioninventory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-weblink?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-fusioninventory?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-weblink?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-fusioninventory-schema", + "name": "fusiondirectory-plugin-weblink-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory fusioninventory plugin\n This package includes the LDAP schema needed by the FusionDirectory\n fusioninventory plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "description": "LDAP schema for FusionDirectory weblink plugin\n This package includes the LDAP schema needed by the FusionDirectory\n weblink plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", "release_date": null, "parties": [], "keywords": [], @@ -3713,26 +4362,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-fusioninventory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-weblink-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-fusioninventory-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-weblink-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-gpg", + "name": "fusiondirectory-plugin-webservice", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "gpg plugin for FusionDirectory\n This plugin allow you to manage gpg key for the user in your LDAP tree.\n It also allow you to configure a gpg server to fetch his key from the\n LDAP server.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "webservice plugin for FusionDirectory\n This plugin is designed to manage FusionDirectory with a webservice.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", "release_date": null, "parties": [], "keywords": [], @@ -3760,26 +4409,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-gpg?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-webservice?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-gpg?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-webservice?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-gpg-schema", + "name": "fusiondirectory-plugin-webservice-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory gpg plugin\n This package includes the LDAP schema needed by the FusionDirectory\n gpg plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "description": "schema for the webservice plugin for FusionDirectory\n This package includes the LDAP schema needed by the FusionDirectory\n webservice plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", "release_date": null, "parties": [], "keywords": [], @@ -3807,26 +4456,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-gpg-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-plugin-webservice-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-gpg-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-plugin-webservice-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-ipmi", + "name": "fusiondirectory-schema", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "ipmi plugin for FusionDirectory\n This plugin allow you to manage ipmi services.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "LDAP schema for FusionDirectory\n This package includes the basics LDAP schemas needed by FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -3854,26 +4503,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ipmi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-ipmi?architecture=all" + "purl": "pkg:deb/fusiondirectory-schema?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-ipmi-schema", + "name": "fusiondirectory-smarty3-acl-render", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "LDAP schema for FusionDirectory ipmi plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ipmi plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", + "description": "Provide FusionDirectory ACL based rendering for Smarty3\n This package provides acl based rendering support for Smarty3,\n the popular PHP templating engine (http://smarty.php.net/). This\n module is mainly used by FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", "release_date": null, "parties": [], "keywords": [], @@ -3901,26 +4550,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ipmi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-smarty3-acl-render?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-ipmi-schema?architecture=all" + "purl": "pkg:deb/fusiondirectory-smarty3-acl-render?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-ldapdump", + "name": "fusiondirectory-theme-oxygen", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "ldapdump plugin for FusionDirectory\n Show raw LDAP data\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "Icon theme Oxygen for FusionDirectory\n This package makes Oxygen icon theme available in FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups", "release_date": null, "parties": [], "keywords": [], @@ -3948,26 +4597,26 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ldapdump?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-ldapdump?architecture=all" + "purl": "pkg:deb/fusiondirectory-theme-oxygen?architecture=all" }, { "type": "deb", "namespace": null, - "name": "fusiondirectory-plugin-ldapmanager", + "name": "fusiondirectory-webservice-shell", "version": null, "qualifiers": { "architecture": "all" }, "subpath": null, "primary_language": null, - "description": "ldapmanager plugin for FusionDirectory\n LDAP import and export management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", + "description": "webservice shell for FusionDirectory\n This is the conmand line shell for the FusionDirectory with a webservice.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", "release_date": null, "parties": [], "keywords": [], @@ -3995,2752 +4644,2097 @@ "repository_homepage_url": null, "repository_download_url": null, "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ldapmanager?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "package_uid": "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "datafile_paths": [ "debian/control" ], "datasource_ids": [ "debian_control_in_source" ], - "purl": "pkg:deb/fusiondirectory-plugin-ldapmanager?architecture=all" + "purl": "pkg:deb/fusiondirectory-webservice-shell?architecture=all" + } + ], + "dependencies": [], + "license_detections": [ + { + "identifier": "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "license_expression": "gpl-2.0-plus", + "count": 21, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 297, + "end_line": 297, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + } + ] + }, + { + "identifier": "gpl_2_0_plus_and_free_unknown-0667fcba-0434-a8b0-c381-d21e497f339e", + "license_expression": "gpl-2.0-plus AND free-unknown", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 411, + "end_line": 411, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + }, + { + "score": 100.0, + "start_line": 413, + "end_line": 413, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + } + ] + }, + { + "identifier": "bsd_new-5e7cf470-62b4-d7f2-403b-32e360af9959", + "license_expression": "bsd-new", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 441, + "end_line": 441, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_195.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE" + } + ] + }, + { + "identifier": "apache_2_0_and_gpl_2_0_plus_and_free_unknown-8f13c053-ee2e-fbc9-00bd-94342ccaca54", + "license_expression": "apache-2.0 AND gpl-2.0-plus AND free-unknown", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 20.0, + "start_line": 560, + "end_line": 562, + "matched_length": 6, + "match_coverage": 20.0, + "matcher": "3-seq", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1066.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1066.RULE" + }, + { + "score": 100.0, + "start_line": 560, + "end_line": 560, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + }, + { + "score": 100.0, + "start_line": 562, + "end_line": 562, + "matched_length": 10, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" + } + ] + }, + { + "identifier": "lgpl_3_0_plus-436a53e8-cee5-a1a3-1a63-23f72b7ecff8", + "license_expression": "lgpl-3.0-plus", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 968, + "end_line": 968, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_166.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE" + } + ] + }, + { + "identifier": "public_domain-bd9559dd-d998-d270-8750-8a6673b7e089", + "license_expression": "public-domain", + "count": 1, + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 99.0, + "start_line": 1094, + "end_line": 1094, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "public-domain", + "rule_identifier": "pypi_public_domain.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" + } + ] + }, + { + "identifier": "gpl_2_0_plus-5b77229a-4d7f-8d90-8406-e2f0bbefad2f", + "license_expression": "gpl-2.0-plus", + "count": 1, + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1099, + "end_line": 1099, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_67.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_67.RULE" + } + ] + }, + { + "identifier": "mit-c653439c-e276-d2c2-c877-f4cf44461425", + "license_expression": "mit", + "count": 3, + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1429, + "end_line": 1429, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" + } + ] + }, + { + "identifier": "bsd_original-98ef120f-3326-ab2a-1549-8e606ef5d913", + "license_expression": "bsd-original", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1501, + "end_line": 1501, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-original", + "rule_identifier": "bsd-original_43.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE" + } + ] + }, + { + "identifier": "gpl_2_0_plus_and_gpl_3_0_plus_and_lgpl_2_1_plus_and_lgpl_3_0_plus_and_bsd_new_and_bsd_original_and_mit_and_public_domain_and_other_permissive-3f66e975-1f1b-f709-e7a9-03ce0158276e", + "license_expression": "gpl-2.0-plus AND gpl-3.0-plus AND lgpl-2.1-plus AND lgpl-3.0-plus AND bsd-new AND bsd-original AND mit AND public-domain AND other-permissive", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1521, + "end_line": 1521, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + }, + { + "score": 100.0, + "start_line": 1521, + "end_line": 1521, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_89.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_89.RULE" + }, + { + "score": 100.0, + "start_line": 1521, + "end_line": 1521, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_64.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_64.RULE" + }, + { + "score": 100.0, + "start_line": 1521, + "end_line": 1521, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_36.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_36.RULE" + }, + { + "score": 100.0, + "start_line": 1521, + "end_line": 1521, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_10.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_10.RULE" + }, + { + "score": 100.0, + "start_line": 1521, + "end_line": 1521, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-original", + "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE" + }, + { + "score": 100.0, + "start_line": 1523, + "end_line": 1523, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE" + }, + { + "score": 100.0, + "start_line": 1524, + "end_line": 1539, + "matched_length": 136, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_1038.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_1038.RULE" + }, + { + "score": 100.0, + "start_line": 1541, + "end_line": 1541, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_92.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_92.RULE" + }, + { + "score": 100.0, + "start_line": 1542, + "end_line": 1557, + "matched_length": 136, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_512.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_512.RULE" + }, + { + "score": 100.0, + "start_line": 1559, + "end_line": 1559, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_108.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_108.RULE" + }, + { + "score": 100.0, + "start_line": 1560, + "end_line": 1577, + "matched_length": 146, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_418.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_418.RULE" + }, + { + "score": 100.0, + "start_line": 1579, + "end_line": 1579, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE" + }, + { + "score": 100.0, + "start_line": 1580, + "end_line": 1596, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" + }, + { + "score": 100.0, + "start_line": 1598, + "end_line": 1598, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_195.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE" + }, + { + "score": 100.0, + "start_line": 1599, + "end_line": 1621, + "matched_length": 213, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_577.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_577.RULE" + }, + { + "score": 100.0, + "start_line": 1623, + "end_line": 1623, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-original", + "rule_identifier": "bsd-original_43.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE" + }, + { + "score": 100.0, + "start_line": 1624, + "end_line": 1649, + "matched_length": 236, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-original", + "rule_identifier": "bsd-original_71.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_71.RULE" + }, + { + "score": 100.0, + "start_line": 1651, + "end_line": 1651, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_166.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE" + }, + { + "score": 100.0, + "start_line": 1652, + "end_line": 1663, + "matched_length": 105, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_189.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_189.RULE" + }, + { + "score": 99.0, + "start_line": 1665, + "end_line": 1665, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "public-domain", + "rule_identifier": "pypi_public_domain.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" + }, + { + "score": 100.0, + "start_line": 1666, + "end_line": 1669, + "matched_length": 40, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "other-permissive", + "rule_identifier": "other-permissive_325.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_325.RULE" + } + ] }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-mail", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "base mail plugin for FusionDirectory\n Mail management base plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-mail?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "identifier": "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "license_expression": "gpl-2.0-plus", + "count": 22, + "detection_log": [ + "not-combined" ], - "datasource_ids": [ - "debian_control_in_source" + "matches": [ + { + "score": 100.0, + "start_line": 2692, + "end_line": 2692, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE" + } + ] + }, + { + "identifier": "bsd_simplified-6d9cdb91-f72a-e66d-131a-5df68f4b8dbe", + "license_expression": "bsd-simplified", + "count": 1, + "detection_log": [ + "not-combined" ], - "purl": "pkg:deb/fusiondirectory-plugin-mail?architecture=all" + "matches": [ + { + "score": 100.0, + "start_line": 2880, + "end_line": 2880, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-simplified", + "rule_identifier": "bsd-simplified_136.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_136.RULE" + } + ] }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-mail-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory mail plugin\n This package includes the LDAP schema needed by the FusionDirectory\n mail plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-mail-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "identifier": "lgpl_3_0-96ffe1b7-0393-b4ce-7307-8ea9f7b6a926", + "license_expression": "lgpl-3.0", + "count": 1, + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" ], - "datasource_ids": [ - "debian_control_in_source" + "matches": [ + { + "score": 100.0, + "start_line": 2925, + "end_line": 2925, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_37.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_37.RULE" + } + ] + }, + { + "identifier": "mit_and_other_permissive-2fcd3356-800d-11d7-c648-c983d7089c6f", + "license_expression": "mit AND other-permissive", + "count": 1, + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" ], - "purl": "pkg:deb/fusiondirectory-plugin-mail-schema?architecture=all" + "matches": [ + { + "score": 90.0, + "start_line": 3010, + "end_line": 3010, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_221.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_221.RULE" + }, + { + "score": 100.0, + "start_line": 3010, + "end_line": 3010, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "other-permissive", + "rule_identifier": "other-permissive_16.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_16.RULE" + } + ] }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-mixedgroups", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "plugin to manage groups mixing memberuid and member\n Member and memberuid mixed in the same groups, this need specific\n modified core ldap schema\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-mixedgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "identifier": "public_domain_and_bsd_original_and_gpl_1_0_plus-97b7b447-cbd8-46bc-d573-acd1c32c3e4d", + "license_expression": "public-domain AND bsd-original AND gpl-1.0-plus", + "count": 1, + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" ], - "datasource_ids": [ - "debian_control_in_source" + "matches": [ + { + "score": 99.0, + "start_line": 3016, + "end_line": 3016, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "public-domain", + "rule_identifier": "pypi_public_domain.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE" + }, + { + "score": 100.0, + "start_line": 3016, + "end_line": 3016, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-original", + "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE" + }, + { + "score": 50.0, + "start_line": 3016, + "end_line": 3016, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_bare_word_only.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE" + } + ] + }, + { + "identifier": "none-36666984-5064-88c2-90a6-dc14744d84f0", + "license_expression": null, + "count": 1, + "detection_log": [ + "license-clues" ], - "purl": "pkg:deb/fusiondirectory-plugin-mixedgroups?architecture=all" + "matches": [ + { + "score": 4.71, + "start_line": 1, + "end_line": 3, + "matched_length": 4, + "match_coverage": 4.71, + "matcher": "3-seq", + "license_expression": "borceux", + "rule_identifier": "borceux.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/borceux.LICENSE" + } + ] }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-nagios", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "nagios plugin for FusionDirectory\n Nagios account settings management\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-nagios?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" + "identifier": "free_unknown-142f3261-5728-9933-74c7-7e8aa278ff6d", + "license_expression": "free-unknown", + "count": 1, + "detection_log": [ + "not-combined" ], - "purl": "pkg:deb/fusiondirectory-plugin-nagios?architecture=all" + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 10, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" + } + ] }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-nagios-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory nagios plugin\n This package includes the LDAP schema needed by the FusionDirectory\n nagios plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-nagios-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" + "identifier": "free_unknown-b311c6a4-90ca-420f-ddb7-53c164b9bf65", + "license_expression": "free-unknown", + "count": 1, + "detection_log": [ + "not-combined" ], - "purl": "pkg:deb/fusiondirectory-plugin-nagios-schema?architecture=all" - }, + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 11, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE" + } + ] + } + ], + "license_references": [ { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-netgroups", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "netgroup plugin for FusionDirectory\n Nis Netgroups account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-netgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" ], - "datasource_ids": [ - "debian_control_in_source" + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" ], - "purl": "pkg:deb/fusiondirectory-plugin-netgroups?architecture=all" + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-netgroups-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory netgroups plugin\n This package includes the LDAP schema needed by the FusionDirectory\n netgroups plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-netgroups-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "bsd-new", + "short_name": "BSD-3-Clause", + "name": "BSD-3-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-3-Clause", + "other_spdx_license_keys": [ + "LicenseRef-scancode-libzip" ], - "datasource_ids": [ - "debian_control_in_source" + "osi_license_key": "BSD-3-Clause", + "text_urls": [ + "http://www.opensource.org/licenses/BSD-3-Clause" ], - "purl": "pkg:deb/fusiondirectory-plugin-netgroups-schema?architecture=all" + "osi_url": "http://www.opensource.org/licenses/BSD-3-Clause", + "other_urls": [ + "http://framework.zend.com/license/new-bsd", + "https://opensource.org/licenses/BSD-3-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nNeither the name of the ORGANIZATION nor the names of its contributors may be\nused to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-newsletter", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "newsletter plugin for FusionDirectory\n Newsletter account management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-newsletter?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "bsd-original", + "short_name": "BSD-Original", + "name": "BSD-Original", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", + "notes": "Per SPDX.org, this license was rescinded by the author on 22 July 1999.", + "is_builtin": true, + "spdx_license_key": "BSD-4-Clause", + "text_urls": [ + "http://www.xfree86.org/3.3.6/COPYRIGHT2.html#6" ], - "datasource_ids": [ - "debian_control_in_source" + "osi_url": "http://www.opensource.org/licenses/bsd-license.php", + "other_urls": [ + "http://directory.fsf.org/wiki/License:BSD_4Clause", + "http://www.fsf.org/licensing/essays/bsd.html", + "http://www.gnu.org/philosophy/bsd.html" ], - "purl": "pkg:deb/fusiondirectory-plugin-newsletter?architecture=all" + "text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice,\nthis list 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\nand/or other materials provided with the distribution.\n\n3. All advertising materials mentioning features or use of this software\nmust display the following acknowledgement: This product includes software\ndeveloped by the .\n\n4. Neither the name of the nor the names of its contributors\nmay be used to endorse or promote products derived from this software\nwithout specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY ''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 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,\nOR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\nEVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-newsletter-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory newsletter plugin\n This package includes the LDAP schema needed by the FusionDirectory\n newsletter plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-newsletter-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "bsd-simplified", + "short_name": "BSD-2-Clause", + "name": "BSD-2-Clause", + "category": "Permissive", + "owner": "Regents of the University of California", + "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "BSD-2-Clause", + "other_spdx_license_keys": [ + "BSD-2-Clause-NetBSD", + "BSD-2" ], - "datasource_ids": [ - "debian_control_in_source" + "text_urls": [ + "http://opensource.org/licenses/bsd-license.php" ], - "purl": "pkg:deb/fusiondirectory-plugin-newsletter-schema?architecture=all" + "osi_url": "http://opensource.org/licenses/bsd-license.php", + "other_urls": [ + "http://spdx.org/licenses/BSD-2-Clause", + "http://www.freebsd.org/copyright/copyright.html", + "https://opensource.org/licenses/BSD-2-Clause" + ], + "text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list\nof conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or\nother materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-opsi", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "opsi plugin for FusionDirectory\n Opsi management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-opsi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "free-unknown", + "short_name": "Free unknown", + "name": "Free unknown license detected but not recognized", + "category": "Unstated License", + "owner": "Unspecified", + "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", + "is_builtin": true, + "is_unknown": true, + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "text": "" + }, + { + "key": "gpl-1.0-plus", + "short_name": "GPL 1.0 or later", + "name": "GNU General Public License 1.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "notes": "Per SPDX.org, this license was released February 1989.", + "is_builtin": true, + "spdx_license_key": "GPL-1.0-or-later", + "other_spdx_license_keys": [ + "GPL-1.0+", + "LicenseRef-GPL" ], - "datasource_ids": [ - "debian_control_in_source" + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" ], - "purl": "pkg:deb/fusiondirectory-plugin-opsi?architecture=all" + "other_urls": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 1, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,\nCambridge, MA 02139, USA.\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 1, February 1989\n\nCopyright (C) 1989 Free Software Foundation, Inc.\n51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe license agreements of most software companies try to keep users\nat the mercy of those companies. By contrast, our General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. The\nGeneral Public License applies to the Free Software Foundation's\nsoftware and to any other program whose authors commit to using it.\nYou can use it for your programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Specifically, the General Public License is designed to make\nsure that you have the freedom to give away or sell copies of free\nsoftware, that you receive source code or can get it if you want it,\nthat you can change the software or use pieces of it in new free\nprograms; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of a such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must tell them their rights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any program or other work which\ncontains a notice placed by the copyright holder saying it may be\ndistributed under the terms of this General Public License. The\n\"Program\", below, refers to any such program or work, and a \"work based\non the Program\" means either the Program or any work containing the\nProgram or a portion of it, either verbatim or with modifications. Each\nlicensee is addressed as \"you\".\n\n1. You may copy and distribute verbatim copies of the Program's source\ncode as you receive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice and\ndisclaimer of warranty; keep intact all the notices that refer to this\nGeneral Public License and to the absence of any warranty; and give any\nother recipients of the Program a copy of this General Public License\nalong with the Program. You may charge a fee for the physical act of\ntransferring a copy.\n\n2. You may modify your copy or copies of the Program or any portion of\nit, and copy and distribute such modifications under the terms of Paragraph\n1 above, provided that you also do the following:\n\na) cause the modified files to carry prominent notices stating that\nyou changed the files and the date of any change; and\n\nb) cause the whole of any work that you distribute or publish, that\nin whole or in part contains the Program or any part thereof, either\nwith or without modifications, to be licensed at no charge to all\nthird parties under the terms of this General Public License (except\nthat you may choose to grant warranty protection to some or all\nthird parties, at your option).\n\nc) If the modified program normally reads commands interactively when\nrun, you must cause it, when started running for such interactive use\nin the simplest and most usual way, to print or display an\nannouncement including an appropriate copyright notice and a notice\nthat there is no warranty (or else, saying that you provide a\nwarranty) and that users may redistribute the program under these\nconditions, and telling the user how to view a copy of this General\nPublic License.\n\nd) You may charge a fee for the physical act of transferring a\ncopy, and you may at your option offer warranty protection in\nexchange for a fee.\n\nMere aggregation of another independent work with the Program (or its\nderivative) on a volume of a storage or distribution medium does not bring\nthe other work under the scope of these terms.\n\n\n3. You may copy and distribute the Program (or a portion or derivative of\nit, under Paragraph 2) in object code or executable form under the terms of\nParagraphs 1 and 2 above provided that you also do one of the following:\n\na) accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nb) accompany it with a written offer, valid for at least three\nyears, to give any third party free (except for a nominal charge\nfor the cost of distribution) a complete machine-readable copy of the\ncorresponding source code, to be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nc) accompany it with the information you received as to where the\ncorresponding source code may be obtained. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form alone.)\n\nSource code for a work means the preferred form of the work for making\nmodifications to it. For an executable file, complete source code means\nall the source code for all modules it contains; but, as a special\nexception, it need not include source code for modules which are standard\nlibraries that accompany the operating system on which the executable\nfile runs, or for standard header files or definitions files that\naccompany that operating system.\n\n4. You may not copy, modify, sublicense, distribute or transfer the\nProgram except as expressly provided under this General Public License.\nAny attempt otherwise to copy, modify, sublicense, distribute or transfer\nthe Program is void, and will automatically terminate your rights to use\nthe Program under this License. However, parties who have received\ncopies, or rights to use copies, from you under this General Public\nLicense will not have their licenses terminated so long as such parties\nremain in full compliance.\n\n5. By copying, distributing or modifying the Program (or any work based\non the Program) you indicate your acceptance of this license to do so,\nand all its terms and conditions.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the original\nlicensor to copy, distribute or modify the Program subject to these\nterms and conditions. You may not impose any further restrictions on the\nrecipients' exercise of the rights granted herein.\n\n\n7. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of the license which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthe license, you may choose any version ever published by the Free Software\nFoundation.\n\n8. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nAppendix: How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to humanity, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these\nterms.\n\nTo do so, attach the following notices to the program. It is safest to\nattach them to the start of each source file to most effectively convey\nthe exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) 19yy \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 1, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA\n\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) 19xx name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the\nappropriate parts of the General Public License. Of course, the\ncommands you use may be called something other than `show w' and `show\nc'; they could even be mouse-clicks or menu items--whatever suits your\nprogram.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nprogram `Gnomovision' (a program to direct compilers to make passes\nat assemblers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThat's all there is to it!" }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-opsi-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory opsi plugin\n This package includes the LDAP schema needed by the FusionDirectory\n opsi plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-opsi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" ], - "datasource_ids": [ - "debian_control_in_source" + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" ], - "purl": "pkg:deb/fusiondirectory-plugin-opsi-schema?architecture=all" + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-personal", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "Personal plugin for FusionDirectory\n The personal plugin for FusionDirectory is used to stored personal data,\n like twitter, facebook, private email addresses and nickname.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-personal?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "gpl-3.0-plus", + "short_name": "GPL 3.0 or later", + "name": "GNU General Public License 3.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", + "notes": "Per SPDX.org, this license was released 29 June 2007 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-3.0-or-later", + "other_spdx_license_keys": [ + "GPL-3.0+", + "LicenseRef-GPL-3.0-or-later" ], - "datasource_ids": [ - "debian_control_in_source" + "text_urls": [ + "http://www.gnu.org/licenses/gpl-3.0-standalone.html" ], - "purl": "pkg:deb/fusiondirectory-plugin-personal?architecture=all" + "other_urls": [ + "http://www.opensource.org/licenses/GPL-3.0", + "https://opensource.org/licenses/GPL-3.0", + "https://www.gnu.org/licenses/gpl-3.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-personal-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory personal Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n personal Plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-personal-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" ], - "datasource_ids": [ - "debian_control_in_source" + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" ], - "purl": "pkg:deb/fusiondirectory-plugin-personal-schema?architecture=all" + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-posix", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "posix account and group plugin for FusionDirectory\n Manage the posix account and groups via FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-posix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "lgpl-3.0", + "short_name": "LGPL 3.0", + "name": "GNU Lesser General Public License 3.0", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", + "notes": "Per SPDX.org, this license was released 29 June 2007. This license is OSI\nCertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-3.0-only", + "other_spdx_license_keys": [ + "LGPL-3.0" ], - "datasource_ids": [ - "debian_control_in_source" + "osi_license_key": "LGPL-3.0", + "text_urls": [ + "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "http://www.gnu.org/licenses/lgpl-3.0.txt" ], - "purl": "pkg:deb/fusiondirectory-plugin-posix?architecture=all" + "osi_url": "http://www.opensource.org/licenses/lgpl-3.0.html", + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.gnu.org/licenses/why-not-lgpl.html", + "http://www.opensource.org/licenses/LGPL-3.0", + "https://opensource.org/licenses/LGPL-3.0", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html" + ], + "text": "GNU LESSER GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n\nThis version of the GNU Lesser General Public License incorporates\nthe terms and conditions of version 3 of the GNU General Public\nLicense, supplemented by the additional permissions listed below.\n\n0. Additional Definitions.\n\nAs used herein, \"this License\" refers to version 3 of the GNU Lesser\nGeneral Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public License.\n\n\"The Library\" refers to a covered work governed by this License,\nother than an Application or a Combined Work as defined below.\n\nAn \"Application\" is any work that makes use of an interface provided\nby the Library, but which is not otherwise based on the Library.\nDefining a subclass of a class defined by the Library is deemed a mode\nof using an interface provided by the Library.\n\nA \"Combined Work\" is a work produced by combining or linking an\nApplication with the Library. The particular version of the Library\nwith which the Combined Work was made is also called the \"Linked\nVersion\".\n\nThe \"Minimal Corresponding Source\" for a Combined Work means the\nCorresponding Source for the Combined Work, excluding any source code\nfor portions of the Combined Work that, considered in isolation, are\nbased on the Application, and not on the Linked Version.\n\nThe \"Corresponding Application Code\" for a Combined Work means the\nobject code and/or source code for the Application, including any data\nand utility programs needed for reproducing the Combined Work from the\nApplication, but excluding the System Libraries of the Combined Work.\n\n1. Exception to Section 3 of the GNU GPL.\n\nYou may convey a covered work under sections 3 and 4 of this License\nwithout being bound by section 3 of the GNU GPL.\n\n2. Conveying Modified Versions.\n\nIf you modify a copy of the Library, and, in your modifications, a\nfacility refers to a function or data to be supplied by an Application\nthat uses the facility (other than as an argument passed when the\nfacility is invoked), then you may convey a copy of the modified\nversion:\n\na) under this License, provided that you make a good faith effort to\nensure that, in the event an Application does not supply the\nfunction or data, the facility still operates, and performs\nwhatever part of its purpose remains meaningful, or\n\nb) under the GNU GPL, with none of the additional permissions of\nthis License applicable to that copy.\n\n3. Object Code Incorporating Material from Library Header Files.\n\nThe object code form of an Application may incorporate material from\na header file that is part of the Library. You may convey such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial is not limited to numerical parameters, data structure\nlayouts and accessors, or small macros, inline functions and templates\n(ten or fewer lines in length), you do both of the following:\n\na) Give prominent notice with each copy of the object code that the\nLibrary is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the object code with a copy of the GNU GPL and this license\ndocument.\n\n4. Combined Works.\n\nYou may convey a Combined Work under terms of your choice that,\ntaken together, effectively do not restrict modification of the\nportions of the Library contained in the Combined Work and reverse\nengineering for debugging such modifications, if you also do each of\nthe following:\n\na) Give prominent notice with each copy of the Combined Work that\nthe Library is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the Combined Work with a copy of the GNU GPL and this license\ndocument.\n\nc) For a Combined Work that displays copyright notices during\nexecution, include the copyright notice for the Library among\nthese notices, as well as a reference directing the user to the\ncopies of the GNU GPL and this license document.\n\nd) Do one of the following:\n\n0) Convey the Minimal Corresponding Source under the terms of this\nLicense, and the Corresponding Application Code in a form\nsuitable for, and under terms that permit, the user to\nrecombine or relink the Application with a modified version of\nthe Linked Version to produce a modified Combined Work, in the\nmanner specified by section 6 of the GNU GPL for conveying\nCorresponding Source.\n\n1) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (a) uses at run time\na copy of the Library already present on the user's computer\nsystem, and (b) will operate properly with a modified version\nof the Library that is interface-compatible with the Linked\nVersion.\n\ne) Provide Installation Information, but only if you would otherwise\nbe required to provide such information under section 6 of the\nGNU GPL, and only to the extent that such information is\nnecessary to install and execute a modified version of the\nCombined Work produced by recombining or relinking the\nApplication with a modified version of the Linked Version. (If\nyou use option 4d0, the Installation Information must accompany\nthe Minimal Corresponding Source and Corresponding Application\nCode. If you use option 4d1, you must provide the Installation\nInformation in the manner specified by section 6 of the GNU GPL\nfor conveying Corresponding Source.)\n\n5. Combined Libraries.\n\nYou may place library facilities that are a work based on the\nLibrary side by side in a single library together with other library\nfacilities that are not Applications and are not covered by this\nLicense, and convey such a combined library under terms of your\nchoice, if you do both of the following:\n\na) Accompany the combined library with a copy of the same work based\non the Library, uncombined with any other library facilities,\nconveyed under the terms of this License.\n\nb) Give prominent notice with the combined library that part of it\nis a work based on the Library, and explaining where to find the\naccompanying uncombined form of the same work.\n\n6. Revised Versions of the GNU Lesser General Public License.\n\nThe Free Software Foundation may publish revised and/or new versions\nof the GNU Lesser General Public License from time to time. Such new\nversions will be similar in spirit to the present version, but may\ndiffer in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nLibrary as you received it specifies that a certain numbered version\nof the GNU Lesser General Public License \"or any later version\"\napplies to it, you have the option of following the terms and\nconditions either of that published version or of any later version\npublished by the Free Software Foundation. If the Library as you\nreceived it does not specify a version number of the GNU Lesser\nGeneral Public License, you may choose any version of the GNU Lesser\nGeneral Public License ever published by the Free Software Foundation.\n\nIf the Library as you received it specifies that a proxy can decide\nwhether future versions of the GNU Lesser General Public License shall\napply, that proxy's public statement of acceptance of any version is\npermanent authorization for you to choose that version for the\nLibrary." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-postfix", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "postfix service plugin for FusionDirectory\n Postfix service plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-postfix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "lgpl-3.0-plus", + "short_name": "LGPL 3.0 or later", + "name": "GNU Lesser General Public License 3.0 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", + "notes": "Per SPDX.org, this license was released 29 June 2007. This license is OSI\nCertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-3.0-or-later", + "other_spdx_license_keys": [ + "LGPL-3.0+" ], - "datasource_ids": [ - "debian_control_in_source" + "text_urls": [ + "http://www.gnu.org/licenses/lgpl-3.0-standalone.html" ], - "purl": "pkg:deb/fusiondirectory-plugin-postfix?architecture=all" + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-3.0", + "https://opensource.org/licenses/LGPL-3.0", + "https://www.gnu.org/licenses/lgpl+gpl-3.0.txt", + "https://www.gnu.org/licenses/lgpl-3.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 3.0 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n\nThis version of the GNU Lesser General Public License incorporates\nthe terms and conditions of version 3 of the GNU General Public\nLicense, supplemented by the additional permissions listed below.\n\n0. Additional Definitions.\n\nAs used herein, \"this License\" refers to version 3 of the GNU Lesser\nGeneral Public License, and the \"GNU GPL\" refers to version 3 of the GNU\nGeneral Public License.\n\n\"The Library\" refers to a covered work governed by this License,\nother than an Application or a Combined Work as defined below.\n\nAn \"Application\" is any work that makes use of an interface provided\nby the Library, but which is not otherwise based on the Library.\nDefining a subclass of a class defined by the Library is deemed a mode\nof using an interface provided by the Library.\n\nA \"Combined Work\" is a work produced by combining or linking an\nApplication with the Library. The particular version of the Library\nwith which the Combined Work was made is also called the \"Linked\nVersion\".\n\nThe \"Minimal Corresponding Source\" for a Combined Work means the\nCorresponding Source for the Combined Work, excluding any source code\nfor portions of the Combined Work that, considered in isolation, are\nbased on the Application, and not on the Linked Version.\n\nThe \"Corresponding Application Code\" for a Combined Work means the\nobject code and/or source code for the Application, including any data\nand utility programs needed for reproducing the Combined Work from the\nApplication, but excluding the System Libraries of the Combined Work.\n\n1. Exception to Section 3 of the GNU GPL.\n\nYou may convey a covered work under sections 3 and 4 of this License\nwithout being bound by section 3 of the GNU GPL.\n\n2. Conveying Modified Versions.\n\nIf you modify a copy of the Library, and, in your modifications, a\nfacility refers to a function or data to be supplied by an Application\nthat uses the facility (other than as an argument passed when the\nfacility is invoked), then you may convey a copy of the modified\nversion:\n\na) under this License, provided that you make a good faith effort to\nensure that, in the event an Application does not supply the\nfunction or data, the facility still operates, and performs\nwhatever part of its purpose remains meaningful, or\n\nb) under the GNU GPL, with none of the additional permissions of\nthis License applicable to that copy.\n\n3. Object Code Incorporating Material from Library Header Files.\n\nThe object code form of an Application may incorporate material from\na header file that is part of the Library. You may convey such object\ncode under terms of your choice, provided that, if the incorporated\nmaterial is not limited to numerical parameters, data structure\nlayouts and accessors, or small macros, inline functions and templates\n(ten or fewer lines in length), you do both of the following:\n\na) Give prominent notice with each copy of the object code that the\nLibrary is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the object code with a copy of the GNU GPL and this license\ndocument.\n\n4. Combined Works.\n\nYou may convey a Combined Work under terms of your choice that,\ntaken together, effectively do not restrict modification of the\nportions of the Library contained in the Combined Work and reverse\nengineering for debugging such modifications, if you also do each of\nthe following:\n\na) Give prominent notice with each copy of the Combined Work that\nthe Library is used in it and that the Library and its use are\ncovered by this License.\n\nb) Accompany the Combined Work with a copy of the GNU GPL and this license\ndocument.\n\nc) For a Combined Work that displays copyright notices during\nexecution, include the copyright notice for the Library among\nthese notices, as well as a reference directing the user to the\ncopies of the GNU GPL and this license document.\n\nd) Do one of the following:\n\n0) Convey the Minimal Corresponding Source under the terms of this\nLicense, and the Corresponding Application Code in a form\nsuitable for, and under terms that permit, the user to\nrecombine or relink the Application with a modified version of\nthe Linked Version to produce a modified Combined Work, in the\nmanner specified by section 6 of the GNU GPL for conveying\nCorresponding Source.\n\n1) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (a) uses at run time\na copy of the Library already present on the user's computer\nsystem, and (b) will operate properly with a modified version\nof the Library that is interface-compatible with the Linked\nVersion.\n\ne) Provide Installation Information, but only if you would otherwise\nbe required to provide such information under section 6 of the\nGNU GPL, and only to the extent that such information is\nnecessary to install and execute a modified version of the\nCombined Work produced by recombining or relinking the\nApplication with a modified version of the Linked Version. (If\nyou use option 4d0, the Installation Information must accompany\nthe Minimal Corresponding Source and Corresponding Application\nCode. If you use option 4d1, you must provide the Installation\nInformation in the manner specified by section 6 of the GNU GPL\nfor conveying Corresponding Source.)\n\n5. Combined Libraries.\n\nYou may place library facilities that are a work based on the\nLibrary side by side in a single library together with other library\nfacilities that are not Applications and are not covered by this\nLicense, and convey such a combined library under terms of your\nchoice, if you do both of the following:\n\na) Accompany the combined library with a copy of the same work based\non the Library, uncombined with any other library facilities,\nconveyed under the terms of this License.\n\nb) Give prominent notice with the combined library that part of it\nis a work based on the Library, and explaining where to find the\naccompanying uncombined form of the same work.\n\n6. Revised Versions of the GNU Lesser General Public License.\n\nThe Free Software Foundation may publish revised and/or new versions\nof the GNU Lesser General Public License from time to time. Such new\nversions will be similar in spirit to the present version, but may\ndiffer in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nLibrary as you received it specifies that a certain numbered version\nof the GNU Lesser General Public License \"or any later version\"\napplies to it, you have the option of following the terms and\nconditions either of that published version or of any later version\npublished by the Free Software Foundation. If the Library as you\nreceived it does not specify a version number of the GNU Lesser\nGeneral Public License, you may choose any version of the GNU Lesser\nGeneral Public License ever published by the Free Software Foundation.\n\nIf the Library as you received it specifies that a proxy can decide\nwhether future versions of the GNU Lesser General Public License shall\napply, that proxy's public statement of acceptance of any version is\npermanent authorization for you to choose that version for the\nLibrary." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-postfix-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory postfix plugin\n This package includes the LDAP schema needed by the FusionDirectory\n postfix plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-postfix-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "mit", + "short_name": "MIT License", + "name": "MIT License", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://opensource.org/licenses/mit-license.php", + "notes": "Per SPDX.org, this license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "MIT", + "text_urls": [ + "http://opensource.org/licenses/mit-license.php" ], - "datasource_ids": [ - "debian_control_in_source" + "osi_url": "http://www.opensource.org/licenses/MIT", + "faq_url": "https://ieeexplore.ieee.org/document/9263265", + "other_urls": [ + "https://opensource.com/article/18/3/patent-grant-mit-license", + "https://opensource.com/article/19/4/history-mit-license", + "https://opensource.org/licenses/MIT" ], - "purl": "pkg:deb/fusiondirectory-plugin-postfix-schema?architecture=all" + "text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-ppolicy", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "ppolicy overlay module plugin for FusionDirectory\n Manage the LDAP ppolicy overlay via FusionDirectory. Ppolicy provides enhanced\n password management capabilities that are applied to non-rootdn bind attempts\n in OpenLDAP.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ppolicy?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "key": "other-permissive", + "short_name": "Other Permissive Licenses", + "name": "Other Permissive Licenses", + "category": "Permissive", + "owner": "nexB", + "notes": "this is a catch all and ellipsis to deal with some cases when a large\nnumber of ancillary yet similar licenses may be reported as one.\n", + "is_builtin": true, + "is_generic": true, + "spdx_license_key": "LicenseRef-scancode-other-permissive", + "text": "This component contains multiple third-party subcomponents licensed\nunder permissive licenses in the style of MIT, BSD, X11, and/or Apache." + }, + { + "key": "public-domain", + "short_name": "Public Domain", + "name": "Public Domain", + "category": "Public Domain", + "owner": "Unspecified", + "homepage_url": "http://www.linfo.org/publicdomain.html", + "is_builtin": true, + "is_generic": true, + "spdx_license_key": "LicenseRef-scancode-public-domain", + "other_spdx_license_keys": [ + "LicenseRef-PublicDomain" ], - "datasource_ids": [ - "debian_control_in_source" + "faq_url": "http://www.linfo.org/publicdomain.html", + "other_urls": [ + "http://creativecommons.org/licenses/publicdomain/", + "http://en.wikipedia.org/wiki/Public_domain", + "http://www.linfo.org/publicdomain.html" ], - "purl": "pkg:deb/fusiondirectory-plugin-ppolicy?architecture=all" + "text": "" + } + ], + "license_rule_references": [ + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_2.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_195.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-ppolicy-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory ppolicy Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ppolicy Plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ppolicy-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-ppolicy-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-puppet", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "Puppet plugin for FusionDirectory\n Simple puppet plugin for FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-puppet?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-puppet?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-puppet-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory puppet Plugin\n This package includes the LDAP schema needed by the FusionDirectory\n Puppet Plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user\n web interface, designed to handle LDAP-based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-puppet-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-puppet-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-pureftpd", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "pureftpd plugin for FusionDirectory\n PureFTPD plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-pureftpd?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_1066.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 30, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" ], - "purl": "pkg:deb/fusiondirectory-plugin-pureftpd?architecture=all" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-pureftpd-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory pureftpd plugin\n This package includes the LDAP schema needed by the FusionDirectory\n pureftpd plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-pureftpd-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-pureftpd-schema?architecture=all" + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_166.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-quota", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "quota plugin for FusionDirectory\n Linux Quota plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-quota?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-quota?architecture=all" + "license_expression": "public-domain", + "rule_identifier": "pypi_public_domain.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 99 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-quota-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory quota plugin\n This package includes the LDAP schema needed by the FusionDirectory\n quota plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-quota-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-quota-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_67.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-renater-partage", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "Renater partage integration plugin for FusionDirectory\n Renater partage plugin for https://partage.renater.fr/\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-renater-partage?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-renater-partage?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-renater-partage-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory renater partage plugin\n This package includes the LDAP schema needed by the FusionDirectory\n renater partage plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-renater-partage-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-renater-partage-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-repository", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "repository plugin for FusionDirectory\n Repository plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-repository?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-repository?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-repository-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory repository plugin\n This package includes the LDAP schema needed by the FusionDirectory\n repository plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-repository-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-repository-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-samba", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "samba3 plugin for FusionDirectory\n Plugin for Samba 3 management.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-samba?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-samba?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-samba-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory samba plugin\n This package includes the LDAP schema needed by the FusionDirectory\n samba plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-samba-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-samba-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-sogo", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "SOGo plugin for FusionDirectory\n SOGo resource management plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-sogo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-sogo?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-sogo-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory SOgo plugin\n This package includes the LDAP schemas needed by the FusionDirectory\n SOGo plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-sogo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-sogo-schema?architecture=all" + "license_expression": "bsd-original", + "rule_identifier": "bsd-original_43.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-spamassassin", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "spamassassin plugin for FusionDirectory\n spamassassin plugin\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-spamassassin?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-spamassassin?architecture=all" + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_89.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-spamassassin-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory spamassassin plugin\n This package includes the LDAP schema needed by the FusionDirectory\n spamassassin plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-spamassassin-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-spamassassin-schema?architecture=all" + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_64.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-squid", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "squid plugin for FusionDirectory\n Squid plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-squid?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-squid?architecture=all" + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-squid-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory squid plugin\n This package includes the LDAP schema needed by the FusionDirectory\n squid plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-squid-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-squid-schema?architecture=all" + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_10.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-ssh", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "ssh plugin for FusionDirectory\n SSH key management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ssh?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" + "license_expression": "bsd-original", + "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_22.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_1038.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/GPL-2" ], - "purl": "pkg:deb/fusiondirectory-plugin-ssh?architecture=all" + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 136, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_92.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-ssh-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory ssh plugin\n This package includes the LDAP schema needed by the FusionDirectory\n ssh plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-ssh-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_512.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/GPL-3" ], - "purl": "pkg:deb/fusiondirectory-plugin-ssh-schema?architecture=all" + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 136, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-subcontracting", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "subcontracting plugin for FusionDirectory\n This package includes the subcontracting plugin for FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-subcontracting?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-subcontracting?architecture=all" + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_108.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-subcontracting-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory subcontracting plugin\n This package includes the LDAP schema needed by the FusionDirectory\n subcontracting plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-subcontracting-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_418.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/LGPL-2.1" ], - "datasource_ids": [ - "debian_control_in_source" + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 146, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit_437.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_195.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_577.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 213, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-original", + "rule_identifier": "bsd-original_43.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-original", + "rule_identifier": "bsd-original_71.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 236, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_166.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_189.RULE", + "referenced_filenames": [ + "/usr/share/common-licenses/LGPL-3" ], - "purl": "pkg:deb/fusiondirectory-plugin-subcontracting-schema?architecture=all" + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 105, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-sudo", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "sudo plugin for FusionDirectory\n Sudo management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-sudo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-sudo?architecture=all" + "license_expression": "public-domain", + "rule_identifier": "pypi_public_domain.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 99 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-sudo-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory sudo plugin\n This package includes the LDAP schema needed by the FusionDirectory\n sudo plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-sudo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-sudo-schema?architecture=all" + "license_expression": "other-permissive", + "rule_identifier": "other-permissive_325.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 40, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-supann", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "supann plugin for FusionDirectory\n Supann management plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-supann?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-supann?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-supann-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory supann plugin\n This package includes the LDAP schema needed by the FusionDirectory\n supann plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-supann-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-supann-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-sympa", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "sympa plugin for FusionDirectory\n This plugin is designed to configure basic sympa lists.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-sympa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-sympa?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-sympa-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory sympa plugin\n This package includes the LDAP schema needed by the FusionDirectory\n sympa plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-sympa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-sympa-schema?architecture=all" + "license_expression": "bsd-simplified", + "rule_identifier": "bsd-simplified_136.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-systems", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "systems plugin for FusionDirectory\n Systems management base plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-systems?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-systems?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-systems-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory systems plugin\n This package includes the LDAP schema needed by the FusionDirectory\n systems plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-systems-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-systems-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_37.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-user-reminder", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "user reminder plugin for FusionDirectory\n The user reminder plugin allows you to configure a reminder for expiring\n account to ask user if they want to keep the account open or not.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-user-reminder?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-user-reminder?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-user-reminder-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory user reminder plugin\n This package includes the LDAP schema needed by the FusionDirectory\n user-reminder plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-user-reminder-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-user-reminder-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-weblink", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "weblink plugin for FusionDirectory\n The weblink plugin allows you to add a link to systems pointing\n to their web interface.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-weblink?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-weblink?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-weblink-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory weblink plugin\n This package includes the LDAP schema needed by the FusionDirectory\n weblink plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-weblink-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-weblink-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-webservice", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "webservice plugin for FusionDirectory\n This plugin is designed to manage FusionDirectory with a webservice.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-webservice?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-webservice?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-plugin-webservice-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "schema for the webservice plugin for FusionDirectory\n This package includes the LDAP schema needed by the FusionDirectory\n webservice plugin.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-plugin-webservice-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-plugin-webservice-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-schema", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "LDAP schema for FusionDirectory\n This package includes the basics LDAP schemas needed by FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-schema?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-smarty3-acl-render", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "Provide FusionDirectory ACL based rendering for Smarty3\n This package provides acl based rendering support for Smarty3,\n the popular PHP templating engine (http://smarty.php.net/). This\n module is mainly used by FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based network infrastructures.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-smarty3-acl-render?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-smarty3-acl-render?architecture=all" + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_687.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "mit_221.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 90 + }, + { + "license_expression": "other-permissive", + "rule_identifier": "other-permissive_16.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-theme-oxygen", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "Icon theme Oxygen for FusionDirectory\n This package makes Oxygen icon theme available in FusionDirectory.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" - ], - "datasource_ids": [ - "debian_control_in_source" - ], - "purl": "pkg:deb/fusiondirectory-theme-oxygen?architecture=all" + "license_expression": "public-domain", + "rule_identifier": "pypi_public_domain.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 99 }, { - "type": "deb", - "namespace": null, - "name": "fusiondirectory-webservice-shell", - "version": null, - "qualifiers": { - "architecture": "all" - }, - "subpath": null, - "primary_language": null, - "description": "webservice shell for FusionDirectory\n This is the conmand line shell for the FusionDirectory with a webservice.\n .\n FusionDirectory is a combination of system-administrator and end-user web\n interface, designed to handle LDAP based setups.", - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "debian/control" + "license_expression": "bsd-original", + "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_bare_word_only.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 50 + }, + { + "license_expression": "borceux", + "rule_identifier": "borceux.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" ], - "datasource_ids": [ - "debian_control_in_source" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_1.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" ], - "purl": "pkg:deb/fusiondirectory-webservice-shell?architecture=all" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 11, + "rule_relevance": 100 } ], "files": [ { "path": "debian", "type": "directory", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -6843,17 +6837,17 @@ "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758" ], - "scan_errors": [] - }, - { - "path": "debian/README.Debian", - "type": "file", "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], + "scan_errors": [] + }, + { + "path": "debian/README.Debian", + "type": "file", "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -6956,32 +6950,17 @@ "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_license_detections": [], "scan_errors": [] }, { "path": "debian/README.multi-orig-tarball-package", "type": "file", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [ - { - "score": 4.71, - "start_line": 1, - "end_line": 3, - "matched_length": 4, - "match_coverage": 4.71, - "matcher": "3-seq", - "license_expression": "borceux", - "rule_identifier": "borceux.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/borceux.LICENSE", - "matched_text": "package consists of [various] [tarballs].\n\n[This] README" - } - ], - "percentage_of_license_text": 10.53, - "for_license_detections": [ - "none#36666984-5064-88c2-90a6-dc14744d84f0" - ], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -7084,17 +7063,32 @@ "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [ + { + "score": 4.71, + "start_line": 1, + "end_line": 3, + "matched_length": 4, + "match_coverage": 4.71, + "matcher": "3-seq", + "license_expression": "borceux", + "rule_identifier": "borceux.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/borceux.LICENSE", + "matched_text": "package consists of [various] [tarballs].\n\n[This] README" + } + ], + "percentage_of_license_text": 10.53, + "for_license_detections": [ + "none-36666984-5064-88c2-90a6-dc14744d84f0" + ], "scan_errors": [] }, { "path": "debian/changelog", "type": "file", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -7197,17 +7191,17 @@ "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758" ], - "scan_errors": [] - }, - { - "path": "debian/control", - "type": "file", "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], + "scan_errors": [] + }, + { + "path": "debian/control", + "type": "file", "package_data": [ { "type": "deb", @@ -13126,11 +13120,119 @@ "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758" ], - "scan_errors": [] - }, - { - "path": "debian/copyright", - "type": "file", + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_license_detections": [], + "scan_errors": [] + }, + { + "path": "debian/copyright", + "type": "file", + "package_data": [], + "for_packages": [ + "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-alias?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-alias-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-applications?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-applications-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-argonaut?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-argonaut-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-audit?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-audit-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-autofs?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-autofs-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-certificates?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-community?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-community-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-cyrus?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-cyrus-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-debconf?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-debconf-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-developers?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dhcp?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dhcp-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dns?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dns-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dovecot?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dovecot-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dsa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-dsa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ejbca?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ejbca-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-fai?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-fai-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-freeradius?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-freeradius-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-fusioninventory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-fusioninventory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-gpg?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-gpg-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ipmi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ipmi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ldapdump?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ldapmanager?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-mail?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-mail-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-mixedgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-nagios?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-nagios-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-netgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-netgroups-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-newsletter?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-newsletter-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-opsi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-opsi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-personal?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-personal-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-posix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-postfix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-postfix-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ppolicy?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ppolicy-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-puppet?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-puppet-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-pureftpd?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-pureftpd-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-quota?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-quota-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-renater-partage?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-renater-partage-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-repository?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-repository-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-samba?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-samba-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-sogo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-sogo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-spamassassin?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-spamassassin-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-squid?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-squid-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ssh?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-ssh-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-subcontracting?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-subcontracting-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-sudo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-sudo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-supann?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-supann-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-sympa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-sympa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-systems?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-systems-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-user-reminder?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-user-reminder-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-weblink?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-weblink-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-webservice?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-plugin-webservice-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-smarty3-acl-render?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", + "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "gpl-2.0-plus AND (gpl-2.0-plus AND free-unknown) AND bsd-new AND (apache-2.0 AND gpl-2.0-plus AND free-unknown) AND lgpl-3.0-plus AND public-domain AND mit AND bsd-original AND (gpl-2.0-plus AND gpl-3.0-plus AND lgpl-2.1-plus AND lgpl-3.0-plus AND bsd-new AND bsd-original AND mit AND public-domain AND other-permissive)", "detected_license_expression_spdx": "GPL-2.0-or-later AND (GPL-2.0-or-later AND LicenseRef-scancode-free-unknown) AND BSD-3-Clause AND (Apache-2.0 AND GPL-2.0-or-later AND LicenseRef-scancode-free-unknown) AND LGPL-3.0-or-later AND LicenseRef-scancode-public-domain AND MIT AND BSD-4-Clause AND (GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later AND BSD-3-Clause AND BSD-4-Clause AND MIT AND LicenseRef-scancode-public-domain AND LicenseRef-scancode-other-permissive)", "license_detections": [ @@ -14083,39 +14185,44 @@ "license_clues": [], "percentage_of_license_text": 11.24, "for_license_detections": [ - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus#07d990a9-4b75-141e-1214-8f9a6baca3f6", - "gpl_2_0_plus_and_free_unknown#0667fcba-0434-a8b0-c381-d21e497f339e", - "bsd_new#5e7cf470-62b4-d7f2-403b-32e360af9959", - "apache_2_0_and_gpl_2_0_plus_and_free_unknown#8f13c053-ee2e-fbc9-00bd-94342ccaca54", - "lgpl_3_0_plus#436a53e8-cee5-a1a3-1a63-23f72b7ecff8", - "public_domain#bd9559dd-d998-d270-8750-8a6673b7e089", - "gpl_2_0_plus#5b77229a-4d7f-8d90-8406-e2f0bbefad2f", - "mit#c653439c-e276-d2c2-c877-f4cf44461425", - "mit#c653439c-e276-d2c2-c877-f4cf44461425", - "mit#c653439c-e276-d2c2-c877-f4cf44461425", - "bsd_original#98ef120f-3326-ab2a-1549-8e606ef5d913", - "gpl_2_0_plus_and_gpl_3_0_plus_and_lgpl_2_1_plus_and_lgpl_3_0_plus_and_bsd_new_and_bsd_original_and_mit_and_public_domain_and_other_permissive#3f66e975-1f1b-f709-e7a9-03ce0158276e" + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus-07d990a9-4b75-141e-1214-8f9a6baca3f6", + "gpl_2_0_plus_and_free_unknown-0667fcba-0434-a8b0-c381-d21e497f339e", + "bsd_new-5e7cf470-62b4-d7f2-403b-32e360af9959", + "apache_2_0_and_gpl_2_0_plus_and_free_unknown-8f13c053-ee2e-fbc9-00bd-94342ccaca54", + "lgpl_3_0_plus-436a53e8-cee5-a1a3-1a63-23f72b7ecff8", + "public_domain-bd9559dd-d998-d270-8750-8a6673b7e089", + "gpl_2_0_plus-5b77229a-4d7f-8d90-8406-e2f0bbefad2f", + "mit-c653439c-e276-d2c2-c877-f4cf44461425", + "mit-c653439c-e276-d2c2-c877-f4cf44461425", + "mit-c653439c-e276-d2c2-c877-f4cf44461425", + "bsd_original-98ef120f-3326-ab2a-1549-8e606ef5d913", + "gpl_2_0_plus_and_gpl_3_0_plus_and_lgpl_2_1_plus_and_lgpl_3_0_plus_and_bsd_new_and_bsd_original_and_mit_and_public_domain_and_other_permissive-3f66e975-1f1b-f709-e7a9-03ce0158276e" ], + "scan_errors": [] + }, + { + "path": "debian/copyright.in", + "type": "file", "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -14218,11 +14325,6 @@ "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758" ], - "scan_errors": [] - }, - { - "path": "debian/copyright.in", - "type": "file", "detected_license_expression": "gpl-2.0-plus AND bsd-simplified AND lgpl-3.0 AND (mit AND other-permissive) AND (public-domain AND bsd-original AND gpl-1.0-plus)", "detected_license_expression_spdx": "GPL-2.0-or-later AND BSD-2-Clause AND LGPL-3.0-only AND (MIT AND LicenseRef-scancode-other-permissive) AND (LicenseRef-scancode-public-domain AND BSD-4-Clause AND GPL-1.0-or-later)", "license_detections": [ @@ -14789,33 +14891,38 @@ "license_clues": [], "percentage_of_license_text": 0.66, "for_license_detections": [ - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "gpl_2_0_plus#7a7f220c-2737-f01f-ae6d-996a8265fe35", - "bsd_simplified#6d9cdb91-f72a-e66d-131a-5df68f4b8dbe", - "lgpl_3_0#96ffe1b7-0393-b4ce-7307-8ea9f7b6a926", - "mit_and_other_permissive#2fcd3356-800d-11d7-c648-c983d7089c6f", - "public_domain_and_bsd_original_and_gpl_1_0_plus#97b7b447-cbd8-46bc-d573-acd1c32c3e4d" + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "gpl_2_0_plus-7a7f220c-2737-f01f-ae6d-996a8265fe35", + "bsd_simplified-6d9cdb91-f72a-e66d-131a-5df68f4b8dbe", + "lgpl_3_0-96ffe1b7-0393-b4ce-7307-8ea9f7b6a926", + "mit_and_other_permissive-2fcd3356-800d-11d7-c648-c983d7089c6f", + "public_domain_and_bsd_original_and_gpl_1_0_plus-97b7b447-cbd8-46bc-d573-acd1c32c3e4d" ], + "scan_errors": [] + }, + { + "path": "debian/po", + "type": "directory", "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -14918,17 +15025,17 @@ "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758" ], - "scan_errors": [] - }, - { - "path": "debian/po", - "type": "directory", "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], + "scan_errors": [] + }, + { + "path": "debian/po/de.po", + "type": "file", "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -15031,11 +15138,6 @@ "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758" ], - "scan_errors": [] - }, - { - "path": "debian/po/de.po", - "type": "file", "detected_license_expression": "free-unknown", "detected_license_expression_spdx": "LicenseRef-scancode-free-unknown", "license_detections": [ @@ -15063,8 +15165,13 @@ "license_clues": [], "percentage_of_license_text": 2.39, "for_license_detections": [ - "free_unknown#142f3261-5728-9933-74c7-7e8aa278ff6d" + "free_unknown-142f3261-5728-9933-74c7-7e8aa278ff6d" ], + "scan_errors": [] + }, + { + "path": "debian/po/fr.po", + "type": "file", "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -15167,11 +15274,6 @@ "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758" ], - "scan_errors": [] - }, - { - "path": "debian/po/fr.po", - "type": "file", "detected_license_expression": "free-unknown", "detected_license_expression_spdx": "LicenseRef-scancode-free-unknown", "license_detections": [ @@ -15199,8 +15301,13 @@ "license_clues": [], "percentage_of_license_text": 2.48, "for_license_detections": [ - "free_unknown#b311c6a4-90ca-420f-ddb7-53c164b9bf65" + "free_unknown-b311c6a4-90ca-420f-ddb7-53c164b9bf65" ], + "scan_errors": [] + }, + { + "path": "debian/templates", + "type": "file", "package_data": [], "for_packages": [ "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", @@ -15303,119 +15410,12 @@ "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758" ], - "scan_errors": [] - }, - { - "path": "debian/templates", - "type": "file", "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:deb/fusiondirectory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-alias?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-alias-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-applications?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-applications-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-argonaut?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-argonaut-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-audit?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-audit-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-autofs?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-autofs-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-certificates?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-community?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-community-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-cyrus?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-cyrus-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-debconf?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-debconf-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-developers?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dhcp?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dhcp-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dns?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dns-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dovecot?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dovecot-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dsa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-dsa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ejbca?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ejbca-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-fai?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-fai-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-freeradius?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-freeradius-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-fusioninventory?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-fusioninventory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-gpg?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-gpg-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ipmi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ipmi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ldapdump?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ldapmanager?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-mail?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-mail-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-mixedgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-nagios?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-nagios-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-netgroups?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-netgroups-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-newsletter?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-newsletter-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-opsi?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-opsi-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-personal?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-personal-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-posix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-postfix?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-postfix-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ppolicy?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ppolicy-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-puppet?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-puppet-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-pureftpd?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-pureftpd-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-quota?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-quota-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-renater-partage?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-renater-partage-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-repository?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-repository-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-samba?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-samba-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-sogo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-sogo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-spamassassin?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-spamassassin-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-squid?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-squid-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ssh?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-ssh-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-subcontracting?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-subcontracting-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-sudo?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-sudo-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-supann?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-supann-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-sympa?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-sympa-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-systems?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-systems-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-user-reminder?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-user-reminder-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-weblink?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-weblink-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-webservice?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-plugin-webservice-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-schema?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-smarty3-acl-render?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-theme-oxygen?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758", - "pkg:deb/fusiondirectory-webservice-shell?architecture=all&uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] } ] diff --git a/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json index 8f7795b73b2..0bff8d167e0 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json @@ -1,9 +1,192 @@ { + "packages": [ + { + "type": "pypi", + "namespace": null, + "name": "Django", + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "A high-level Python Web framework that encourages rapid development and clean, pragmatic design.", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Django Software Foundation", + "email": "foundation@djangoproject.com", + "url": null + } + ], + "keywords": [ + "Development Status :: 5 - Production/Stable", + "Environment :: Web Environment", + "Framework :: Django", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Topic :: Internet :: WWW/HTTP", + "Topic :: Internet :: WWW/HTTP :: Dynamic Content", + "Topic :: Internet :: WWW/HTTP :: WSGI", + "Topic :: Software Development :: Libraries :: Application Frameworks", + "Topic :: Software Development :: Libraries :: Python Modules" + ], + "homepage_url": "http://www.djangoproject.com/", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "bsd-new", + "declared_license_expression_spdx": "BSD-3-Clause", + "license_detections": [ + { + "license_expression": "bsd-new", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", + "notice_text": null, + "source_packages": [], + "extra_data": { + "Download-URL": "http://media.djangoproject.com/releases/1.2/Django-1.2.5.tar.gz" + }, + "repository_homepage_url": "https://pypi.org/project/Django", + "repository_download_url": null, + "api_data_url": "https://pypi.org/pypi/Django/json", + "package_uid": "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "django-1.2/setup.py" + ], + "datasource_ids": [ + "pypi_setup_py" + ], + "purl": "pkg:pypi/django" + }, + { + "type": "pypi", + "namespace": null, + "name": "Django", + "version": "1.3.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "A high-level Python Web framework that encourages rapid development and clean, pragmatic design.\nUNKNOWN", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Django Software Foundation", + "email": "foundation@djangoproject.com", + "url": null + } + ], + "keywords": [ + "Development Status :: 5 - Production/Stable", + "Environment :: Web Environment", + "Framework :: Django", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 2.4", + "Programming Language :: Python :: 2.5", + "Programming Language :: Python :: 2.6", + "Programming Language :: Python :: 2.7", + "Topic :: Internet :: WWW/HTTP", + "Topic :: Internet :: WWW/HTTP :: Dynamic Content", + "Topic :: Internet :: WWW/HTTP :: WSGI", + "Topic :: Software Development :: Libraries :: Application Frameworks", + "Topic :: Software Development :: Libraries :: Python Modules" + ], + "homepage_url": "http://www.djangoproject.com/", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "bsd-new", + "declared_license_expression_spdx": "BSD-3-Clause", + "license_detections": [ + { + "license_expression": "bsd-new", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "['License :: OSI Approved :: BSD License']" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", + "notice_text": null, + "source_packages": [], + "extra_data": { + "Download-URL": "http://media.djangoproject.com/releases/1.3/Django-1.3.1.tar.gz" + }, + "repository_homepage_url": "https://pypi.org/project/Django", + "repository_download_url": "https://pypi.org/packages/source/D/Django/Django-1.3.1.tar.gz", + "api_data_url": "https://pypi.org/pypi/Django/1.3.1/json", + "package_uid": "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "django-1.3/PKG-INFO" + ], + "datasource_ids": [ + "pypi_sdist_pkginfo" + ], + "purl": "pkg:pypi/django@1.3.1" + } + ], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0_and_cc_by_nc_nd_3_0_and_other_permissive_and_proprietary_license#b485fded-3ae7-7c49-8be0-c042c4a4747f", + "identifier": "apache_2_0_and_cc_by_nc_nd_3_0_and_other_permissive_and_proprietary_license-b485fded-3ae7-7c49-8be0-c042c4a4747f", "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -22,9 +205,9 @@ ] }, { - "identifier": "bsd_new#8b191dea-30ee-8738-fab1-2c6dbb5d65c2", + "identifier": "bsd_new-8b191dea-30ee-8738-fab1-2c6dbb5d65c2", "license_expression": "bsd-new", - "occurrence_count": 3, + "count": 3, "detection_log": [ "not-combined" ], @@ -43,11 +226,11 @@ ] }, { - "identifier": "free_unknown#76b09250-6936-6da3-664b-6d5d81de9c95", - "license_expression": "free-unknown", - "occurrence_count": 5, + "identifier": "bsd_new-160212b1-1610-6067-fa3b-f49f5e298936", + "license_expression": "bsd-new", + "count": 5, "detection_log": [ - "not-combined" + "unknown-reference-in-file-to-package" ], "matches": [ { @@ -60,15 +243,26 @@ "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_3.RULE", "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE" + }, + { + "score": 99.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] }, { - "identifier": "free_unknown#2d67622f-a7b6-912c-ca85-160b760f0d8b", - "license_expression": "free-unknown", - "occurrence_count": 2, + "identifier": "bsd_new-b8c1570e-67d2-5741-5f6c-4ed307fe484b", + "license_expression": "bsd-new", + "count": 2, "detection_log": [ - "not-combined" + "unknown-reference-in-file-to-package" ], "matches": [ { @@ -81,13 +275,24 @@ "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + }, + { + "score": 99.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE" } ] }, { - "identifier": "bsd_new#0aac815c-f1e3-cc4b-b498-7a01e6cac393", + "identifier": "bsd_new-0aac815c-f1e3-cc4b-b498-7a01e6cac393", "license_expression": "bsd-new", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -175,18 +380,6 @@ ], "text": "Creative Commons Legal Code\n\nAttribution-NonCommercial-NoDerivs 3.0 Unported\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR\nDAMAGES RESULTING FROM ITS USE.\n\nLicense\n\nTHE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE\nCOMMONS PUBLIC LICENSE (\"CCPL\" OR \"LICENSE\"). THE WORK IS PROTECTED BY\nCOPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS\nAUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE\nTO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY\nBE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS\nCONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND\nCONDITIONS.\n\n1. Definitions\n\na. \"Adaptation\" means a work based upon the Work, or upon the Work and\nother pre-existing works, such as a translation, adaptation,\nderivative work, arrangement of music or other alterations of a\nliterary or artistic work, or phonogram or performance and includes\ncinematographic adaptations or any other form in which the Work may be\nrecast, transformed, or adapted including in any form recognizably\nderived from the original, except that a work that constitutes a\nCollection will not be considered an Adaptation for the purpose of\nthis License. For the avoidance of doubt, where the Work is a musical\nwork, performance or phonogram, the synchronization of the Work in\ntimed-relation with a moving image (\"synching\") will be considered an\nAdaptation for the purpose of this License.\nb. \"Collection\" means a collection of literary or artistic works, such as\nencyclopedias and anthologies, or performances, phonograms or\nbroadcasts, or other works or subject matter other than works listed\nin Section 1(f) below, which, by reason of the selection and\narrangement of their contents, constitute intellectual creations, in\nwhich the Work is included in its entirety in unmodified form along\nwith one or more other contributions, each constituting separate and\nindependent works in themselves, which together are assembled into a\ncollective whole. A work that constitutes a Collection will not be\nconsidered an Adaptation (as defined above) for the purposes of this\nLicense.\nc. \"Distribute\" means to make available to the public the original and\ncopies of the Work through sale or other transfer of ownership.\nd. \"Licensor\" means the individual, individuals, entity or entities that\noffer(s) the Work under the terms of this License.\ne. \"Original Author\" means, in the case of a literary or artistic work,\nthe individual, individuals, entity or entities who created the Work\nor if no individual or entity can be identified, the publisher; and in\naddition (i) in the case of a performance the actors, singers,\nmusicians, dancers, and other persons who act, sing, deliver, declaim,\nplay in, interpret or otherwise perform literary or artistic works or\nexpressions of folklore; (ii) in the case of a phonogram the producer\nbeing the person or legal entity who first fixes the sounds of a\nperformance or other sounds; and, (iii) in the case of broadcasts, the\norganization that transmits the broadcast.\nf. \"Work\" means the literary and/or artistic work offered under the terms\nof this License including without limitation any production in the\nliterary, scientific and artistic domain, whatever may be the mode or\nform of its expression including digital form, such as a book,\npamphlet and other writing; a lecture, address, sermon or other work\nof the same nature; a dramatic or dramatico-musical work; a\nchoreographic work or entertainment in dumb show; a musical\ncomposition with or without words; a cinematographic work to which are\nassimilated works expressed by a process analogous to cinematography;\na work of drawing, painting, architecture, sculpture, engraving or\nlithography; a photographic work to which are assimilated works\nexpressed by a process analogous to photography; a work of applied\nart; an illustration, map, plan, sketch or three-dimensional work\nrelative to geography, topography, architecture or science; a\nperformance; a broadcast; a phonogram; a compilation of data to the\nextent it is protected as a copyrightable work; or a work performed by\na variety or circus performer to the extent it is not otherwise\nconsidered a literary or artistic work.\ng. \"You\" means an individual or entity exercising rights under this\nLicense who has not previously violated the terms of this License with\nrespect to the Work, or who has received express permission from the\nLicensor to exercise rights under this License despite a previous\nviolation.\nh. \"Publicly Perform\" means to perform public recitations of the Work and\nto communicate to the public those public recitations, by any means or\nprocess, including by wire or wireless means or public digital\nperformances; to make available to the public Works in such a way that\nmembers of the public may access these Works from a place and at a\nplace individually chosen by them; to perform the Work to the public\nby any means or process and the communication to the public of the\nperformances of the Work, including by public digital performance; to\nbroadcast and rebroadcast the Work by any means including signs,\nsounds or images.\ni. \"Reproduce\" means to make copies of the Work by any means including\nwithout limitation by sound or visual recordings and the right of\nfixation and reproducing fixations of the Work, including storage of a\nprotected performance or phonogram in digital form or other electronic\nmedium.\n\n2. Fair Dealing Rights. Nothing in this License is intended to reduce,\nlimit, or restrict any uses free from copyright or rights arising from\nlimitations or exceptions that are provided for in connection with the\ncopyright protection under copyright law or other applicable laws.\n\n3. License Grant. Subject to the terms and conditions of this License,\nLicensor hereby grants You a worldwide, royalty-free, non-exclusive,\nperpetual (for the duration of the applicable copyright) license to\nexercise the rights in the Work as stated below:\n\na. to Reproduce the Work, to incorporate the Work into one or more\nCollections, and to Reproduce the Work as incorporated in the\nCollections; and,\nb. to Distribute and Publicly Perform the Work including as incorporated\nin Collections.\n\nThe above rights may be exercised in all media and formats whether now\nknown or hereafter devised. The above rights include the right to make\nsuch modifications as are technically necessary to exercise the rights in\nother media and formats, but otherwise you have no rights to make\nAdaptations. Subject to 8(f), all rights not expressly granted by Licensor\nare hereby reserved, including but not limited to the rights set forth in\nSection 4(d).\n\n4. Restrictions. The license granted in Section 3 above is expressly made\nsubject to and limited by the following restrictions:\n\na. You may Distribute or Publicly Perform the Work only under the terms\nof this License. You must include a copy of, or the Uniform Resource\nIdentifier (URI) for, this License with every copy of the Work You\nDistribute or Publicly Perform. You may not offer or impose any terms\non the Work that restrict the terms of this License or the ability of\nthe recipient of the Work to exercise the rights granted to that\nrecipient under the terms of the License. You may not sublicense the\nWork. You must keep intact all notices that refer to this License and\nto the disclaimer of warranties with every copy of the Work You\nDistribute or Publicly Perform. When You Distribute or Publicly\nPerform the Work, You may not impose any effective technological\nmeasures on the Work that restrict the ability of a recipient of the\nWork from You to exercise the rights granted to that recipient under\nthe terms of the License. This Section 4(a) applies to the Work as\nincorporated in a Collection, but this does not require the Collection\napart from the Work itself to be made subject to the terms of this\nLicense. If You create a Collection, upon notice from any Licensor You\nmust, to the extent practicable, remove from the Collection any credit\nas required by Section 4(c), as requested.\nb. You may not exercise any of the rights granted to You in Section 3\nabove in any manner that is primarily intended for or directed toward\ncommercial advantage or private monetary compensation. The exchange of\nthe Work for other copyrighted works by means of digital file-sharing\nor otherwise shall not be considered to be intended for or directed\ntoward commercial advantage or private monetary compensation, provided\nthere is no payment of any monetary compensation in connection with\nthe exchange of copyrighted works.\nc. If You Distribute, or Publicly Perform the Work or Collections, You\nmust, unless a request has been made pursuant to Section 4(a), keep\nintact all copyright notices for the Work and provide, reasonable to\nthe medium or means You are utilizing: (i) the name of the Original\nAuthor (or pseudonym, if applicable) if supplied, and/or if the\nOriginal Author and/or Licensor designate another party or parties\n(e.g., a sponsor institute, publishing entity, journal) for\nattribution (\"Attribution Parties\") in Licensor's copyright notice,\nterms of service or by other reasonable means, the name of such party\nor parties; (ii) the title of the Work if supplied; (iii) to the\nextent reasonably practicable, the URI, if any, that Licensor\nspecifies to be associated with the Work, unless such URI does not\nrefer to the copyright notice or licensing information for the Work.\nThe credit required by this Section 4(c) may be implemented in any\nreasonable manner; provided, however, that in the case of a\nCollection, at a minimum such credit will appear, if a credit for all\ncontributing authors of Collection appears, then as part of these\ncredits and in a manner at least as prominent as the credits for the\nother contributing authors. For the avoidance of doubt, You may only\nuse the credit required by this Section for the purpose of attribution\nin the manner set out above and, by exercising Your rights under this\nLicense, You may not implicitly or explicitly assert or imply any\nconnection with, sponsorship or endorsement by the Original Author,\nLicensor and/or Attribution Parties, as appropriate, of You or Your\nuse of the Work, without the separate, express prior written\npermission of the Original Author, Licensor and/or Attribution\nParties.\nd. For the avoidance of doubt:\n\ni. Non-waivable Compulsory License Schemes. In those jurisdictions in\nwhich the right to collect royalties through any statutory or\ncompulsory licensing scheme cannot be waived, the Licensor\nreserves the exclusive right to collect such royalties for any\nexercise by You of the rights granted under this License;\nii. Waivable Compulsory License Schemes. In those jurisdictions in\nwhich the right to collect royalties through any statutory or\ncompulsory licensing scheme can be waived, the Licensor reserves\nthe exclusive right to collect such royalties for any exercise by\nYou of the rights granted under this License if Your exercise of\nsuch rights is for a purpose or use which is otherwise than\nnoncommercial as permitted under Section 4(b) and otherwise waives\nthe right to collect royalties through any statutory or compulsory\nlicensing scheme; and,\niii. Voluntary License Schemes. The Licensor reserves the right to\ncollect royalties, whether individually or, in the event that the\nLicensor is a member of a collecting society that administers\nvoluntary licensing schemes, via that society, from any exercise\nby You of the rights granted under this License that is for a\npurpose or use which is otherwise than noncommercial as permitted\nunder Section 4(b).\ne. Except as otherwise agreed in writing by the Licensor or as may be\notherwise permitted by applicable law, if You Reproduce, Distribute or\nPublicly Perform the Work either by itself or as part of any\nCollections, You must not distort, mutilate, modify or take other\nderogatory action in relation to the Work which would be prejudicial\nto the Original Author's honor or reputation.\n\n5. Representations, Warranties and Disclaimer\n\nUNLESS OTHERWISE MUTUALLY AGREED BY THE PARTIES IN WRITING, LICENSOR\nOFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY\nKIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,\nINCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,\nFITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF\nLATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,\nWHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION\nOF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.\n\n6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE\nLAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR\nANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES\nARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS\nBEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n7. Termination\n\na. This License and the rights granted hereunder will terminate\nautomatically upon any breach by You of the terms of this License.\nIndividuals or entities who have received Collections from You under\nthis License, however, will not have their licenses terminated\nprovided such individuals or entities remain in full compliance with\nthose licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any\ntermination of this License.\nb. Subject to the above terms and conditions, the license granted here is\nperpetual (for the duration of the applicable copyright in the Work).\nNotwithstanding the above, Licensor reserves the right to release the\nWork under different license terms or to stop distributing the Work at\nany time; provided, however that any such election will not serve to\nwithdraw this License (or any other license that has been, or is\nrequired to be, granted under the terms of this License), and this\nLicense will continue in full force and effect unless terminated as\nstated above.\n\n8. Miscellaneous\n\na. Each time You Distribute or Publicly Perform the Work or a Collection,\nthe Licensor offers to the recipient a license to the Work on the same\nterms and conditions as the license granted to You under this License.\nb. If any provision of this License is invalid or unenforceable under\napplicable law, it shall not affect the validity or enforceability of\nthe remainder of the terms of this License, and without further action\nby the parties to this agreement, such provision shall be reformed to\nthe minimum extent necessary to make such provision valid and\nenforceable.\nc. No term or provision of this License shall be deemed waived and no\nbreach consented to unless such waiver or consent shall be in writing\nand signed by the party to be charged with such waiver or consent.\nd. This License constitutes the entire agreement between the parties with\nrespect to the Work licensed here. There are no understandings,\nagreements or representations with respect to the Work not specified\nhere. Licensor shall not be bound by any additional provisions that\nmay appear in any communication from You. This License may not be\nmodified without the mutual written agreement of the Licensor and You.\ne. The rights granted under, and the subject matter referenced, in this\nLicense were drafted utilizing the terminology of the Berne Convention\nfor the Protection of Literary and Artistic Works (as amended on\nSeptember 28, 1979), the Rome Convention of 1961, the WIPO Copyright\nTreaty of 1996, the WIPO Performances and Phonograms Treaty of 1996\nand the Universal Copyright Convention (as revised on July 24, 1971).\nThese rights and subject matter take effect in the relevant\njurisdiction in which the License terms are sought to be enforced\naccording to the corresponding provisions of the implementation of\nthose treaty provisions in the applicable national law. If the\nstandard suite of rights granted under applicable copyright law\nincludes additional rights not granted under this License, such\nadditional rights are deemed to be included in the License; this\nLicense is not intended to restrict the license of any rights under\napplicable law.\n\n\nCreative Commons Notice\n\nCreative Commons is not a party to this License, and makes no warranty\nwhatsoever in connection with the Work. Creative Commons will not be\nliable to You or any party on any legal theory for any damages\nwhatsoever, including without limitation any general, special,\nincidental or consequential damages arising in connection to this\nlicense. Notwithstanding the foregoing two (2) sentences, if Creative\nCommons has expressly identified itself as the Licensor hereunder, it\nshall have all rights and obligations of Licensor.\n\nExcept for the limited purpose of indicating to the public that the\nWork is licensed under the CCPL, Creative Commons does not authorize\nthe use by either party of the trademark \"Creative Commons\" or any\nrelated trademark or logo of Creative Commons without the prior\nwritten consent of Creative Commons. Any permitted use will be in\ncompliance with Creative Commons' then-current trademark usage\nguidelines, as may be published on its website or otherwise made\navailable upon request from time to time. For the avoidance of doubt,\nthis trademark restriction does not form part of this License.\n\nCreative Commons may be contacted at https://creativecommons.org/." }, - { - "key": "free-unknown", - "short_name": "Free unknown", - "name": "Free unknown license detected but not recognized", - "category": "Unstated License", - "owner": "Unspecified", - "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", - "is_builtin": true, - "is_unknown": true, - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "text": "" - }, { "key": "other-permissive", "short_name": "Other Permissive Licenses", @@ -217,6 +410,30 @@ } ], "license_rule_references": [ + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99 + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99 + }, { "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", "rule_identifier": "apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", @@ -341,323 +558,144 @@ "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", "rule_identifier": "apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", "referenced_filenames": [ - "LICENSE.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_3.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_3.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - } - ], - "dependencies": [], - "packages": [ - { - "type": "pypi", - "namespace": null, - "name": "Django", - "version": null, - "qualifiers": {}, - "subpath": null, - "primary_language": "Python", - "description": "A high-level Python Web framework that encourages rapid development and clean, pragmatic design.", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Django Software Foundation", - "email": "foundation@djangoproject.com", - "url": null - } - ], - "keywords": [ - "Development Status :: 5 - Production/Stable", - "Environment :: Web Environment", - "Framework :: Django", - "Intended Audience :: Developers", - "Operating System :: OS Independent", - "Programming Language :: Python", - "Topic :: Internet :: WWW/HTTP", - "Topic :: Internet :: WWW/HTTP :: Dynamic Content", - "Topic :: Internet :: WWW/HTTP :: WSGI", - "Topic :: Software Development :: Libraries :: Application Frameworks", - "Topic :: Software Development :: Libraries :: Python Modules" - ], - "homepage_url": "http://www.djangoproject.com/", - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "bsd-new", - "declared_license_expression_spdx": "BSD-3-Clause", - "license_detections": [ - { - "license_expression": "bsd-new", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 99.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "matched_text": "['License :: OSI Approved :: BSD License']" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", - "notice_text": null, - "source_packages": [], - "extra_data": { - "Download-URL": "http://media.djangoproject.com/releases/1.2/Django-1.2.5.tar.gz" - }, - "repository_homepage_url": "https://pypi.org/project/Django", - "repository_download_url": null, - "api_data_url": "https://pypi.org/pypi/Django/json", - "package_uid": "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "django-1.2/setup.py" - ], - "datasource_ids": [ - "pypi_setup_py" - ], - "purl": "pkg:pypi/django" - }, - { - "type": "pypi", - "namespace": null, - "name": "Django", - "version": "1.3.1", - "qualifiers": {}, - "subpath": null, - "primary_language": "Python", - "description": "A high-level Python Web framework that encourages rapid development and clean, pragmatic design.\nUNKNOWN", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Django Software Foundation", - "email": "foundation@djangoproject.com", - "url": null - } - ], - "keywords": [ - "Development Status :: 5 - Production/Stable", - "Environment :: Web Environment", - "Framework :: Django", - "Intended Audience :: Developers", - "Operating System :: OS Independent", - "Programming Language :: Python", - "Programming Language :: Python :: 2.4", - "Programming Language :: Python :: 2.5", - "Programming Language :: Python :: 2.6", - "Programming Language :: Python :: 2.7", - "Topic :: Internet :: WWW/HTTP", - "Topic :: Internet :: WWW/HTTP :: Dynamic Content", - "Topic :: Internet :: WWW/HTTP :: WSGI", - "Topic :: Software Development :: Libraries :: Application Frameworks", - "Topic :: Software Development :: Libraries :: Python Modules" - ], - "homepage_url": "http://www.djangoproject.com/", - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "bsd-new", - "declared_license_expression_spdx": "BSD-3-Clause", - "license_detections": [ - { - "license_expression": "bsd-new", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 99.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "matched_text": "['License :: OSI Approved :: BSD License']" - } - ] - } + "LICENSE.txt" ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "{'classifiers': ['License :: OSI Approved :: BSD License']}", - "notice_text": null, - "source_packages": [], - "extra_data": { - "Download-URL": "http://media.djangoproject.com/releases/1.3/Django-1.3.1.tar.gz" - }, - "repository_homepage_url": "https://pypi.org/project/Django", - "repository_download_url": "https://pypi.org/packages/source/D/Django/Django-1.3.1.tar.gz", - "api_data_url": "https://pypi.org/pypi/Django/1.3.1/json", - "package_uid": "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "django-1.3/PKG-INFO" + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100 + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99 + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99 + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99 + }, + { + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 99 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_3.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" ], - "datasource_ids": [ - "pypi_sdist_pkginfo" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_3.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" ], - "purl": "pkg:pypi/django@1.3.1" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 } ], "files": [ { "path": "django-1.2", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.2/AUTHORS", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] }, { "path": "django-1.2/INSTALL", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] }, { "path": "django-1.2/MANIFEST.in", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", "detected_license_expression_spdx": "Apache-2.0 AND CC-BY-NC-ND-3.0 AND LicenseRef-scancode-other-permissive AND LicenseRef-scancode-proprietary-license", "license_detections": [ @@ -685,112 +723,112 @@ "license_clues": [], "percentage_of_license_text": 3.38, "for_license_detections": [ - "apache_2_0_and_cc_by_nc_nd_3_0_and_other_permissive_and_proprietary_license#b485fded-3ae7-7c49-8be0-c042c4a4747f" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + "apache_2_0_and_cc_by_nc_nd_3_0_and_other_permissive_and_proprietary_license-b485fded-3ae7-7c49-8be0-c042c4a4747f" ], "scan_errors": [] }, { "path": "django-1.2/METADATA", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] }, { "path": "django-1.2/README", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] }, { "path": "django-1.2/django", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.2/django/conf", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.2/django/conf/locale", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.2/django/conf/locale/en", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.2/django/conf/locale/en/LC_MESSAGES", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.2/django/conf/locale/en/LC_MESSAGES/djangojs.po", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "bsd-new", "detected_license_expression_spdx": "BSD-3-Clause", "license_detections": [ @@ -830,17 +868,17 @@ "license_clues": [], "percentage_of_license_text": 2.15, "for_license_detections": [ - "free_unknown#76b09250-6936-6da3-664b-6d5d81de9c95" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + "bsd_new-160212b1-1610-6067-fa3b-f49f5e298936" ], "scan_errors": [] }, { "path": "django-1.2/django/conf/locale/en/formats.py", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "bsd-new", "detected_license_expression_spdx": "BSD-3-Clause", "license_detections": [ @@ -880,43 +918,43 @@ "license_clues": [], "percentage_of_license_text": 5.15, "for_license_detections": [ - "free_unknown#76b09250-6936-6da3-664b-6d5d81de9c95" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + "bsd_new-160212b1-1610-6067-fa3b-f49f5e298936" ], "scan_errors": [] }, { "path": "django-1.2/django/conf/locale/uk", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.2/django/conf/locale/uk/LC_MESSAGES", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.2/django/conf/locale/uk/LC_MESSAGES/django.po", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "bsd-new", "detected_license_expression_spdx": "BSD-3-Clause", "license_detections": [ @@ -956,17 +994,17 @@ "license_clues": [], "percentage_of_license_text": 0.07, "for_license_detections": [ - "free_unknown#2d67622f-a7b6-912c-ca85-160b760f0d8b" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + "bsd_new-b8c1570e-67d2-5741-5f6c-4ed307fe484b" ], "scan_errors": [] }, { "path": "django-1.2/django/conf/locale/uk/LC_MESSAGES/djangojs.po", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "bsd-new", "detected_license_expression_spdx": "BSD-3-Clause", "license_detections": [ @@ -1006,17 +1044,17 @@ "license_clues": [], "percentage_of_license_text": 2.49, "for_license_detections": [ - "free_unknown#2d67622f-a7b6-912c-ca85-160b760f0d8b" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + "bsd_new-b8c1570e-67d2-5741-5f6c-4ed307fe484b" ], "scan_errors": [] }, { "path": "django-1.2/django/conf/locale/uk/formats.py", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "bsd-new", "detected_license_expression_spdx": "BSD-3-Clause", "license_detections": [ @@ -1056,23 +1094,13 @@ "license_clues": [], "percentage_of_license_text": 17.91, "for_license_detections": [ - "free_unknown#76b09250-6936-6da3-664b-6d5d81de9c95" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" + "bsd_new-160212b1-1610-6067-fa3b-f49f5e298936" ], "scan_errors": [] }, { "path": "django-1.2/setup.cfg", "type": "file", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_license_detections": [], "package_data": [ { "type": "pypi", @@ -1119,40 +1147,17 @@ "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" ], - "scan_errors": [] - }, - { - "path": "django-1.2/setup.py", - "type": "file", - "detected_license_expression": "bsd-new", - "detected_license_expression_spdx": "BSD-3-Clause", - "license_detections": [ - { - "license_expression": "bsd-new", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 99.0, - "start_line": 89, - "end_line": 89, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "matched_text": "License :: OSI Approved :: BSD License'," - } - ] - } - ], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], "license_clues": [], - "percentage_of_license_text": 0.99, - "for_license_detections": [ - "bsd_new#8b191dea-30ee-8738-fab1-2c6dbb5d65c2" - ], + "percentage_of_license_text": 0, + "for_license_detections": [], + "scan_errors": [] + }, + { + "path": "django-1.2/setup.py", + "type": "file", "package_data": [ { "type": "pypi", @@ -1242,54 +1247,87 @@ "for_packages": [ "pkg:pypi/django?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "bsd-new", + "detected_license_expression_spdx": "BSD-3-Clause", + "license_detections": [ + { + "license_expression": "bsd-new", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.0, + "start_line": 89, + "end_line": 89, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "License :: OSI Approved :: BSD License'," + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 0.99, + "for_license_detections": [ + "bsd_new-8b191dea-30ee-8738-fab1-2c6dbb5d65c2" + ], "scan_errors": [] }, { "path": "django-1.3", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.3/AUTHORS", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] }, { "path": "django-1.3/INSTALL", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] }, { "path": "django-1.3/LICENSE", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "bsd-new", "detected_license_expression_spdx": "BSD-3-Clause", "license_detections": [ @@ -1317,17 +1355,17 @@ "license_clues": [], "percentage_of_license_text": 95.11, "for_license_detections": [ - "bsd_new#0aac815c-f1e3-cc4b-b498-7a01e6cac393" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" + "bsd_new-0aac815c-f1e3-cc4b-b498-7a01e6cac393" ], "scan_errors": [] }, { "path": "django-1.3/MANIFEST.in", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", "detected_license_expression_spdx": "Apache-2.0 AND CC-BY-NC-ND-3.0 AND LicenseRef-scancode-other-permissive AND LicenseRef-scancode-proprietary-license", "license_detections": [ @@ -1355,61 +1393,28 @@ "license_clues": [], "percentage_of_license_text": 2.73, "for_license_detections": [ - "apache_2_0_and_cc_by_nc_nd_3_0_and_other_permissive_and_proprietary_license#b485fded-3ae7-7c49-8be0-c042c4a4747f" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" + "apache_2_0_and_cc_by_nc_nd_3_0_and_other_permissive_and_proprietary_license-b485fded-3ae7-7c49-8be0-c042c4a4747f" ], "scan_errors": [] }, { "path": "django-1.3/METADATA", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] }, { "path": "django-1.3/PKG-INFO", "type": "file", - "detected_license_expression": "bsd-new", - "detected_license_expression_spdx": "BSD-3-Clause", - "license_detections": [ - { - "license_expression": "bsd-new", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 99.0, - "start_line": 16, - "end_line": 16, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "matched_text": "License :: OSI Approved :: BSD License" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 3.38, - "for_license_detections": [ - "bsd_new#8b191dea-30ee-8738-fab1-2c6dbb5d65c2" - ], "package_data": [ { "type": "pypi", @@ -1503,104 +1508,137 @@ "for_packages": [ "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "bsd-new", + "detected_license_expression_spdx": "BSD-3-Clause", + "license_detections": [ + { + "license_expression": "bsd-new", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.0, + "start_line": 16, + "end_line": 16, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "License :: OSI Approved :: BSD License" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 3.38, + "for_license_detections": [ + "bsd_new-8b191dea-30ee-8738-fab1-2c6dbb5d65c2" + ], "scan_errors": [] }, { "path": "django-1.3/README", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] }, { "path": "django-1.3/django", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.3/django/contrib", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.3/django/contrib/messages", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.3/django/contrib/messages/locale", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.3/django/contrib/messages/locale/en", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.3/django/contrib/messages/locale/en/LC_MESSAGES", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.3/django/contrib/messages/locale/en/LC_MESSAGES/django.po", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "bsd-new", "detected_license_expression_spdx": "BSD-3-Clause", "license_detections": [ @@ -1640,43 +1678,43 @@ "license_clues": [], "percentage_of_license_text": 16.9, "for_license_detections": [ - "free_unknown#76b09250-6936-6da3-664b-6d5d81de9c95" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" + "bsd_new-160212b1-1610-6067-fa3b-f49f5e298936" ], "scan_errors": [] }, { "path": "django-1.3/django/contrib/messages/locale/uk", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.3/django/contrib/messages/locale/uk/LC_MESSAGES", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "django-1.3/django/contrib/messages/locale/uk/LC_MESSAGES/django.po", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "bsd-new", "detected_license_expression_spdx": "BSD-3-Clause", "license_detections": [ @@ -1716,23 +1754,13 @@ "license_clues": [], "percentage_of_license_text": 12.12, "for_license_detections": [ - "free_unknown#76b09250-6936-6da3-664b-6d5d81de9c95" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" + "bsd_new-160212b1-1610-6067-fa3b-f49f5e298936" ], "scan_errors": [] }, { "path": "django-1.3/setup.cfg", "type": "file", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_license_detections": [], "package_data": [ { "type": "pypi", @@ -1800,40 +1828,17 @@ "for_packages": [ "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_license_detections": [], "scan_errors": [] }, { "path": "django-1.3/setup.py", "type": "file", - "detected_license_expression": "bsd-new", - "detected_license_expression_spdx": "BSD-3-Clause", - "license_detections": [ - { - "license_expression": "bsd-new", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 99.0, - "start_line": 89, - "end_line": 89, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", - "matched_text": "License :: OSI Approved :: BSD License'," - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 0.95, - "for_license_detections": [ - "bsd_new#8b191dea-30ee-8738-fab1-2c6dbb5d65c2" - ], "package_data": [ { "type": "pypi", @@ -1927,6 +1932,35 @@ "for_packages": [ "pkg:pypi/django@1.3.1?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "bsd-new", + "detected_license_expression_spdx": "BSD-3-Clause", + "license_detections": [ + { + "license_expression": "bsd-new", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 99.0, + "start_line": 89, + "end_line": 89, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "pypi_bsd_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "matched_text": "License :: OSI Approved :: BSD License'," + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 0.95, + "for_license_detections": [ + "bsd_new-8b191dea-30ee-8738-fab1-2c6dbb5d65c2" + ], "scan_errors": [] } ] diff --git a/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json index 33205445a49..03a6acc9ab1 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json @@ -1,325 +1,109 @@ { - "license_detections": [ - { - "identifier": "apache_2_0#00648a46-128f-a6d8-635c-47de0c2c180c", - "license_expression": "apache-2.0", - "occurrence_count": 2, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 3, - "end_line": 13, - "matched_length": 85, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE" - } - ] - }, - { - "identifier": "apache_2_0#6c86b8a7-5f8b-ba77-47e2-a116f95ed9d8", - "license_expression": "apache-2.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 99.81, - "start_line": 3, - "end_line": 203, - "matched_length": 1582, - "match_coverage": 100.0, - "matcher": "3-seq", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_164.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE" - } - ] - }, + "packages": [ { - "identifier": "apache_2_0#b93c03b2-6738-df14-dcda-3feca465556c", - "license_expression": "apache-2.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "pypi", + "namespace": null, + "name": "paddlenlp", + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "Easy-to-use and Fast NLP library with awesome model zoo, supporting wide-range of NLP tasks from research to industrial applications.", + "release_date": null, + "parties": [ { - "score": 75.0, - "start_line": 307, - "end_line": 307, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_305.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_305.RULE" + "type": "person", + "role": "author", + "name": "PaddleNLP Team", + "email": "paddlenlp@baidu.com", + "url": null } - ] - }, - { - "identifier": "apache_2_0#87998952-7409-8e1f-30b2-a799511393bf", - "license_expression": "apache-2.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" ], - "matches": [ - { - "score": 100.0, - "start_line": 221, - "end_line": 221, - "matched_length": 9, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_83.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_83.RULE" - } - ] - }, - { - "identifier": "apache_2_0#2edb09c4-85a0-cc2a-a20f-451395e08ebb", - "license_expression": "apache-2.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" + "keywords": [ + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Operating System :: OS Independent" ], - "matches": [ + "homepage_url": "https://github.com/PaddlePaddle/PaddleNLP", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ { - "score": 95.0, - "start_line": 75, - "end_line": 75, - "matched_length": 6, - "match_coverage": 100.0, - "matcher": "2-aho", "license_expression": "apache-2.0", - "rule_identifier": "pypi_apache_no-version.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE" + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "Apache 2.0" + } + ] }, { - "score": 100.0, - "start_line": 78, - "end_line": 78, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" - } - ] - }, - { - "identifier": "free_unknown#142f3261-5728-9933-74c7-7e8aa278ff6d", - "license_expression": "free-unknown", - "occurrence_count": 2, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 3, - "end_line": 3, - "matched_length": 10, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 95.0, + "start_line": 1, + "end_line": 1, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "pypi_apache_no-version.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", + "matched_text": "['License :: OSI Approved :: Apache Software License']" + } + ] } - ] - } - ], - "license_references": [ - { - "key": "apache-2.0", - "short_name": "Apache 2.0", - "name": "Apache License 2.0", - "category": "Permissive", - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", - "is_builtin": true, - "spdx_license_key": "Apache-2.0", - "other_spdx_license_keys": [ - "LicenseRef-Apache", - "LicenseRef-Apache-2.0" ], - "osi_license_key": "Apache-2.0", - "text_urls": [ - "http://www.apache.org/licenses/LICENSE-2.0" + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "{'license': 'Apache 2.0', 'classifiers': ['License :: OSI Approved :: Apache Software License']}", + "notice_text": null, + "source_packages": [], + "extra_data": { + "python_requires": ">=3.6" + }, + "repository_homepage_url": "https://pypi.org/project/paddlenlp", + "repository_download_url": null, + "api_data_url": "https://pypi.org/pypi/paddlenlp/json", + "package_uid": "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "setup.py" ], - "osi_url": "http://opensource.org/licenses/apache2.0.php", - "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", - "other_urls": [ - "http://www.opensource.org/licenses/Apache-2.0", - "https://opensource.org/licenses/Apache-2.0", - "https://www.apache.org/licenses/LICENSE-2.0" + "datasource_ids": [ + "pypi_setup_py" ], - "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." - }, - { - "key": "free-unknown", - "short_name": "Free unknown", - "name": "Free unknown license detected but not recognized", - "category": "Unstated License", - "owner": "Unspecified", - "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", - "is_builtin": true, - "is_unknown": true, - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "text": "" + "purl": "pkg:pypi/paddlenlp" } ], - "license_rule_references": [ - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_164.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1582, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_305.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_83.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "pypi_apache_no-version.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 95 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "pypi_apache_no-version.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 95 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100 - } - ], - "dependencies": [ + "dependencies": [ { "purl": "pkg:pypi/jieba", "extracted_requirement": "jieba", @@ -599,114 +383,368 @@ "datasource_id": "pypi_setup_py" } ], - "packages": [ + "license_detections": [ { - "type": "pypi", - "namespace": null, - "name": "paddlenlp", - "version": null, - "qualifiers": {}, - "subpath": null, - "primary_language": "Python", - "description": "Easy-to-use and Fast NLP library with awesome model zoo, supporting wide-range of NLP tasks from research to industrial applications.", - "release_date": null, - "parties": [ + "identifier": "apache_2_0-00648a46-128f-a6d8-635c-47de0c2c180c", + "license_expression": "apache-2.0", + "count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "author", - "name": "PaddleNLP Team", - "email": "paddlenlp@baidu.com", - "url": null + "score": 100.0, + "start_line": 3, + "end_line": 13, + "matched_length": 85, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE" } + ] + }, + { + "identifier": "apache_2_0-6c86b8a7-5f8b-ba77-47e2-a116f95ed9d8", + "license_expression": "apache-2.0", + "count": 1, + "detection_log": [ + "not-combined" ], - "keywords": [ - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Operating System :: OS Independent" + "matches": [ + { + "score": 99.81, + "start_line": 3, + "end_line": 203, + "matched_length": 1582, + "match_coverage": 100.0, + "matcher": "3-seq", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_164.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE" + } + ] + }, + { + "identifier": "apache_2_0-b93c03b2-6738-df14-dcda-3feca465556c", + "license_expression": "apache-2.0", + "count": 1, + "detection_log": [ + "not-combined" ], - "homepage_url": "https://github.com/PaddlePaddle/PaddleNLP", - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "apache-2.0", - "declared_license_expression_spdx": "Apache-2.0", - "license_detections": [ + "matches": [ { + "score": 75.0, + "start_line": 307, + "end_line": 307, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "matched_text": "Apache 2.0" - } - ] + "rule_identifier": "apache-2.0_305.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_305.RULE" + } + ] + }, + { + "identifier": "apache_2_0-87998952-7409-8e1f-30b2-a799511393bf", + "license_expression": "apache-2.0", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 221, + "end_line": 221, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_83.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_83.RULE" + } + ] + }, + { + "identifier": "apache_2_0-2edb09c4-85a0-cc2a-a20f-451395e08ebb", + "license_expression": "apache-2.0", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 95.0, + "start_line": 75, + "end_line": 75, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "pypi_apache_no-version.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE" }, { + "score": 100.0, + "start_line": 78, + "end_line": 78, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 95.0, - "start_line": 1, - "end_line": 1, - "matched_length": 6, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "apache-2.0", - "rule_identifier": "pypi_apache_no-version.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", - "matched_text": "['License :: OSI Approved :: Apache Software License']" - } - ] + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" } + ] + }, + { + "identifier": "apache_2_0-379ecd95-81d2-ab6c-5bd0-4995b1555bb9", + "license_expression": "apache-2.0", + "count": 2, + "detection_log": [ + "unknown-reference-in-file-to-package" ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "{'license': 'Apache 2.0', 'classifiers': ['License :: OSI Approved :: Apache Software License']}", - "notice_text": null, - "source_packages": [], - "extra_data": { - "python_requires": ">=3.6" - }, - "repository_homepage_url": "https://pypi.org/project/paddlenlp", - "repository_download_url": null, - "api_data_url": "https://pypi.org/pypi/paddlenlp/json", - "package_uid": "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "setup.py" + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 10, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" + }, + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE" + }, + { + "score": 95.0, + "start_line": 1, + "end_line": 1, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "pypi_apache_no-version.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE" + } + ] + } + ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + } + ], + "license_rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "pypi_apache_no-version.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 95 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_164.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1582, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_305.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_83.RULE", + "referenced_filenames": [ + "LICENSE" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "pypi_apache_no-version.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 95 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "pypi_apache_no-version.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 6, + "rule_relevance": 95 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" ], - "datasource_ids": [ - "pypi_setup_py" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" ], - "purl": "pkg:pypi/paddlenlp" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100 } ], "files": [ { "path": "LICENSE", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -734,17 +772,17 @@ "license_clues": [], "percentage_of_license_text": 99.25, "for_license_detections": [ - "apache_2_0#6c86b8a7-5f8b-ba77-47e2-a116f95ed9d8" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" + "apache_2_0-6c86b8a7-5f8b-ba77-47e2-a116f95ed9d8" ], "scan_errors": [] }, { "path": "README.md", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -772,17 +810,17 @@ "license_clues": [], "percentage_of_license_text": 0.2, "for_license_detections": [ - "apache_2_0#b93c03b2-6738-df14-dcda-3feca465556c" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" + "apache_2_0-b93c03b2-6738-df14-dcda-3feca465556c" ], "scan_errors": [] }, { "path": "README_en.md", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -822,69 +860,69 @@ "license_clues": [], "percentage_of_license_text": 0.73, "for_license_detections": [ - "apache_2_0#87998952-7409-8e1f-30b2-a799511393bf" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" + "apache_2_0-87998952-7409-8e1f-30b2-a799511393bf" ], "scan_errors": [] }, { "path": "docs", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "docs/locale", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "docs/locale/en", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "docs/locale/en/LC_MESSAGES", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "docs/locale/en/LC_MESSAGES/changelog.po", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -936,17 +974,17 @@ "license_clues": [], "percentage_of_license_text": 3.68, "for_license_detections": [ - "free_unknown#142f3261-5728-9933-74c7-7e8aa278ff6d" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" + "apache_2_0-379ecd95-81d2-ab6c-5bd0-4995b1555bb9" ], "scan_errors": [] }, { "path": "docs/locale/en/LC_MESSAGES/data.po", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -998,23 +1036,13 @@ "license_clues": [], "percentage_of_license_text": 3.21, "for_license_detections": [ - "free_unknown#142f3261-5728-9933-74c7-7e8aa278ff6d" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" + "apache_2_0-379ecd95-81d2-ab6c-5bd0-4995b1555bb9" ], "scan_errors": [] }, { "path": "docs/requirements.txt", "type": "file", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_license_detections": [], "package_data": [ { "type": "pypi", @@ -1209,11 +1237,21 @@ "for_packages": [ "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_license_detections": [], "scan_errors": [] }, { "path": "hubconf.py", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -1241,23 +1279,13 @@ "license_clues": [], "percentage_of_license_text": 20.09, "for_license_detections": [ - "apache_2_0#00648a46-128f-a6d8-635c-47de0c2c180c" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" + "apache_2_0-00648a46-128f-a6d8-635c-47de0c2c180c" ], "scan_errors": [] }, { "path": "requirements.txt", "type": "file", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_license_detections": [], "package_data": [ { "type": "pypi", @@ -1588,73 +1616,17 @@ "for_packages": [ "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_license_detections": [], "scan_errors": [] }, { "path": "setup.py", "type": "file", - "detected_license_expression": "apache-2.0", - "detected_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 3, - "end_line": 13, - "matched_length": 85, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE", - "matched_text": "Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License." - } - ] - }, - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 95.0, - "start_line": 75, - "end_line": 75, - "matched_length": 6, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "pypi_apache_no-version.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", - "matched_text": "License :: OSI Approved :: Apache Software License'," - }, - { - "score": 100.0, - "start_line": 78, - "end_line": 78, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "matched_text": "license='Apache 2.0')" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 26.1, - "for_license_detections": [ - "apache_2_0#00648a46-128f-a6d8-635c-47de0c2c180c", - "apache_2_0#2edb09c4-85a0-cc2a-a20f-451395e08ebb" - ], "package_data": [ { "type": "pypi", @@ -1779,6 +1751,68 @@ "for_packages": [ "pkg:pypi/paddlenlp?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "apache-2.0", + "detected_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 13, + "matched_length": 85, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE", + "matched_text": "Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License." + } + ] + }, + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 95.0, + "start_line": 75, + "end_line": 75, + "matched_length": 6, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "pypi_apache_no-version.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", + "matched_text": "License :: OSI Approved :: Apache Software License'," + }, + { + "score": 100.0, + "start_line": 78, + "end_line": 78, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "matched_text": "license='Apache 2.0')" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 26.1, + "for_license_detections": [ + "apache_2_0-00648a46-128f-a6d8-635c-47de0c2c180c", + "apache_2_0-2edb09c4-85a0-cc2a-a20f-451395e08ebb" + ], "scan_errors": [] } ] diff --git a/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json index 28f1267fdb8..e5ccc109b4e 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json @@ -1,9 +1,11 @@ { + "packages": [], + "dependencies": [], "license_detections": [ { - "identifier": "gpl_3_0#bd8d31df-3dc9-daa6-b885-dc10671b4103", + "identifier": "gpl_3_0-bd8d31df-3dc9-daa6-b885-dc10671b4103", "license_expression": "gpl-3.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +24,9 @@ ] }, { - "identifier": "gpl_3_0_plus#f70c823f-c2d0-5369-e1d2-3cc1103e518b", + "identifier": "gpl_3_0_plus-f70c823f-c2d0-5369-e1d2-3cc1103e518b", "license_expression": "gpl-3.0-plus", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +45,9 @@ ] }, { - "identifier": "gpl_3_0_and_unknown_license_reference_and_gpl_3_0_plus#056056b0-c2ee-9b4e-8b7e-72a75e700069", + "identifier": "gpl_3_0_and_unknown_license_reference_and_gpl_3_0_plus-056056b0-c2ee-9b4e-8b7e-72a75e700069", "license_expression": "gpl-3.0 AND unknown-license-reference AND gpl-3.0-plus", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -86,11 +88,11 @@ ] }, { - "identifier": "free_unknown#2c2fcd34-f0d6-5fe4-5457-c8ec02aae688", - "license_expression": "free-unknown", - "occurrence_count": 1, + "identifier": "gpl_3_0-d468de34-bf8a-7772-fa2f-375600f5c6d3", + "license_expression": "gpl-3.0", + "count": 1, "detection_log": [ - "not-combined" + "unknown-reference-in-file-to-nonexistent-package" ], "matches": [ { @@ -169,15 +171,26 @@ "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + }, + { + "score": 100.0, + "start_line": 2, + "end_line": 675, + "matched_length": 5514, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_204.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" } ] }, { - "identifier": "free_unknown#76225990-e8f5-ab08-5ffe-299da9d287e6", - "license_expression": "free-unknown", - "occurrence_count": 1, + "identifier": "gpl_3_0-5578682a-3a08-5cd3-bbcd-7d2fc3fa4cc1", + "license_expression": "gpl-3.0", + "count": 1, "detection_log": [ - "not-combined" + "unknown-reference-in-file-to-nonexistent-package" ], "matches": [ { @@ -245,23 +258,22 @@ "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE" + }, + { + "score": 100.0, + "start_line": 2, + "end_line": 675, + "matched_length": 5514, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_204.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" } ] } ], "license_references": [ - { - "key": "free-unknown", - "short_name": "Free unknown", - "name": "Free unknown license detected but not recognized", - "category": "Unstated License", - "owner": "Unspecified", - "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", - "is_builtin": true, - "is_unknown": true, - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "text": "" - }, { "key": "gpl-3.0", "short_name": "GPL 3.0", @@ -575,12 +587,12 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [], "files": [ { "path": "COPYING", "type": "file", + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-3.0", "detected_license_expression_spdx": "GPL-3.0-only", "license_detections": [ @@ -608,41 +620,41 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "gpl_3_0#bd8d31df-3dc9-daa6-b885-dc10671b4103" + "gpl_3_0-bd8d31df-3dc9-daa6-b885-dc10671b4103" ], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "README.md", "type": "file", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "myelements", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "myelements/callbacks.py", "type": "file", + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-3.0 AND unknown-license-reference AND gpl-3.0-plus", "detected_license_expression_spdx": "GPL-3.0-only AND LicenseRef-scancode-unknown-license-reference AND GPL-3.0-or-later", "license_detections": [ @@ -694,15 +706,15 @@ "license_clues": [], "percentage_of_license_text": 19.1, "for_license_detections": [ - "gpl_3_0_and_unknown_license_reference_and_gpl_3_0_plus#056056b0-c2ee-9b4e-8b7e-72a75e700069" + "gpl_3_0_and_unknown_license_reference_and_gpl_3_0_plus-056056b0-c2ee-9b4e-8b7e-72a75e700069" ], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "physics.py", "type": "file", + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-3.0-plus", "detected_license_expression_spdx": "GPL-3.0-or-later", "license_detections": [ @@ -730,28 +742,28 @@ "license_clues": [], "percentage_of_license_text": 10.56, "for_license_detections": [ - "gpl_3_0_plus#f70c823f-c2d0-5369-e1d2-3cc1103e518b" + "gpl_3_0_plus-f70c823f-c2d0-5369-e1d2-3cc1103e518b" ], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "po", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "po/en_US.po", "type": "file", + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-3.0", "detected_license_expression_spdx": "GPL-3.0-only", "license_detections": [ @@ -863,15 +875,15 @@ "license_clues": [], "percentage_of_license_text": 11.8, "for_license_detections": [ - "free_unknown#2c2fcd34-f0d6-5fe4-5457-c8ec02aae688" + "gpl_3_0-d468de34-bf8a-7772-fa2f-375600f5c6d3" ], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "po/uk.po", "type": "file", + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-3.0", "detected_license_expression_spdx": "GPL-3.0-only", "license_detections": [ @@ -971,21 +983,13 @@ "license_clues": [], "percentage_of_license_text": 12.24, "for_license_detections": [ - "free_unknown#76225990-e8f5-ab08-5ffe-299da9d287e6" + "gpl_3_0-5578682a-3a08-5cd3-bbcd-7d2fc3fa4cc1" ], - "package_data": [], - "for_packages": [], "scan_errors": [] }, { "path": "setup.py", "type": "file", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_license_detections": [], "package_data": [ { "type": "pypi", @@ -1051,6 +1055,12 @@ } ], "for_packages": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_license_detections": [], "scan_errors": [] } ] diff --git a/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json index 5ad4cb2010f..41ab90d82de 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json @@ -1,231 +1,541 @@ { - "license_detections": [ - { - "identifier": "gpl_3_0#bd8d31df-3dc9-daa6-b885-dc10671b4103", - "license_expression": "gpl-3.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 674, - "matched_length": 5514, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "gpl-3.0", - "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" - } - ] - }, + "packages": [ { - "identifier": "gpl_3_0_and_lgpl_3_0_and_gpl_2_0#c4243fb1-25ad-ea03-c628-65139658a194", - "license_expression": "gpl-3.0 AND lgpl-3.0 AND gpl-2.0", - "occurrence_count": 1, - "detection_log": [ - "possible-false-positive", - "not-license-clues-as-more-detections-present" - ], - "matches": [ + "type": "autotools", + "namespace": null, + "name": "samba", + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "gpl-3.0 AND (gpl-3.0 AND lgpl-3.0 AND gpl-2.0) AND (gpl-2.0-plus AND free-unknown AND gpl-1.0-plus) AND (gpl-1.0-plus AND lgpl-3.0-plus AND gpl-3.0 AND lgpl-3.0) AND (cc-by-sa-3.0 AND cc-by-sa-4.0 AND dco-1.1) AND gpl-2.0 AND gpl-1.0-plus", + "declared_license_expression_spdx": "GPL-3.0-only AND (GPL-3.0-only AND LGPL-3.0-only AND GPL-2.0-only) AND (GPL-2.0-or-later AND LicenseRef-scancode-free-unknown AND GPL-1.0-or-later) AND (GPL-1.0-or-later AND LGPL-3.0-or-later AND GPL-3.0-only AND LGPL-3.0-only) AND (CC-BY-SA-3.0 AND CC-BY-SA-4.0 AND LicenseRef-scancode-dco-1.1) AND GPL-2.0-only AND GPL-1.0-or-later", + "license_detections": [ { - "score": 100.0, - "start_line": 38, - "end_line": 38, - "matched_length": 1, - "match_coverage": 100.0, - "matcher": "2-aho", "license_expression": "gpl-3.0", - "rule_identifier": "gpl-3.0_32.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE" - }, - { - "score": 100.0, - "start_line": 38, - "end_line": 38, - "matched_length": 1, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-3.0", - "rule_identifier": "lgpl-3.0_29.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE" - }, - { - "score": 100.0, - "start_line": 39, - "end_line": 39, - "matched_length": 1, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-2.0", - "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" - } - ] - }, - { - "identifier": "gpl_2_0_plus_and_free_unknown_and_gpl_1_0_plus#620bb734-dfc2-e276-11d9-45ed11996799", - "license_expression": "gpl-2.0-plus AND free-unknown AND gpl-1.0-plus", - "occurrence_count": 1, - "detection_log": [ - "unknown-match" - ], - "matches": [ - { - "score": 20.0, - "start_line": 57, - "end_line": 57, - "matched_length": 6, - "match_coverage": 20.0, - "matcher": "3-seq", - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_627.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE" - }, - { - "score": 50.0, - "start_line": 60, - "end_line": 61, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "free-unknown", - "rule_identifier": "free-unknown_88.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE" + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 674, + "matched_length": 5514, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_204.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", + "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." + } + ] }, { - "score": 100.0, - "start_line": 63, - "end_line": 63, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" - } - ] - }, - { - "identifier": "gpl_1_0_plus_and_lgpl_3_0_plus_and_gpl_3_0_and_lgpl_3_0#ba9e27e5-ccbb-ede0-63b3-68adf7d7b978", - "license_expression": "gpl-1.0-plus AND lgpl-3.0-plus AND gpl-3.0 AND lgpl-3.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 76, - "end_line": 76, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_bare_gnu_gpl.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE" + "license_expression": "gpl-3.0 AND lgpl-3.0 AND gpl-2.0", + "detection_log": [ + "possible-false-positive", + "not-license-clues-as-more-detections-present" + ], + "matches": [ + { + "score": 100.0, + "start_line": 38, + "end_line": 38, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_32.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE", + "matched_text": "GPLv3" + }, + { + "score": 100.0, + "start_line": 38, + "end_line": 38, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_29.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", + "matched_text": "LGPLv3 (" + }, + { + "score": 100.0, + "start_line": 39, + "end_line": 39, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_bare_single_word.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", + "matched_text": "GPLv2." + } + ] }, { - "score": 100.0, - "start_line": 79, - "end_line": 79, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" + "license_expression": "gpl-2.0-plus AND free-unknown AND gpl-1.0-plus", + "detection_log": [ + "unknown-match" + ], + "matches": [ + { + "score": 20.0, + "start_line": 57, + "end_line": 57, + "matched_length": 6, + "match_coverage": 20.0, + "matcher": "3-seq", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_627.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE", + "matched_text": "of the GNU General Public License;" + }, + { + "score": 50.0, + "start_line": 60, + "end_line": 61, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown_88.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", + "matched_text": "open source\n license" + }, + { + "score": 100.0, + "start_line": 63, + "end_line": 63, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", + "matched_text": "the GNU General Public License," + } + ] }, { - "score": 47.22, - "start_line": 79, - "end_line": 81, - "matched_length": 17, - "match_coverage": 47.22, - "matcher": "3-seq", - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_103.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE" + "license_expression": "gpl-1.0-plus AND lgpl-3.0-plus AND gpl-3.0 AND lgpl-3.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 76, + "end_line": 76, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_bare_gnu_gpl.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE", + "matched_text": "GNU GPL" + }, + { + "score": 100.0, + "start_line": 79, + "end_line": 79, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", + "matched_text": "the GNU General Public License" + }, + { + "score": 47.22, + "start_line": 79, + "end_line": 81, + "matched_length": 17, + "match_coverage": 47.22, + "matcher": "3-seq", + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_103.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE", + "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of" + }, + { + "score": 100.0, + "start_line": 84, + "end_line": 84, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_12.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE", + "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html" + }, + { + "score": 100.0, + "start_line": 85, + "end_line": 85, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE", + "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html" + } + ] }, { - "score": 100.0, - "start_line": 84, - "end_line": 84, - "matched_length": 9, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-3.0", - "rule_identifier": "gpl-3.0_12.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE" + "license_expression": "cc-by-sa-3.0 AND cc-by-sa-4.0 AND dco-1.1", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 75.0, + "start_line": 121, + "end_line": 122, + "matched_length": 12, + "match_coverage": 75.0, + "matcher": "3-seq", + "license_expression": "cc-by-sa-3.0", + "rule_identifier": "cc-by-sa-3.0_10.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE", + "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/" + }, + { + "score": 100.0, + "start_line": 122, + "end_line": 122, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cc-by-sa-4.0", + "rule_identifier": "cc-by-sa-4.0_71.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE", + "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode" + }, + { + "score": 100.0, + "start_line": 123, + "end_line": 123, + "matched_length": 7, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "dco-1.1", + "rule_identifier": "dco-1.1_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE", + "matched_text": "Developer's Certificate of Origin 1.1\"" + } + ] + }, + { + "license_expression": "gpl-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 81.82, + "start_line": 6, + "end_line": 6, + "matched_length": 9, + "match_coverage": 81.82, + "matcher": "3-seq", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1142.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE", + "matched_text": "Free Software licensed under the GNU General Public License" + } + ] }, + { + "license_expression": "gpl-1.0-plus", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 22, + "end_line": 22, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_236.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE", + "matched_text": "GNU public license," + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "configure" + ], + "datasource_ids": [ + "autotools_configure" + ], + "purl": "pkg:autotools/samba" + } + ], + "dependencies": [], + "license_detections": [ + { + "identifier": "gpl_3_0-bd8d31df-3dc9-daa6-b885-dc10671b4103", + "license_expression": "gpl-3.0", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { "score": 100.0, - "start_line": 85, - "end_line": 85, - "matched_length": 9, + "start_line": 1, + "end_line": 674, + "matched_length": 5514, "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-3.0", - "rule_identifier": "lgpl-3.0_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE" + "matcher": "1-hash", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_204.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" } ] }, { - "identifier": "cc_by_sa_3_0_and_cc_by_sa_4_0_and_dco_1_1#cacaaecd-cccf-23a9-b725-f10a66d3d665", - "license_expression": "cc-by-sa-3.0 AND cc-by-sa-4.0 AND dco-1.1", - "occurrence_count": 1, + "identifier": "gpl_3_0_and_lgpl_3_0_and_gpl_2_0-c4243fb1-25ad-ea03-c628-65139658a194", + "license_expression": "gpl-3.0 AND lgpl-3.0 AND gpl-2.0", + "count": 1, "detection_log": [ - "not-combined" + "possible-false-positive", + "not-license-clues-as-more-detections-present" ], "matches": [ { - "score": 75.0, - "start_line": 121, - "end_line": 122, - "matched_length": 12, - "match_coverage": 75.0, - "matcher": "3-seq", - "license_expression": "cc-by-sa-3.0", - "rule_identifier": "cc-by-sa-3.0_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE" + "score": 100.0, + "start_line": 38, + "end_line": 38, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_32.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE" }, { "score": 100.0, - "start_line": 122, - "end_line": 122, - "matched_length": 9, + "start_line": 38, + "end_line": 38, + "matched_length": 1, "match_coverage": 100.0, "matcher": "2-aho", - "license_expression": "cc-by-sa-4.0", - "rule_identifier": "cc-by-sa-4.0_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE" + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_29.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE" }, { "score": 100.0, - "start_line": 123, - "end_line": 123, - "matched_length": 7, + "start_line": 39, + "end_line": 39, + "matched_length": 1, "match_coverage": 100.0, "matcher": "2-aho", - "license_expression": "dco-1.1", - "rule_identifier": "dco-1.1_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE" + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_bare_single_word.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" } ] }, { - "identifier": "gpl_2_0#0c428ae6-46af-09d9-5863-430e80031878", - "license_expression": "gpl-2.0", - "occurrence_count": 1, + "identifier": "gpl_2_0_plus_and_free_unknown_and_gpl_1_0_plus-620bb734-dfc2-e276-11d9-45ed11996799", + "license_expression": "gpl-2.0-plus AND free-unknown AND gpl-1.0-plus", + "count": 1, "detection_log": [ - "not-combined" + "unknown-match" ], "matches": [ { - "score": 81.82, + "score": 20.0, + "start_line": 57, + "end_line": 57, + "matched_length": 6, + "match_coverage": 20.0, + "matcher": "3-seq", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_627.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE" + }, + { + "score": 50.0, + "start_line": 60, + "end_line": 61, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown_88.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE" + }, + { + "score": 100.0, + "start_line": 63, + "end_line": 63, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" + } + ] + }, + { + "identifier": "gpl_1_0_plus_and_lgpl_3_0_plus_and_gpl_3_0_and_lgpl_3_0-ba9e27e5-ccbb-ede0-63b3-68adf7d7b978", + "license_expression": "gpl-1.0-plus AND lgpl-3.0-plus AND gpl-3.0 AND lgpl-3.0", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 76, + "end_line": 76, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_bare_gnu_gpl.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE" + }, + { + "score": 100.0, + "start_line": 79, + "end_line": 79, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" + }, + { + "score": 47.22, + "start_line": 79, + "end_line": 81, + "matched_length": 17, + "match_coverage": 47.22, + "matcher": "3-seq", + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_103.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE" + }, + { + "score": 100.0, + "start_line": 84, + "end_line": 84, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_12.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE" + }, + { + "score": 100.0, + "start_line": 85, + "end_line": 85, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE" + } + ] + }, + { + "identifier": "cc_by_sa_3_0_and_cc_by_sa_4_0_and_dco_1_1-cacaaecd-cccf-23a9-b725-f10a66d3d665", + "license_expression": "cc-by-sa-3.0 AND cc-by-sa-4.0 AND dco-1.1", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 75.0, + "start_line": 121, + "end_line": 122, + "matched_length": 12, + "match_coverage": 75.0, + "matcher": "3-seq", + "license_expression": "cc-by-sa-3.0", + "rule_identifier": "cc-by-sa-3.0_10.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE" + }, + { + "score": 100.0, + "start_line": 122, + "end_line": 122, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cc-by-sa-4.0", + "rule_identifier": "cc-by-sa-4.0_71.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE" + }, + { + "score": 100.0, + "start_line": 123, + "end_line": 123, + "matched_length": 7, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "dco-1.1", + "rule_identifier": "dco-1.1_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE" + } + ] + }, + { + "identifier": "gpl_2_0-0c428ae6-46af-09d9-5863-430e80031878", + "license_expression": "gpl-2.0", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 81.82, "start_line": 6, "end_line": 6, "matched_length": 9, @@ -238,9 +548,9 @@ ] }, { - "identifier": "gpl_1_0_plus#788966d2-c08e-ab46-1793-44f388305bca", + "identifier": "gpl_1_0_plus-788966d2-c08e-ab46-1793-44f388305bca", "license_expression": "gpl-1.0-plus", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -259,11 +569,11 @@ ] }, { - "identifier": "free_unknown#142f3261-5728-9933-74c7-7e8aa278ff6d", - "license_expression": "free-unknown", - "occurrence_count": 1, + "identifier": "gpl_3_0_and_lgpl_3_0_and_gpl_2_0_and_gpl_2_0_plus_and_free_unknown_and_gpl_1_0_plus_and_lgpl_3_0_plus_and_cc_by_sa_3_0_and_cc_by_sa_4_0_and_dco_1_1-b9954b23-86bc-29b6-ab56-1bc80171ea0b", + "license_expression": "gpl-3.0 AND lgpl-3.0 AND gpl-2.0 AND gpl-2.0-plus AND free-unknown AND gpl-1.0-plus AND lgpl-3.0-plus AND cc-by-sa-3.0 AND cc-by-sa-4.0 AND dco-1.1", + "count": 1, "detection_log": [ - "not-combined" + "unknown-reference-in-file-to-package" ], "matches": [ { @@ -276,161 +586,348 @@ "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE" - } - ] - }, - { - "identifier": "gpl_3_0_plus#f70c823f-c2d0-5369-e1d2-3cc1103e518b", - "license_expression": "gpl-3.0-plus", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + }, { "score": 100.0, - "start_line": 5, - "end_line": 16, - "matched_length": 102, + "start_line": 1, + "end_line": 674, + "matched_length": 5514, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_204.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE" + }, + { + "score": 100.0, + "start_line": 38, + "end_line": 38, + "matched_length": 1, "match_coverage": 100.0, "matcher": "2-aho", - "license_expression": "gpl-3.0-plus", - "rule_identifier": "gpl-3.0-plus_290.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE" - } - ] - } - ], - "license_references": [ - { - "key": "cc-by-sa-3.0", - "short_name": "CC-BY-SA-3.0", - "name": "Creative Commons Attribution Share Alike License 3.0", - "category": "Copyleft Limited", - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-sa/3.0/", - "is_builtin": true, - "spdx_license_key": "CC-BY-SA-3.0", - "text_urls": [ - "http://creativecommons.org/licenses/by-sa/3.0/legalcode" - ], - "other_urls": [ - "https://creativecommons.org/licenses/by-sa/3.0/legalcode" - ], - "minimum_coverage": 30, - "text": "Creative Commons Legal Code\n\nAttribution-ShareAlike 3.0 Unported\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR\nDAMAGES RESULTING FROM ITS USE.\n\nLicense\n\nTHE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE\nCOMMONS PUBLIC LICENSE (\"CCPL\" OR \"LICENSE\"). THE WORK IS PROTECTED BY\nCOPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS\nAUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE\nTO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY\nBE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS\nCONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND\nCONDITIONS.\n\n1. Definitions\n\na. \"Adaptation\" means a work based upon the Work, or upon the Work and\nother pre-existing works, such as a translation, adaptation,\nderivative work, arrangement of music or other alterations of a\nliterary or artistic work, or phonogram or performance and includes\ncinematographic adaptations or any other form in which the Work may be\nrecast, transformed, or adapted including in any form recognizably\nderived from the original, except that a work that constitutes a\nCollection will not be considered an Adaptation for the purpose of\nthis License. For the avoidance of doubt, where the Work is a musical\nwork, performance or phonogram, the synchronization of the Work in\ntimed-relation with a moving image (\"synching\") will be considered an\nAdaptation for the purpose of this License.\nb. \"Collection\" means a collection of literary or artistic works, such as\nencyclopedias and anthologies, or performances, phonograms or\nbroadcasts, or other works or subject matter other than works listed\nin Section 1(f) below, which, by reason of the selection and\narrangement of their contents, constitute intellectual creations, in\nwhich the Work is included in its entirety in unmodified form along\nwith one or more other contributions, each constituting separate and\nindependent works in themselves, which together are assembled into a\ncollective whole. A work that constitutes a Collection will not be\nconsidered an Adaptation (as defined below) for the purposes of this\nLicense.\nc. \"Creative Commons Compatible License\" means a license that is listed\nat https://creativecommons.org/compatiblelicenses that has been\napproved by Creative Commons as being essentially equivalent to this\nLicense, including, at a minimum, because that license: (i) contains\nterms that have the same purpose, meaning and effect as the License\nElements of this License; and, (ii) explicitly permits the relicensing\nof adaptations of works made available under that license under this\nLicense or a Creative Commons jurisdiction license with the same\nLicense Elements as this License.\nd. \"Distribute\" means to make available to the public the original and\ncopies of the Work or Adaptation, as appropriate, through sale or\nother transfer of ownership.\ne. \"License Elements\" means the following high-level license attributes\nas selected by Licensor and indicated in the title of this License:\nAttribution, ShareAlike.\nf. \"Licensor\" means the individual, individuals, entity or entities that\noffer(s) the Work under the terms of this License.\ng. \"Original Author\" means, in the case of a literary or artistic work,\nthe individual, individuals, entity or entities who created the Work\nor if no individual or entity can be identified, the publisher; and in\naddition (i) in the case of a performance the actors, singers,\nmusicians, dancers, and other persons who act, sing, deliver, declaim,\nplay in, interpret or otherwise perform literary or artistic works or\nexpressions of folklore; (ii) in the case of a phonogram the producer\nbeing the person or legal entity who first fixes the sounds of a\nperformance or other sounds; and, (iii) in the case of broadcasts, the\norganization that transmits the broadcast.\nh. \"Work\" means the literary and/or artistic work offered under the terms\nof this License including without limitation any production in the\nliterary, scientific and artistic domain, whatever may be the mode or\nform of its expression including digital form, such as a book,\npamphlet and other writing; a lecture, address, sermon or other work\nof the same nature; a dramatic or dramatico-musical work; a\nchoreographic work or entertainment in dumb show; a musical\ncomposition with or without words; a cinematographic work to which are\nassimilated works expressed by a process analogous to cinematography;\na work of drawing, painting, architecture, sculpture, engraving or\nlithography; a photographic work to which are assimilated works\nexpressed by a process analogous to photography; a work of applied\nart; an illustration, map, plan, sketch or three-dimensional work\nrelative to geography, topography, architecture or science; a\nperformance; a broadcast; a phonogram; a compilation of data to the\nextent it is protected as a copyrightable work; or a work performed by\na variety or circus performer to the extent it is not otherwise\nconsidered a literary or artistic work.\ni. \"You\" means an individual or entity exercising rights under this\nLicense who has not previously violated the terms of this License with\nrespect to the Work, or who has received express permission from the\nLicensor to exercise rights under this License despite a previous\nviolation.\nj. \"Publicly Perform\" means to perform public recitations of the Work and\nto communicate to the public those public recitations, by any means or\nprocess, including by wire or wireless means or public digital\nperformances; to make available to the public Works in such a way that\nmembers of the public may access these Works from a place and at a\nplace individually chosen by them; to perform the Work to the public\nby any means or process and the communication to the public of the\nperformances of the Work, including by public digital performance; to\nbroadcast and rebroadcast the Work by any means including signs,\nsounds or images.\nk. \"Reproduce\" means to make copies of the Work by any means including\nwithout limitation by sound or visual recordings and the right of\nfixation and reproducing fixations of the Work, including storage of a\nprotected performance or phonogram in digital form or other electronic\nmedium.\n\n2. Fair Dealing Rights. Nothing in this License is intended to reduce,\nlimit, or restrict any uses free from copyright or rights arising from\nlimitations or exceptions that are provided for in connection with the\ncopyright protection under copyright law or other applicable laws.\n\n3. License Grant. Subject to the terms and conditions of this License,\nLicensor hereby grants You a worldwide, royalty-free, non-exclusive,\nperpetual (for the duration of the applicable copyright) license to\nexercise the rights in the Work as stated below:\n\na. to Reproduce the Work, to incorporate the Work into one or more\nCollections, and to Reproduce the Work as incorporated in the\nCollections;\nb. to create and Reproduce Adaptations provided that any such Adaptation,\nincluding any translation in any medium, takes reasonable steps to\nclearly label, demarcate or otherwise identify that changes were made\nto the original Work. For example, a translation could be marked \"The\noriginal work was translated from English to Spanish,\" or a\nmodification could indicate \"The original work has been modified.\";\nc. to Distribute and Publicly Perform the Work including as incorporated\nin Collections; and,\nd. to Distribute and Publicly Perform Adaptations.\ne. For the avoidance of doubt:\n\ni. Non-waivable Compulsory License Schemes. In those jurisdictions in\nwhich the right to collect royalties through any statutory or\ncompulsory licensing scheme cannot be waived, the Licensor\nreserves the exclusive right to collect such royalties for any\nexercise by You of the rights granted under this License;\nii. Waivable Compulsory License Schemes. In those jurisdictions in\nwhich the right to collect royalties through any statutory or\ncompulsory licensing scheme can be waived, the Licensor waives the\nexclusive right to collect such royalties for any exercise by You\nof the rights granted under this License; and,\niii. Voluntary License Schemes. The Licensor waives the right to\ncollect royalties, whether individually or, in the event that the\nLicensor is a member of a collecting society that administers\nvoluntary licensing schemes, via that society, from any exercise\nby You of the rights granted under this License.\n\nThe above rights may be exercised in all media and formats whether now\nknown or hereafter devised. The above rights include the right to make\nsuch modifications as are technically necessary to exercise the rights in\nother media and formats. Subject to Section 8(f), all rights not expressly\ngranted by Licensor are hereby reserved.\n\n4. Restrictions. The license granted in Section 3 above is expressly made\nsubject to and limited by the following restrictions:\n\na. You may Distribute or Publicly Perform the Work only under the terms\nof this License. You must include a copy of, or the Uniform Resource\nIdentifier (URI) for, this License with every copy of the Work You\nDistribute or Publicly Perform. You may not offer or impose any terms\non the Work that restrict the terms of this License or the ability of\nthe recipient of the Work to exercise the rights granted to that\nrecipient under the terms of the License. You may not sublicense the\nWork. You must keep intact all notices that refer to this License and\nto the disclaimer of warranties with every copy of the Work You\nDistribute or Publicly Perform. When You Distribute or Publicly\nPerform the Work, You may not impose any effective technological\nmeasures on the Work that restrict the ability of a recipient of the\nWork from You to exercise the rights granted to that recipient under\nthe terms of the License. This Section 4(a) applies to the Work as\nincorporated in a Collection, but this does not require the Collection\napart from the Work itself to be made subject to the terms of this\nLicense. If You create a Collection, upon notice from any Licensor You\nmust, to the extent practicable, remove from the Collection any credit\nas required by Section 4(c), as requested. If You create an\nAdaptation, upon notice from any Licensor You must, to the extent\npracticable, remove from the Adaptation any credit as required by\nSection 4(c), as requested.\nb. You may Distribute or Publicly Perform an Adaptation only under the\nterms of: (i) this License; (ii) a later version of this License with\nthe same License Elements as this License; (iii) a Creative Commons\njurisdiction license (either this or a later license version) that\ncontains the same License Elements as this License (e.g.,\nAttribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible\nLicense. If you license the Adaptation under one of the licenses\nmentioned in (iv), you must comply with the terms of that license. If\nyou license the Adaptation under the terms of any of the licenses\nmentioned in (i), (ii) or (iii) (the \"Applicable License\"), you must\ncomply with the terms of the Applicable License generally and the\nfollowing provisions: (I) You must include a copy of, or the URI for,\nthe Applicable License with every copy of each Adaptation You\nDistribute or Publicly Perform; (II) You may not offer or impose any\nterms on the Adaptation that restrict the terms of the Applicable\nLicense or the ability of the recipient of the Adaptation to exercise\nthe rights granted to that recipient under the terms of the Applicable\nLicense; (III) You must keep intact all notices that refer to the\nApplicable License and to the disclaimer of warranties with every copy\nof the Work as included in the Adaptation You Distribute or Publicly\nPerform; (IV) when You Distribute or Publicly Perform the Adaptation,\nYou may not impose any effective technological measures on the\nAdaptation that restrict the ability of a recipient of the Adaptation\nfrom You to exercise the rights granted to that recipient under the\nterms of the Applicable License. This Section 4(b) applies to the\nAdaptation as incorporated in a Collection, but this does not require\nthe Collection apart from the Adaptation itself to be made subject to\nthe terms of the Applicable License.\nc. If You Distribute, or Publicly Perform the Work or any Adaptations or\nCollections, You must, unless a request has been made pursuant to\nSection 4(a), keep intact all copyright notices for the Work and\nprovide, reasonable to the medium or means You are utilizing: (i) the\nname of the Original Author (or pseudonym, if applicable) if supplied,\nand/or if the Original Author and/or Licensor designate another party\nor parties (e.g., a sponsor institute, publishing entity, journal) for\nattribution (\"Attribution Parties\") in Licensor's copyright notice,\nterms of service or by other reasonable means, the name of such party\nor parties; (ii) the title of the Work if supplied; (iii) to the\nextent reasonably practicable, the URI, if any, that Licensor\nspecifies to be associated with the Work, unless such URI does not\nrefer to the copyright notice or licensing information for the Work;\nand (iv) , consistent with Ssection 3(b), in the case of an\nAdaptation, a credit identifying the use of the Work in the Adaptation\n(e.g., \"French translation of the Work by Original Author,\" or\n\"Screenplay based on original Work by Original Author\"). The credit\nrequired by this Section 4(c) may be implemented in any reasonable\nmanner; provided, however, that in the case of a Adaptation or\nCollection, at a minimum such credit will appear, if a credit for all\ncontributing authors of the Adaptation or Collection appears, then as\npart of these credits and in a manner at least as prominent as the\ncredits for the other contributing authors. For the avoidance of\ndoubt, You may only use the credit required by this Section for the\npurpose of attribution in the manner set out above and, by exercising\nYour rights under this License, You may not implicitly or explicitly\nassert or imply any connection with, sponsorship or endorsement by the\nOriginal Author, Licensor and/or Attribution Parties, as appropriate,\nof You or Your use of the Work, without the separate, express prior\nwritten permission of the Original Author, Licensor and/or Attribution\nParties.\nd. Except as otherwise agreed in writing by the Licensor or as may be\notherwise permitted by applicable law, if You Reproduce, Distribute or\nPublicly Perform the Work either by itself or as part of any\nAdaptations or Collections, You must not distort, mutilate, modify or\ntake other derogatory action in relation to the Work which would be\nprejudicial to the Original Author's honor or reputation. Licensor\nagrees that in those jurisdictions (e.g. Japan), in which any exercise\nof the right granted in Section 3(b) of this License (the right to\nmake Adaptations) would be deemed to be a distortion, mutilation,\nmodification or other derogatory action prejudicial to the Original\nAuthor's honor and reputation, the Licensor will waive or not assert,\nas appropriate, this Section, to the fullest extent permitted by the\napplicable national law, to enable You to reasonably exercise Your\nright under Section 3(b) of this License (right to make Adaptations)\nbut not otherwise.\n\n5. Representations, Warranties and Disclaimer\n\nUNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR\nOFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY\nKIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,\nINCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,\nFITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF\nLATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,\nWHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION\nOF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.\n\n6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE\nLAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR\nANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES\nARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS\nBEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n7. Termination\n\na. This License and the rights granted hereunder will terminate\nautomatically upon any breach by You of the terms of this License.\nIndividuals or entities who have received Adaptations or Collections\nfrom You under this License, however, will not have their licenses\nterminated provided such individuals or entities remain in full\ncompliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will\nsurvive any termination of this License.\nb. Subject to the above terms and conditions, the license granted here is\nperpetual (for the duration of the applicable copyright in the Work).\nNotwithstanding the above, Licensor reserves the right to release the\nWork under different license terms or to stop distributing the Work at\nany time; provided, however that any such election will not serve to\nwithdraw this License (or any other license that has been, or is\nrequired to be, granted under the terms of this License), and this\nLicense will continue in full force and effect unless terminated as\nstated above.\n\n8. Miscellaneous\n\na. Each time You Distribute or Publicly Perform the Work or a Collection,\nthe Licensor offers to the recipient a license to the Work on the same\nterms and conditions as the license granted to You under this License.\nb. Each time You Distribute or Publicly Perform an Adaptation, Licensor\noffers to the recipient a license to the original Work on the same\nterms and conditions as the license granted to You under this License.\nc. If any provision of this License is invalid or unenforceable under\napplicable law, it shall not affect the validity or enforceability of\nthe remainder of the terms of this License, and without further action\nby the parties to this agreement, such provision shall be reformed to\nthe minimum extent necessary to make such provision valid and\nenforceable.\nd. No term or provision of this License shall be deemed waived and no\nbreach consented to unless such waiver or consent shall be in writing\nand signed by the party to be charged with such waiver or consent.\ne. This License constitutes the entire agreement between the parties with\nrespect to the Work licensed here. There are no understandings,\nagreements or representations with respect to the Work not specified\nhere. Licensor shall not be bound by any additional provisions that\nmay appear in any communication from You. This License may not be\nmodified without the mutual written agreement of the Licensor and You.\nf. The rights granted under, and the subject matter referenced, in this\nLicense were drafted utilizing the terminology of the Berne Convention\nfor the Protection of Literary and Artistic Works (as amended on\nSeptember 28, 1979), the Rome Convention of 1961, the WIPO Copyright\nTreaty of 1996, the WIPO Performances and Phonograms Treaty of 1996\nand the Universal Copyright Convention (as revised on July 24, 1971).\nThese rights and subject matter take effect in the relevant\njurisdiction in which the License terms are sought to be enforced\naccording to the corresponding provisions of the implementation of\nthose treaty provisions in the applicable national law. If the\nstandard suite of rights granted under applicable copyright law\nincludes additional rights not granted under this License, such\nadditional rights are deemed to be included in the License; this\nLicense is not intended to restrict the license of any rights under\napplicable law.\n\n\nCreative Commons Notice\n\nCreative Commons is not a party to this License, and makes no warranty\nwhatsoever in connection with the Work. Creative Commons will not be\nliable to You or any party on any legal theory for any damages\nwhatsoever, including without limitation any general, special,\nincidental or consequential damages arising in connection to this\nlicense. Notwithstanding the foregoing two (2) sentences, if Creative\nCommons has expressly identified itself as the Licensor hereunder, it\nshall have all rights and obligations of Licensor.\n\nExcept for the limited purpose of indicating to the public that the\nWork is licensed under the CCPL, Creative Commons does not authorize\nthe use by either party of the trademark \"Creative Commons\" or any\nrelated trademark or logo of Creative Commons without the prior\nwritten consent of Creative Commons. Any permitted use will be in\ncompliance with Creative Commons' then-current trademark usage\nguidelines, as may be published on its website or otherwise made\navailable upon request from time to time. For the avoidance of doubt,\nthis trademark restriction does not form part of the License.\n\nCreative Commons may be contacted at https://creativecommons.org/." - }, - { - "key": "cc-by-sa-4.0", - "short_name": "CC-BY-SA-4.0", - "name": "Creative Commons Attribution-ShareAlike 4.0 International Public License", - "category": "Copyleft Limited", - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by-sa/4.0/", - "is_builtin": true, - "spdx_license_key": "CC-BY-SA-4.0", - "text_urls": [ - "http://creativecommons.org/licenses/by-sa/4.0/legalcode" - ], - "other_urls": [ - "https://creativecommons.org/licenses/by-sa/4.0/legalcode" - ], - "text": "Attribution-ShareAlike 4.0 International\n\n=======================================================================\n\nCreative Commons Corporation (\"Creative Commons\") is not a law firm and\ndoes not provide legal services or legal advice. Distribution of\nCreative Commons public licenses does not create a lawyer-client or\nother relationship. Creative Commons makes its licenses and related\ninformation available on an \"as-is\" basis. Creative Commons gives no\nwarranties regarding its licenses, any material licensed under their\nterms and conditions, or any related information. Creative Commons\ndisclaims all liability for damages resulting from their use to the\nfullest extent possible.\n\nUsing Creative Commons Public Licenses\n\nCreative Commons public licenses provide a standard set of terms and\nconditions that creators and other rights holders may use to share\noriginal works of authorship and other material subject to copyright\nand certain other rights specified in the public license below. The\nfollowing considerations are for informational purposes only, are not\nexhaustive, and do not form part of our licenses.\n\nConsiderations for licensors: Our public licenses are\nintended for use by those authorized to give the public\npermission to use material in ways otherwise restricted by\ncopyright and certain other rights. Our licenses are\nirrevocable. Licensors should read and understand the terms\nand conditions of the license they choose before applying it.\nLicensors should also secure all rights necessary before\napplying our licenses so that the public can reuse the\nmaterial as expected. Licensors should clearly mark any\nmaterial not subject to the license. This includes other CC-\nlicensed material, or material used under an exception or\nlimitation to copyright. More considerations for licensors:\nwiki.creativecommons.org/Considerations_for_licensors\n\nConsiderations for the public: By using one of our public\nlicenses, a licensor grants the public permission to use the\nlicensed material under specified terms and conditions. If\nthe licensor's permission is not necessary for any reason--for\nexample, because of any applicable exception or limitation to\ncopyright--then that use is not regulated by the license. Our\nlicenses grant only permissions under copyright and certain\nother rights that a licensor has authority to grant. Use of\nthe licensed material may still be restricted for other\nreasons, including because others have copyright or other\nrights in the material. A licensor may make special requests,\nsuch as asking that all changes be marked or described.\nAlthough not required by our licenses, you are encouraged to\nrespect those requests where reasonable. More considerations\nfor the public:\nwiki.creativecommons.org/Considerations_for_licensees\n\n=======================================================================\n\nCreative Commons Attribution-ShareAlike 4.0 International Public\nLicense\n\nBy exercising the Licensed Rights (defined below), You accept and agree\nto be bound by the terms and conditions of this Creative Commons\nAttribution-ShareAlike 4.0 International Public License (\"Public\nLicense\"). To the extent this Public License may be interpreted as a\ncontract, You are granted the Licensed Rights in consideration of Your\nacceptance of these terms and conditions, and the Licensor grants You\nsuch rights in consideration of benefits the Licensor receives from\nmaking the Licensed Material available under these terms and\nconditions.\n\n\nSection 1 -- Definitions.\n\na. Adapted Material means material subject to Copyright and Similar\nRights that is derived from or based upon the Licensed Material\nand in which the Licensed Material is translated, altered,\narranged, transformed, or otherwise modified in a manner requiring\npermission under the Copyright and Similar Rights held by the\nLicensor. For purposes of this Public License, where the Licensed\nMaterial is a musical work, performance, or sound recording,\nAdapted Material is always produced where the Licensed Material is\nsynched in timed relation with a moving image.\n\nb. Adapter's License means the license You apply to Your Copyright\nand Similar Rights in Your contributions to Adapted Material in\naccordance with the terms and conditions of this Public License.\n\nc. BY-SA Compatible License means a license listed at\ncreativecommons.org/compatiblelicenses, approved by Creative\nCommons as essentially the equivalent of this Public License.\n\nd. Copyright and Similar Rights means copyright and/or similar rights\nclosely related to copyright including, without limitation,\nperformance, broadcast, sound recording, and Sui Generis Database\nRights, without regard to how the rights are labeled or\ncategorized. For purposes of this Public License, the rights\nspecified in Section 2(b)(1)-(2) are not Copyright and Similar\nRights.\n\ne. Effective Technological Measures means those measures that, in the\nabsence of proper authority, may not be circumvented under laws\nfulfilling obligations under Article 11 of the WIPO Copyright\nTreaty adopted on December 20, 1996, and/or similar international\nagreements.\n\nf. Exceptions and Limitations means fair use, fair dealing, and/or\nany other exception or limitation to Copyright and Similar Rights\nthat applies to Your use of the Licensed Material.\n\ng. License Elements means the license attributes listed in the name\nof a Creative Commons Public License. The License Elements of this\nPublic License are Attribution and ShareAlike.\n\nh. Licensed Material means the artistic or literary work, database,\nor other material to which the Licensor applied this Public\nLicense.\n\ni. Licensed Rights means the rights granted to You subject to the\nterms and conditions of this Public License, which are limited to\nall Copyright and Similar Rights that apply to Your use of the\nLicensed Material and that the Licensor has authority to license.\n\nj. Licensor means the individual(s) or entity(ies) granting rights\nunder this Public License.\n\nk. Share means to provide material to the public by any means or\nprocess that requires permission under the Licensed Rights, such\nas reproduction, public display, public performance, distribution,\ndissemination, communication, or importation, and to make material\navailable to the public including in ways that members of the\npublic may access the material from a place and at a time\nindividually chosen by them.\n\nl. Sui Generis Database Rights means rights other than copyright\nresulting from Directive 96/9/EC of the European Parliament and of\nthe Council of 11 March 1996 on the legal protection of databases,\nas amended and/or succeeded, as well as other essentially\nequivalent rights anywhere in the world.\n\nm. You means the individual or entity exercising the Licensed Rights\nunder this Public License. Your has a corresponding meaning.\n\n\nSection 2 -- Scope.\n\na. License grant.\n\n1. Subject to the terms and conditions of this Public License,\nthe Licensor hereby grants You a worldwide, royalty-free,\nnon-sublicensable, non-exclusive, irrevocable license to\nexercise the Licensed Rights in the Licensed Material to:\n\na. reproduce and Share the Licensed Material, in whole or\nin part; and\n\nb. produce, reproduce, and Share Adapted Material.\n\n2. Exceptions and Limitations. For the avoidance of doubt, where\nExceptions and Limitations apply to Your use, this Public\nLicense does not apply, and You do not need to comply with\nits terms and conditions.\n\n3. Term. The term of this Public License is specified in Section\n6(a).\n\n4. Media and formats; technical modifications allowed. The\nLicensor authorizes You to exercise the Licensed Rights in\nall media and formats whether now known or hereafter created,\nand to make technical modifications necessary to do so. The\nLicensor waives and/or agrees not to assert any right or\nauthority to forbid You from making technical modifications\nnecessary to exercise the Licensed Rights, including\ntechnical modifications necessary to circumvent Effective\nTechnological Measures. For purposes of this Public License,\nsimply making modifications authorized by this Section 2(a)\n(4) never produces Adapted Material.\n\n5. Downstream recipients.\n\na. Offer from the Licensor -- Licensed Material. Every\nrecipient of the Licensed Material automatically\nreceives an offer from the Licensor to exercise the\nLicensed Rights under the terms and conditions of this\nPublic License.\n\nb. Additional offer from the Licensor -- Adapted Material.\nEvery recipient of Adapted Material from You\nautomatically receives an offer from the Licensor to\nexercise the Licensed Rights in the Adapted Material\nunder the conditions of the Adapter's License You apply.\n\nc. No downstream restrictions. You may not offer or impose\nany additional or different terms or conditions on, or\napply any Effective Technological Measures to, the\nLicensed Material if doing so restricts exercise of the\nLicensed Rights by any recipient of the Licensed\nMaterial.\n\n6. No endorsement. Nothing in this Public License constitutes or\nmay be construed as permission to assert or imply that You\nare, or that Your use of the Licensed Material is, connected\nwith, or sponsored, endorsed, or granted official status by,\nthe Licensor or others designated to receive attribution as\nprovided in Section 3(a)(1)(A)(i).\n\nb. Other rights.\n\n1. Moral rights, such as the right of integrity, are not\nlicensed under this Public License, nor are publicity,\nprivacy, and/or other similar personality rights; however, to\nthe extent possible, the Licensor waives and/or agrees not to\nassert any such rights held by the Licensor to the limited\nextent necessary to allow You to exercise the Licensed\nRights, but not otherwise.\n\n2. Patent and trademark rights are not licensed under this\nPublic License.\n\n3. To the extent possible, the Licensor waives any right to\ncollect royalties from You for the exercise of the Licensed\nRights, whether directly or through a collecting society\nunder any voluntary or waivable statutory or compulsory\nlicensing scheme. In all other cases the Licensor expressly\nreserves any right to collect such royalties.\n\n\nSection 3 -- License Conditions.\n\nYour exercise of the Licensed Rights is expressly made subject to the\nfollowing conditions.\n\na. Attribution.\n\n1. If You Share the Licensed Material (including in modified\nform), You must:\n\na. retain the following if it is supplied by the Licensor\nwith the Licensed Material:\n\ni. identification of the creator(s) of the Licensed\nMaterial and any others designated to receive\nattribution, in any reasonable manner requested by\nthe Licensor (including by pseudonym if\ndesignated);\n\nii. a copyright notice;\n\niii. a notice that refers to this Public License;\n\niv. a notice that refers to the disclaimer of\nwarranties;\n\nv. a URI or hyperlink to the Licensed Material to the\nextent reasonably practicable;\n\nb. indicate if You modified the Licensed Material and\nretain an indication of any previous modifications; and\n\nc. indicate the Licensed Material is licensed under this\nPublic License, and include the text of, or the URI or\nhyperlink to, this Public License.\n\n2. You may satisfy the conditions in Section 3(a)(1) in any\nreasonable manner based on the medium, means, and context in\nwhich You Share the Licensed Material. For example, it may be\nreasonable to satisfy the conditions by providing a URI or\nhyperlink to a resource that includes the required\ninformation.\n\n3. If requested by the Licensor, You must remove any of the\ninformation required by Section 3(a)(1)(A) to the extent\nreasonably practicable.\n\nb. ShareAlike.\n\nIn addition to the conditions in Section 3(a), if You Share\nAdapted Material You produce, the following conditions also apply.\n\n1. The Adapter's License You apply must be a Creative Commons\nlicense with the same License Elements, this version or\nlater, or a BY-SA Compatible License.\n\n2. You must include the text of, or the URI or hyperlink to, the\nAdapter's License You apply. You may satisfy this condition\nin any reasonable manner based on the medium, means, and\ncontext in which You Share Adapted Material.\n\n3. You may not offer or impose any additional or different terms\nor conditions on, or apply any Effective Technological\nMeasures to, Adapted Material that restrict exercise of the\nrights granted under the Adapter's License You apply.\n\n\nSection 4 -- Sui Generis Database Rights.\n\nWhere the Licensed Rights include Sui Generis Database Rights that\napply to Your use of the Licensed Material:\n\na. for the avoidance of doubt, Section 2(a)(1) grants You the right\nto extract, reuse, reproduce, and Share all or a substantial\nportion of the contents of the database;\n\nb. if You include all or a substantial portion of the database\ncontents in a database in which You have Sui Generis Database\nRights, then the database in which You have Sui Generis Database\nRights (but not its individual contents) is Adapted Material,\n\nincluding for purposes of Section 3(b); and\nc. You must comply with the conditions in Section 3(a) if You Share\nall or a substantial portion of the contents of the database.\n\nFor the avoidance of doubt, this Section 4 supplements and does not\nreplace Your obligations under this Public License where the Licensed\nRights include other Copyright and Similar Rights.\n\n\nSection 5 -- Disclaimer of Warranties and Limitation of Liability.\n\na. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE\nEXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS\nAND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF\nANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,\nIMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,\nWARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR\nPURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,\nACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT\nKNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT\nALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.\n\nb. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE\nTO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,\nNEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,\nINCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,\nCOSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR\nUSE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN\nADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR\nDAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR\nIN PART, THIS LIMITATION MAY NOT APPLY TO YOU.\n\nc. The disclaimer of warranties and limitation of liability provided\nabove shall be interpreted in a manner that, to the extent\npossible, most closely approximates an absolute disclaimer and\nwaiver of all liability.\n\n\nSection 6 -- Term and Termination.\n\na. This Public License applies for the term of the Copyright and\nSimilar Rights licensed here. However, if You fail to comply with\nthis Public License, then Your rights under this Public License\nterminate automatically.\n\nb. Where Your right to use the Licensed Material has terminated under\nSection 6(a), it reinstates:\n\n1. automatically as of the date the violation is cured, provided\nit is cured within 30 days of Your discovery of the\nviolation; or\n\n2. upon express reinstatement by the Licensor.\n\nFor the avoidance of doubt, this Section 6(b) does not affect any\nright the Licensor may have to seek remedies for Your violations\nof this Public License.\n\nc. For the avoidance of doubt, the Licensor may also offer the\nLicensed Material under separate terms or conditions or stop\ndistributing the Licensed Material at any time; however, doing so\nwill not terminate this Public License.\n\nd. Sections 1, 5, 6, 7, and 8 survive termination of this Public\nLicense.\n\n\nSection 7 -- Other Terms and Conditions.\n\na. The Licensor shall not be bound by any additional or different\nterms or conditions communicated by You unless expressly agreed.\n\nb. Any arrangements, understandings, or agreements regarding the\nLicensed Material not stated herein are separate from and\nindependent of the terms and conditions of this Public License.\n\n\nSection 8 -- Interpretation.\n\na. For the avoidance of doubt, this Public License does not, and\nshall not be interpreted to, reduce, limit, restrict, or impose\nconditions on any use of the Licensed Material that could lawfully\nbe made without permission under this Public License.\n\nb. To the extent possible, if any provision of this Public License is\ndeemed unenforceable, it shall be automatically reformed to the\nminimum extent necessary to make it enforceable. If the provision\ncannot be reformed, it shall be severed from this Public License\nwithout affecting the enforceability of the remaining terms and\nconditions.\n\nc. No term or condition of this Public License will be waived and no\nfailure to comply consented to unless expressly agreed to by the\nLicensor.\n\nd. Nothing in this Public License constitutes or may be interpreted\nas a limitation upon, or waiver of, any privileges and immunities\nthat apply to the Licensor or You, including from the legal\nprocesses of any jurisdiction or authority.\n\n\n=======================================================================\n\nCreative Commons is not a party to its public\nlicenses. Notwithstanding, Creative Commons may elect to apply one of\nits public licenses to material it publishes and in those instances\nwill be considered the \u201cLicensor.\u201d The text of the Creative Commons\npublic licenses is dedicated to the public domain under the CC0 Public\nDomain Dedication. Except for the limited purpose of indicating that\nmaterial is shared under a Creative Commons public license or as\notherwise permitted by the Creative Commons policies published at\ncreativecommons.org/policies, Creative Commons does not authorize the\nuse of the trademark \"Creative Commons\" or any other trademark or logo\nof Creative Commons without its prior written consent including,\nwithout limitation, in connection with any unauthorized modifications\nto any of its public licenses or any other arrangements,\nunderstandings, or agreements concerning use of licensed material. For\nthe avoidance of doubt, this paragraph does not form part of the\npublic licenses.\n\nCreative Commons may be contacted at creativecommons.org." - }, - { - "key": "dco-1.1", - "short_name": "DCO 1.1", - "name": "Developer Certificate of Origin 1.1", - "category": "Permissive", - "owner": "Linux Foundation", - "homepage_url": "https://developercertificate.org/", - "is_builtin": true, - "spdx_license_key": "LicenseRef-scancode-dco-1.1", - "text_urls": [ - "https://developercertificate.org/" - ], - "minimum_coverage": 90, - "text": "Developer Certificate of Origin\nVersion 1.1\n\nCopyright (C) 2004, 2006 The Linux Foundation and its contributors.\n1 Letterman Drive\nSuite D4700\nSan Francisco, CA, 94129\n\nEveryone is permitted to copy and distribute verbatim copies of this\nlicense document, but changing it is not allowed.\n\n\nDeveloper's Certificate of Origin 1.1\n\nBy making a contribution to this project, I certify that:\n\n(a) The contribution was created in whole or in part by me and I\nhave the right to submit it under the open source license\nindicated in the file; or\n\n(b) The contribution is based upon previous work that, to the best\nof my knowledge, is covered under an appropriate open source\nlicense and I have the right under that license to submit that\nwork with modifications, whether created in whole or in part\nby me, under the same open source license (unless I am\npermitted to submit under a different license), as indicated\nin the file; or\n\n(c) The contribution was provided directly to me by some other\nperson who certified (a), (b) or (c) and I have not modified\nit.\n\n(d) I understand and agree that this project and the contribution\nare public and that a record of the contribution (including all\npersonal information I submit with it, including my sign-off) is\nmaintained indefinitely and may be redistributed consistent with\nthis project or the open source license(s) involved." - }, - { - "key": "free-unknown", - "short_name": "Free unknown", - "name": "Free unknown license detected but not recognized", - "category": "Unstated License", - "owner": "Unspecified", - "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", - "is_builtin": true, - "is_unknown": true, - "spdx_license_key": "LicenseRef-scancode-free-unknown", - "text": "" - }, - { - "key": "gpl-1.0-plus", - "short_name": "GPL 1.0 or later", - "name": "GNU General Public License 1.0 or later", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "notes": "Per SPDX.org, this license was released February 1989.", - "is_builtin": true, - "spdx_license_key": "GPL-1.0-or-later", - "other_spdx_license_keys": [ - "GPL-1.0+", - "LicenseRef-GPL" + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_32.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE" + }, + { + "score": 100.0, + "start_line": 38, + "end_line": 38, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_29.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE" + }, + { + "score": 100.0, + "start_line": 39, + "end_line": 39, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_bare_single_word.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE" + }, + { + "score": 20.0, + "start_line": 57, + "end_line": 57, + "matched_length": 6, + "match_coverage": 20.0, + "matcher": "3-seq", + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_627.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE" + }, + { + "score": 50.0, + "start_line": 60, + "end_line": 61, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "free-unknown", + "rule_identifier": "free-unknown_88.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE" + }, + { + "score": 100.0, + "start_line": 63, + "end_line": 63, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" + }, + { + "score": 100.0, + "start_line": 76, + "end_line": 76, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_bare_gnu_gpl.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE" + }, + { + "score": 100.0, + "start_line": 79, + "end_line": 79, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE" + }, + { + "score": 47.22, + "start_line": 79, + "end_line": 81, + "matched_length": 17, + "match_coverage": 47.22, + "matcher": "3-seq", + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_103.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE" + }, + { + "score": 100.0, + "start_line": 84, + "end_line": 84, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_12.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE" + }, + { + "score": 100.0, + "start_line": 85, + "end_line": 85, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE" + }, + { + "score": 75.0, + "start_line": 121, + "end_line": 122, + "matched_length": 12, + "match_coverage": 75.0, + "matcher": "3-seq", + "license_expression": "cc-by-sa-3.0", + "rule_identifier": "cc-by-sa-3.0_10.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE" + }, + { + "score": 100.0, + "start_line": 122, + "end_line": 122, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cc-by-sa-4.0", + "rule_identifier": "cc-by-sa-4.0_71.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE" + }, + { + "score": 100.0, + "start_line": 123, + "end_line": 123, + "matched_length": 7, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "dco-1.1", + "rule_identifier": "dco-1.1_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE" + }, + { + "score": 81.82, + "start_line": 6, + "end_line": 6, + "matched_length": 9, + "match_coverage": 81.82, + "matcher": "3-seq", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1142.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE" + }, + { + "score": 100.0, + "start_line": 22, + "end_line": 22, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_236.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE" + } + ] + }, + { + "identifier": "gpl_3_0_plus-f70c823f-c2d0-5369-e1d2-3cc1103e518b", + "license_expression": "gpl-3.0-plus", + "count": 1, + "detection_log": [ + "not-combined" ], + "matches": [ + { + "score": 100.0, + "start_line": 5, + "end_line": 16, + "matched_length": 102, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_290.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE" + } + ] + } + ], + "license_references": [ + { + "key": "cc-by-sa-3.0", + "short_name": "CC-BY-SA-3.0", + "name": "Creative Commons Attribution Share Alike License 3.0", + "category": "Copyleft Limited", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by-sa/3.0/", + "is_builtin": true, + "spdx_license_key": "CC-BY-SA-3.0", "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + "http://creativecommons.org/licenses/by-sa/3.0/legalcode" ], "other_urls": [ - "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + "https://creativecommons.org/licenses/by-sa/3.0/legalcode" ], - "minimum_coverage": 99, - "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 1, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,\nCambridge, MA 02139, USA.\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 1, February 1989\n\nCopyright (C) 1989 Free Software Foundation, Inc.\n51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe license agreements of most software companies try to keep users\nat the mercy of those companies. By contrast, our General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. The\nGeneral Public License applies to the Free Software Foundation's\nsoftware and to any other program whose authors commit to using it.\nYou can use it for your programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Specifically, the General Public License is designed to make\nsure that you have the freedom to give away or sell copies of free\nsoftware, that you receive source code or can get it if you want it,\nthat you can change the software or use pieces of it in new free\nprograms; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of a such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must tell them their rights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any program or other work which\ncontains a notice placed by the copyright holder saying it may be\ndistributed under the terms of this General Public License. The\n\"Program\", below, refers to any such program or work, and a \"work based\non the Program\" means either the Program or any work containing the\nProgram or a portion of it, either verbatim or with modifications. Each\nlicensee is addressed as \"you\".\n\n1. You may copy and distribute verbatim copies of the Program's source\ncode as you receive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice and\ndisclaimer of warranty; keep intact all the notices that refer to this\nGeneral Public License and to the absence of any warranty; and give any\nother recipients of the Program a copy of this General Public License\nalong with the Program. You may charge a fee for the physical act of\ntransferring a copy.\n\n2. You may modify your copy or copies of the Program or any portion of\nit, and copy and distribute such modifications under the terms of Paragraph\n1 above, provided that you also do the following:\n\na) cause the modified files to carry prominent notices stating that\nyou changed the files and the date of any change; and\n\nb) cause the whole of any work that you distribute or publish, that\nin whole or in part contains the Program or any part thereof, either\nwith or without modifications, to be licensed at no charge to all\nthird parties under the terms of this General Public License (except\nthat you may choose to grant warranty protection to some or all\nthird parties, at your option).\n\nc) If the modified program normally reads commands interactively when\nrun, you must cause it, when started running for such interactive use\nin the simplest and most usual way, to print or display an\nannouncement including an appropriate copyright notice and a notice\nthat there is no warranty (or else, saying that you provide a\nwarranty) and that users may redistribute the program under these\nconditions, and telling the user how to view a copy of this General\nPublic License.\n\nd) You may charge a fee for the physical act of transferring a\ncopy, and you may at your option offer warranty protection in\nexchange for a fee.\n\nMere aggregation of another independent work with the Program (or its\nderivative) on a volume of a storage or distribution medium does not bring\nthe other work under the scope of these terms.\n\n\n3. You may copy and distribute the Program (or a portion or derivative of\nit, under Paragraph 2) in object code or executable form under the terms of\nParagraphs 1 and 2 above provided that you also do one of the following:\n\na) accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nb) accompany it with a written offer, valid for at least three\nyears, to give any third party free (except for a nominal charge\nfor the cost of distribution) a complete machine-readable copy of the\ncorresponding source code, to be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nc) accompany it with the information you received as to where the\ncorresponding source code may be obtained. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form alone.)\n\nSource code for a work means the preferred form of the work for making\nmodifications to it. For an executable file, complete source code means\nall the source code for all modules it contains; but, as a special\nexception, it need not include source code for modules which are standard\nlibraries that accompany the operating system on which the executable\nfile runs, or for standard header files or definitions files that\naccompany that operating system.\n\n4. You may not copy, modify, sublicense, distribute or transfer the\nProgram except as expressly provided under this General Public License.\nAny attempt otherwise to copy, modify, sublicense, distribute or transfer\nthe Program is void, and will automatically terminate your rights to use\nthe Program under this License. However, parties who have received\ncopies, or rights to use copies, from you under this General Public\nLicense will not have their licenses terminated so long as such parties\nremain in full compliance.\n\n5. By copying, distributing or modifying the Program (or any work based\non the Program) you indicate your acceptance of this license to do so,\nand all its terms and conditions.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the original\nlicensor to copy, distribute or modify the Program subject to these\nterms and conditions. You may not impose any further restrictions on the\nrecipients' exercise of the rights granted herein.\n\n\n7. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of the license which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthe license, you may choose any version ever published by the Free Software\nFoundation.\n\n8. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nAppendix: How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to humanity, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these\nterms.\n\nTo do so, attach the following notices to the program. It is safest to\nattach them to the start of each source file to most effectively convey\nthe exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) 19yy \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 1, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA\n\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) 19xx name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the\nappropriate parts of the General Public License. Of course, the\ncommands you use may be called something other than `show w' and `show\nc'; they could even be mouse-clicks or menu items--whatever suits your\nprogram.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nprogram `Gnomovision' (a program to direct compilers to make passes\nat assemblers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThat's all there is to it!" + "minimum_coverage": 30, + "text": "Creative Commons Legal Code\n\nAttribution-ShareAlike 3.0 Unported\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR\nDAMAGES RESULTING FROM ITS USE.\n\nLicense\n\nTHE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE\nCOMMONS PUBLIC LICENSE (\"CCPL\" OR \"LICENSE\"). THE WORK IS PROTECTED BY\nCOPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS\nAUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE\nTO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY\nBE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS\nCONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND\nCONDITIONS.\n\n1. Definitions\n\na. \"Adaptation\" means a work based upon the Work, or upon the Work and\nother pre-existing works, such as a translation, adaptation,\nderivative work, arrangement of music or other alterations of a\nliterary or artistic work, or phonogram or performance and includes\ncinematographic adaptations or any other form in which the Work may be\nrecast, transformed, or adapted including in any form recognizably\nderived from the original, except that a work that constitutes a\nCollection will not be considered an Adaptation for the purpose of\nthis License. For the avoidance of doubt, where the Work is a musical\nwork, performance or phonogram, the synchronization of the Work in\ntimed-relation with a moving image (\"synching\") will be considered an\nAdaptation for the purpose of this License.\nb. \"Collection\" means a collection of literary or artistic works, such as\nencyclopedias and anthologies, or performances, phonograms or\nbroadcasts, or other works or subject matter other than works listed\nin Section 1(f) below, which, by reason of the selection and\narrangement of their contents, constitute intellectual creations, in\nwhich the Work is included in its entirety in unmodified form along\nwith one or more other contributions, each constituting separate and\nindependent works in themselves, which together are assembled into a\ncollective whole. A work that constitutes a Collection will not be\nconsidered an Adaptation (as defined below) for the purposes of this\nLicense.\nc. \"Creative Commons Compatible License\" means a license that is listed\nat https://creativecommons.org/compatiblelicenses that has been\napproved by Creative Commons as being essentially equivalent to this\nLicense, including, at a minimum, because that license: (i) contains\nterms that have the same purpose, meaning and effect as the License\nElements of this License; and, (ii) explicitly permits the relicensing\nof adaptations of works made available under that license under this\nLicense or a Creative Commons jurisdiction license with the same\nLicense Elements as this License.\nd. \"Distribute\" means to make available to the public the original and\ncopies of the Work or Adaptation, as appropriate, through sale or\nother transfer of ownership.\ne. \"License Elements\" means the following high-level license attributes\nas selected by Licensor and indicated in the title of this License:\nAttribution, ShareAlike.\nf. \"Licensor\" means the individual, individuals, entity or entities that\noffer(s) the Work under the terms of this License.\ng. \"Original Author\" means, in the case of a literary or artistic work,\nthe individual, individuals, entity or entities who created the Work\nor if no individual or entity can be identified, the publisher; and in\naddition (i) in the case of a performance the actors, singers,\nmusicians, dancers, and other persons who act, sing, deliver, declaim,\nplay in, interpret or otherwise perform literary or artistic works or\nexpressions of folklore; (ii) in the case of a phonogram the producer\nbeing the person or legal entity who first fixes the sounds of a\nperformance or other sounds; and, (iii) in the case of broadcasts, the\norganization that transmits the broadcast.\nh. \"Work\" means the literary and/or artistic work offered under the terms\nof this License including without limitation any production in the\nliterary, scientific and artistic domain, whatever may be the mode or\nform of its expression including digital form, such as a book,\npamphlet and other writing; a lecture, address, sermon or other work\nof the same nature; a dramatic or dramatico-musical work; a\nchoreographic work or entertainment in dumb show; a musical\ncomposition with or without words; a cinematographic work to which are\nassimilated works expressed by a process analogous to cinematography;\na work of drawing, painting, architecture, sculpture, engraving or\nlithography; a photographic work to which are assimilated works\nexpressed by a process analogous to photography; a work of applied\nart; an illustration, map, plan, sketch or three-dimensional work\nrelative to geography, topography, architecture or science; a\nperformance; a broadcast; a phonogram; a compilation of data to the\nextent it is protected as a copyrightable work; or a work performed by\na variety or circus performer to the extent it is not otherwise\nconsidered a literary or artistic work.\ni. \"You\" means an individual or entity exercising rights under this\nLicense who has not previously violated the terms of this License with\nrespect to the Work, or who has received express permission from the\nLicensor to exercise rights under this License despite a previous\nviolation.\nj. \"Publicly Perform\" means to perform public recitations of the Work and\nto communicate to the public those public recitations, by any means or\nprocess, including by wire or wireless means or public digital\nperformances; to make available to the public Works in such a way that\nmembers of the public may access these Works from a place and at a\nplace individually chosen by them; to perform the Work to the public\nby any means or process and the communication to the public of the\nperformances of the Work, including by public digital performance; to\nbroadcast and rebroadcast the Work by any means including signs,\nsounds or images.\nk. \"Reproduce\" means to make copies of the Work by any means including\nwithout limitation by sound or visual recordings and the right of\nfixation and reproducing fixations of the Work, including storage of a\nprotected performance or phonogram in digital form or other electronic\nmedium.\n\n2. Fair Dealing Rights. Nothing in this License is intended to reduce,\nlimit, or restrict any uses free from copyright or rights arising from\nlimitations or exceptions that are provided for in connection with the\ncopyright protection under copyright law or other applicable laws.\n\n3. License Grant. Subject to the terms and conditions of this License,\nLicensor hereby grants You a worldwide, royalty-free, non-exclusive,\nperpetual (for the duration of the applicable copyright) license to\nexercise the rights in the Work as stated below:\n\na. to Reproduce the Work, to incorporate the Work into one or more\nCollections, and to Reproduce the Work as incorporated in the\nCollections;\nb. to create and Reproduce Adaptations provided that any such Adaptation,\nincluding any translation in any medium, takes reasonable steps to\nclearly label, demarcate or otherwise identify that changes were made\nto the original Work. For example, a translation could be marked \"The\noriginal work was translated from English to Spanish,\" or a\nmodification could indicate \"The original work has been modified.\";\nc. to Distribute and Publicly Perform the Work including as incorporated\nin Collections; and,\nd. to Distribute and Publicly Perform Adaptations.\ne. For the avoidance of doubt:\n\ni. Non-waivable Compulsory License Schemes. In those jurisdictions in\nwhich the right to collect royalties through any statutory or\ncompulsory licensing scheme cannot be waived, the Licensor\nreserves the exclusive right to collect such royalties for any\nexercise by You of the rights granted under this License;\nii. Waivable Compulsory License Schemes. In those jurisdictions in\nwhich the right to collect royalties through any statutory or\ncompulsory licensing scheme can be waived, the Licensor waives the\nexclusive right to collect such royalties for any exercise by You\nof the rights granted under this License; and,\niii. Voluntary License Schemes. The Licensor waives the right to\ncollect royalties, whether individually or, in the event that the\nLicensor is a member of a collecting society that administers\nvoluntary licensing schemes, via that society, from any exercise\nby You of the rights granted under this License.\n\nThe above rights may be exercised in all media and formats whether now\nknown or hereafter devised. The above rights include the right to make\nsuch modifications as are technically necessary to exercise the rights in\nother media and formats. Subject to Section 8(f), all rights not expressly\ngranted by Licensor are hereby reserved.\n\n4. Restrictions. The license granted in Section 3 above is expressly made\nsubject to and limited by the following restrictions:\n\na. You may Distribute or Publicly Perform the Work only under the terms\nof this License. You must include a copy of, or the Uniform Resource\nIdentifier (URI) for, this License with every copy of the Work You\nDistribute or Publicly Perform. You may not offer or impose any terms\non the Work that restrict the terms of this License or the ability of\nthe recipient of the Work to exercise the rights granted to that\nrecipient under the terms of the License. You may not sublicense the\nWork. You must keep intact all notices that refer to this License and\nto the disclaimer of warranties with every copy of the Work You\nDistribute or Publicly Perform. When You Distribute or Publicly\nPerform the Work, You may not impose any effective technological\nmeasures on the Work that restrict the ability of a recipient of the\nWork from You to exercise the rights granted to that recipient under\nthe terms of the License. This Section 4(a) applies to the Work as\nincorporated in a Collection, but this does not require the Collection\napart from the Work itself to be made subject to the terms of this\nLicense. If You create a Collection, upon notice from any Licensor You\nmust, to the extent practicable, remove from the Collection any credit\nas required by Section 4(c), as requested. If You create an\nAdaptation, upon notice from any Licensor You must, to the extent\npracticable, remove from the Adaptation any credit as required by\nSection 4(c), as requested.\nb. You may Distribute or Publicly Perform an Adaptation only under the\nterms of: (i) this License; (ii) a later version of this License with\nthe same License Elements as this License; (iii) a Creative Commons\njurisdiction license (either this or a later license version) that\ncontains the same License Elements as this License (e.g.,\nAttribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible\nLicense. If you license the Adaptation under one of the licenses\nmentioned in (iv), you must comply with the terms of that license. If\nyou license the Adaptation under the terms of any of the licenses\nmentioned in (i), (ii) or (iii) (the \"Applicable License\"), you must\ncomply with the terms of the Applicable License generally and the\nfollowing provisions: (I) You must include a copy of, or the URI for,\nthe Applicable License with every copy of each Adaptation You\nDistribute or Publicly Perform; (II) You may not offer or impose any\nterms on the Adaptation that restrict the terms of the Applicable\nLicense or the ability of the recipient of the Adaptation to exercise\nthe rights granted to that recipient under the terms of the Applicable\nLicense; (III) You must keep intact all notices that refer to the\nApplicable License and to the disclaimer of warranties with every copy\nof the Work as included in the Adaptation You Distribute or Publicly\nPerform; (IV) when You Distribute or Publicly Perform the Adaptation,\nYou may not impose any effective technological measures on the\nAdaptation that restrict the ability of a recipient of the Adaptation\nfrom You to exercise the rights granted to that recipient under the\nterms of the Applicable License. This Section 4(b) applies to the\nAdaptation as incorporated in a Collection, but this does not require\nthe Collection apart from the Adaptation itself to be made subject to\nthe terms of the Applicable License.\nc. If You Distribute, or Publicly Perform the Work or any Adaptations or\nCollections, You must, unless a request has been made pursuant to\nSection 4(a), keep intact all copyright notices for the Work and\nprovide, reasonable to the medium or means You are utilizing: (i) the\nname of the Original Author (or pseudonym, if applicable) if supplied,\nand/or if the Original Author and/or Licensor designate another party\nor parties (e.g., a sponsor institute, publishing entity, journal) for\nattribution (\"Attribution Parties\") in Licensor's copyright notice,\nterms of service or by other reasonable means, the name of such party\nor parties; (ii) the title of the Work if supplied; (iii) to the\nextent reasonably practicable, the URI, if any, that Licensor\nspecifies to be associated with the Work, unless such URI does not\nrefer to the copyright notice or licensing information for the Work;\nand (iv) , consistent with Ssection 3(b), in the case of an\nAdaptation, a credit identifying the use of the Work in the Adaptation\n(e.g., \"French translation of the Work by Original Author,\" or\n\"Screenplay based on original Work by Original Author\"). The credit\nrequired by this Section 4(c) may be implemented in any reasonable\nmanner; provided, however, that in the case of a Adaptation or\nCollection, at a minimum such credit will appear, if a credit for all\ncontributing authors of the Adaptation or Collection appears, then as\npart of these credits and in a manner at least as prominent as the\ncredits for the other contributing authors. For the avoidance of\ndoubt, You may only use the credit required by this Section for the\npurpose of attribution in the manner set out above and, by exercising\nYour rights under this License, You may not implicitly or explicitly\nassert or imply any connection with, sponsorship or endorsement by the\nOriginal Author, Licensor and/or Attribution Parties, as appropriate,\nof You or Your use of the Work, without the separate, express prior\nwritten permission of the Original Author, Licensor and/or Attribution\nParties.\nd. Except as otherwise agreed in writing by the Licensor or as may be\notherwise permitted by applicable law, if You Reproduce, Distribute or\nPublicly Perform the Work either by itself or as part of any\nAdaptations or Collections, You must not distort, mutilate, modify or\ntake other derogatory action in relation to the Work which would be\nprejudicial to the Original Author's honor or reputation. Licensor\nagrees that in those jurisdictions (e.g. Japan), in which any exercise\nof the right granted in Section 3(b) of this License (the right to\nmake Adaptations) would be deemed to be a distortion, mutilation,\nmodification or other derogatory action prejudicial to the Original\nAuthor's honor and reputation, the Licensor will waive or not assert,\nas appropriate, this Section, to the fullest extent permitted by the\napplicable national law, to enable You to reasonably exercise Your\nright under Section 3(b) of this License (right to make Adaptations)\nbut not otherwise.\n\n5. Representations, Warranties and Disclaimer\n\nUNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR\nOFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY\nKIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,\nINCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,\nFITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF\nLATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,\nWHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION\nOF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.\n\n6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE\nLAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR\nANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES\nARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS\nBEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n7. Termination\n\na. This License and the rights granted hereunder will terminate\nautomatically upon any breach by You of the terms of this License.\nIndividuals or entities who have received Adaptations or Collections\nfrom You under this License, however, will not have their licenses\nterminated provided such individuals or entities remain in full\ncompliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will\nsurvive any termination of this License.\nb. Subject to the above terms and conditions, the license granted here is\nperpetual (for the duration of the applicable copyright in the Work).\nNotwithstanding the above, Licensor reserves the right to release the\nWork under different license terms or to stop distributing the Work at\nany time; provided, however that any such election will not serve to\nwithdraw this License (or any other license that has been, or is\nrequired to be, granted under the terms of this License), and this\nLicense will continue in full force and effect unless terminated as\nstated above.\n\n8. Miscellaneous\n\na. Each time You Distribute or Publicly Perform the Work or a Collection,\nthe Licensor offers to the recipient a license to the Work on the same\nterms and conditions as the license granted to You under this License.\nb. Each time You Distribute or Publicly Perform an Adaptation, Licensor\noffers to the recipient a license to the original Work on the same\nterms and conditions as the license granted to You under this License.\nc. If any provision of this License is invalid or unenforceable under\napplicable law, it shall not affect the validity or enforceability of\nthe remainder of the terms of this License, and without further action\nby the parties to this agreement, such provision shall be reformed to\nthe minimum extent necessary to make such provision valid and\nenforceable.\nd. No term or provision of this License shall be deemed waived and no\nbreach consented to unless such waiver or consent shall be in writing\nand signed by the party to be charged with such waiver or consent.\ne. This License constitutes the entire agreement between the parties with\nrespect to the Work licensed here. There are no understandings,\nagreements or representations with respect to the Work not specified\nhere. Licensor shall not be bound by any additional provisions that\nmay appear in any communication from You. This License may not be\nmodified without the mutual written agreement of the Licensor and You.\nf. The rights granted under, and the subject matter referenced, in this\nLicense were drafted utilizing the terminology of the Berne Convention\nfor the Protection of Literary and Artistic Works (as amended on\nSeptember 28, 1979), the Rome Convention of 1961, the WIPO Copyright\nTreaty of 1996, the WIPO Performances and Phonograms Treaty of 1996\nand the Universal Copyright Convention (as revised on July 24, 1971).\nThese rights and subject matter take effect in the relevant\njurisdiction in which the License terms are sought to be enforced\naccording to the corresponding provisions of the implementation of\nthose treaty provisions in the applicable national law. If the\nstandard suite of rights granted under applicable copyright law\nincludes additional rights not granted under this License, such\nadditional rights are deemed to be included in the License; this\nLicense is not intended to restrict the license of any rights under\napplicable law.\n\n\nCreative Commons Notice\n\nCreative Commons is not a party to this License, and makes no warranty\nwhatsoever in connection with the Work. Creative Commons will not be\nliable to You or any party on any legal theory for any damages\nwhatsoever, including without limitation any general, special,\nincidental or consequential damages arising in connection to this\nlicense. Notwithstanding the foregoing two (2) sentences, if Creative\nCommons has expressly identified itself as the Licensor hereunder, it\nshall have all rights and obligations of Licensor.\n\nExcept for the limited purpose of indicating to the public that the\nWork is licensed under the CCPL, Creative Commons does not authorize\nthe use by either party of the trademark \"Creative Commons\" or any\nrelated trademark or logo of Creative Commons without the prior\nwritten consent of Creative Commons. Any permitted use will be in\ncompliance with Creative Commons' then-current trademark usage\nguidelines, as may be published on its website or otherwise made\navailable upon request from time to time. For the avoidance of doubt,\nthis trademark restriction does not form part of the License.\n\nCreative Commons may be contacted at https://creativecommons.org/." }, { - "key": "gpl-2.0", - "short_name": "GPL 2.0", - "name": "GNU General Public License 2.0", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "key": "cc-by-sa-4.0", + "short_name": "CC-BY-SA-4.0", + "name": "Creative Commons Attribution-ShareAlike 4.0 International Public License", + "category": "Copyleft Limited", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by-sa/4.0/", "is_builtin": true, - "spdx_license_key": "GPL-2.0-only", - "other_spdx_license_keys": [ - "GPL-2.0", - "GPL 2.0", - "LicenseRef-GPL-2.0" - ], - "osi_license_key": "GPL-2.0", + "spdx_license_key": "CC-BY-SA-4.0", "text_urls": [ - "http://www.gnu.org/licenses/gpl-2.0.txt", - "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + "http://creativecommons.org/licenses/by-sa/4.0/legalcode" ], - "osi_url": "http://opensource.org/licenses/gpl-license.php", - "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", "other_urls": [ - "http://creativecommons.org/choose/cc-gpl", - "http://creativecommons.org/images/public/cc-GPL-a.png", - "http://creativecommons.org/licenses/GPL/2.0/", - "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", - "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "http://www.opensource.org/licenses/GPL-2.0", - "https://opensource.org/licenses/GPL-2.0", - "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + "https://creativecommons.org/licenses/by-sa/4.0/legalcode" ], - "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + "text": "Attribution-ShareAlike 4.0 International\n\n=======================================================================\n\nCreative Commons Corporation (\"Creative Commons\") is not a law firm and\ndoes not provide legal services or legal advice. Distribution of\nCreative Commons public licenses does not create a lawyer-client or\nother relationship. Creative Commons makes its licenses and related\ninformation available on an \"as-is\" basis. Creative Commons gives no\nwarranties regarding its licenses, any material licensed under their\nterms and conditions, or any related information. Creative Commons\ndisclaims all liability for damages resulting from their use to the\nfullest extent possible.\n\nUsing Creative Commons Public Licenses\n\nCreative Commons public licenses provide a standard set of terms and\nconditions that creators and other rights holders may use to share\noriginal works of authorship and other material subject to copyright\nand certain other rights specified in the public license below. The\nfollowing considerations are for informational purposes only, are not\nexhaustive, and do not form part of our licenses.\n\nConsiderations for licensors: Our public licenses are\nintended for use by those authorized to give the public\npermission to use material in ways otherwise restricted by\ncopyright and certain other rights. Our licenses are\nirrevocable. Licensors should read and understand the terms\nand conditions of the license they choose before applying it.\nLicensors should also secure all rights necessary before\napplying our licenses so that the public can reuse the\nmaterial as expected. Licensors should clearly mark any\nmaterial not subject to the license. This includes other CC-\nlicensed material, or material used under an exception or\nlimitation to copyright. More considerations for licensors:\nwiki.creativecommons.org/Considerations_for_licensors\n\nConsiderations for the public: By using one of our public\nlicenses, a licensor grants the public permission to use the\nlicensed material under specified terms and conditions. If\nthe licensor's permission is not necessary for any reason--for\nexample, because of any applicable exception or limitation to\ncopyright--then that use is not regulated by the license. Our\nlicenses grant only permissions under copyright and certain\nother rights that a licensor has authority to grant. Use of\nthe licensed material may still be restricted for other\nreasons, including because others have copyright or other\nrights in the material. A licensor may make special requests,\nsuch as asking that all changes be marked or described.\nAlthough not required by our licenses, you are encouraged to\nrespect those requests where reasonable. More considerations\nfor the public:\nwiki.creativecommons.org/Considerations_for_licensees\n\n=======================================================================\n\nCreative Commons Attribution-ShareAlike 4.0 International Public\nLicense\n\nBy exercising the Licensed Rights (defined below), You accept and agree\nto be bound by the terms and conditions of this Creative Commons\nAttribution-ShareAlike 4.0 International Public License (\"Public\nLicense\"). To the extent this Public License may be interpreted as a\ncontract, You are granted the Licensed Rights in consideration of Your\nacceptance of these terms and conditions, and the Licensor grants You\nsuch rights in consideration of benefits the Licensor receives from\nmaking the Licensed Material available under these terms and\nconditions.\n\n\nSection 1 -- Definitions.\n\na. Adapted Material means material subject to Copyright and Similar\nRights that is derived from or based upon the Licensed Material\nand in which the Licensed Material is translated, altered,\narranged, transformed, or otherwise modified in a manner requiring\npermission under the Copyright and Similar Rights held by the\nLicensor. For purposes of this Public License, where the Licensed\nMaterial is a musical work, performance, or sound recording,\nAdapted Material is always produced where the Licensed Material is\nsynched in timed relation with a moving image.\n\nb. Adapter's License means the license You apply to Your Copyright\nand Similar Rights in Your contributions to Adapted Material in\naccordance with the terms and conditions of this Public License.\n\nc. BY-SA Compatible License means a license listed at\ncreativecommons.org/compatiblelicenses, approved by Creative\nCommons as essentially the equivalent of this Public License.\n\nd. Copyright and Similar Rights means copyright and/or similar rights\nclosely related to copyright including, without limitation,\nperformance, broadcast, sound recording, and Sui Generis Database\nRights, without regard to how the rights are labeled or\ncategorized. For purposes of this Public License, the rights\nspecified in Section 2(b)(1)-(2) are not Copyright and Similar\nRights.\n\ne. Effective Technological Measures means those measures that, in the\nabsence of proper authority, may not be circumvented under laws\nfulfilling obligations under Article 11 of the WIPO Copyright\nTreaty adopted on December 20, 1996, and/or similar international\nagreements.\n\nf. Exceptions and Limitations means fair use, fair dealing, and/or\nany other exception or limitation to Copyright and Similar Rights\nthat applies to Your use of the Licensed Material.\n\ng. License Elements means the license attributes listed in the name\nof a Creative Commons Public License. The License Elements of this\nPublic License are Attribution and ShareAlike.\n\nh. Licensed Material means the artistic or literary work, database,\nor other material to which the Licensor applied this Public\nLicense.\n\ni. Licensed Rights means the rights granted to You subject to the\nterms and conditions of this Public License, which are limited to\nall Copyright and Similar Rights that apply to Your use of the\nLicensed Material and that the Licensor has authority to license.\n\nj. Licensor means the individual(s) or entity(ies) granting rights\nunder this Public License.\n\nk. Share means to provide material to the public by any means or\nprocess that requires permission under the Licensed Rights, such\nas reproduction, public display, public performance, distribution,\ndissemination, communication, or importation, and to make material\navailable to the public including in ways that members of the\npublic may access the material from a place and at a time\nindividually chosen by them.\n\nl. Sui Generis Database Rights means rights other than copyright\nresulting from Directive 96/9/EC of the European Parliament and of\nthe Council of 11 March 1996 on the legal protection of databases,\nas amended and/or succeeded, as well as other essentially\nequivalent rights anywhere in the world.\n\nm. You means the individual or entity exercising the Licensed Rights\nunder this Public License. Your has a corresponding meaning.\n\n\nSection 2 -- Scope.\n\na. License grant.\n\n1. Subject to the terms and conditions of this Public License,\nthe Licensor hereby grants You a worldwide, royalty-free,\nnon-sublicensable, non-exclusive, irrevocable license to\nexercise the Licensed Rights in the Licensed Material to:\n\na. reproduce and Share the Licensed Material, in whole or\nin part; and\n\nb. produce, reproduce, and Share Adapted Material.\n\n2. Exceptions and Limitations. For the avoidance of doubt, where\nExceptions and Limitations apply to Your use, this Public\nLicense does not apply, and You do not need to comply with\nits terms and conditions.\n\n3. Term. The term of this Public License is specified in Section\n6(a).\n\n4. Media and formats; technical modifications allowed. The\nLicensor authorizes You to exercise the Licensed Rights in\nall media and formats whether now known or hereafter created,\nand to make technical modifications necessary to do so. The\nLicensor waives and/or agrees not to assert any right or\nauthority to forbid You from making technical modifications\nnecessary to exercise the Licensed Rights, including\ntechnical modifications necessary to circumvent Effective\nTechnological Measures. For purposes of this Public License,\nsimply making modifications authorized by this Section 2(a)\n(4) never produces Adapted Material.\n\n5. Downstream recipients.\n\na. Offer from the Licensor -- Licensed Material. Every\nrecipient of the Licensed Material automatically\nreceives an offer from the Licensor to exercise the\nLicensed Rights under the terms and conditions of this\nPublic License.\n\nb. Additional offer from the Licensor -- Adapted Material.\nEvery recipient of Adapted Material from You\nautomatically receives an offer from the Licensor to\nexercise the Licensed Rights in the Adapted Material\nunder the conditions of the Adapter's License You apply.\n\nc. No downstream restrictions. You may not offer or impose\nany additional or different terms or conditions on, or\napply any Effective Technological Measures to, the\nLicensed Material if doing so restricts exercise of the\nLicensed Rights by any recipient of the Licensed\nMaterial.\n\n6. No endorsement. Nothing in this Public License constitutes or\nmay be construed as permission to assert or imply that You\nare, or that Your use of the Licensed Material is, connected\nwith, or sponsored, endorsed, or granted official status by,\nthe Licensor or others designated to receive attribution as\nprovided in Section 3(a)(1)(A)(i).\n\nb. Other rights.\n\n1. Moral rights, such as the right of integrity, are not\nlicensed under this Public License, nor are publicity,\nprivacy, and/or other similar personality rights; however, to\nthe extent possible, the Licensor waives and/or agrees not to\nassert any such rights held by the Licensor to the limited\nextent necessary to allow You to exercise the Licensed\nRights, but not otherwise.\n\n2. Patent and trademark rights are not licensed under this\nPublic License.\n\n3. To the extent possible, the Licensor waives any right to\ncollect royalties from You for the exercise of the Licensed\nRights, whether directly or through a collecting society\nunder any voluntary or waivable statutory or compulsory\nlicensing scheme. In all other cases the Licensor expressly\nreserves any right to collect such royalties.\n\n\nSection 3 -- License Conditions.\n\nYour exercise of the Licensed Rights is expressly made subject to the\nfollowing conditions.\n\na. Attribution.\n\n1. If You Share the Licensed Material (including in modified\nform), You must:\n\na. retain the following if it is supplied by the Licensor\nwith the Licensed Material:\n\ni. identification of the creator(s) of the Licensed\nMaterial and any others designated to receive\nattribution, in any reasonable manner requested by\nthe Licensor (including by pseudonym if\ndesignated);\n\nii. a copyright notice;\n\niii. a notice that refers to this Public License;\n\niv. a notice that refers to the disclaimer of\nwarranties;\n\nv. a URI or hyperlink to the Licensed Material to the\nextent reasonably practicable;\n\nb. indicate if You modified the Licensed Material and\nretain an indication of any previous modifications; and\n\nc. indicate the Licensed Material is licensed under this\nPublic License, and include the text of, or the URI or\nhyperlink to, this Public License.\n\n2. You may satisfy the conditions in Section 3(a)(1) in any\nreasonable manner based on the medium, means, and context in\nwhich You Share the Licensed Material. For example, it may be\nreasonable to satisfy the conditions by providing a URI or\nhyperlink to a resource that includes the required\ninformation.\n\n3. If requested by the Licensor, You must remove any of the\ninformation required by Section 3(a)(1)(A) to the extent\nreasonably practicable.\n\nb. ShareAlike.\n\nIn addition to the conditions in Section 3(a), if You Share\nAdapted Material You produce, the following conditions also apply.\n\n1. The Adapter's License You apply must be a Creative Commons\nlicense with the same License Elements, this version or\nlater, or a BY-SA Compatible License.\n\n2. You must include the text of, or the URI or hyperlink to, the\nAdapter's License You apply. You may satisfy this condition\nin any reasonable manner based on the medium, means, and\ncontext in which You Share Adapted Material.\n\n3. You may not offer or impose any additional or different terms\nor conditions on, or apply any Effective Technological\nMeasures to, Adapted Material that restrict exercise of the\nrights granted under the Adapter's License You apply.\n\n\nSection 4 -- Sui Generis Database Rights.\n\nWhere the Licensed Rights include Sui Generis Database Rights that\napply to Your use of the Licensed Material:\n\na. for the avoidance of doubt, Section 2(a)(1) grants You the right\nto extract, reuse, reproduce, and Share all or a substantial\nportion of the contents of the database;\n\nb. if You include all or a substantial portion of the database\ncontents in a database in which You have Sui Generis Database\nRights, then the database in which You have Sui Generis Database\nRights (but not its individual contents) is Adapted Material,\n\nincluding for purposes of Section 3(b); and\nc. You must comply with the conditions in Section 3(a) if You Share\nall or a substantial portion of the contents of the database.\n\nFor the avoidance of doubt, this Section 4 supplements and does not\nreplace Your obligations under this Public License where the Licensed\nRights include other Copyright and Similar Rights.\n\n\nSection 5 -- Disclaimer of Warranties and Limitation of Liability.\n\na. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE\nEXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS\nAND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF\nANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,\nIMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,\nWARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR\nPURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,\nACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT\nKNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT\nALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.\n\nb. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE\nTO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,\nNEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,\nINCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,\nCOSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR\nUSE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN\nADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR\nDAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR\nIN PART, THIS LIMITATION MAY NOT APPLY TO YOU.\n\nc. The disclaimer of warranties and limitation of liability provided\nabove shall be interpreted in a manner that, to the extent\npossible, most closely approximates an absolute disclaimer and\nwaiver of all liability.\n\n\nSection 6 -- Term and Termination.\n\na. This Public License applies for the term of the Copyright and\nSimilar Rights licensed here. However, if You fail to comply with\nthis Public License, then Your rights under this Public License\nterminate automatically.\n\nb. Where Your right to use the Licensed Material has terminated under\nSection 6(a), it reinstates:\n\n1. automatically as of the date the violation is cured, provided\nit is cured within 30 days of Your discovery of the\nviolation; or\n\n2. upon express reinstatement by the Licensor.\n\nFor the avoidance of doubt, this Section 6(b) does not affect any\nright the Licensor may have to seek remedies for Your violations\nof this Public License.\n\nc. For the avoidance of doubt, the Licensor may also offer the\nLicensed Material under separate terms or conditions or stop\ndistributing the Licensed Material at any time; however, doing so\nwill not terminate this Public License.\n\nd. Sections 1, 5, 6, 7, and 8 survive termination of this Public\nLicense.\n\n\nSection 7 -- Other Terms and Conditions.\n\na. The Licensor shall not be bound by any additional or different\nterms or conditions communicated by You unless expressly agreed.\n\nb. Any arrangements, understandings, or agreements regarding the\nLicensed Material not stated herein are separate from and\nindependent of the terms and conditions of this Public License.\n\n\nSection 8 -- Interpretation.\n\na. For the avoidance of doubt, this Public License does not, and\nshall not be interpreted to, reduce, limit, restrict, or impose\nconditions on any use of the Licensed Material that could lawfully\nbe made without permission under this Public License.\n\nb. To the extent possible, if any provision of this Public License is\ndeemed unenforceable, it shall be automatically reformed to the\nminimum extent necessary to make it enforceable. If the provision\ncannot be reformed, it shall be severed from this Public License\nwithout affecting the enforceability of the remaining terms and\nconditions.\n\nc. No term or condition of this Public License will be waived and no\nfailure to comply consented to unless expressly agreed to by the\nLicensor.\n\nd. Nothing in this Public License constitutes or may be interpreted\nas a limitation upon, or waiver of, any privileges and immunities\nthat apply to the Licensor or You, including from the legal\nprocesses of any jurisdiction or authority.\n\n\n=======================================================================\n\nCreative Commons is not a party to its public\nlicenses. Notwithstanding, Creative Commons may elect to apply one of\nits public licenses to material it publishes and in those instances\nwill be considered the \u201cLicensor.\u201d The text of the Creative Commons\npublic licenses is dedicated to the public domain under the CC0 Public\nDomain Dedication. Except for the limited purpose of indicating that\nmaterial is shared under a Creative Commons public license or as\notherwise permitted by the Creative Commons policies published at\ncreativecommons.org/policies, Creative Commons does not authorize the\nuse of the trademark \"Creative Commons\" or any other trademark or logo\nof Creative Commons without its prior written consent including,\nwithout limitation, in connection with any unauthorized modifications\nto any of its public licenses or any other arrangements,\nunderstandings, or agreements concerning use of licensed material. For\nthe avoidance of doubt, this paragraph does not form part of the\npublic licenses.\n\nCreative Commons may be contacted at creativecommons.org." }, { - "key": "gpl-2.0-plus", - "short_name": "GPL 2.0 or later", - "name": "GNU General Public License 2.0 or later", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "GPL-2.0-or-later", + "key": "dco-1.1", + "short_name": "DCO 1.1", + "name": "Developer Certificate of Origin 1.1", + "category": "Permissive", + "owner": "Linux Foundation", + "homepage_url": "https://developercertificate.org/", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-dco-1.1", + "text_urls": [ + "https://developercertificate.org/" + ], + "minimum_coverage": 90, + "text": "Developer Certificate of Origin\nVersion 1.1\n\nCopyright (C) 2004, 2006 The Linux Foundation and its contributors.\n1 Letterman Drive\nSuite D4700\nSan Francisco, CA, 94129\n\nEveryone is permitted to copy and distribute verbatim copies of this\nlicense document, but changing it is not allowed.\n\n\nDeveloper's Certificate of Origin 1.1\n\nBy making a contribution to this project, I certify that:\n\n(a) The contribution was created in whole or in part by me and I\nhave the right to submit it under the open source license\nindicated in the file; or\n\n(b) The contribution is based upon previous work that, to the best\nof my knowledge, is covered under an appropriate open source\nlicense and I have the right under that license to submit that\nwork with modifications, whether created in whole or in part\nby me, under the same open source license (unless I am\npermitted to submit under a different license), as indicated\nin the file; or\n\n(c) The contribution was provided directly to me by some other\nperson who certified (a), (b) or (c) and I have not modified\nit.\n\n(d) I understand and agree that this project and the contribution\nare public and that a record of the contribution (including all\npersonal information I submit with it, including my sign-off) is\nmaintained indefinitely and may be redistributed consistent with\nthis project or the open source license(s) involved." + }, + { + "key": "free-unknown", + "short_name": "Free unknown", + "name": "Free unknown license detected but not recognized", + "category": "Unstated License", + "owner": "Unspecified", + "notes": "This case applies to software with a notice that refers in a non-specific manner to a free or open-source license, but where it is not possible to determine that specific license.", + "is_builtin": true, + "is_unknown": true, + "spdx_license_key": "LicenseRef-scancode-free-unknown", + "text": "" + }, + { + "key": "gpl-1.0-plus", + "short_name": "GPL 1.0 or later", + "name": "GNU General Public License 1.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", + "notes": "Per SPDX.org, this license was released February 1989.", + "is_builtin": true, + "spdx_license_key": "GPL-1.0-or-later", + "other_spdx_license_keys": [ + "GPL-1.0+", + "LicenseRef-GPL" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "other_urls": [ + "https://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 1, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,\nCambridge, MA 02139, USA.\n\n\nGNU GENERAL PUBLIC LICENSE\nVersion 1, February 1989\n\nCopyright (C) 1989 Free Software Foundation, Inc.\n51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe license agreements of most software companies try to keep users\nat the mercy of those companies. By contrast, our General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. The\nGeneral Public License applies to the Free Software Foundation's\nsoftware and to any other program whose authors commit to using it.\nYou can use it for your programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Specifically, the General Public License is designed to make\nsure that you have the freedom to give away or sell copies of free\nsoftware, that you receive source code or can get it if you want it,\nthat you can change the software or use pieces of it in new free\nprograms; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of a such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must tell them their rights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any program or other work which\ncontains a notice placed by the copyright holder saying it may be\ndistributed under the terms of this General Public License. The\n\"Program\", below, refers to any such program or work, and a \"work based\non the Program\" means either the Program or any work containing the\nProgram or a portion of it, either verbatim or with modifications. Each\nlicensee is addressed as \"you\".\n\n1. You may copy and distribute verbatim copies of the Program's source\ncode as you receive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice and\ndisclaimer of warranty; keep intact all the notices that refer to this\nGeneral Public License and to the absence of any warranty; and give any\nother recipients of the Program a copy of this General Public License\nalong with the Program. You may charge a fee for the physical act of\ntransferring a copy.\n\n2. You may modify your copy or copies of the Program or any portion of\nit, and copy and distribute such modifications under the terms of Paragraph\n1 above, provided that you also do the following:\n\na) cause the modified files to carry prominent notices stating that\nyou changed the files and the date of any change; and\n\nb) cause the whole of any work that you distribute or publish, that\nin whole or in part contains the Program or any part thereof, either\nwith or without modifications, to be licensed at no charge to all\nthird parties under the terms of this General Public License (except\nthat you may choose to grant warranty protection to some or all\nthird parties, at your option).\n\nc) If the modified program normally reads commands interactively when\nrun, you must cause it, when started running for such interactive use\nin the simplest and most usual way, to print or display an\nannouncement including an appropriate copyright notice and a notice\nthat there is no warranty (or else, saying that you provide a\nwarranty) and that users may redistribute the program under these\nconditions, and telling the user how to view a copy of this General\nPublic License.\n\nd) You may charge a fee for the physical act of transferring a\ncopy, and you may at your option offer warranty protection in\nexchange for a fee.\n\nMere aggregation of another independent work with the Program (or its\nderivative) on a volume of a storage or distribution medium does not bring\nthe other work under the scope of these terms.\n\n\n3. You may copy and distribute the Program (or a portion or derivative of\nit, under Paragraph 2) in object code or executable form under the terms of\nParagraphs 1 and 2 above provided that you also do one of the following:\n\na) accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nb) accompany it with a written offer, valid for at least three\nyears, to give any third party free (except for a nominal charge\nfor the cost of distribution) a complete machine-readable copy of the\ncorresponding source code, to be distributed under the terms of\nParagraphs 1 and 2 above; or,\n\nc) accompany it with the information you received as to where the\ncorresponding source code may be obtained. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form alone.)\n\nSource code for a work means the preferred form of the work for making\nmodifications to it. For an executable file, complete source code means\nall the source code for all modules it contains; but, as a special\nexception, it need not include source code for modules which are standard\nlibraries that accompany the operating system on which the executable\nfile runs, or for standard header files or definitions files that\naccompany that operating system.\n\n4. You may not copy, modify, sublicense, distribute or transfer the\nProgram except as expressly provided under this General Public License.\nAny attempt otherwise to copy, modify, sublicense, distribute or transfer\nthe Program is void, and will automatically terminate your rights to use\nthe Program under this License. However, parties who have received\ncopies, or rights to use copies, from you under this General Public\nLicense will not have their licenses terminated so long as such parties\nremain in full compliance.\n\n5. By copying, distributing or modifying the Program (or any work based\non the Program) you indicate your acceptance of this license to do so,\nand all its terms and conditions.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the original\nlicensor to copy, distribute or modify the Program subject to these\nterms and conditions. You may not impose any further restrictions on the\nrecipients' exercise of the rights granted herein.\n\n\n7. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of the license which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthe license, you may choose any version ever published by the Free Software\nFoundation.\n\n8. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nAppendix: How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to humanity, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these\nterms.\n\nTo do so, attach the following notices to the program. It is safest to\nattach them to the start of each source file to most effectively convey\nthe exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) 19yy \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 1, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA\n\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) 19xx name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the\nappropriate parts of the General Public License. Of course, the\ncommands you use may be called something other than `show w' and `show\nc'; they could even be mouse-clicks or menu items--whatever suits your\nprogram.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nprogram `Gnomovision' (a program to direct compilers to make passes\nat assemblers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "gpl-2.0", + "short_name": "GPL 2.0", + "name": "GNU General Public License 2.0", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", + "notes": "This is the last version of the GPL text as published by the FSF. This variation was published around about the time of the FSF released the GPL 3 in July 2007. See http://web.archive.org/web/20070716031727/http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt It is found live here https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt and here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html It refers to the Franklin Street address and to the GNU Lesser General Public License everywhere both in the text and HTML formats. There are many other variations of the GPL 2.0 text that were published over the years by the FSF and the gnu.org website. You can find the detailed history of this text at https://github.com/pombredanne/gpl-history and each variant is available as a license detection rule. Per SPDX.org, this license was released June 1991 This license is OSI certified.", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-only", + "other_spdx_license_keys": [ + "GPL-2.0", + "GPL 2.0", + "LicenseRef-GPL-2.0" + ], + "osi_license_key": "GPL-2.0", + "text_urls": [ + "http://www.gnu.org/licenses/gpl-2.0.txt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" + ], + "osi_url": "http://opensource.org/licenses/gpl-license.php", + "faq_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html", + "other_urls": [ + "http://creativecommons.org/choose/cc-gpl", + "http://creativecommons.org/images/public/cc-GPL-a.png", + "http://creativecommons.org/licenses/GPL/2.0/", + "http://creativecommons.org/licenses/GPL/2.0/legalcode.pt", + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "text": "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", "other_spdx_license_keys": [ "GPL-2.0+", "GPL 2.0+" @@ -762,346 +1259,244 @@ "rule_relevance": 100 }, { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_204.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5514, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_32.RULE", + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 10, + "rule_length": 1, "rule_relevance": 100 }, { - "license_expression": "gpl-3.0-plus", - "rule_identifier": "gpl-3.0-plus_290.RULE", + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_29.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_bare_single_word.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus", + "rule_identifier": "gpl-2.0-plus_627.RULE", "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 102, + "rule_length": 30, "rule_relevance": 100 - } - ], - "dependencies": [], - "packages": [ + }, { - "type": "autotools", - "namespace": null, - "name": "samba", - "version": null, - "qualifiers": {}, - "subpath": null, - "primary_language": null, - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "gpl-3.0 AND (gpl-3.0 AND lgpl-3.0 AND gpl-2.0) AND (gpl-2.0-plus AND free-unknown AND gpl-1.0-plus) AND (gpl-1.0-plus AND lgpl-3.0-plus AND gpl-3.0 AND lgpl-3.0) AND (cc-by-sa-3.0 AND cc-by-sa-4.0 AND dco-1.1) AND gpl-2.0 AND gpl-1.0-plus", - "declared_license_expression_spdx": "GPL-3.0-only AND (GPL-3.0-only AND LGPL-3.0-only AND GPL-2.0-only) AND (GPL-2.0-or-later AND LicenseRef-scancode-free-unknown AND GPL-1.0-or-later) AND (GPL-1.0-or-later AND LGPL-3.0-or-later AND GPL-3.0-only AND LGPL-3.0-only) AND (CC-BY-SA-3.0 AND CC-BY-SA-4.0 AND LicenseRef-scancode-dco-1.1) AND GPL-2.0-only AND GPL-1.0-or-later", - "license_detections": [ - { - "license_expression": "gpl-3.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 674, - "matched_length": 5514, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "gpl-3.0", - "rule_identifier": "gpl-3.0_204.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", - "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. \n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\n Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n TERMS AND CONDITIONS\n\n 0. Definitions.\n\n \"This License\" refers to version 3 of the GNU General Public License.\n\n \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n \"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n 1. Source Code.\n\n The \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\n A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n The Corresponding Source for a work in source code form is that\nsame work.\n\n 2. Basic Permissions.\n\n All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n Conveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n 4. Conveying Verbatim Copies.\n\n You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n 5. Conveying Modified Source Versions.\n\n You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified\n it, and giving a relevant date.\n\n b) The work must carry prominent notices stating that it is\n released under this License and any conditions added under section\n 7. This requirement modifies the requirement in section 4 to\n \"keep intact all notices\".\n\n c) You must license the entire work, as a whole, under this\n License to anyone who comes into possession of a copy. This\n License will therefore apply, along with any applicable section 7\n additional terms, to the whole of the work, and all its parts,\n regardless of how they are packaged. This License gives no\n permission to license the work in any other way, but it does not\n invalidate such permission if you have separately received it.\n\n d) If the work has interactive user interfaces, each must display\n Appropriate Legal Notices; however, if the Program has interactive\n interfaces that do not display Appropriate Legal Notices, your\n work need not make them do so.\n\n A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n 6. Conveying Non-Source Forms.\n\n You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by the\n Corresponding Source fixed on a durable physical medium\n customarily used for software interchange.\n\n b) Convey the object code in, or embodied in, a physical product\n (including a physical distribution medium), accompanied by a\n written offer, valid for at least three years and valid for as\n long as you offer spare parts or customer support for that product\n model, to give anyone who possesses the object code either (1) a\n copy of the Corresponding Source for all the software in the\n product that is covered by this License, on a durable physical\n medium customarily used for software interchange, for a price no\n more than your reasonable cost of physically performing this\n conveying of source, or (2) access to copy the\n Corresponding Source from a network server at no charge.\n\n c) Convey individual copies of the object code with a copy of the\n written offer to provide the Corresponding Source. This\n alternative is allowed only occasionally and noncommercially, and\n only if you received the object code with such an offer, in accord\n with subsection 6b.\n\n d) Convey the object code by offering access from a designated\n place (gratis or for a charge), and offer equivalent access to the\n Corresponding Source in the same way through the same place at no\n further charge. You need not require recipients to copy the\n Corresponding Source along with the object code. If the place to\n copy the object code is a network server, the Corresponding Source\n may be on a different server (operated by you or a third party)\n that supports equivalent copying facilities, provided you maintain\n clear directions next to the object code saying where to find the\n Corresponding Source. Regardless of what server hosts the\n Corresponding Source, you remain obligated to ensure that it is\n available for as long as needed to satisfy these requirements.\n\n e) Convey the object code using peer-to-peer transmission, provided\n you inform other peers where the object code and Corresponding\n Source of the work are being offered to the general public at no\n charge under subsection 6d.\n\n A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n 7. Additional Terms.\n\n \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the\n terms of sections 15 and 16 of this License; or\n\n b) Requiring preservation of specified reasonable legal notices or\n author attributions in that material or in the Appropriate Legal\n Notices displayed by works containing it; or\n\n c) Prohibiting misrepresentation of the origin of that material, or\n requiring that modified versions of such material be marked in\n reasonable ways as different from the original version; or\n\n d) Limiting the use for publicity purposes of names of licensors or\n authors of the material; or\n\n e) Declining to grant rights under trademark law for use of some\n trade names, trademarks, or service marks; or\n\n f) Requiring indemnification of licensors and authors of that\n material by anyone who conveys the material (or modified versions of\n it) with contractual assumptions of liability to the recipient, for\n any liability that these contractual assumptions directly impose on\n those licensors and authors.\n\n All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n 8. Termination.\n\n You may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n 9. Acceptance Not Required for Having Copies.\n\n You are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n 10. Automatic Licensing of Downstream Recipients.\n\n Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\n An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n 11. Patents.\n\n A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\n A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n 12. No Surrender of Others' Freedom.\n\n If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n 13. Use with the GNU Affero General Public License.\n\n Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n 14. Revised Versions of this License.\n\n The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n Each version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n Later license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n 15. Disclaimer of Warranty.\n\n THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. Limitation of Liability.\n\n IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n 17. Interpretation of Sections 15 and 16.\n\n If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n END OF TERMS AND CONDITIONS\n\n How to Apply These Terms to Your New Programs\n\n If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n To do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n \n Copyright (C) \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 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\nAlso add information on how to contact you by electronic and paper mail.\n\n If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \n This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n This is free software, and you are welcome to redistribute it\n under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\n The GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." - } - ] - }, - { - "license_expression": "gpl-3.0 AND lgpl-3.0 AND gpl-2.0", - "detection_log": [ - "possible-false-positive", - "not-license-clues-as-more-detections-present" - ], - "matches": [ - { - "score": 100.0, - "start_line": 38, - "end_line": 38, - "matched_length": 1, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-3.0", - "rule_identifier": "gpl-3.0_32.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE", - "matched_text": "GPLv3" - }, - { - "score": 100.0, - "start_line": 38, - "end_line": 38, - "matched_length": 1, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-3.0", - "rule_identifier": "lgpl-3.0_29.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", - "matched_text": "LGPLv3 (" - }, - { - "score": 100.0, - "start_line": 39, - "end_line": 39, - "matched_length": 1, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-2.0", - "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", - "matched_text": "GPLv2." - } - ] - }, - { - "license_expression": "gpl-2.0-plus AND free-unknown AND gpl-1.0-plus", - "detection_log": [ - "unknown-match" - ], - "matches": [ - { - "score": 20.0, - "start_line": 57, - "end_line": 57, - "matched_length": 6, - "match_coverage": 20.0, - "matcher": "3-seq", - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_627.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE", - "matched_text": "of the GNU General Public License;" - }, - { - "score": 50.0, - "start_line": 60, - "end_line": 61, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "free-unknown", - "rule_identifier": "free-unknown_88.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", - "matched_text": "open source\n license" - }, - { - "score": 100.0, - "start_line": 63, - "end_line": 63, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", - "matched_text": "the GNU General Public License," - } - ] - }, - { - "license_expression": "gpl-1.0-plus AND lgpl-3.0-plus AND gpl-3.0 AND lgpl-3.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 76, - "end_line": 76, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_bare_gnu_gpl.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE", - "matched_text": "GNU GPL" - }, - { - "score": 100.0, - "start_line": 79, - "end_line": 79, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_33.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", - "matched_text": "the GNU General Public License" - }, - { - "score": 47.22, - "start_line": 79, - "end_line": 81, - "matched_length": 17, - "match_coverage": 47.22, - "matcher": "3-seq", - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_103.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE", - "matched_text": "the GNU Lesser General Public\n License as published by the Free Software Foundation; either version\n 3 of" - }, - { - "score": 100.0, - "start_line": 84, - "end_line": 84, - "matched_length": 9, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-3.0", - "rule_identifier": "gpl-3.0_12.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE", - "matched_text": "http://www.gnu.org/licenses/gpl-3.0.html" - }, - { - "score": 100.0, - "start_line": 85, - "end_line": 85, - "matched_length": 9, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-3.0", - "rule_identifier": "lgpl-3.0_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE", - "matched_text": "http://www.gnu.org/licenses/lgpl-3.0.html" - } - ] - }, - { - "license_expression": "cc-by-sa-3.0 AND cc-by-sa-4.0 AND dco-1.1", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 75.0, - "start_line": 121, - "end_line": 122, - "matched_length": 12, - "match_coverage": 75.0, - "matcher": "3-seq", - "license_expression": "cc-by-sa-3.0", - "rule_identifier": "cc-by-sa-3.0_10.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE", - "matched_text": "licensed under Creative Commons Attribution-ShareAlike [4].[0] License [as] [found]\n[at] [https]://creativecommons.org/licenses/by-sa/" - }, - { - "score": 100.0, - "start_line": 122, - "end_line": 122, - "matched_length": 9, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "cc-by-sa-4.0", - "rule_identifier": "cc-by-sa-4.0_71.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE", - "matched_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode" - }, - { - "score": 100.0, - "start_line": 123, - "end_line": 123, - "matched_length": 7, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "dco-1.1", - "rule_identifier": "dco-1.1_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE", - "matched_text": "Developer's Certificate of Origin 1.1\"" - } - ] - }, - { - "license_expression": "gpl-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 81.82, - "start_line": 6, - "end_line": 6, - "matched_length": 9, - "match_coverage": 81.82, - "matcher": "3-seq", - "license_expression": "gpl-2.0", - "rule_identifier": "gpl-2.0_1142.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE", - "matched_text": "Free Software licensed under the GNU General Public License" - } - ] - }, - { - "license_expression": "gpl-1.0-plus", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 22, - "end_line": 22, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_236.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE", - "matched_text": "GNU public license," - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "configure" - ], - "datasource_ids": [ - "autotools_configure" + "license_expression": "free-unknown", + "rule_identifier": "free-unknown_88.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50 + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_bare_gnu_gpl.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 2, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_33.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-3.0-plus", + "rule_identifier": "lgpl-3.0-plus_103.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 36, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-3.0", + "rule_identifier": "gpl-3.0_12.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-3.0", + "rule_identifier": "lgpl-3.0_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100 + }, + { + "license_expression": "cc-by-sa-3.0", + "rule_identifier": "cc-by-sa-3.0_10.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 16, + "rule_relevance": 100 + }, + { + "license_expression": "cc-by-sa-4.0", + "rule_identifier": "cc-by-sa-4.0_71.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 9, + "rule_relevance": 100 + }, + { + "license_expression": "dco-1.1", + "rule_identifier": "dco-1.1_2.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 7, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_1142.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 11, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl_236.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "free-unknown", + "rule_identifier": "free-unknown-package_4.RULE", + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" ], - "purl": "pkg:autotools/samba" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 10, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-3.0-plus", + "rule_identifier": "gpl-3.0-plus_290.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 102, + "rule_relevance": 100 } ], "files": [ { "path": "COPYING", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "gpl-3.0", "detected_license_expression_spdx": "GPL-3.0-only", "license_detections": [ @@ -1129,62 +1524,62 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "gpl_3_0#bd8d31df-3dc9-daa6-b885-dc10671b4103" - ], - "package_data": [], - "for_packages": [ - "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + "gpl_3_0-bd8d31df-3dc9-daa6-b885-dc10671b4103" ], "scan_errors": [] }, { "path": "Makefile", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] }, { "path": "README.Coding.md", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] }, { "path": "README.cifs-utils", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] }, { "path": "README.contributing", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "(gpl-3.0 AND lgpl-3.0 AND gpl-2.0) AND (gpl-2.0-plus AND free-unknown AND gpl-1.0-plus) AND (gpl-1.0-plus AND lgpl-3.0-plus AND gpl-3.0 AND lgpl-3.0) AND (cc-by-sa-3.0 AND cc-by-sa-4.0 AND dco-1.1)", "detected_license_expression_spdx": "(GPL-3.0-only AND LGPL-3.0-only AND GPL-2.0-only) AND (GPL-2.0-or-later AND LicenseRef-scancode-free-unknown AND GPL-1.0-or-later) AND (GPL-1.0-or-later AND LGPL-3.0-or-later AND GPL-3.0-only AND LGPL-3.0-only) AND (CC-BY-SA-3.0 AND CC-BY-SA-4.0 AND LicenseRef-scancode-dco-1.1)", "license_detections": [ @@ -1393,20 +1788,20 @@ "license_clues": [], "percentage_of_license_text": 9.84, "for_license_detections": [ - "gpl_3_0_and_lgpl_3_0_and_gpl_2_0#c4243fb1-25ad-ea03-c628-65139658a194", - "gpl_2_0_plus_and_free_unknown_and_gpl_1_0_plus#620bb734-dfc2-e276-11d9-45ed11996799", - "gpl_1_0_plus_and_lgpl_3_0_plus_and_gpl_3_0_and_lgpl_3_0#ba9e27e5-ccbb-ede0-63b3-68adf7d7b978", - "cc_by_sa_3_0_and_cc_by_sa_4_0_and_dco_1_1#cacaaecd-cccf-23a9-b725-f10a66d3d665" - ], - "package_data": [], - "for_packages": [ - "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + "gpl_3_0_and_lgpl_3_0_and_gpl_2_0-c4243fb1-25ad-ea03-c628-65139658a194", + "gpl_2_0_plus_and_free_unknown_and_gpl_1_0_plus-620bb734-dfc2-e276-11d9-45ed11996799", + "gpl_1_0_plus_and_lgpl_3_0_plus_and_gpl_3_0_and_lgpl_3_0-ba9e27e5-ccbb-ede0-63b3-68adf7d7b978", + "cc_by_sa_3_0_and_cc_by_sa_4_0_and_dco_1_1-cacaaecd-cccf-23a9-b725-f10a66d3d665" ], "scan_errors": [] }, { "path": "README.md", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "gpl-2.0 AND gpl-1.0-plus", "detected_license_expression_spdx": "GPL-2.0-only AND GPL-1.0-or-later", "license_detections": [ @@ -1454,24 +1849,14 @@ "license_clues": [], "percentage_of_license_text": 1.51, "for_license_detections": [ - "gpl_2_0#0c428ae6-46af-09d9-5863-430e80031878", - "gpl_1_0_plus#788966d2-c08e-ab46-1793-44f388305bca" - ], - "package_data": [], - "for_packages": [ - "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + "gpl_2_0-0c428ae6-46af-09d9-5863-430e80031878", + "gpl_1_0_plus-788966d2-c08e-ab46-1793-44f388305bca" ], "scan_errors": [] }, { "path": "configure", "type": "file", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_license_detections": [], "package_data": [ { "type": "autotools", @@ -1780,32 +2165,32 @@ "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" ], - "scan_errors": [] - }, - { - "path": "configure.developer", - "type": "file", "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] }, { - "path": "setup.cfg", + "path": "configure.developer", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], + "scan_errors": [] + }, + { + "path": "setup.cfg", + "type": "file", "package_data": [ { "type": "pypi", @@ -2114,56 +2499,66 @@ "for_packages": [ "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_license_detections": [], "scan_errors": [] }, { "path": "source3", "type": "directory", + "package_data": [], + "for_packages": [ + "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] }, { "path": "source3/locale", "type": "directory", + "package_data": [], + "for_packages": [ + "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] }, { "path": "source3/locale/net", "type": "directory", + "package_data": [], + "for_packages": [ + "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "scan_errors": [] }, { "path": "source3/locale/net/de.po", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "gpl-3.0 AND lgpl-3.0 AND gpl-2.0 AND gpl-2.0-plus AND free-unknown AND gpl-1.0-plus AND lgpl-3.0-plus AND cc-by-sa-3.0 AND cc-by-sa-4.0 AND dco-1.1", "detected_license_expression_spdx": "GPL-3.0-only AND LGPL-3.0-only AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-scancode-free-unknown AND GPL-1.0-or-later AND LGPL-3.0-or-later AND CC-BY-SA-3.0 AND CC-BY-SA-4.0 AND LicenseRef-scancode-dco-1.1", "license_detections": [ @@ -2395,17 +2790,17 @@ "license_clues": [], "percentage_of_license_text": 0.03, "for_license_detections": [ - "free_unknown#142f3261-5728-9933-74c7-7e8aa278ff6d" - ], - "package_data": [], - "for_packages": [ - "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + "gpl_3_0_and_lgpl_3_0_and_gpl_2_0_and_gpl_2_0_plus_and_free_unknown_and_gpl_1_0_plus_and_lgpl_3_0_plus_and_cc_by_sa_3_0_and_cc_by_sa_4_0_and_dco_1_1-b9954b23-86bc-29b6-ab56-1bc80171ea0b" ], "scan_errors": [] }, { "path": "source3/locale/net/genmsg", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "gpl-3.0-plus", "detected_license_expression_spdx": "GPL-3.0-or-later", "license_detections": [ @@ -2433,11 +2828,7 @@ "license_clues": [], "percentage_of_license_text": 27.06, "for_license_detections": [ - "gpl_3_0_plus#f70c823f-c2d0-5369-e1d2-3cc1103e518b" - ], - "package_data": [], - "for_packages": [ - "pkg:autotools/samba?uuid=fixed-uid-done-for-testing-5642512d1758" + "gpl_3_0_plus-f70c823f-c2d0-5369-e1d2-3cc1103e518b" ], "scan_errors": [] } diff --git a/tests/scancode/data/info/all.expected.json b/tests/scancode/data/info/all.expected.json index 2ae88b5b493..e77ab1289be 100644 --- a/tests/scancode/data/info/all.expected.json +++ b/tests/scancode/data/info/all.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "gpl_2_0_or_bsd_new#20ee927b-fbe0-31a5-1f33-595dd1b2fd13", + "identifier": "gpl_2_0_or_bsd_new-20ee927b-fbe0-31a5-1f33-595dd1b2fd13", "license_expression": "gpl-2.0 OR bsd-new", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "bsd_original_uc#b17bc21b-d4a2-9db7-7cef-3d352cc60928", + "identifier": "bsd_original_uc-b17bc21b-d4a2-9db7-7cef-3d352cc60928", "license_expression": "bsd-original-uc", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -472,7 +472,7 @@ "license_clues": [], "percentage_of_license_text": 4.82, "for_license_detections": [ - "bsd_original_uc#b17bc21b-d4a2-9db7-7cef-3d352cc60928" + "bsd_original_uc-b17bc21b-d4a2-9db7-7cef-3d352cc60928" ], "copyrights": [ { @@ -580,7 +580,7 @@ "license_clues": [], "percentage_of_license_text": 19.01, "for_license_detections": [ - "gpl_2_0_or_bsd_new#20ee927b-fbe0-31a5-1f33-595dd1b2fd13" + "gpl_2_0_or_bsd_new-20ee927b-fbe0-31a5-1f33-595dd1b2fd13" ], "copyrights": [ { diff --git a/tests/scancode/data/info/all.rooted.expected.json b/tests/scancode/data/info/all.rooted.expected.json index 00ce81fbe6b..5de98b2fa73 100644 --- a/tests/scancode/data/info/all.rooted.expected.json +++ b/tests/scancode/data/info/all.rooted.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "gpl_2_0_or_bsd_new#20ee927b-fbe0-31a5-1f33-595dd1b2fd13", + "identifier": "gpl_2_0_or_bsd_new-20ee927b-fbe0-31a5-1f33-595dd1b2fd13", "license_expression": "gpl-2.0 OR bsd-new", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "bsd_original_uc#b17bc21b-d4a2-9db7-7cef-3d352cc60928", + "identifier": "bsd_original_uc-b17bc21b-d4a2-9db7-7cef-3d352cc60928", "license_expression": "bsd-original-uc", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -327,7 +327,7 @@ "license_clues": [], "percentage_of_license_text": 4.82, "for_license_detections": [ - "bsd_original_uc#b17bc21b-d4a2-9db7-7cef-3d352cc60928" + "bsd_original_uc-b17bc21b-d4a2-9db7-7cef-3d352cc60928" ], "copyrights": [ { @@ -417,7 +417,7 @@ "license_clues": [], "percentage_of_license_text": 19.01, "for_license_detections": [ - "gpl_2_0_or_bsd_new#20ee927b-fbe0-31a5-1f33-595dd1b2fd13" + "gpl_2_0_or_bsd_new-20ee927b-fbe0-31a5-1f33-595dd1b2fd13" ], "copyrights": [ { diff --git a/tests/scancode/data/license_text/test.expected b/tests/scancode/data/license_text/test.expected index 0b94512a348..058a6ed330b 100644 --- a/tests/scancode/data/license_text/test.expected +++ b/tests/scancode/data/license_text/test.expected @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "lgpl_2_1#8345fa95-5c7a-d7c4-5e2e-b99cb05b976f", + "identifier": "lgpl_2_1-8345fa95-5c7a-d7c4-5e2e-b99cb05b976f", "license_expression": "lgpl-2.1", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -102,7 +102,7 @@ "license_clues": [], "percentage_of_license_text": 44.44, "for_license_detections": [ - "lgpl_2_1#8345fa95-5c7a-d7c4-5e2e-b99cb05b976f" + "lgpl_2_1-8345fa95-5c7a-d7c4-5e2e-b99cb05b976f" ], "scan_errors": [] } diff --git a/tests/scancode/data/plugin_only_findings/basic.expected.json b/tests/scancode/data/plugin_only_findings/basic.expected.json index 92f93ce3cc8..de4136534dd 100644 --- a/tests/scancode/data/plugin_only_findings/basic.expected.json +++ b/tests/scancode/data/plugin_only_findings/basic.expected.json @@ -1,9 +1,11 @@ { + "packages": [], + "dependencies": [], "license_detections": [ { - "identifier": "gpl_2_0_or_bsd_new#20ee927b-fbe0-31a5-1f33-595dd1b2fd13", + "identifier": "gpl_2_0_or_bsd_new-20ee927b-fbe0-31a5-1f33-595dd1b2fd13", "license_expression": "gpl-2.0 OR bsd-new", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +24,9 @@ ] }, { - "identifier": "bsd_original_uc#b17bc21b-d4a2-9db7-7cef-3d352cc60928", + "identifier": "bsd_original_uc-b17bc21b-d4a2-9db7-7cef-3d352cc60928", "license_expression": "bsd-original-uc", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -153,8 +155,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [], "files": [ { "path": "basic.tgz/basic/dir2/subdir/bcopy.s", @@ -175,6 +175,8 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "bsd-original-uc", "detected_license_expression_spdx": "BSD-4-Clause-UC", "license_detections": [ @@ -201,7 +203,7 @@ "license_clues": [], "percentage_of_license_text": 4.82, "for_license_detections": [ - "bsd_original_uc#b17bc21b-d4a2-9db7-7cef-3d352cc60928" + "bsd_original_uc-b17bc21b-d4a2-9db7-7cef-3d352cc60928" ], "copyrights": [ { @@ -224,8 +226,6 @@ "end_line": 36 } ], - "package_data": [], - "for_packages": [], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -250,6 +250,8 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-2.0 OR bsd-new", "detected_license_expression_spdx": "GPL-2.0-only OR BSD-3-Clause", "license_detections": [ @@ -276,7 +278,7 @@ "license_clues": [], "percentage_of_license_text": 19.01, "for_license_detections": [ - "gpl_2_0_or_bsd_new#20ee927b-fbe0-31a5-1f33-595dd1b2fd13" + "gpl_2_0_or_bsd_new-20ee927b-fbe0-31a5-1f33-595dd1b2fd13" ], "copyrights": [ { @@ -293,8 +295,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "files_count": 0, "dirs_count": 0, "size_count": 0, diff --git a/tests/scancode/data/virtual_idempotent/codebase.json b/tests/scancode/data/virtual_idempotent/codebase.json index 444e7243bfa..c223e9407c2 100644 --- a/tests/scancode/data/virtual_idempotent/codebase.json +++ b/tests/scancode/data/virtual_idempotent/codebase.json @@ -45,7 +45,7 @@ { "identifier": "eed9b405-580d-3b4c-28fd-66acb8595508", "license_expression": "jboss-eula", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -66,7 +66,7 @@ { "identifier": "f6dd3eec-ee92-36cb-d069-447bea303c02", "license_expression": "lgpl-2.1", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -87,7 +87,7 @@ { "identifier": "9efb9769-bd5d-5083-31e8-3616b2fb45b1", "license_expression": "apache-1.1", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -108,7 +108,7 @@ { "identifier": "38097a02-87ed-9e8c-2dcb-78842e1e42c0", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -129,7 +129,7 @@ { "identifier": "1f6881d4-dcc1-038b-f9a5-8c8c48fc4f45", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -150,7 +150,7 @@ { "identifier": "e94b4a5e-6c2f-2338-2bcb-9775b84aaf9c", "license_expression": "cpl-1.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -171,7 +171,7 @@ { "identifier": "512a55a0-6eb0-f619-44db-02f4c4f0765d", "license_expression": "lgpl-2.1-plus", - "occurrence_count": 3, + "count": 3, "detection_log": [ "not-combined" ], @@ -192,7 +192,7 @@ { "identifier": "5a42c371-1b5b-60b5-5e09-9d443b5f0947", "license_expression": "cc-by-2.5", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -213,7 +213,7 @@ { "identifier": "f7b053b0-5616-3e15-9100-a1a22231c3d8", "license_expression": "public-domain", - "occurrence_count": 1, + "count": 1, "detection_log": [ "possible-false-positive", "not-license-clues-as-more-detections-present" @@ -235,7 +235,7 @@ { "identifier": "0a390f49-b04d-c926-5b31-35877b9c53a7", "license_expression": "public-domain-disclaimer", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -256,7 +256,7 @@ { "identifier": "1d1a3779-8597-ca5f-0160-cc3bdecf2879", "license_expression": "zlib", - "occurrence_count": 7, + "count": 7, "detection_log": [ "not-combined" ], @@ -277,7 +277,7 @@ { "identifier": "1d248a8d-7cf1-15dd-0f7c-5c63d5878bf9", "license_expression": "zlib", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -298,7 +298,7 @@ { "identifier": "86cb4577-6510-3da7-2209-45fe39d3b847", "license_expression": "zlib", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -319,7 +319,7 @@ { "identifier": "7982e625-db6d-b61d-9b0d-f82636bce009", "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -340,7 +340,7 @@ { "identifier": "f42704ae-d553-edcc-f713-502abdad26c9", "license_expression": "boost-1.0", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -361,7 +361,7 @@ { "identifier": "fb14538c-aeb9-6b1a-3380-3216dcf60509", "license_expression": "boost-1.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -382,7 +382,7 @@ { "identifier": "9cb57cc5-0b01-991b-a877-5827395b9b1b", "license_expression": "unknown-license-reference", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -403,7 +403,7 @@ { "identifier": "fb544817-ac13-5bb2-e219-0e3bba38b9bf", "license_expression": "zlib", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -424,7 +424,7 @@ { "identifier": "ca895ddd-4eca-8b9b-15bc-f972a6d2bde0", "license_expression": "mit-old-style", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], diff --git a/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json b/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json index 9b887bdeada..98329703c5e 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json @@ -1,9 +1,123 @@ { + "packages": [ + { + "type": "buck", + "namespace": null, + "name": "demo", + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": null, + "declared_license_expression_spdx": null, + "license_detections": [], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": null, + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null, + "package_uid": "pkg:buck/demo?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "component-package-build/build/BUCK" + ], + "datasource_ids": [ + "buck_file" + ], + "purl": "pkg:buck/demo" + }, + { + "type": "npm", + "namespace": null, + "name": "test-package", + "version": "0.0.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['apache-2.0']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/test-package", + "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", + "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "component-package-build/package/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/test-package@0.0.1" + } + ], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467", + "identifier": "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467", "license_expression": "apache-2.0", - "occurrence_count": 4, + "count": 4, "detection_log": [ "not-combined" ], @@ -22,9 +136,9 @@ ] }, { - "identifier": "lgpl_2_0#f6292b57-ba6c-0a53-2660-505e6745bffa", + "identifier": "lgpl_2_0-f6292b57-ba6c-0a53-2660-505e6745bffa", "license_expression": "lgpl-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +157,9 @@ ] }, { - "identifier": "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", + "identifier": "apache_2_0-c6739b12-3643-1e85-cc14-1864411bf945", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -64,9 +178,9 @@ ] }, { - "identifier": "gpl_2_0#b6b96096-114f-387a-cbbd-855af62441b0", + "identifier": "gpl_2_0-b6b96096-114f-387a-cbbd-855af62441b0", "license_expression": "gpl-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -213,6 +327,18 @@ "rule_length": 3, "rule_relevance": 100 }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, { "license_expression": "lgpl-2.0", "rule_identifier": "lgpl-2.0_bare_id.RULE", @@ -274,120 +400,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [ - { - "type": "buck", - "namespace": null, - "name": "demo", - "version": null, - "qualifiers": {}, - "subpath": null, - "primary_language": null, - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": null, - "declared_license_expression_spdx": null, - "license_detections": [], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": null, - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": null, - "repository_download_url": null, - "api_data_url": null, - "package_uid": "pkg:buck/demo?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "component-package-build/build/BUCK" - ], - "datasource_ids": [ - "buck_file" - ], - "purl": "pkg:buck/demo" - }, - { - "type": "npm", - "namespace": null, - "name": "test-package", - "version": "0.0.1", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "apache-2.0", - "declared_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "matched_text": "apache-2.0" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/test-package", - "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", - "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "component-package-build/package/package.json" - ], - "datasource_ids": [ - "npm_package_json" - ], - "purl": "pkg:npm/test-package@0.0.1" - } - ], "consolidated_components": [ { "type": "holders", @@ -475,6 +487,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -484,8 +498,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [], "files_count": 8, "dirs_count": 3, @@ -511,6 +523,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -520,8 +534,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [], "files_count": 1, "dirs_count": 0, @@ -547,15 +559,6 @@ "is_media": false, "is_source": true, "is_script": false, - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_license_detections": [], - "copyrights": [], - "holders": [], - "authors": [], "package_data": [ { "type": "buck", @@ -602,6 +605,15 @@ "for_packages": [ "pkg:buck/demo?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_license_detections": [], + "copyrights": [], + "holders": [], + "authors": [], "consolidated_to": [], "files_count": 0, "dirs_count": 0, @@ -627,6 +639,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -636,8 +650,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1", "inc_nexb_1" @@ -666,6 +678,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -692,7 +706,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -709,8 +723,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1" ], @@ -738,6 +750,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -764,7 +778,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -781,8 +795,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1" ], @@ -810,6 +822,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -836,7 +850,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -853,8 +867,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1" ], @@ -882,6 +894,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "lgpl-2.0", "detected_license_expression_spdx": "LGPL-2.0-only", "license_detections": [ @@ -908,7 +922,7 @@ "license_clues": [], "percentage_of_license_text": 42.86, "for_license_detections": [ - "lgpl_2_0#f6292b57-ba6c-0a53-2660-505e6745bffa" + "lgpl_2_0-f6292b57-ba6c-0a53-2660-505e6745bffa" ], "copyrights": [ { @@ -925,8 +939,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "inc_nexb_1" ], @@ -954,6 +966,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -963,8 +977,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_software_1", "corp_ibm_1" @@ -993,49 +1005,6 @@ "is_media": false, "is_source": false, "is_script": false, - "detected_license_expression": "apache-2.0", - "detected_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 5, - "end_line": 5, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 22.22, - "for_license_detections": [ - "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945" - ], - "copyrights": [ - { - "copyright": "Copyright (c) The Apache Software", - "start_line": 4, - "end_line": 4 - } - ], - "holders": [ - { - "holder": "The Apache Software", - "start_line": 4, - "end_line": 4 - } - ], - "authors": [], "package_data": [ { "type": "npm", @@ -1103,6 +1072,49 @@ "for_packages": [ "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "apache-2.0", + "detected_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 5, + "end_line": 5, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 22.22, + "for_license_detections": [ + "apache_2_0-c6739b12-3643-1e85-cc14-1864411bf945" + ], + "copyrights": [ + { + "copyright": "Copyright (c) The Apache Software", + "start_line": 4, + "end_line": 4 + } + ], + "holders": [ + { + "holder": "The Apache Software", + "start_line": 4, + "end_line": 4 + } + ], + "authors": [], "consolidated_to": [ "apache_software_1" ], @@ -1130,6 +1142,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -1156,7 +1172,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -1173,10 +1189,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "consolidated_to": [], "files_count": 0, "dirs_count": 0, @@ -1202,6 +1214,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "gpl-2.0", "detected_license_expression_spdx": "GPL-2.0-only", "license_detections": [ @@ -1228,7 +1244,7 @@ "license_clues": [], "percentage_of_license_text": 64.29, "for_license_detections": [ - "gpl_2_0#b6b96096-114f-387a-cbbd-855af62441b0" + "gpl_2_0-b6b96096-114f-387a-cbbd-855af62441b0" ], "copyrights": [ { @@ -1245,10 +1261,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "consolidated_to": [ "corp_ibm_1" ], diff --git a/tests/summarycode/data/plugin_consolidate/component-package-expected.json b/tests/summarycode/data/plugin_consolidate/component-package-expected.json index fb0e3b88388..7b5b4287f28 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-expected.json @@ -1,9 +1,78 @@ { + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "test-package", + "version": "0.0.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['apache-2.0']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/test-package", + "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", + "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "component-package/package/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/test-package@0.0.1" + } + ], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467", + "identifier": "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467", "license_expression": "apache-2.0", - "occurrence_count": 4, + "count": 4, "detection_log": [ "not-combined" ], @@ -22,9 +91,9 @@ ] }, { - "identifier": "lgpl_2_0#f6292b57-ba6c-0a53-2660-505e6745bffa", + "identifier": "lgpl_2_0-f6292b57-ba6c-0a53-2660-505e6745bffa", "license_expression": "lgpl-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +112,9 @@ ] }, { - "identifier": "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", + "identifier": "apache_2_0-c6739b12-3643-1e85-cc14-1864411bf945", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -64,9 +133,9 @@ ] }, { - "identifier": "gpl_2_0#b6b96096-114f-387a-cbbd-855af62441b0", + "identifier": "gpl_2_0-b6b96096-114f-387a-cbbd-855af62441b0", "license_expression": "gpl-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -213,6 +282,18 @@ "rule_length": 3, "rule_relevance": 100 }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, { "license_expression": "lgpl-2.0", "rule_identifier": "lgpl-2.0_bare_id.RULE", @@ -274,75 +355,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "test-package", - "version": "0.0.1", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "apache-2.0", - "declared_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "matched_text": "apache-2.0" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/test-package", - "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", - "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "component-package/package/package.json" - ], - "datasource_ids": [ - "npm_package_json" - ], - "purl": "pkg:npm/test-package@0.0.1" - } - ], "consolidated_components": [ { "type": "holders", @@ -430,6 +442,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -439,8 +453,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [], "files_count": 7, "dirs_count": 2, @@ -466,6 +478,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -475,8 +489,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1", "inc_nexb_1" @@ -505,6 +517,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -531,7 +545,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -548,8 +562,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1" ], @@ -577,6 +589,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -603,7 +617,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -620,8 +634,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1" ], @@ -649,6 +661,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -675,7 +689,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -692,8 +706,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1" ], @@ -721,6 +733,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "lgpl-2.0", "detected_license_expression_spdx": "LGPL-2.0-only", "license_detections": [ @@ -747,7 +761,7 @@ "license_clues": [], "percentage_of_license_text": 42.86, "for_license_detections": [ - "lgpl_2_0#f6292b57-ba6c-0a53-2660-505e6745bffa" + "lgpl_2_0-f6292b57-ba6c-0a53-2660-505e6745bffa" ], "copyrights": [ { @@ -764,8 +778,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "inc_nexb_1" ], @@ -793,6 +805,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -802,8 +816,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_software_1", "corp_ibm_1" @@ -832,49 +844,6 @@ "is_media": false, "is_source": false, "is_script": false, - "detected_license_expression": "apache-2.0", - "detected_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 5, - "end_line": 5, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 22.22, - "for_license_detections": [ - "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945" - ], - "copyrights": [ - { - "copyright": "Copyright (c) The Apache Software", - "start_line": 4, - "end_line": 4 - } - ], - "holders": [ - { - "holder": "The Apache Software", - "start_line": 4, - "end_line": 4 - } - ], - "authors": [], "package_data": [ { "type": "npm", @@ -942,6 +911,49 @@ "for_packages": [ "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "apache-2.0", + "detected_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 5, + "end_line": 5, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 22.22, + "for_license_detections": [ + "apache_2_0-c6739b12-3643-1e85-cc14-1864411bf945" + ], + "copyrights": [ + { + "copyright": "Copyright (c) The Apache Software", + "start_line": 4, + "end_line": 4 + } + ], + "holders": [ + { + "holder": "The Apache Software", + "start_line": 4, + "end_line": 4 + } + ], + "authors": [], "consolidated_to": [ "apache_software_1" ], @@ -969,6 +981,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -995,7 +1011,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -1012,10 +1028,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "consolidated_to": [], "files_count": 0, "dirs_count": 0, @@ -1041,6 +1053,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "gpl-2.0", "detected_license_expression_spdx": "GPL-2.0-only", "license_detections": [ @@ -1067,7 +1083,7 @@ "license_clues": [], "percentage_of_license_text": 64.29, "for_license_detections": [ - "gpl_2_0#b6b96096-114f-387a-cbbd-855af62441b0" + "gpl_2_0-b6b96096-114f-387a-cbbd-855af62441b0" ], "copyrights": [ { @@ -1084,10 +1100,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "consolidated_to": [ "corp_ibm_1" ], diff --git a/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json b/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json index 6f8ad5345c2..c27edfcf846 100644 --- a/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json +++ b/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json @@ -1,9 +1,11 @@ { + "packages": [], + "dependencies": [], "license_detections": [ { - "identifier": "gpl_1_0_plus_and_gpl_2_0#9a723cc7-93ae-aea4-643f-e96a8f92ef96", + "identifier": "gpl_1_0_plus_and_gpl_2_0-9a723cc7-93ae-aea4-643f-e96a8f92ef96", "license_expression": "gpl-1.0-plus AND gpl-2.0", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -33,9 +35,9 @@ ] }, { - "identifier": "apache_2_0#5b91a737-f9ce-eaa1-9284-270cc4460ee2", + "identifier": "apache_2_0-5b91a737-f9ce-eaa1-9284-270cc4460ee2", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -225,8 +227,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [], "consolidated_components": [ { "type": "holders", @@ -298,6 +298,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -307,8 +309,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [], "files_count": 3, "dirs_count": 5, @@ -334,6 +334,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -343,8 +345,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [], "files_count": 1, "dirs_count": 1, @@ -370,6 +370,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -379,8 +381,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "omegacom_1" ], @@ -408,6 +408,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-1.0-plus AND gpl-2.0", "detected_license_expression_spdx": "GPL-1.0-or-later AND GPL-2.0-only", "license_detections": [ @@ -445,7 +447,7 @@ "license_clues": [], "percentage_of_license_text": 44.44, "for_license_detections": [ - "gpl_1_0_plus_and_gpl_2_0#9a723cc7-93ae-aea4-643f-e96a8f92ef96" + "gpl_1_0_plus_and_gpl_2_0-9a723cc7-93ae-aea4-643f-e96a8f92ef96" ], "copyrights": [ { @@ -462,8 +464,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "omegacom_1" ], @@ -491,6 +491,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -500,8 +502,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [], "files_count": 2, "dirs_count": 2, @@ -527,6 +527,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -536,8 +538,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "corp_ibm_1" ], @@ -565,6 +565,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-1.0-plus AND gpl-2.0", "detected_license_expression_spdx": "GPL-1.0-or-later AND GPL-2.0-only", "license_detections": [ @@ -602,7 +604,7 @@ "license_clues": [], "percentage_of_license_text": 44.44, "for_license_detections": [ - "gpl_1_0_plus_and_gpl_2_0#9a723cc7-93ae-aea4-643f-e96a8f92ef96" + "gpl_1_0_plus_and_gpl_2_0-9a723cc7-93ae-aea4-643f-e96a8f92ef96" ], "copyrights": [ { @@ -619,8 +621,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "corp_ibm_1" ], @@ -648,6 +648,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -657,8 +659,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "corp_oracle_1" ], @@ -686,6 +686,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -723,7 +725,7 @@ "license_clues": [], "percentage_of_license_text": 55.56, "for_license_detections": [ - "apache_2_0#5b91a737-f9ce-eaa1-9284-270cc4460ee2" + "apache_2_0-5b91a737-f9ce-eaa1-9284-270cc4460ee2" ], "copyrights": [ { @@ -740,8 +742,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "corp_oracle_1" ], diff --git a/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json b/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json index f037d32d4a5..13bb541a7a9 100644 --- a/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json +++ b/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json @@ -1,9 +1,11 @@ { + "packages": [], + "dependencies": [], "license_detections": [ { - "identifier": "gpl_2_0#f9043636-8ec8-6bbe-0948-64c2513e8dee", + "identifier": "gpl_2_0-f9043636-8ec8-6bbe-0948-64c2513e8dee", "license_expression": "gpl-2.0", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -119,8 +121,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [], "consolidated_components": [ { "type": "holders", @@ -160,6 +160,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -169,8 +171,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "corp_ibm_1" ], @@ -198,6 +198,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-2.0", "detected_license_expression_spdx": "GPL-2.0-only", "license_detections": [ @@ -235,7 +237,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "gpl_2_0#f9043636-8ec8-6bbe-0948-64c2513e8dee" + "gpl_2_0-f9043636-8ec8-6bbe-0948-64c2513e8dee" ], "copyrights": [ { @@ -262,8 +264,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "corp_ibm_1" ], @@ -291,6 +291,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-2.0", "detected_license_expression_spdx": "GPL-2.0-only", "license_detections": [ @@ -328,7 +330,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "gpl_2_0#f9043636-8ec8-6bbe-0948-64c2513e8dee" + "gpl_2_0-f9043636-8ec8-6bbe-0948-64c2513e8dee" ], "copyrights": [ { @@ -355,8 +357,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "corp_ibm_1" ], diff --git a/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json b/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json index 479c86955bc..5eb257c8caf 100644 --- a/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json @@ -1,9 +1,78 @@ { + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "test-package", + "version": "0.0.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['apache-2.0']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/test-package", + "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", + "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "package-files-not-counted-in-license-holders/package/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/test-package@0.0.1" + } + ], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467", + "identifier": "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467", "license_expression": "apache-2.0", - "occurrence_count": 5, + "count": 5, "detection_log": [ "not-combined" ], @@ -22,9 +91,9 @@ ] }, { - "identifier": "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", + "identifier": "apache_2_0-c6739b12-3643-1e85-cc14-1864411bf945", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -109,6 +178,18 @@ "rule_length": 3, "rule_relevance": 100 }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", @@ -158,75 +239,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "test-package", - "version": "0.0.1", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "apache-2.0", - "declared_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "matched_text": "apache-2.0" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/test-package", - "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", - "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "package-files-not-counted-in-license-holders/package/package.json" - ], - "datasource_ids": [ - "npm_package_json" - ], - "purl": "pkg:npm/test-package@0.0.1" - } - ], "consolidated_components": [ { "type": "holders", @@ -282,6 +294,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -291,8 +305,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1" ], @@ -320,6 +332,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -329,8 +343,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_software_1" ], @@ -358,49 +370,6 @@ "is_media": false, "is_source": false, "is_script": false, - "detected_license_expression": "apache-2.0", - "detected_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 5, - "end_line": 5, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 22.22, - "for_license_detections": [ - "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945" - ], - "copyrights": [ - { - "copyright": "Copyright (c) The Apache Software", - "start_line": 4, - "end_line": 4 - } - ], - "holders": [ - { - "holder": "The Apache Software", - "start_line": 4, - "end_line": 4 - } - ], - "authors": [], "package_data": [ { "type": "npm", @@ -468,6 +437,49 @@ "for_packages": [ "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "apache-2.0", + "detected_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 5, + "end_line": 5, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 22.22, + "for_license_detections": [ + "apache_2_0-c6739b12-3643-1e85-cc14-1864411bf945" + ], + "copyrights": [ + { + "copyright": "Copyright (c) The Apache Software", + "start_line": 4, + "end_line": 4 + } + ], + "holders": [ + { + "holder": "The Apache Software", + "start_line": 4, + "end_line": 4 + } + ], + "authors": [], "consolidated_to": [ "apache_software_1" ], @@ -495,6 +507,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -521,7 +537,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -538,10 +554,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "consolidated_to": [ "apache_foundation_software_1" ], @@ -569,6 +581,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -595,7 +611,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -612,10 +628,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "consolidated_to": [ "apache_foundation_software_1" ], @@ -643,6 +655,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -669,7 +685,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -686,10 +702,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "consolidated_to": [ "apache_foundation_software_1" ], @@ -717,6 +729,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -743,7 +757,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -760,8 +774,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1" ], @@ -789,6 +801,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -815,7 +829,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -832,8 +846,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1" ], diff --git a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json index cb2b08dc043..eafbfd1f177 100644 --- a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json @@ -1,9 +1,78 @@ { + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "test-package", + "version": "0.0.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['apache-2.0']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/test-package", + "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", + "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "package/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/test-package@0.0.1" + } + ], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", + "identifier": "apache_2_0-c6739b12-3643-1e85-cc14-1864411bf945", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +91,9 @@ ] }, { - "identifier": "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467", + "identifier": "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467", "license_expression": "apache-2.0", - "occurrence_count": 3, + "count": 3, "detection_log": [ "not-combined" ], @@ -85,6 +154,18 @@ "rule_length": 3, "rule_relevance": 100 }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", @@ -134,75 +215,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "test-package", - "version": "0.0.1", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "apache-2.0", - "declared_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "matched_text": "apache-2.0" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/test-package", - "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", - "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "package/package.json" - ], - "datasource_ids": [ - "npm_package_json" - ], - "purl": "pkg:npm/test-package@0.0.1" - } - ], "consolidated_components": [ { "type": "holders", @@ -242,6 +254,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -251,8 +265,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1" ], @@ -280,37 +292,6 @@ "is_media": false, "is_source": false, "is_script": false, - "detected_license_expression": "apache-2.0", - "detected_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 4, - "end_line": 4, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 36.36, - "for_license_detections": [ - "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945" - ], - "copyrights": [], - "holders": [], - "authors": [], "package_data": [ { "type": "npm", @@ -378,6 +359,37 @@ "for_packages": [ "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "apache-2.0", + "detected_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 4, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 36.36, + "for_license_detections": [ + "apache_2_0-c6739b12-3643-1e85-cc14-1864411bf945" + ], + "copyrights": [], + "holders": [], + "authors": [], "consolidated_to": [], "files_count": 0, "dirs_count": 0, @@ -403,6 +415,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -429,7 +445,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -446,10 +462,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "consolidated_to": [ "apache_foundation_software_1" ], @@ -477,6 +489,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -503,7 +519,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -520,10 +536,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "consolidated_to": [ "apache_foundation_software_1" ], @@ -551,6 +563,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -577,7 +593,7 @@ "license_clues": [], "percentage_of_license_text": 33.33, "for_license_detections": [ - "apache_2_0#0c954d0c-44a8-826f-8a0e-c82112725467" + "apache_2_0-0c954d0c-44a8-826f-8a0e-c82112725467" ], "copyrights": [ { @@ -594,10 +610,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "consolidated_to": [ "apache_foundation_software_1" ], diff --git a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json index 719c2dcb2a8..4f5df65698d 100644 --- a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json @@ -1,9 +1,78 @@ { + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "test-package", + "version": "0.0.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['apache-2.0']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/test-package", + "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", + "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", + "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "package-manifest/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/test-package@0.0.1" + } + ], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", + "identifier": "apache_2_0-c6739b12-3643-1e85-cc14-1864411bf945", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +91,9 @@ ] }, { - "identifier": "apache_2_0#d5eb9d8e-3b26-fd74-282d-341e657c08eb", + "identifier": "apache_2_0-d5eb9d8e-3b26-fd74-282d-341e657c08eb", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -85,6 +154,18 @@ "rule_length": 3, "rule_relevance": 100 }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", @@ -98,75 +179,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "test-package", - "version": "0.0.1", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": null, - "release_date": null, - "parties": [], - "keywords": [], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "apache-2.0", - "declared_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "matched_text": "apache-2.0" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['apache-2.0']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/test-package", - "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", - "api_data_url": "https://registry.npmjs.org/test-package/0.0.1", - "package_uid": "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "package-manifest/package.json" - ], - "datasource_ids": [ - "npm_package_json" - ], - "purl": "pkg:npm/test-package@0.0.1" - } - ], "consolidated_components": [], "consolidated_packages": [], "files": [ @@ -189,6 +201,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -198,8 +212,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [], "files_count": 1, "dirs_count": 0, @@ -225,38 +237,6 @@ "is_media": false, "is_source": false, "is_script": false, - "detected_license_expression": "apache-2.0", - "detected_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 4, - "end_line": 4, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 36.36, - "for_license_detections": [ - "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", - "apache_2_0#d5eb9d8e-3b26-fd74-282d-341e657c08eb" - ], - "copyrights": [], - "holders": [], - "authors": [], "package_data": [ { "type": "npm", @@ -324,6 +304,38 @@ "for_packages": [ "pkg:npm/test-package@0.0.1?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "apache-2.0", + "detected_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 4, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 36.36, + "for_license_detections": [ + "apache_2_0-c6739b12-3643-1e85-cc14-1864411bf945", + "apache_2_0-d5eb9d8e-3b26-fd74-282d-341e657c08eb" + ], + "copyrights": [], + "holders": [], + "authors": [], "consolidated_to": [], "files_count": 0, "dirs_count": 0, diff --git a/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json b/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json index d6f3563ac49..3a064623fc2 100644 --- a/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json +++ b/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json @@ -1,9 +1,11 @@ { + "packages": [], + "dependencies": [], "license_detections": [ { - "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurrence_count": 4, + "count": 4, "detection_log": [ "not-combined" ], @@ -96,8 +98,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [], "consolidated_components": [ { "type": "holders", @@ -153,6 +153,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -162,8 +164,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "corp_ibm_1" ], @@ -191,6 +191,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "mit", "detected_license_expression_spdx": "MIT", "license_detections": [ @@ -217,7 +219,7 @@ "license_clues": [], "percentage_of_license_text": 97.58, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -234,8 +236,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "corp_ibm_1" ], @@ -263,6 +263,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "mit", "detected_license_expression_spdx": "MIT", "license_detections": [ @@ -289,7 +291,7 @@ "license_clues": [], "percentage_of_license_text": 97.58, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -306,8 +308,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "corp_ibm_1" ], @@ -335,6 +335,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "mit", "detected_license_expression_spdx": "MIT", "license_detections": [ @@ -361,7 +363,7 @@ "license_clues": [], "percentage_of_license_text": 97.58, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -378,8 +380,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "corp_ibm_1" ], @@ -407,6 +407,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -416,8 +418,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "corp_omega_1" ], @@ -445,6 +445,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "mit", "detected_license_expression_spdx": "MIT", "license_detections": [ @@ -471,7 +473,7 @@ "license_clues": [], "percentage_of_license_text": 97.58, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -488,8 +490,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "corp_omega_1" ], diff --git a/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json b/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json index 4897b24270d..1ccb5e1bb3e 100644 --- a/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json +++ b/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json @@ -1,9 +1,11 @@ { + "packages": [], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0#5b91a737-f9ce-eaa1-9284-270cc4460ee2", + "identifier": "apache_2_0-5b91a737-f9ce-eaa1-9284-270cc4460ee2", "license_expression": "apache-2.0", - "occurrence_count": 3, + "count": 3, "detection_log": [ "unknown-intro-followed-by-match" ], @@ -33,9 +35,9 @@ ] }, { - "identifier": "gpl_1_0_plus_and_gpl_2_0#9a723cc7-93ae-aea4-643f-e96a8f92ef96", + "identifier": "gpl_1_0_plus_and_gpl_2_0-9a723cc7-93ae-aea4-643f-e96a8f92ef96", "license_expression": "gpl-1.0-plus AND gpl-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -249,8 +251,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [], "consolidated_components": [ { "type": "holders", @@ -306,6 +306,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -315,8 +317,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [], "files_count": 4, "dirs_count": 2, @@ -342,6 +342,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -351,8 +353,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1" ], @@ -380,6 +380,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -417,7 +419,7 @@ "license_clues": [], "percentage_of_license_text": 45.45, "for_license_detections": [ - "apache_2_0#5b91a737-f9ce-eaa1-9284-270cc4460ee2" + "apache_2_0-5b91a737-f9ce-eaa1-9284-270cc4460ee2" ], "copyrights": [ { @@ -434,8 +436,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1" ], @@ -463,6 +463,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -500,7 +502,7 @@ "license_clues": [], "percentage_of_license_text": 45.45, "for_license_detections": [ - "apache_2_0#5b91a737-f9ce-eaa1-9284-270cc4460ee2" + "apache_2_0-5b91a737-f9ce-eaa1-9284-270cc4460ee2" ], "copyrights": [ { @@ -517,8 +519,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1" ], @@ -546,6 +546,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -555,8 +557,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "corp_ibm_1" ], @@ -584,6 +584,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-1.0-plus AND gpl-2.0", "detected_license_expression_spdx": "GPL-1.0-or-later AND GPL-2.0-only", "license_detections": [ @@ -621,7 +623,7 @@ "license_clues": [], "percentage_of_license_text": 44.44, "for_license_detections": [ - "gpl_1_0_plus_and_gpl_2_0#9a723cc7-93ae-aea4-643f-e96a8f92ef96" + "gpl_1_0_plus_and_gpl_2_0-9a723cc7-93ae-aea4-643f-e96a8f92ef96" ], "copyrights": [ { @@ -638,8 +640,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "corp_ibm_1" ], @@ -667,6 +667,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -704,7 +706,7 @@ "license_clues": [], "percentage_of_license_text": 45.45, "for_license_detections": [ - "apache_2_0#5b91a737-f9ce-eaa1-9284-270cc4460ee2" + "apache_2_0-5b91a737-f9ce-eaa1-9284-270cc4460ee2" ], "copyrights": [ { @@ -721,8 +723,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "consolidated_to": [ "apache_foundation_software_1" ], diff --git a/tests/summarycode/data/score/basic-expected.json b/tests/summarycode/data/score/basic-expected.json index 2336decd6fb..91e13d62940 100644 --- a/tests/summarycode/data/score/basic-expected.json +++ b/tests/summarycode/data/score/basic-expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "mit#ad8a216c-f324-d61f-494c-f105455d2fee", + "identifier": "mit-ad8a216c-f324-d61f-494c-f105455d2fee", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -201,7 +201,7 @@ "license_clues": [], "percentage_of_license_text": 79.31, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -273,7 +273,7 @@ "license_clues": [], "percentage_of_license_text": 64.4, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -345,7 +345,7 @@ "license_clues": [], "percentage_of_license_text": 1.83, "for_license_detections": [ - "mit#ad8a216c-f324-d61f-494c-f105455d2fee" + "mit-ad8a216c-f324-d61f-494c-f105455d2fee" ], "copyrights": [], "holders": [], diff --git a/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json b/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json index f33ca007b52..0b21b1e9824 100644 --- a/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json +++ b/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "mit#ad8a216c-f324-d61f-494c-f105455d2fee", + "identifier": "mit-ad8a216c-f324-d61f-494c-f105455d2fee", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "gpl_2_0_plus#751d4c34-1372-a14c-636a-47543dc16496", + "identifier": "gpl_2_0_plus-751d4c34-1372-a14c-636a-47543dc16496", "license_expression": "gpl-2.0-plus", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -259,7 +259,7 @@ "license_clues": [], "percentage_of_license_text": 79.31, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -331,7 +331,7 @@ "license_clues": [], "percentage_of_license_text": 64.4, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -403,7 +403,7 @@ "license_clues": [], "percentage_of_license_text": 1.83, "for_license_detections": [ - "mit#ad8a216c-f324-d61f-494c-f105455d2fee" + "mit-ad8a216c-f324-d61f-494c-f105455d2fee" ], "copyrights": [], "holders": [], @@ -469,7 +469,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "gpl_2_0_plus#751d4c34-1372-a14c-636a-47543dc16496" + "gpl_2_0_plus-751d4c34-1372-a14c-636a-47543dc16496" ], "copyrights": [], "holders": [], diff --git a/tests/summarycode/data/score/no_license_ambiguity-expected.json b/tests/summarycode/data/score/no_license_ambiguity-expected.json index 8b05effe00f..7a1e0741b4f 100644 --- a/tests/summarycode/data/score/no_license_ambiguity-expected.json +++ b/tests/summarycode/data/score/no_license_ambiguity-expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "mit_or_apache_2_0#672f6c77-3a8c-9aac-41cd-431086630d58", + "identifier": "mit_or_apache_2_0-672f6c77-3a8c-9aac-41cd-431086630d58", "license_expression": "mit OR apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "apache_2_0_and__apache_2_0_or_mit#56399a0b-4bfa-003e-fbc1-8e5ee4560baf", + "identifier": "apache_2_0_and__apache_2_0_or_mit-56399a0b-4bfa-003e-fbc1-8e5ee4560baf", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -54,9 +54,9 @@ ] }, { - "identifier": "apache_2_0#57eec209-3c1b-b197-2e0d-62a521c2130a", + "identifier": "apache_2_0-57eec209-3c1b-b197-2e0d-62a521c2130a", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -75,9 +75,9 @@ ] }, { - "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -96,9 +96,9 @@ ] }, { - "identifier": "mit_or_apache_2_0__and_mit#8aaa1034-ec98-504f-3892-a067d346ca98", + "identifier": "mit_or_apache_2_0__and_mit-8aaa1034-ec98-504f-3892-a067d346ca98", "license_expression": "(mit OR apache-2.0) AND mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -413,7 +413,7 @@ "license_clues": [], "percentage_of_license_text": 81.11, "for_license_detections": [ - "apache_2_0_and__apache_2_0_or_mit#56399a0b-4bfa-003e-fbc1-8e5ee4560baf" + "apache_2_0_and__apache_2_0_or_mit-56399a0b-4bfa-003e-fbc1-8e5ee4560baf" ], "copyrights": [], "holders": [], @@ -473,7 +473,7 @@ "license_clues": [], "percentage_of_license_text": 1.76, "for_license_detections": [ - "mit_or_apache_2_0#672f6c77-3a8c-9aac-41cd-431086630d58" + "mit_or_apache_2_0-672f6c77-3a8c-9aac-41cd-431086630d58" ], "copyrights": [ { @@ -551,7 +551,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "apache_2_0#57eec209-3c1b-b197-2e0d-62a521c2130a" + "apache_2_0-57eec209-3c1b-b197-2e0d-62a521c2130a" ], "copyrights": [], "holders": [], @@ -611,7 +611,7 @@ "license_clues": [], "percentage_of_license_text": 92.0, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [ { @@ -710,7 +710,7 @@ "license_clues": [], "percentage_of_license_text": 1.69, "for_license_detections": [ - "mit_or_apache_2_0__and_mit#8aaa1034-ec98-504f-3892-a067d346ca98" + "mit_or_apache_2_0__and_mit-8aaa1034-ec98-504f-3892-a067d346ca98" ], "copyrights": [], "holders": [], diff --git a/tests/summarycode/data/score/no_license_text-expected.json b/tests/summarycode/data/score/no_license_text-expected.json index 5ce86a09ae6..f8cc5a8ca2a 100644 --- a/tests/summarycode/data/score/no_license_text-expected.json +++ b/tests/summarycode/data/score/no_license_text-expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "mit#ad8a216c-f324-d61f-494c-f105455d2fee", + "identifier": "mit-ad8a216c-f324-d61f-494c-f105455d2fee", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -244,7 +244,7 @@ "license_clues": [], "percentage_of_license_text": 1.83, "for_license_detections": [ - "mit#ad8a216c-f324-d61f-494c-f105455d2fee" + "mit-ad8a216c-f324-d61f-494c-f105455d2fee" ], "copyrights": [], "holders": [], diff --git a/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json b/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json index 2f949beacd9..aefcef63f08 100644 --- a/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json +++ b/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json @@ -1,9 +1,58 @@ { + "summary": { + "declared_license_expression": "apache-2.0 AND mit", + "license_clarity_score": { + "score": 70, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": true, + "ambiguous_compound_licensing": true + }, + "declared_holder": "Example Corp.", + "primary_language": "Python", + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "apache-2.0", + "count": 1 + }, + { + "value": "apache-2.0 AND (apache-2.0 OR mit)", + "count": 1 + }, + { + "value": "gpl-1.0-plus AND gpl-2.0 AND gpl-2.0-plus", + "count": 1 + }, + { + "value": "mit", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 2 + }, + { + "value": "Other Corp.", + "count": 1 + } + ], + "other_languages": [] + }, + "packages": [], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +71,9 @@ ] }, { - "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +92,9 @@ ] }, { - "identifier": "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "identifier": "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -75,9 +124,9 @@ ] }, { - "identifier": "gpl_1_0_plus_and_gpl_2_0_and_gpl_2_0_plus#824ba385-142f-a4b5-1b88-3bbb8282d2bc", + "identifier": "gpl_1_0_plus_and_gpl_2_0_and_gpl_2_0_plus-824ba385-142f-a4b5-1b88-3bbb8282d2bc", "license_expression": "gpl-1.0-plus AND gpl-2.0 AND gpl-2.0-plus", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -337,55 +386,6 @@ "rule_relevance": 50 } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "apache-2.0 AND mit", - "license_clarity_score": { - "score": 70, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": true, - "ambiguous_compound_licensing": true - }, - "declared_holder": "Example Corp.", - "primary_language": "Python", - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "apache-2.0", - "count": 1 - }, - { - "value": "apache-2.0 AND (apache-2.0 OR mit)", - "count": 1 - }, - { - "value": "gpl-1.0-plus AND gpl-2.0 AND gpl-2.0-plus", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 2 - }, - { - "value": "Other Corp.", - "count": 1 - } - ], - "other_languages": [] - }, "files": [ { "path": "codebase", @@ -406,6 +406,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -415,8 +417,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -446,6 +446,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -467,8 +469,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": true, @@ -498,6 +498,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -524,13 +526,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": true, "is_manifest": false, "is_readme": false, @@ -560,6 +560,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "mit", "detected_license_expression_spdx": "MIT", "license_detections": [ @@ -586,13 +588,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": true, "is_manifest": false, "is_readme": false, @@ -622,6 +622,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -631,8 +633,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -662,6 +662,8 @@ "is_media": false, "is_source": true, "is_script": true, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", "detected_license_expression_spdx": "Apache-2.0 AND (Apache-2.0 OR MIT)", "license_detections": [ @@ -699,7 +701,7 @@ "license_clues": [], "percentage_of_license_text": 44.44, "for_license_detections": [ - "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -726,8 +728,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -757,6 +757,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -766,8 +768,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -797,6 +797,8 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-1.0-plus AND gpl-2.0 AND gpl-2.0-plus", "detected_license_expression_spdx": "GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later", "license_detections": [ @@ -845,7 +847,7 @@ "license_clues": [], "percentage_of_license_text": 58.33, "for_license_detections": [ - "gpl_1_0_plus_and_gpl_2_0_and_gpl_2_0_plus#824ba385-142f-a4b5-1b88-3bbb8282d2bc" + "gpl_1_0_plus_and_gpl_2_0_and_gpl_2_0_plus-824ba385-142f-a4b5-1b88-3bbb8282d2bc" ], "copyrights": [ { @@ -862,8 +864,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, diff --git a/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json b/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json index 14f9f73d52c..1de5389ab8b 100644 --- a/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json +++ b/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json @@ -1,9 +1,46 @@ { + "summary": { + "declared_license_expression": "gpl-3.0-plus", + "license_clarity_score": { + "score": 90, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": false, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "", + "primary_language": "C", + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "gpl-2.0-plus", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 2 + }, + { + "value": "Members of the Gmerlin project", + "count": 2 + } + ], + "other_languages": [] + }, + "packages": [], + "dependencies": [], "license_detections": [ { - "identifier": "gpl_3_0_plus#b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f", + "identifier": "gpl_3_0_plus-b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f", "license_expression": "gpl-3.0-plus", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +59,9 @@ ] }, { - "identifier": "gpl_2_0_plus#e68d2a19-4f30-77b2-c51f-8f14b7a097d2", + "identifier": "gpl_2_0_plus-e68d2a19-4f30-77b2-c51f-8f14b7a097d2", "license_expression": "gpl-2.0-plus", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -121,43 +158,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "gpl-3.0-plus", - "license_clarity_score": { - "score": 90, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": false, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "", - "primary_language": "C", - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "gpl-2.0-plus", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 2 - }, - { - "value": "Members of the Gmerlin project", - "count": 2 - } - ], - "other_languages": [] - }, "files": [ { "path": "bug-1141.tar.gz", @@ -178,6 +178,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -187,8 +189,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -218,6 +218,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -227,8 +229,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -258,6 +258,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -267,8 +269,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -298,6 +298,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -307,8 +309,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -338,6 +338,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-3.0-plus", "detected_license_expression_spdx": "GPL-3.0-or-later", "license_detections": [ @@ -364,13 +366,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "gpl_3_0_plus#b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f" + "gpl_3_0_plus-b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": true, "is_manifest": false, "is_readme": false, @@ -400,6 +400,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -409,8 +411,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": true, @@ -440,6 +440,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -449,8 +451,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -480,6 +480,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -489,8 +491,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -520,6 +520,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -529,8 +531,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -560,6 +560,8 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-2.0-plus", "detected_license_expression_spdx": "GPL-2.0-or-later", "license_detections": [ @@ -586,7 +588,7 @@ "license_clues": [], "percentage_of_license_text": 80.95, "for_license_detections": [ - "gpl_2_0_plus#e68d2a19-4f30-77b2-c51f-8f14b7a097d2" + "gpl_2_0_plus-e68d2a19-4f30-77b2-c51f-8f14b7a097d2" ], "copyrights": [ { @@ -603,8 +605,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -634,6 +634,8 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -655,8 +657,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, diff --git a/tests/summarycode/data/summary/holders/clear_holder.expected.json b/tests/summarycode/data/summary/holders/clear_holder.expected.json index c98d625ecee..8f9d3b670f9 100644 --- a/tests/summarycode/data/summary/holders/clear_holder.expected.json +++ b/tests/summarycode/data/summary/holders/clear_holder.expected.json @@ -1,9 +1,50 @@ { + "summary": { + "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Example Corp.", + "primary_language": "Python", + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "apache-2.0", + "count": 1 + }, + { + "value": "mit", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 2 + }, + { + "value": "Demo Corp.", + "count": 1 + } + ], + "other_languages": [] + }, + "packages": [], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +63,9 @@ ] }, { - "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +84,9 @@ ] }, { - "identifier": "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "identifier": "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurrence_count": 3, + "count": 3, "detection_log": [ "not-combined" ], @@ -224,47 +265,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "license_clarity_score": { - "score": 100, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "Example Corp.", - "primary_language": "Python", - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "apache-2.0", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 2 - }, - { - "value": "Demo Corp.", - "count": 1 - } - ], - "other_languages": [] - }, "files": [ { "path": "clear_holder", @@ -285,6 +285,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -294,8 +296,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -325,6 +325,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", "detected_license_expression_spdx": "Apache-2.0 AND (Apache-2.0 OR MIT)", "license_detections": [ @@ -362,7 +364,7 @@ "license_clues": [], "percentage_of_license_text": 47.06, "for_license_detections": [ - "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -389,8 +391,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": true, @@ -420,6 +420,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -446,13 +448,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": true, "is_manifest": false, "is_readme": false, @@ -482,6 +482,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "mit", "detected_license_expression_spdx": "MIT", "license_detections": [ @@ -508,13 +510,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": true, "is_manifest": false, "is_readme": false, @@ -544,6 +544,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -553,8 +555,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -584,6 +584,8 @@ "is_media": false, "is_source": true, "is_script": true, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", "detected_license_expression_spdx": "Apache-2.0 AND (Apache-2.0 OR MIT)", "license_detections": [ @@ -621,7 +623,7 @@ "license_clues": [], "percentage_of_license_text": 53.33, "for_license_detections": [ - "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -638,8 +640,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -669,6 +669,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -678,8 +680,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -709,6 +709,8 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", "detected_license_expression_spdx": "Apache-2.0 AND (Apache-2.0 OR MIT)", "license_detections": [ @@ -746,7 +748,7 @@ "license_clues": [], "percentage_of_license_text": 66.67, "for_license_detections": [ - "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -763,8 +765,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, diff --git a/tests/summarycode/data/summary/holders/combined_holders.expected.json b/tests/summarycode/data/summary/holders/combined_holders.expected.json index d7aaa280745..b336232e374 100644 --- a/tests/summarycode/data/summary/holders/combined_holders.expected.json +++ b/tests/summarycode/data/summary/holders/combined_holders.expected.json @@ -1,9 +1,46 @@ { + "summary": { + "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Example Corp., Demo Corp.", + "primary_language": "Python", + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "apache-2.0", + "count": 1 + }, + { + "value": "mit", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 4 + } + ], + "other_languages": [] + }, + "packages": [], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +59,9 @@ ] }, { - "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +80,9 @@ ] }, { - "identifier": "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "identifier": "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurrence_count": 3, + "count": 3, "detection_log": [ "not-combined" ], @@ -224,43 +261,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "license_clarity_score": { - "score": 100, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "Example Corp., Demo Corp.", - "primary_language": "Python", - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "apache-2.0", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 4 - } - ], - "other_languages": [] - }, "files": [ { "path": "combined_holders", @@ -281,6 +281,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -290,8 +292,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -321,6 +321,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", "detected_license_expression_spdx": "Apache-2.0 AND (Apache-2.0 OR MIT)", "license_detections": [ @@ -358,7 +360,7 @@ "license_clues": [], "percentage_of_license_text": 47.06, "for_license_detections": [ - "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -385,8 +387,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": true, @@ -416,6 +416,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -442,13 +444,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": true, "is_manifest": false, "is_readme": false, @@ -478,6 +478,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "mit", "detected_license_expression_spdx": "MIT", "license_detections": [ @@ -504,13 +506,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": true, "is_manifest": false, "is_readme": false, @@ -540,6 +540,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -549,8 +551,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -580,6 +580,8 @@ "is_media": false, "is_source": true, "is_script": true, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", "detected_license_expression_spdx": "Apache-2.0 AND (Apache-2.0 OR MIT)", "license_detections": [ @@ -617,13 +619,11 @@ "license_clues": [], "percentage_of_license_text": 66.67, "for_license_detections": [ - "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -653,6 +653,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -662,8 +664,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -693,6 +693,8 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", "detected_license_expression_spdx": "Apache-2.0 AND (Apache-2.0 OR MIT)", "license_detections": [ @@ -730,13 +732,11 @@ "license_clues": [], "percentage_of_license_text": 88.89, "for_license_detections": [ - "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, diff --git a/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json b/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json index b007ad65507..73a1987245f 100644 --- a/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json +++ b/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json @@ -1,9 +1,46 @@ { + "summary": { + "declared_license_expression": "apache-2.0 AND mit", + "license_clarity_score": { + "score": 90, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": true + }, + "declared_holder": "Example Corp.", + "primary_language": null, + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "apache-2.0", + "count": 1 + }, + { + "value": "mit", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 2 + } + ], + "other_languages": [] + }, + "packages": [], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +59,9 @@ ] }, { - "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -120,43 +157,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "apache-2.0 AND mit", - "license_clarity_score": { - "score": 90, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": true - }, - "declared_holder": "Example Corp.", - "primary_language": null, - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "apache-2.0", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 2 - } - ], - "other_languages": [] - }, "files": [ { "path": "ambiguous", @@ -177,6 +177,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -186,8 +188,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -217,6 +217,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -238,8 +240,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": true, @@ -269,6 +269,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -295,13 +297,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": true, "is_manifest": false, "is_readme": false, @@ -331,6 +331,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "mit", "detected_license_expression_spdx": "MIT", "license_detections": [ @@ -357,13 +359,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": true, "is_manifest": false, "is_readme": false, diff --git a/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json b/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json index 352965dcab7..b5e9d993742 100644 --- a/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json +++ b/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json @@ -1,9 +1,46 @@ { + "summary": { + "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Example Corp.", + "primary_language": null, + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "apache-2.0", + "count": 1 + }, + { + "value": "mit", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 2 + } + ], + "other_languages": [] + }, + "packages": [], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +59,9 @@ ] }, { - "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +80,9 @@ ] }, { - "identifier": "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "identifier": "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -176,43 +213,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "license_clarity_score": { - "score": 100, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "Example Corp.", - "primary_language": null, - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "apache-2.0", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 2 - } - ], - "other_languages": [] - }, "files": [ { "path": "unambiguous", @@ -233,6 +233,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -242,8 +244,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -273,6 +273,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", "detected_license_expression_spdx": "Apache-2.0 AND (Apache-2.0 OR MIT)", "license_detections": [ @@ -310,7 +312,7 @@ "license_clues": [], "percentage_of_license_text": 57.14, "for_license_detections": [ - "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -327,8 +329,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": true, @@ -358,6 +358,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -384,13 +386,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": true, "is_manifest": false, "is_readme": false, @@ -420,6 +420,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "mit", "detected_license_expression_spdx": "MIT", "license_detections": [ @@ -446,13 +448,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": true, "is_manifest": false, "is_readme": false, diff --git a/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json b/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json index 6b585addb31..cfb4275ccc5 100644 --- a/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json +++ b/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json @@ -1,9 +1,199 @@ { + "summary": { + "declared_license_expression": "apache-2.0 AND mit", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Example Corp.", + "primary_language": "Python", + "other_license_expressions": [ + { + "value": "apache-2.0", + "count": 2 + }, + { + "value": "mit", + "count": 2 + }, + { + "value": null, + "count": 1 + }, + { + "value": "apache-2.0 AND (apache-2.0 OR mit)", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 4 + } + ], + "other_languages": [] + }, + "packages": [ + { + "type": "cargo", + "namespace": null, + "name": "codebase", + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Rust", + "description": null, + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Demo Corporation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "mit", + "declared_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "rule_url": null, + "matched_text": "MIT" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "MIT", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://crates.io/crates/codebase", + "repository_download_url": null, + "api_data_url": "https://crates.io/api/v1/crates/codebase", + "package_uid": "pkg:cargo/codebase?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "codebase/cargo.toml" + ], + "datasource_ids": [ + "cargo_toml" + ], + "purl": "pkg:cargo/codebase" + }, + { + "type": "pypi", + "namespace": null, + "name": "codebase", + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Example Corp.", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "{'license': 'apache-2.0'}", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://pypi.org/project/codebase", + "repository_download_url": null, + "api_data_url": "https://pypi.org/pypi/codebase/json", + "package_uid": "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "codebase/setup.py" + ], + "datasource_ids": [ + "pypi_setup_py" + ], + "purl": "pkg:pypi/codebase" + } + ], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +212,9 @@ ] }, { - "identifier": "mit#ad8a216c-f324-d61f-494c-f105455d2fee", + "identifier": "mit-ad8a216c-f324-d61f-494c-f105455d2fee", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +233,9 @@ ] }, { - "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -64,9 +254,9 @@ ] }, { - "identifier": "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "identifier": "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -96,9 +286,9 @@ ] }, { - "identifier": "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", + "identifier": "apache_2_0-c6739b12-3643-1e85-cc14-1864411bf945", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -117,9 +307,9 @@ ] }, { - "identifier": "apache_2_0#d5eb9d8e-3b26-fd74-282d-341e657c08eb", + "identifier": "apache_2_0-d5eb9d8e-3b26-fd74-282d-341e657c08eb", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -190,18 +380,6 @@ } ], "license_rule_references": [ - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_93.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100 - }, { "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", @@ -214,269 +392,115 @@ "rule_length": 1, "rule_relevance": 100 }, - { - "license_expression": "mit", - "rule_identifier": "mit_30.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 - }, { "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_73.RULE", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80 + "rule_length": 3, + "rule_relevance": 100 }, { - "license_expression": "apache-2.0 OR mit", - "rule_identifier": "apache-2.0_or_mit_36.RULE", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_93.RULE", "referenced_filenames": [], - "is_license_text": false, + "is_license_text": true, "is_license_notice": false, - "is_license_reference": true, + "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, + "rule_length": 1410, "rule_relevance": 100 }, { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, + "is_license_reference": false, + "is_license_tag": true, "is_license_intro": false, - "rule_length": 3, + "rule_length": 1, "rule_relevance": 100 }, { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_65.RULE", + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, + "rule_length": 2, "rule_relevance": 100 - } - ], - "dependencies": [], - "packages": [ - { - "type": "cargo", - "namespace": null, - "name": "codebase", - "version": null, - "qualifiers": {}, - "subpath": null, - "primary_language": "Rust", - "description": null, - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Demo Corporation", - "email": null, - "url": null - } - ], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "mit", - "declared_license_expression_spdx": "MIT", - "license_detections": [ - { - "license_expression": "mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 1, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "mit", - "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null, - "matched_text": "MIT" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "MIT", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://crates.io/crates/codebase", - "repository_download_url": null, - "api_data_url": "https://crates.io/api/v1/crates/codebase", - "package_uid": "pkg:cargo/codebase?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "codebase/cargo.toml" - ], - "datasource_ids": [ - "cargo_toml" - ], - "purl": "pkg:cargo/codebase" }, { - "type": "pypi", - "namespace": null, - "name": "codebase", - "version": null, - "qualifiers": {}, - "subpath": null, - "primary_language": "Python", - "description": null, - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Example Corp.", - "email": null, - "url": null - } - ], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "apache-2.0", - "declared_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "matched_text": "apache-2.0" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "{'license': 'apache-2.0'}", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://pypi.org/project/codebase", - "repository_download_url": null, - "api_data_url": "https://pypi.org/pypi/codebase/json", - "package_uid": "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "codebase/setup.py" - ], - "datasource_ids": [ - "pypi_setup_py" - ], - "purl": "pkg:pypi/codebase" + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 161, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_73.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 80 + }, + { + "license_expression": "apache-2.0 OR mit", + "rule_identifier": "apache-2.0_or_mit_36.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 } ], - "summary": { - "declared_license_expression": "apache-2.0 AND mit", - "license_clarity_score": { - "score": 100, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "Example Corp.", - "primary_language": "Python", - "other_license_expressions": [ - { - "value": "apache-2.0", - "count": 2 - }, - { - "value": "mit", - "count": 2 - }, - { - "value": null, - "count": 1 - }, - { - "value": "apache-2.0 AND (apache-2.0 OR mit)", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 4 - } - ], - "other_languages": [] - }, "files": [ { "path": "codebase", @@ -497,6 +521,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -506,8 +532,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -537,6 +561,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", "detected_license_expression_spdx": "Apache-2.0 AND (Apache-2.0 OR MIT)", "license_detections": [ @@ -574,7 +602,7 @@ "license_clues": [], "percentage_of_license_text": 57.14, "for_license_detections": [ - "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -591,10 +619,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "is_legal": false, "is_manifest": false, "is_readme": true, @@ -624,6 +648,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -650,15 +678,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "is_legal": true, "is_manifest": false, "is_readme": false, @@ -688,43 +712,6 @@ "is_media": false, "is_source": false, "is_script": false, - "detected_license_expression": "mit", - "detected_license_expression_spdx": "MIT", - "license_detections": [ - { - "license_expression": "mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 4, - "end_line": 4, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit", - "rule_identifier": "mit_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 25.0, - "for_license_detections": [ - "mit#ad8a216c-f324-d61f-494c-f105455d2fee" - ], - "copyrights": [], - "holders": [], - "authors": [ - { - "author": "Demo Corporation", - "start_line": 3, - "end_line": 3 - } - ], "package_data": [ { "type": "cargo", @@ -801,6 +788,43 @@ "pkg:cargo/codebase?uuid=fixed-uid-done-for-testing-5642512d1758", "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "mit", + "detected_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 4, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 25.0, + "for_license_detections": [ + "mit-ad8a216c-f324-d61f-494c-f105455d2fee" + ], + "copyrights": [], + "holders": [], + "authors": [ + { + "author": "Demo Corporation", + "start_line": 3, + "end_line": 3 + } + ], "is_legal": false, "is_manifest": true, "is_readme": false, @@ -830,6 +854,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "mit", "detected_license_expression_spdx": "MIT", "license_detections": [ @@ -856,15 +884,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "is_legal": true, "is_manifest": false, "is_readme": false, @@ -894,38 +918,6 @@ "is_media": false, "is_source": true, "is_script": false, - "detected_license_expression": "apache-2.0", - "detected_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 3, - "end_line": 3, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 40.0, - "for_license_detections": [ - "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", - "apache_2_0#d5eb9d8e-3b26-fd74-282d-341e657c08eb" - ], - "copyrights": [], - "holders": [], - "authors": [], "package_data": [ { "type": "pypi", @@ -1001,6 +993,38 @@ "for_packages": [ "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "apache-2.0", + "detected_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 40.0, + "for_license_detections": [ + "apache_2_0-c6739b12-3643-1e85-cc14-1864411bf945", + "apache_2_0-d5eb9d8e-3b26-fd74-282d-341e657c08eb" + ], + "copyrights": [], + "holders": [], + "authors": [], "is_legal": false, "is_manifest": true, "is_readme": false, diff --git a/tests/summarycode/data/summary/single_file/single_file.expected.json b/tests/summarycode/data/summary/single_file/single_file.expected.json index 491e8bfaff4..3b4ed27ba4e 100644 --- a/tests/summarycode/data/summary/single_file/single_file.expected.json +++ b/tests/summarycode/data/summary/single_file/single_file.expected.json @@ -1,9 +1,33 @@ { + "summary": { + "declared_license_expression": "jetty", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Mort Bay Consulting Pty. Ltd. (Australia) and others, Sun Microsystems", + "primary_language": null, + "other_license_expressions": [ + { + "value": null, + "count": 1 + } + ], + "other_holders": [], + "other_languages": [] + }, + "packages": [], + "dependencies": [], "license_detections": [ { - "identifier": "jetty#427d039d-8476-c119-f150-af365b19c42b", + "identifier": "jetty-427d039d-8476-c119-f150-af365b19c42b", "license_expression": "jetty", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -54,30 +78,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "jetty", - "license_clarity_score": { - "score": 100, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "Mort Bay Consulting Pty. Ltd. (Australia) and others, Sun Microsystems", - "primary_language": null, - "other_license_expressions": [ - { - "value": null, - "count": 1 - } - ], - "other_holders": [], - "other_languages": [] - }, "files": [ { "path": "codebase", @@ -98,6 +98,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -107,8 +109,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -138,6 +138,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "jetty", "detected_license_expression_spdx": "LicenseRef-scancode-jetty", "license_detections": [ @@ -164,7 +166,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "jetty#427d039d-8476-c119-f150-af365b19c42b" + "jetty-427d039d-8476-c119-f150-af365b19c42b" ], "copyrights": [ { @@ -191,8 +193,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": true, "is_manifest": false, "is_readme": false, diff --git a/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json b/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json index 5f12b9f5e64..ed230967d5d 100644 --- a/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json +++ b/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json @@ -1,9 +1,136 @@ { + "summary": { + "declared_license_expression": "mit", + "license_clarity_score": { + "score": 90, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": false, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "", + "primary_language": "Python", + "other_license_expressions": [ + { + "value": null, + "count": 1 + } + ], + "other_holders": [], + "other_languages": [] + }, + "packages": [ + { + "type": "pypi", + "namespace": null, + "name": "pip", + "version": "22.0.4", + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "The PyPA recommended tool for installing Python packages.\npip - The Python Package Installer\n==================================\n\n.. image:: https://img.shields.io/pypi/v/pip.svg\n :target: https://pypi.org/project/pip/\n\n.. image:: https://readthedocs.org/projects/pip/badge/?version=latest\n :target: https://pip.pypa.io/en/latest\n\npip is the `package installer`_ for Python. You can use pip to install packages from the `Python Package Index`_ and other indexes.\n\nPlease take a look at our documentation for how to install and use pip:\n\n* `Installation`_\n* `Usage`_\n\nWe release updates regularly, with a new version every 3 months. Find more details in our documentation:\n\n* `Release notes`_\n* `Release process`_\n\nIn pip 20.3, we've `made a big improvement to the heart of pip`_; `learn more`_. We want your input, so `sign up for our user experience research studies`_ to help us do it right.\n\n**Note**: pip 21.0, in January 2021, removed Python 2 support, per pip's `Python 2 support policy`_. Please migrate to Python 3.\n\nIf you find bugs, need help, or want to talk to the developers, please use our mailing lists or chat rooms:\n\n* `Issue tracking`_\n* `Discourse channel`_\n* `User IRC`_\n\nIf you want to get involved head over to GitHub to get the source code, look at our development documentation and feel free to jump on the developer mailing lists and chat rooms:\n\n* `GitHub page`_\n* `Development documentation`_\n* `Development mailing list`_\n* `Development IRC`_\n\nCode of Conduct\n---------------\n\nEveryone interacting in the pip project's codebases, issue trackers, chat\nrooms, and mailing lists is expected to follow the `PSF Code of Conduct`_.\n\n.. _package installer: https://packaging.python.org/guides/tool-recommendations/\n.. _Python Package Index: https://pypi.org\n.. _Installation: https://pip.pypa.io/en/stable/installation/\n.. _Usage: https://pip.pypa.io/en/stable/\n.. _Release notes: https://pip.pypa.io/en/stable/news.html\n.. _Release process: https://pip.pypa.io/en/latest/development/release-process/\n.. _GitHub page: https://github.com/pypa/pip\n.. _Development documentation: https://pip.pypa.io/en/latest/development\n.. _made a big improvement to the heart of pip: https://pyfound.blogspot.com/2020/11/pip-20-3-new-resolver.html\n.. _learn more: https://pip.pypa.io/en/latest/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020\n.. _sign up for our user experience research studies: https://pyfound.blogspot.com/2020/03/new-pip-resolver-to-roll-out-this-year.html\n.. _Python 2 support policy: https://pip.pypa.io/en/latest/development/release-process/#python-2-support\n.. _Issue tracking: https://github.com/pypa/pip/issues\n.. _Discourse channel: https://discuss.python.org/c/packaging\n.. _Development mailing list: https://mail.python.org/mailman3/lists/distutils-sig.python.org/\n.. _User IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa\n.. _Development IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa-dev\n.. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md", + "release_date": null, + "parties": [], + "keywords": [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "Topic :: Software Development :: Build Tools", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy" + ], + "homepage_url": "https://pip.pypa.io/", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": "https://github.com/pypa/pip", + "vcs_url": null, + "copyright": null, + "declared_license_expression": "mit", + "declared_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 1, + "match_coverage": 100.0, + "matcher": "1-spdx-id", + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "rule_url": null, + "matched_text": "MIT" + } + ] + }, + { + "license_expression": "mit", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "mit", + "rule_identifier": "pypi_mit_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE", + "matched_text": "['License :: OSI Approved :: MIT License']" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "notice_text": null, + "source_packages": [], + "extra_data": { + "Documentation": "https://pip.pypa.io", + "Changelog": "https://pip.pypa.io/en/stable/news/" + }, + "repository_homepage_url": "https://pypi.org/project/pip", + "repository_download_url": "https://pypi.org/packages/source/p/pip/pip-22.0.4.tar.gz", + "api_data_url": "https://pypi.org/pypi/pip/22.0.4/json", + "package_uid": "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "pip-22.0.4/PKG-INFO" + ], + "datasource_ids": [ + "pypi_sdist_pkginfo" + ], + "purl": "pkg:pypi/pip@22.0.4" + } + ], + "dependencies": [], "license_detections": [ { - "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +149,9 @@ ] }, { - "identifier": "mit#ad8a216c-f324-d61f-494c-f105455d2fee", + "identifier": "mit-ad8a216c-f324-d61f-494c-f105455d2fee", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +170,9 @@ ] }, { - "identifier": "mit#04f8db63-e6e3-94d5-ae3a-a1a5f5f6ce6e", + "identifier": "mit-04f8db63-e6e3-94d5-ae3a-a1a5f5f6ce6e", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -64,9 +191,9 @@ ] }, { - "identifier": "unknown_license_reference#fb844411-7214-0f1a-1e8f-45cf1b635d24", + "identifier": "unknown_license_reference-fb844411-7214-0f1a-1e8f-45cf1b635d24", "license_expression": "unknown-license-reference", - "occurrence_count": 2, + "count": 1, "detection_log": [ "not-combined" ], @@ -85,9 +212,41 @@ ] }, { - "identifier": "mit#a545424e-6bca-63d9-1fbd-c17f2c43ab4b", + "identifier": "mit-42bdee84-08b6-3ef2-5abc-7c87b2be5611", + "license_expression": "mit", + "count": 1, + "detection_log": [ + "package-unknown-reference-to-local-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 87, + "end_line": 87, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see_license_at_manifest_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_2.RULE" + }, + { + "score": 100.0, + "start_line": 3, + "end_line": 20, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit.LICENSE" + } + ] + }, + { + "identifier": "mit-a545424e-6bca-63d9-1fbd-c17f2c43ab4b", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -142,6 +301,30 @@ } ], "license_rule_references": [ + { + "license_expression": "mit", + "rule_identifier": "spdx-license-identifier: mit", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 1, + "rule_relevance": 100 + }, + { + "license_expression": "mit", + "rule_identifier": "pypi_mit_license.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 5, + "rule_relevance": 100 + }, { "license_expression": "mit", "rule_identifier": "mit.LICENSE", @@ -279,145 +462,38 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [ + "files": [ { - "type": "pypi", - "namespace": null, - "name": "pip", - "version": "22.0.4", - "qualifiers": {}, - "subpath": null, - "primary_language": "Python", - "description": "The PyPA recommended tool for installing Python packages.\npip - The Python Package Installer\n==================================\n\n.. image:: https://img.shields.io/pypi/v/pip.svg\n :target: https://pypi.org/project/pip/\n\n.. image:: https://readthedocs.org/projects/pip/badge/?version=latest\n :target: https://pip.pypa.io/en/latest\n\npip is the `package installer`_ for Python. You can use pip to install packages from the `Python Package Index`_ and other indexes.\n\nPlease take a look at our documentation for how to install and use pip:\n\n* `Installation`_\n* `Usage`_\n\nWe release updates regularly, with a new version every 3 months. Find more details in our documentation:\n\n* `Release notes`_\n* `Release process`_\n\nIn pip 20.3, we've `made a big improvement to the heart of pip`_; `learn more`_. We want your input, so `sign up for our user experience research studies`_ to help us do it right.\n\n**Note**: pip 21.0, in January 2021, removed Python 2 support, per pip's `Python 2 support policy`_. Please migrate to Python 3.\n\nIf you find bugs, need help, or want to talk to the developers, please use our mailing lists or chat rooms:\n\n* `Issue tracking`_\n* `Discourse channel`_\n* `User IRC`_\n\nIf you want to get involved head over to GitHub to get the source code, look at our development documentation and feel free to jump on the developer mailing lists and chat rooms:\n\n* `GitHub page`_\n* `Development documentation`_\n* `Development mailing list`_\n* `Development IRC`_\n\nCode of Conduct\n---------------\n\nEveryone interacting in the pip project's codebases, issue trackers, chat\nrooms, and mailing lists is expected to follow the `PSF Code of Conduct`_.\n\n.. _package installer: https://packaging.python.org/guides/tool-recommendations/\n.. _Python Package Index: https://pypi.org\n.. _Installation: https://pip.pypa.io/en/stable/installation/\n.. _Usage: https://pip.pypa.io/en/stable/\n.. _Release notes: https://pip.pypa.io/en/stable/news.html\n.. _Release process: https://pip.pypa.io/en/latest/development/release-process/\n.. _GitHub page: https://github.com/pypa/pip\n.. _Development documentation: https://pip.pypa.io/en/latest/development\n.. _made a big improvement to the heart of pip: https://pyfound.blogspot.com/2020/11/pip-20-3-new-resolver.html\n.. _learn more: https://pip.pypa.io/en/latest/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020\n.. _sign up for our user experience research studies: https://pyfound.blogspot.com/2020/03/new-pip-resolver-to-roll-out-this-year.html\n.. _Python 2 support policy: https://pip.pypa.io/en/latest/development/release-process/#python-2-support\n.. _Issue tracking: https://github.com/pypa/pip/issues\n.. _Discourse channel: https://discuss.python.org/c/packaging\n.. _Development mailing list: https://mail.python.org/mailman3/lists/distutils-sig.python.org/\n.. _User IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa\n.. _Development IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa-dev\n.. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md", - "release_date": null, - "parties": [], - "keywords": [ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "Topic :: Software Development :: Build Tools", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: Implementation :: CPython", - "Programming Language :: Python :: Implementation :: PyPy" + "path": "pip-22.0.4", + "type": "directory", + "package_data": [], + "for_packages": [], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_license_detections": [], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": true, + "is_key_file": false, + "scan_errors": [] + }, + { + "path": "pip-22.0.4/AUTHORS.txt", + "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" ], - "homepage_url": "https://pip.pypa.io/", - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": "https://github.com/pypa/pip", - "vcs_url": null, - "copyright": null, - "declared_license_expression": "mit", - "declared_license_expression_spdx": "MIT", - "license_detections": [ - { - "license_expression": "mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 1, - "match_coverage": 100.0, - "matcher": "1-spdx-id", - "license_expression": "mit", - "rule_identifier": "spdx-license-identifier: mit", - "rule_url": null, - "matched_text": "MIT" - } - ] - }, - { - "license_expression": "mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "mit", - "rule_identifier": "pypi_mit_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE", - "matched_text": "['License :: OSI Approved :: MIT License']" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", - "notice_text": null, - "source_packages": [], - "extra_data": { - "Documentation": "https://pip.pypa.io", - "Changelog": "https://pip.pypa.io/en/stable/news/" - }, - "repository_homepage_url": "https://pypi.org/project/pip", - "repository_download_url": "https://pypi.org/packages/source/p/pip/pip-22.0.4.tar.gz", - "api_data_url": "https://pypi.org/pypi/pip/22.0.4/json", - "package_uid": "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "pip-22.0.4/PKG-INFO" - ], - "datasource_ids": [ - "pypi_sdist_pkginfo" - ], - "purl": "pkg:pypi/pip@22.0.4" - } - ], - "summary": { - "declared_license_expression": "mit", - "license_clarity_score": { - "score": 90, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": false, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "", - "primary_language": "Python", - "other_license_expressions": [ - { - "value": null, - "count": 1 - } - ], - "other_holders": [], - "other_languages": [] - }, - "files": [ - { - "path": "pip-22.0.4", - "type": "directory", "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -426,28 +502,12 @@ "scan_errors": [] }, { - "path": "pip-22.0.4/AUTHORS.txt", + "path": "pip-22.0.4/LICENSE.txt", "type": "file", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_license_detections": [], "package_data": [], "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": true, - "is_key_file": false, - "scan_errors": [] - }, - { - "path": "pip-22.0.4/LICENSE.txt", - "type": "file", "detected_license_expression": "mit", "detected_license_expression_spdx": "MIT", "license_detections": [ @@ -474,11 +534,7 @@ "license_clues": [], "percentage_of_license_text": 93.6, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" - ], - "package_data": [], - "for_packages": [ - "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "is_legal": true, "is_manifest": false, @@ -490,16 +546,16 @@ { "path": "pip-22.0.4/MANIFEST.in", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -510,16 +566,16 @@ { "path": "pip-22.0.4/NEWS.rst", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -530,85 +586,6 @@ { "path": "pip-22.0.4/PKG-INFO", "type": "file", - "detected_license_expression": "mit", - "detected_license_expression_spdx": "MIT", - "license_detections": [ - { - "license_expression": "mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 6, - "end_line": 6, - "matched_length": 2, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit", - "rule_identifier": "mit_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" - } - ] - }, - { - "license_expression": "mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 13, - "end_line": 13, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit", - "rule_identifier": "pypi_mit_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE" - } - ] - }, - { - "license_expression": "mit", - "detection_log": [ - "unknown-reference-to-local-file" - ], - "matches": [ - { - "score": 100.0, - "start_line": 25, - "end_line": 25, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "unknown-license-reference", - "rule_identifier": "unknown-license-reference_see_license_at_manifest_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_2.RULE" - }, - { - "score": 100.0, - "start_line": 3, - "end_line": 20, - "matched_length": 161, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 1.86, - "for_license_detections": [ - "mit#ad8a216c-f324-d61f-494c-f105455d2fee", - "mit#04f8db63-e6e3-94d5-ae3a-a1a5f5f6ce6e", - "unknown_license_reference#fb844411-7214-0f1a-1e8f-45cf1b635d24" - ], "package_data": [ { "type": "pypi", @@ -671,46 +648,125 @@ }, { "license_expression": "mit", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "mit", - "rule_identifier": "pypi_mit_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE", - "matched_text": "['License :: OSI Approved :: MIT License']" - } - ] + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "mit", + "rule_identifier": "pypi_mit_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE", + "matched_text": "['License :: OSI Approved :: MIT License']" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", + "notice_text": null, + "source_packages": [], + "file_references": [], + "extra_data": { + "Documentation": "https://pip.pypa.io", + "Changelog": "https://pip.pypa.io/en/stable/news/" + }, + "dependencies": [], + "repository_homepage_url": "https://pypi.org/project/pip", + "repository_download_url": "https://pypi.org/packages/source/p/pip/pip-22.0.4.tar.gz", + "api_data_url": "https://pypi.org/pypi/pip/22.0.4/json", + "datasource_id": "pypi_sdist_pkginfo", + "purl": "pkg:pypi/pip@22.0.4" + } + ], + "for_packages": [ + "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" + ], + "detected_license_expression": "mit", + "detected_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 6, + "end_line": 6, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" + } + ] + }, + { + "license_expression": "mit", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 13, + "end_line": 13, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "pypi_mit_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE" + } + ] + }, + { + "license_expression": "mit", + "detection_log": [ + "unknown-reference-to-local-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 25, + "end_line": 25, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see_license_at_manifest_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_2.RULE" + }, + { + "score": 100.0, + "start_line": 3, + "end_line": 20, + "matched_length": 161, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "{'license': 'MIT', 'classifiers': ['License :: OSI Approved :: MIT License']}", - "notice_text": null, - "source_packages": [], - "file_references": [], - "extra_data": { - "Documentation": "https://pip.pypa.io", - "Changelog": "https://pip.pypa.io/en/stable/news/" - }, - "dependencies": [], - "repository_homepage_url": "https://pypi.org/project/pip", - "repository_download_url": "https://pypi.org/packages/source/p/pip/pip-22.0.4.tar.gz", - "api_data_url": "https://pypi.org/pypi/pip/22.0.4/json", - "datasource_id": "pypi_sdist_pkginfo", - "purl": "pkg:pypi/pip@22.0.4" + ] } ], - "for_packages": [ - "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" + "license_clues": [], + "percentage_of_license_text": 1.86, + "for_license_detections": [ + "mit-ad8a216c-f324-d61f-494c-f105455d2fee", + "mit-04f8db63-e6e3-94d5-ae3a-a1a5f5f6ce6e", + "unknown_license_reference-fb844411-7214-0f1a-1e8f-45cf1b635d24" ], "is_legal": false, "is_manifest": false, @@ -722,16 +778,16 @@ { "path": "pip-22.0.4/README.rst", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "is_legal": false, "is_manifest": false, "is_readme": true, @@ -742,14 +798,14 @@ { "path": "pip-22.0.4/docs", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -760,12 +816,6 @@ { "path": "pip-22.0.4/docs/requirements.txt", "type": "file", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_license_detections": [], "package_data": [ { "type": "pypi", @@ -981,6 +1031,12 @@ "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_license_detections": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -991,12 +1047,6 @@ { "path": "pip-22.0.4/pyproject.toml", "type": "file", - "detected_license_expression": null, - "detected_license_expression_spdx": null, - "license_detections": [], - "license_clues": [], - "percentage_of_license_text": 0, - "for_license_detections": [], "package_data": [ { "type": "pypi", @@ -1063,6 +1113,12 @@ "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "for_license_detections": [], "is_legal": false, "is_manifest": true, "is_readme": false, @@ -1073,56 +1129,6 @@ { "path": "pip-22.0.4/setup.cfg", "type": "file", - "detected_license_expression": "mit", - "detected_license_expression_spdx": "MIT", - "license_detections": [ - { - "license_expression": "mit", - "detection_log": [ - "package-unknown-reference-to-local-file" - ], - "matches": [ - { - "score": 100.0, - "start_line": 87, - "end_line": 87, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "unknown-license-reference", - "rule_identifier": "unknown-license-reference_see_license_at_manifest_2.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_2.RULE" - }, - { - "score": 100.0, - "start_line": 3, - "end_line": 20, - "matched_length": 161, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" - }, - { - "score": 100.0, - "start_line": 3, - "end_line": 20, - "matched_length": 161, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 1.96, - "for_license_detections": [ - "unknown_license_reference#fb844411-7214-0f1a-1e8f-45cf1b635d24" - ], "package_data": [ { "type": "pypi", @@ -1153,7 +1159,7 @@ { "license_expression": "mit", "detection_log": [ - "package-unknown-reference-to-local-file" + "unknown-reference-to-local-file" ], "matches": [ { @@ -1211,55 +1217,66 @@ "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" ], - "is_legal": false, - "is_manifest": true, - "is_readme": false, - "is_top_level": true, - "is_key_file": true, - "scan_errors": [] - }, - { - "path": "pip-22.0.4/setup.py", - "type": "file", "detected_license_expression": "mit", "detected_license_expression_spdx": "MIT", "license_detections": [ { "license_expression": "mit", "detection_log": [ - "not-combined" + "unknown-reference-to-local-file" ], "matches": [ { "score": 100.0, - "start_line": 31, - "end_line": 31, - "matched_length": 2, + "start_line": 87, + "end_line": 87, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see_license_at_manifest_2.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_2.RULE" + }, + { + "score": 100.0, + "start_line": 3, + "end_line": 20, + "matched_length": 161, "match_coverage": 100.0, "matcher": "2-aho", "license_expression": "mit", - "rule_identifier": "mit_30.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" }, { "score": 100.0, - "start_line": 35, - "end_line": 35, - "matched_length": 5, + "start_line": 3, + "end_line": 20, + "matched_length": 161, "match_coverage": 100.0, "matcher": "2-aho", "license_expression": "mit", - "rule_identifier": "pypi_mit_license.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE" + "rule_identifier": "mit.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" } ] } ], "license_clues": [], - "percentage_of_license_text": 2.37, + "percentage_of_license_text": 1.96, "for_license_detections": [ - "mit#a545424e-6bca-63d9-1fbd-c17f2c43ab4b" + "mit-42bdee84-08b6-3ef2-5abc-7c87b2be5611" ], + "is_legal": false, + "is_manifest": true, + "is_readme": false, + "is_top_level": true, + "is_key_file": true, + "scan_errors": [] + }, + { + "path": "pip-22.0.4/setup.py", + "type": "file", "package_data": [ { "type": "pypi", @@ -1364,6 +1381,45 @@ "for_packages": [ "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "mit", + "detected_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 31, + "end_line": 31, + "matched_length": 2, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_30.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE" + }, + { + "score": 100.0, + "start_line": 35, + "end_line": 35, + "matched_length": 5, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "pypi_mit_license.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 2.37, + "for_license_detections": [ + "mit-a545424e-6bca-63d9-1fbd-c17f2c43ab4b" + ], "is_legal": false, "is_manifest": true, "is_readme": false, @@ -1374,14 +1430,14 @@ { "path": "pip-22.0.4/src", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -1392,14 +1448,14 @@ { "path": "pip-22.0.4/src/pip", "type": "directory", + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -1410,16 +1466,16 @@ { "path": "pip-22.0.4/src/pip/__init__.py", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -1430,16 +1486,16 @@ { "path": "pip-22.0.4/src/pip/__main__.py", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -1450,16 +1506,16 @@ { "path": "pip-22.0.4/src/pip/py.typed", "type": "file", + "package_data": [], + "for_packages": [ + "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], "license_clues": [], "percentage_of_license_text": 0, "for_license_detections": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/pip@22.0.4?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "is_legal": false, "is_manifest": false, "is_readme": false, diff --git a/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json b/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json index 050abf47862..1c34e2604e4 100644 --- a/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json +++ b/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json @@ -1,86 +1,31 @@ { - "license_detections": [ - { - "identifier": "apache_2_0#28a4af66-3385-dc3d-3b4b-27eea19ac8ca", - "license_expression": "apache-2.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 4, - "end_line": 14, - "matched_length": 85, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE" - } - ] - } - ], - "license_references": [ - { - "key": "apache-2.0", - "short_name": "Apache 2.0", - "name": "Apache License 2.0", - "category": "Permissive", - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", - "is_builtin": true, - "spdx_license_key": "Apache-2.0", - "other_spdx_license_keys": [ - "LicenseRef-Apache", - "LicenseRef-Apache-2.0" - ], - "osi_license_key": "Apache-2.0", - "text_urls": [ - "http://www.apache.org/licenses/LICENSE-2.0" - ], - "osi_url": "http://opensource.org/licenses/apache2.0.php", - "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", - "other_urls": [ - "http://www.opensource.org/licenses/Apache-2.0", - "https://opensource.org/licenses/Apache-2.0", - "https://www.apache.org/licenses/LICENSE-2.0" - ], - "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." - } - ], - "license_rule_references": [ - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100 - } - ], - "dependencies": [ - { - "purl": "pkg:pypi/pybind11", - "extracted_requirement": "pybind11>=2.5.0", - "scope": "setup", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:pypi/pybind11?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:pypi/atheris?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "codebase/setup.py", - "datasource_id": "pypi_setup_py" - } - ], + "summary": { + "declared_license_expression": "apache-2.0", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Google, Fraunhofer FKIE", + "primary_language": "Python", + "other_license_expressions": [ + { + "value": null, + "count": 1 + } + ], + "other_holders": [ + { + "value": "Example Corporation", + "count": 1 + } + ], + "other_languages": [] + }, "packages": [ { "type": "pypi", @@ -156,33 +101,100 @@ "purl": "pkg:pypi/atheris" } ], - "summary": { - "declared_license_expression": "apache-2.0", - "license_clarity_score": { - "score": 100, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false + "dependencies": [ + { + "purl": "pkg:pypi/pybind11", + "extracted_requirement": "pybind11>=2.5.0", + "scope": "setup", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:pypi/pybind11?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:pypi/atheris?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "codebase/setup.py", + "datasource_id": "pypi_setup_py" + } + ], + "license_detections": [ + { + "identifier": "apache_2_0-28a4af66-3385-dc3d-3b4b-27eea19ac8ca", + "license_expression": "apache-2.0", + "count": 2, + "detection_log": [ + "from-package-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 14, + "matched_length": 85, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE" + } + ] + } + ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + } + ], + "license_rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100 }, - "declared_holder": "Google, Fraunhofer FKIE", - "primary_language": "Python", - "other_license_expressions": [ - { - "value": null, - "count": 1 - } - ], - "other_holders": [ - { - "value": "Example Corporation", - "count": 1 - } - ], - "other_languages": [] - }, + { + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 85, + "rule_relevance": 100 + } + ], "files": [ { "path": "codebase", @@ -203,6 +215,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -212,8 +226,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -243,6 +255,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:pypi/atheris?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -264,10 +280,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/atheris?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "is_legal": false, "is_manifest": false, "is_readme": true, @@ -297,59 +309,6 @@ "is_media": false, "is_source": true, "is_script": false, - "detected_license_expression": "apache-2.0", - "detected_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "from-package-file" - ], - "matches": [ - { - "score": 100.0, - "start_line": 4, - "end_line": 14, - "matched_length": 85, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_7.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 53.12, - "for_license_detections": [ - "apache_2_0#28a4af66-3385-dc3d-3b4b-27eea19ac8ca" - ], - "copyrights": [ - { - "copyright": "Copyright 2020 Google LLC", - "start_line": 1, - "end_line": 1 - }, - { - "copyright": "Copyright 2021 Fraunhofer FKIE", - "start_line": 2, - "end_line": 2 - } - ], - "holders": [ - { - "holder": "Google LLC", - "start_line": 1, - "end_line": 1 - }, - { - "holder": "Fraunhofer FKIE", - "start_line": 2, - "end_line": 2 - } - ], - "authors": [], "package_data": [ { "type": "pypi", @@ -435,6 +394,60 @@ "for_packages": [ "pkg:pypi/atheris?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "apache-2.0", + "detected_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "from-package-file" + ], + "matches": [ + { + "score": 100.0, + "start_line": 4, + "end_line": 14, + "matched_length": 85, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_7.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 53.12, + "for_license_detections": [ + "apache_2_0-28a4af66-3385-dc3d-3b4b-27eea19ac8ca", + "apache_2_0-28a4af66-3385-dc3d-3b4b-27eea19ac8ca" + ], + "copyrights": [ + { + "copyright": "Copyright 2020 Google LLC", + "start_line": 1, + "end_line": 1 + }, + { + "copyright": "Copyright 2021 Fraunhofer FKIE", + "start_line": 2, + "end_line": 2 + } + ], + "holders": [ + { + "holder": "Google LLC", + "start_line": 1, + "end_line": 1 + }, + { + "holder": "Fraunhofer FKIE", + "start_line": 2, + "end_line": 2 + } + ], + "authors": [], "is_legal": false, "is_manifest": true, "is_readme": false, diff --git a/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json b/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json index 01db235ee1f..a696692f97b 100644 --- a/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json +++ b/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json @@ -1,9 +1,121 @@ { + "summary": { + "declared_license_expression": "apache-2.0", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Example Corp.", + "primary_language": "Python", + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "apache-2.0 AND (apache-2.0 OR mit)", + "count": 1 + }, + { + "value": "mit", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 3 + } + ], + "other_languages": [] + }, + "packages": [ + { + "type": "pypi", + "namespace": null, + "name": "codebase", + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Example Corp.", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "declared_license_expression": "apache-2.0", + "declared_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "matched_text": "apache-2.0" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "{'license': 'apache-2.0'}", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://pypi.org/project/codebase", + "repository_download_url": null, + "api_data_url": "https://pypi.org/pypi/codebase/json", + "package_uid": "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "codebase/setup.py" + ], + "datasource_ids": [ + "pypi_setup_py" + ], + "purl": "pkg:pypi/codebase" + } + ], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +134,9 @@ ] }, { - "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +155,9 @@ ] }, { - "identifier": "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "identifier": "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -75,9 +187,9 @@ ] }, { - "identifier": "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", + "identifier": "apache_2_0-c6739b12-3643-1e85-cc14-1864411bf945", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -96,9 +208,9 @@ ] }, { - "identifier": "apache_2_0#d5eb9d8e-3b26-fd74-282d-341e657c08eb", + "identifier": "apache_2_0-d5eb9d8e-3b26-fd74-282d-341e657c08eb", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -169,6 +281,18 @@ } ], "license_rule_references": [ + { + "license_expression": "apache-2.0", + "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 100 + }, { "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", @@ -242,118 +366,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [ - { - "type": "pypi", - "namespace": null, - "name": "codebase", - "version": null, - "qualifiers": {}, - "subpath": null, - "primary_language": "Python", - "description": null, - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Example Corp.", - "email": null, - "url": null - } - ], - "keywords": [], - "homepage_url": null, - "download_url": null, - "size": null, - "sha1": null, - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_url": null, - "copyright": null, - "declared_license_expression": "apache-2.0", - "declared_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "matched_text": "apache-2.0" - } - ] - } - ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "{'license': 'apache-2.0'}", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://pypi.org/project/codebase", - "repository_download_url": null, - "api_data_url": "https://pypi.org/pypi/codebase/json", - "package_uid": "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "codebase/setup.py" - ], - "datasource_ids": [ - "pypi_setup_py" - ], - "purl": "pkg:pypi/codebase" - } - ], - "summary": { - "declared_license_expression": "apache-2.0", - "license_clarity_score": { - "score": 100, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "Example Corp.", - "primary_language": "Python", - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "apache-2.0 AND (apache-2.0 OR mit)", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 3 - } - ], - "other_languages": [] - }, "files": [ { "path": "codebase", @@ -374,6 +386,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -383,8 +397,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -414,6 +426,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", "detected_license_expression_spdx": "Apache-2.0 AND (Apache-2.0 OR MIT)", "license_detections": [ @@ -451,7 +467,7 @@ "license_clues": [], "percentage_of_license_text": 57.14, "for_license_detections": [ - "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -468,10 +484,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "is_legal": false, "is_manifest": false, "is_readme": true, @@ -501,6 +513,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -527,15 +543,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "is_legal": true, "is_manifest": false, "is_readme": false, @@ -565,6 +577,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "mit", "detected_license_expression_spdx": "MIT", "license_detections": [ @@ -591,15 +607,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "is_legal": true, "is_manifest": false, "is_readme": false, @@ -629,38 +641,6 @@ "is_media": false, "is_source": true, "is_script": false, - "detected_license_expression": "apache-2.0", - "detected_license_expression_spdx": "Apache-2.0", - "license_detections": [ - { - "license_expression": "apache-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 3, - "end_line": 3, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_65.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 40.0, - "for_license_detections": [ - "apache_2_0#c6739b12-3643-1e85-cc14-1864411bf945", - "apache_2_0#d5eb9d8e-3b26-fd74-282d-341e657c08eb" - ], - "copyrights": [], - "holders": [], - "authors": [], "package_data": [ { "type": "pypi", @@ -736,6 +716,38 @@ "for_packages": [ "pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "apache-2.0", + "detected_license_expression_spdx": "Apache-2.0", + "license_detections": [ + { + "license_expression": "apache-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 40.0, + "for_license_detections": [ + "apache_2_0-c6739b12-3643-1e85-cc14-1864411bf945", + "apache_2_0-d5eb9d8e-3b26-fd74-282d-341e657c08eb" + ], + "copyrights": [], + "holders": [], + "authors": [], "is_legal": false, "is_manifest": true, "is_readme": false, diff --git a/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json b/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json index c871ae177ba..7b20092a750 100644 --- a/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json +++ b/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json @@ -1,9 +1,46 @@ { + "summary": { + "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Example Corp.", + "primary_language": null, + "other_license_expressions": [ + { + "value": null, + "count": 1 + }, + { + "value": "apache-2.0", + "count": 1 + }, + { + "value": "mit", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 2 + } + ], + "other_languages": [] + }, + "packages": [], + "dependencies": [], "license_detections": [ { - "identifier": "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f", + "identifier": "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f", "license_expression": "apache-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +59,9 @@ ] }, { - "identifier": "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9", + "identifier": "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9", "license_expression": "mit", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +80,9 @@ ] }, { - "identifier": "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", + "identifier": "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2", "license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -176,43 +213,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [], - "summary": { - "declared_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", - "license_clarity_score": { - "score": 100, - "declared_license": true, - "identification_precision": true, - "has_license_text": true, - "declared_copyrights": true, - "conflicting_license_categories": false, - "ambiguous_compound_licensing": false - }, - "declared_holder": "Example Corp.", - "primary_language": null, - "other_license_expressions": [ - { - "value": null, - "count": 1 - }, - { - "value": "apache-2.0", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "other_holders": [ - { - "value": null, - "count": 2 - } - ], - "other_languages": [] - }, "files": [ { "path": "codebase", @@ -233,6 +233,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -242,8 +244,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": false, @@ -273,6 +273,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0 AND (apache-2.0 OR mit)", "detected_license_expression_spdx": "Apache-2.0 AND (Apache-2.0 OR MIT)", "license_detections": [ @@ -310,7 +312,7 @@ "license_clues": [], "percentage_of_license_text": 57.14, "for_license_detections": [ - "apache_2_0_and__apache_2_0_or_mit#0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" + "apache_2_0_and__apache_2_0_or_mit-0a7bf83e-120a-2d74-3ddc-f581fb0fc3e2" ], "copyrights": [ { @@ -327,8 +329,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": false, "is_manifest": false, "is_readme": true, @@ -358,6 +358,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "apache-2.0", "detected_license_expression_spdx": "Apache-2.0", "license_detections": [ @@ -384,13 +386,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "apache_2_0#131e3a0d-9d03-6ab8-63c7-0593eae53d6f" + "apache_2_0-131e3a0d-9d03-6ab8-63c7-0593eae53d6f" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": true, "is_manifest": false, "is_readme": false, @@ -420,6 +420,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "mit", "detected_license_expression_spdx": "MIT", "license_detections": [ @@ -446,13 +448,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "mit#e60e2912-9996-f235-207c-8ce2b9e55eb9" + "mit-e60e2912-9996-f235-207c-8ce2b9e55eb9" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "is_legal": true, "is_manifest": false, "is_readme": false, diff --git a/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json b/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json index 868476af63d..03d8242e230 100644 --- a/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json +++ b/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json @@ -1,9 +1,11 @@ { + "packages": [], + "dependencies": [], "license_detections": [ { - "identifier": "gpl_3_0_plus#b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f", + "identifier": "gpl_3_0_plus-b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f", "license_expression": "gpl-3.0-plus", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +24,9 @@ ] }, { - "identifier": "gpl_2_0_plus#e68d2a19-4f30-77b2-c51f-8f14b7a097d2", + "identifier": "gpl_2_0_plus-e68d2a19-4f30-77b2-c51f-8f14b7a097d2", "license_expression": "gpl-2.0-plus", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -121,8 +123,6 @@ "rule_relevance": 100 } ], - "dependencies": [], - "packages": [], "tallies": { "detected_license_expression": [ { @@ -207,6 +207,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -216,8 +218,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "facets": [], "is_legal": false, "is_manifest": false, @@ -248,6 +248,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -257,8 +259,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "facets": [], "is_legal": false, "is_manifest": false, @@ -289,6 +289,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -298,8 +300,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "facets": [], "is_legal": false, "is_manifest": false, @@ -330,6 +330,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -339,8 +341,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "facets": [], "is_legal": false, "is_manifest": false, @@ -371,6 +371,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-3.0-plus", "detected_license_expression_spdx": "GPL-3.0-or-later", "license_detections": [ @@ -397,13 +399,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "gpl_3_0_plus#b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f" + "gpl_3_0_plus-b3d7735f-90c4-2c5b-ff2d-2fe9f092cb2f" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "facets": [ "core" ], @@ -436,6 +436,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -445,8 +447,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "facets": [ "core" ], @@ -479,6 +479,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -488,8 +490,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "facets": [], "is_legal": false, "is_manifest": false, @@ -520,6 +520,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -529,8 +531,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "facets": [], "is_legal": false, "is_manifest": false, @@ -561,6 +561,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -570,8 +572,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "facets": [], "is_legal": false, "is_manifest": false, @@ -602,6 +602,8 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": "gpl-2.0-plus", "detected_license_expression_spdx": "GPL-2.0-or-later", "license_detections": [ @@ -628,7 +630,7 @@ "license_clues": [], "percentage_of_license_text": 80.95, "for_license_detections": [ - "gpl_2_0_plus#e68d2a19-4f30-77b2-c51f-8f14b7a097d2" + "gpl_2_0_plus-e68d2a19-4f30-77b2-c51f-8f14b7a097d2" ], "copyrights": [ { @@ -645,8 +647,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "facets": [ "core" ], @@ -679,6 +679,8 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -700,8 +702,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [], "facets": [ "core" ], diff --git a/tests/summarycode/data/tallies/full_tallies/tallies.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies.expected.json index 865b46402d9..f685774ac9b 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies.expected.json @@ -1,1843 +1,79 @@ { - "license_detections": [ + "packages": [ { - "identifier": "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4", - "license_expression": "cc0-1.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "npm", + "namespace": null, + "name": "npm", + "version": "2.13.5", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "a package manager for JavaScript", + "release_date": null, + "parties": [ { - "score": 99.69, - "start_line": 1, - "end_line": 98, - "matched_length": 978, - "match_coverage": 99.69, - "matcher": "3-seq", - "license_expression": "cc0-1.0", - "rule_identifier": "cc0-1.0_155.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" - } - ] - }, - { - "identifier": "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3", - "license_expression": "artistic-2.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "author", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me" + }, { - "score": 100.0, - "start_line": 198, - "end_line": 198, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" - } - ] - }, - { - "identifier": "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2", - "license_expression": "zlib", - "occurrence_count": 9, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": null + }, { - "score": 100.0, - "start_line": 3, - "end_line": 3, - "matched_length": 12, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" - } - ] - }, - { - "identifier": "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23", - "license_expression": "zlib", - "occurrence_count": 2, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Steve Steiner", + "email": "ssteinerX@gmail.com", + "url": null + }, { - "score": 100.0, - "start_line": 6, - "end_line": 23, - "matched_length": 144, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" - } - ] - }, - { - "identifier": "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c", - "license_expression": "lgpl-2.1-plus", - "occurrence_count": 3, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Mikeal Rogers", + "email": "mikeal.rogers@gmail.com", + "url": null + }, { - "score": 100.0, - "start_line": 7, - "end_line": 20, - "matched_length": 125, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" - } - ] - }, - { - "identifier": "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4", - "license_expression": "cc-by-2.5", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Aaron Blohowiak", + "email": "aaron.blohowiak@gmail.com", + "url": null + }, { - "score": 100.0, - "start_line": 4, - "end_line": 5, - "matched_length": 14, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "cc-by-2.5", - "rule_identifier": "cc-by-2.5_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" - } - ] - }, - { - "identifier": "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c", - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Martyn Smith", + "email": "martyn@dollyfish.net.nz", + "url": null + }, { - "score": 100.0, - "start_line": 6, - "end_line": 25, - "matched_length": 176, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" - } - ] - }, - { - "identifier": "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011", - "license_expression": "boost-1.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Charlie Robbins", + "email": "charlie.robbins@gmail.com", + "url": null + }, { - "score": 100.0, - "start_line": 4, - "end_line": 5, - "matched_length": 32, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "boost-1.0", - "rule_identifier": "boost-1.0_21.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" - } - ] - }, - { - "identifier": "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389", - "license_expression": "zlib", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Francisco Treacy", + "email": "francisco.treacy@gmail.com", + "url": null + }, { - "score": 100.0, - "start_line": 17, - "end_line": 31, - "matched_length": 132, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "zlib", - "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE" - } - ] - }, - { - "identifier": "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a", - "license_expression": "mit-old-style", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 9, - "end_line": 15, - "matched_length": 71, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit-old-style", - "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" - } - ] - } - ], - "license_references": [ - { - "key": "ada-linking-exception", - "short_name": "Ada linking exception to GPL 2.0 or later", - "name": "Ada linking exception to GPL 2.0 or later", - "category": "Copyleft Limited", - "owner": "Dmitriy Anisimkov", - "is_builtin": true, - "is_exception": true, - "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", - "other_urls": [ - "http://zlib-ada.sourceforge.net/", - "http://ada-ru.org/" - ], - "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", - "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." - }, - { - "key": "artistic-2.0", - "short_name": "Artistic 2.0", - "name": "Artistic License 2.0", - "category": "Copyleft Limited", - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", - "is_builtin": true, - "spdx_license_key": "Artistic-2.0", - "osi_license_key": "Artistic-2.0", - "text_urls": [ - "https://www.perlfoundation.org/artistic_license_2_0", - "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" - ], - "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", - "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", - "other_urls": [ - "http://www.perlfoundation.org/artistic_license_2_0", - "https://opensource.org/licenses/artistic-license-2.0", - "https://www.opensource.org/licenses/artistic-license-2.0", - "https://www.perlfoundation.org/artistic-license-20.html" - ], - "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "boost-1.0", - "short_name": "Boost 1.0", - "name": "Boost Software License 1.0", - "category": "Permissive", - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", - "is_builtin": true, - "spdx_license_key": "BSL-1.0", - "text_urls": [ - "http://www.boost.org/LICENSE_1_0.txt" - ], - "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", - "other_urls": [ - "http://www.boost.org/users/license.html", - "http://www.opensource.org/licenses/BSL-1.0", - "https://opensource.org/licenses/BSL-1.0" - ], - "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." - }, - { - "key": "cc-by-2.5", - "short_name": "CC-BY-2.5", - "name": "Creative Commons Attribution License 2.5", - "category": "Permissive", - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by/2.5/", - "is_builtin": true, - "spdx_license_key": "CC-BY-2.5", - "text_urls": [ - "http://creativecommons.org/licenses/by/2.5/legalcode" - ], - "other_urls": [ - "https://creativecommons.org/licenses/by/2.5/legalcode" - ], - "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." - }, - { - "key": "cc0-1.0", - "short_name": "CC0-1.0", - "name": "Creative Commons CC0 1.0 Universal", - "category": "Public Domain", - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", - "is_builtin": true, - "spdx_license_key": "CC0-1.0", - "text_urls": [ - "http://creativecommons.org/publicdomain/zero/1.0/legalcode" - ], - "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", - "other_urls": [ - "https://creativecommons.org/publicdomain/zero/1.0/legalcode" - ], - "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." - }, - { - "key": "gpl-2.0-plus", - "short_name": "GPL 2.0 or later", - "name": "GNU General Public License 2.0 or later", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "GPL-2.0-or-later", - "other_spdx_license_keys": [ - "GPL-2.0+", - "GPL 2.0+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" - ], - "other_urls": [ - "http://www.opensource.org/licenses/GPL-2.0", - "https://opensource.org/licenses/GPL-2.0", - "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" - ], - "minimum_coverage": 99, - "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." - }, - { - "key": "lgpl-2.1-plus", - "short_name": "LGPL 2.1 or later", - "name": "GNU Lesser General Public License 2.1 or later", - "category": "Copyleft Limited", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "LGPL-2.1-or-later", - "other_spdx_license_keys": [ - "LGPL-2.1+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" - ], - "other_urls": [ - "http://www.gnu.org/copyleft/lesser.html", - "http://www.opensource.org/licenses/LGPL-2.1", - "https://opensource.org/licenses/LGPL-2.1", - "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" - ], - "minimum_coverage": 99, - "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" - }, - { - "key": "mit-old-style", - "short_name": "MIT Old Style", - "name": "MIT Old Style", - "category": "Permissive", - "owner": "MIT", - "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "is_builtin": true, - "spdx_license_key": "LicenseRef-scancode-mit-old-style", - "text_urls": [ - "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" - ], - "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." - }, - { - "key": "zlib", - "short_name": "ZLIB License", - "name": "ZLIB License", - "category": "Permissive", - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "notes": "Per SPDX.org, this is OSI certified", - "is_builtin": true, - "spdx_license_key": "Zlib", - "text_urls": [ - "http://www.gzip.org/zlib/zlib_license.html" - ], - "osi_url": "http://www.opensource.org/licenses/zlib-license.php", - "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", - "other_urls": [ - "http://www.opensource.org/licenses/Zlib", - "http://www.zlib.net/zlib_license.html", - "https://opensource.org/licenses/Zlib" - ], - "minimum_coverage": 50, - "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." - } - ], - "license_rule_references": [ - { - "license_expression": "cc0-1.0", - "rule_identifier": "cc0-1.0_155.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100 - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50 - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "cc-by-2.5", - "rule_identifier": "cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100 - }, - { - "license_expression": "boost-1.0", - "rule_identifier": "boost-1.0_21.RULE", - "referenced_filenames": [ - "LICENSE_1_0.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "mit-old-style", - "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100 - } - ], - "dependencies": [ - { - "purl": "pkg:npm/abbrev", - "extracted_requirement": "~1.0.7", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/abbrev?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/ansi", - "extracted_requirement": "~0.3.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansi?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/ansicolors", - "extracted_requirement": "~0.3.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansicolors?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/ansistyles", - "extracted_requirement": "~0.1.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansistyles?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/archy", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/archy?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/async-some", - "extracted_requirement": "~1.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/async-some?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/block-stream", - "extracted_requirement": "0.0.8", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/block-stream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/char-spinner", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/char-spinner?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/chmodr", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/chmodr?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/chownr", - "extracted_requirement": "0.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/chownr?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/cmd-shim", - "extracted_requirement": "~2.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/cmd-shim?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/columnify", - "extracted_requirement": "~1.5.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/columnify?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/config-chain", - "extracted_requirement": "~1.1.9", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/config-chain?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/dezalgo", - "extracted_requirement": "~1.0.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/dezalgo?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/editor", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/editor?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/fs-vacuum", - "extracted_requirement": "~1.2.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fs-vacuum?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/fs-write-stream-atomic", - "extracted_requirement": "~1.0.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fs-write-stream-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/fstream", - "extracted_requirement": "~1.0.7", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fstream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/fstream-npm", - "extracted_requirement": "~1.0.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fstream-npm?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/github-url-from-git", - "extracted_requirement": "~1.4.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/github-url-from-git?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/github-url-from-username-repo", - "extracted_requirement": "~1.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/github-url-from-username-repo?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/glob", - "extracted_requirement": "~5.0.14", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/glob?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/graceful-fs", - "extracted_requirement": "~4.1.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/graceful-fs?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/hosted-git-info", - "extracted_requirement": "~2.1.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/hosted-git-info?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/inflight", - "extracted_requirement": "~1.0.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/inflight?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/inherits", - "extracted_requirement": "~2.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/inherits?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/ini", - "extracted_requirement": "~1.3.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ini?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/init-package-json", - "extracted_requirement": "~1.7.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/init-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/lockfile", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/lockfile?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/lru-cache", - "extracted_requirement": "~2.6.5", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/lru-cache?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/minimatch", - "extracted_requirement": "~2.0.10", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/minimatch?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/mkdirp", - "extracted_requirement": "~0.5.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/mkdirp?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/node-gyp", - "extracted_requirement": "~2.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/node-gyp?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/nopt", - "extracted_requirement": "~3.0.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/nopt?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/normalize-git-url", - "extracted_requirement": "~3.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/normalize-git-url?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/normalize-package-data", - "extracted_requirement": "~2.3.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/normalize-package-data?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-cache-filename", - "extracted_requirement": "~1.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-cache-filename?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-install-checks", - "extracted_requirement": "~1.0.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-install-checks?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-package-arg", - "extracted_requirement": "~4.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-package-arg?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-registry-client", - "extracted_requirement": "~6.5.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-client?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-user-validate", - "extracted_requirement": "~0.1.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-user-validate?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npmlog", - "extracted_requirement": "~1.2.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npmlog?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/once", - "extracted_requirement": "~1.3.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/once?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/opener", - "extracted_requirement": "~1.4.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/opener?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/osenv", - "extracted_requirement": "~0.1.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/osenv?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/path-is-inside", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/path-is-inside?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/read", - "extracted_requirement": "~1.0.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/read?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/read-installed", - "extracted_requirement": "~4.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/read-installed?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/read-package-json", - "extracted_requirement": "~2.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/read-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/readable-stream", - "extracted_requirement": "~1.1.13", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/readable-stream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/realize-package-specifier", - "extracted_requirement": "~3.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/realize-package-specifier?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/request", - "extracted_requirement": "~2.60.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/request?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/retry", - "extracted_requirement": "~0.6.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/retry?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/rimraf", - "extracted_requirement": "~2.4.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/rimraf?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/semver", - "extracted_requirement": "~5.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/semver?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/sha", - "extracted_requirement": "~1.3.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/sha?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/slide", - "extracted_requirement": "~1.1.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/slide?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/sorted-object", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/sorted-object?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/spdx", - "extracted_requirement": "~0.4.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/spdx?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/tar", - "extracted_requirement": "~2.1.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/tar?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/text-table", - "extracted_requirement": "~0.2.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/text-table?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/uid-number", - "extracted_requirement": "0.0.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/uid-number?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/umask", - "extracted_requirement": "~1.1.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/umask?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/validate-npm-package-name", - "extracted_requirement": "~2.2.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/validate-npm-package-name?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/which", - "extracted_requirement": "~1.1.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/which?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/wrappy", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/wrappy?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/write-file-atomic", - "extracted_requirement": "~1.1.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/write-file-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/validate-npm-package-license", - "extracted_requirement": "*", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/validate-npm-package-license?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/deep-equal", - "extracted_requirement": "~1.0.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/deep-equal?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/marked", - "extracted_requirement": "~0.3.3", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/marked?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/marked-man", - "extracted_requirement": "~0.1.5", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/marked-man?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/nock", - "extracted_requirement": "~2.10.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/nock?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-registry-couchapp", - "extracted_requirement": "~2.6.7", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-couchapp?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-registry-mock", - "extracted_requirement": "~1.0.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-mock?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/require-inject", - "extracted_requirement": "~1.2.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/require-inject?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/sprintf-js", - "extracted_requirement": "~1.0.2", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/sprintf-js?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/tap", - "extracted_requirement": "~1.3.1", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/tap?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - } - ], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "npm", - "version": "2.13.5", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": "a package manager for JavaScript", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me" - }, - { - "type": "person", - "role": "contributor", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Steve Steiner", - "email": "ssteinerX@gmail.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Mikeal Rogers", - "email": "mikeal.rogers@gmail.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Aaron Blohowiak", - "email": "aaron.blohowiak@gmail.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Martyn Smith", - "email": "martyn@dollyfish.net.nz", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Charlie Robbins", - "email": "charlie.robbins@gmail.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Francisco Treacy", - "email": "francisco.treacy@gmail.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Cliffano Subagio", - "email": "cliffano@gmail.com", - "url": null - }, + "type": "person", + "role": "contributor", + "name": "Cliffano Subagio", + "email": "cliffano@gmail.com", + "url": null + }, { "type": "person", "role": "contributor", @@ -3829,189 +2065,1965 @@ { "type": "person", "role": "contributor", - "name": "Nick Heiner", - "email": "nick.heiner@opower.com", + "name": "Nick Heiner", + "email": "nick.heiner@opower.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "James Talmage", + "email": "james@talmage.io", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "jane arc", + "email": "jane@uber.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Joseph Dykstra", + "email": "josephdykstra@gmail.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Joshua Egan", + "email": "josh-egan@users.noreply.github.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Thomas Cort", + "email": "thomasc@ssimicro.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Thaddee Tyl", + "email": "thaddee.tyl@gmail.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Steve Klabnik", + "email": "steve@steveklabnik.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Andrew Murray", + "email": "radarhere@gmail.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Stephan B\u00f6nnemann", + "email": "stephan@excellenteasy.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Kyle M. Tarplee", + "email": "kyle.tarplee@numerica.us", "url": null }, { "type": "person", "role": "contributor", - "name": "James Talmage", - "email": "james@talmage.io", + "name": "Derek Peterson", + "email": "derekpetey@gmail.com", "url": null }, { "type": "person", "role": "contributor", - "name": "jane arc", - "email": "jane@uber.com", + "name": "Greg Whiteley", + "email": "greg.whiteley@atomos.com", "url": null }, { "type": "person", "role": "contributor", - "name": "Joseph Dykstra", - "email": "josephdykstra@gmail.com", + "name": "murgatroid99", + "email": "mlumish@google.com", "url": null }, { "type": "person", - "role": "contributor", - "name": "Joshua Egan", - "email": "josh-egan@users.noreply.github.com", + "role": "maintainer", + "name": "isaacs", + "email": "isaacs@npmjs.com", "url": null }, { "type": "person", - "role": "contributor", - "name": "Thomas Cort", - "email": "thomasc@ssimicro.com", + "role": "maintainer", + "name": "othiym23", + "email": "ogd@aoaioxxysz.net", "url": null }, { "type": "person", - "role": "contributor", - "name": "Thaddee Tyl", - "email": "thaddee.tyl@gmail.com", + "role": "maintainer", + "name": "iarna", + "email": "me@re-becca.org", "url": null }, { "type": "person", - "role": "contributor", - "name": "Steve Klabnik", - "email": "steve@steveklabnik.com", + "role": "maintainer", + "name": "zkat", + "email": "kat@sykosomatic.org", "url": null - }, + } + ], + "keywords": [ + "package manager", + "modules", + "install", + "package.json" + ], + "homepage_url": "https://docs.npmjs.com/", + "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "size": null, + "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "http://github.com/npm/npm/issues", + "code_view_url": null, + "vcs_url": "git+https://github.com/npm/npm.git@fc7bbf03e39cc48a8924b90696d28345a6a90f3c", + "copyright": null, + "declared_license_expression": "artistic-2.0", + "declared_license_expression_spdx": "Artistic-2.0", + "license_detections": [ + { + "license_expression": "artistic-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 50.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "matched_text": "Artistic-2.0" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['Artistic-2.0']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/npm", + "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "api_data_url": "https://registry.npmjs.org/npm/2.13.5", + "package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "scan/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/npm@2.13.5" + } + ], + "dependencies": [ + { + "purl": "pkg:npm/abbrev", + "extracted_requirement": "~1.0.7", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/abbrev?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/ansi", + "extracted_requirement": "~0.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/ansi?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/ansicolors", + "extracted_requirement": "~0.3.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/ansicolors?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/ansistyles", + "extracted_requirement": "~0.1.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/ansistyles?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/archy", + "extracted_requirement": "~1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/archy?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/async-some", + "extracted_requirement": "~1.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/async-some?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/block-stream", + "extracted_requirement": "0.0.8", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/block-stream?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/char-spinner", + "extracted_requirement": "~1.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/char-spinner?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/chmodr", + "extracted_requirement": "~1.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/chmodr?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/chownr", + "extracted_requirement": "0.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/chownr?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/cmd-shim", + "extracted_requirement": "~2.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/cmd-shim?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/columnify", + "extracted_requirement": "~1.5.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/columnify?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/config-chain", + "extracted_requirement": "~1.1.9", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/config-chain?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/dezalgo", + "extracted_requirement": "~1.0.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/dezalgo?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/editor", + "extracted_requirement": "~1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/editor?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/fs-vacuum", + "extracted_requirement": "~1.2.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/fs-vacuum?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/fs-write-stream-atomic", + "extracted_requirement": "~1.0.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/fs-write-stream-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/fstream", + "extracted_requirement": "~1.0.7", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/fstream?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/fstream-npm", + "extracted_requirement": "~1.0.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/fstream-npm?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/github-url-from-git", + "extracted_requirement": "~1.4.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/github-url-from-git?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/github-url-from-username-repo", + "extracted_requirement": "~1.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/github-url-from-username-repo?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/glob", + "extracted_requirement": "~5.0.14", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/glob?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/graceful-fs", + "extracted_requirement": "~4.1.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/graceful-fs?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/hosted-git-info", + "extracted_requirement": "~2.1.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/hosted-git-info?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/inflight", + "extracted_requirement": "~1.0.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/inflight?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/inherits", + "extracted_requirement": "~2.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/inherits?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/ini", + "extracted_requirement": "~1.3.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/ini?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/init-package-json", + "extracted_requirement": "~1.7.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/init-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/lockfile", + "extracted_requirement": "~1.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/lockfile?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/lru-cache", + "extracted_requirement": "~2.6.5", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/lru-cache?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/minimatch", + "extracted_requirement": "~2.0.10", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/minimatch?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/mkdirp", + "extracted_requirement": "~0.5.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/mkdirp?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/node-gyp", + "extracted_requirement": "~2.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/node-gyp?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/nopt", + "extracted_requirement": "~3.0.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/nopt?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/normalize-git-url", + "extracted_requirement": "~3.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/normalize-git-url?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/normalize-package-data", + "extracted_requirement": "~2.3.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/normalize-package-data?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-cache-filename", + "extracted_requirement": "~1.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-cache-filename?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-install-checks", + "extracted_requirement": "~1.0.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-install-checks?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-package-arg", + "extracted_requirement": "~4.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-package-arg?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-registry-client", + "extracted_requirement": "~6.5.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-registry-client?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-user-validate", + "extracted_requirement": "~0.1.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-user-validate?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npmlog", + "extracted_requirement": "~1.2.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npmlog?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/once", + "extracted_requirement": "~1.3.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/once?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/opener", + "extracted_requirement": "~1.4.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/opener?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/osenv", + "extracted_requirement": "~0.1.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/osenv?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/path-is-inside", + "extracted_requirement": "~1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/path-is-inside?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/read", + "extracted_requirement": "~1.0.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/read?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/read-installed", + "extracted_requirement": "~4.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/read-installed?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/read-package-json", + "extracted_requirement": "~2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/read-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/readable-stream", + "extracted_requirement": "~1.1.13", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/readable-stream?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/realize-package-specifier", + "extracted_requirement": "~3.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/realize-package-specifier?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/request", + "extracted_requirement": "~2.60.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/request?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/retry", + "extracted_requirement": "~0.6.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/retry?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/rimraf", + "extracted_requirement": "~2.4.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/rimraf?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/semver", + "extracted_requirement": "~5.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/semver?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sha", + "extracted_requirement": "~1.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sha?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/slide", + "extracted_requirement": "~1.1.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/slide?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sorted-object", + "extracted_requirement": "~1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sorted-object?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/spdx", + "extracted_requirement": "~0.4.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/spdx?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/tar", + "extracted_requirement": "~2.1.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/tar?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/text-table", + "extracted_requirement": "~0.2.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/text-table?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/uid-number", + "extracted_requirement": "0.0.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/uid-number?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/umask", + "extracted_requirement": "~1.1.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/umask?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/validate-npm-package-name", + "extracted_requirement": "~2.2.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/validate-npm-package-name?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/which", + "extracted_requirement": "~1.1.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/which?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/wrappy", + "extracted_requirement": "~1.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/wrappy?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/write-file-atomic", + "extracted_requirement": "~1.1.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/write-file-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/validate-npm-package-license", + "extracted_requirement": "*", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/validate-npm-package-license?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/deep-equal", + "extracted_requirement": "~1.0.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/deep-equal?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/marked", + "extracted_requirement": "~0.3.3", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/marked?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/marked-man", + "extracted_requirement": "~0.1.5", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/marked-man?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/nock", + "extracted_requirement": "~2.10.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/nock?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-registry-couchapp", + "extracted_requirement": "~2.6.7", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-registry-couchapp?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-registry-mock", + "extracted_requirement": "~1.0.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-registry-mock?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/require-inject", + "extracted_requirement": "~1.2.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/require-inject?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sprintf-js", + "extracted_requirement": "~1.0.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sprintf-js?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/tap", + "extracted_requirement": "~1.3.1", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/tap?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + } + ], + "license_detections": [ + { + "identifier": "cc0_1_0-c7a96db7-de74-527f-da8d-b573175736b4", + "license_expression": "cc0-1.0", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "Andrew Murray", - "email": "radarhere@gmail.com", - "url": null - }, + "score": 99.69, + "start_line": 1, + "end_line": 98, + "matched_length": 978, + "match_coverage": 99.69, + "matcher": "3-seq", + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" + } + ] + }, + { + "identifier": "artistic_2_0-8755d5fd-6521-04e7-ace1-4344b99647e3", + "license_expression": "artistic-2.0", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "Stephan B\u00f6nnemann", - "email": "stephan@excellenteasy.com", - "url": null - }, + "score": 100.0, + "start_line": 198, + "end_line": 198, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" + } + ] + }, + { + "identifier": "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2", + "license_expression": "zlib", + "count": 9, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "Kyle M. Tarplee", - "email": "kyle.tarplee@numerica.us", - "url": null - }, + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + } + ] + }, + { + "identifier": "zlib-866b02ed-ff4b-379e-e254-8ebc15ceae23", + "license_expression": "zlib", + "count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "Derek Peterson", - "email": "derekpetey@gmail.com", - "url": null - }, + "score": 100.0, + "start_line": 6, + "end_line": 23, + "matched_length": 144, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" + } + ] + }, + { + "identifier": "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c", + "license_expression": "lgpl-2.1-plus", + "count": 3, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "Greg Whiteley", - "email": "greg.whiteley@atomos.com", - "url": null - }, + "score": 100.0, + "start_line": 7, + "end_line": 20, + "matched_length": 125, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" + } + ] + }, + { + "identifier": "cc_by_2_5-26ed35f7-744b-aeec-b973-783eeb6928b4", + "license_expression": "cc-by-2.5", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "murgatroid99", - "email": "mlumish@google.com", - "url": null - }, + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 14, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" + } + ] + }, + { + "identifier": "gpl_2_0_plus_with_ada_linking_exception-ab43ac21-eeae-978d-b391-58e77ab54a8c", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "maintainer", - "name": "isaacs", - "email": "isaacs@npmjs.com", - "url": null - }, + "score": 100.0, + "start_line": 6, + "end_line": 25, + "matched_length": 176, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" + } + ] + }, + { + "identifier": "boost_1_0-b015a903-1844-66d2-fd10-6e5e24a7b011", + "license_expression": "boost-1.0", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "maintainer", - "name": "othiym23", - "email": "ogd@aoaioxxysz.net", - "url": null - }, + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 32, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" + } + ] + }, + { + "identifier": "zlib-b242753c-a31d-3db4-b77a-92bdef5c5389", + "license_expression": "zlib", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "maintainer", - "name": "iarna", - "email": "me@re-becca.org", - "url": null - }, + "score": 100.0, + "start_line": 17, + "end_line": 31, + "matched_length": 132, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE" + } + ] + }, + { + "identifier": "mit_old_style-41d50a44-94c9-224f-adc2-02743727be1a", + "license_expression": "mit-old-style", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "maintainer", - "name": "zkat", - "email": "kat@sykosomatic.org", - "url": null + "score": 100.0, + "start_line": 9, + "end_line": 15, + "matched_length": 71, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" } + ] + } + ], + "license_references": [ + { + "key": "ada-linking-exception", + "short_name": "Ada linking exception to GPL 2.0 or later", + "name": "Ada linking exception to GPL 2.0 or later", + "category": "Copyleft Limited", + "owner": "Dmitriy Anisimkov", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", + "other_urls": [ + "http://zlib-ada.sourceforge.net/", + "http://ada-ru.org/" + ], + "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", + "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." + }, + { + "key": "artistic-2.0", + "short_name": "Artistic 2.0", + "name": "Artistic License 2.0", + "category": "Copyleft Limited", + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "Artistic-2.0", + "osi_license_key": "Artistic-2.0", + "text_urls": [ + "https://www.perlfoundation.org/artistic_license_2_0", + "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" + ], + "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", + "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", + "other_urls": [ + "http://www.perlfoundation.org/artistic_license_2_0", + "https://opensource.org/licenses/artistic-license-2.0", + "https://www.opensource.org/licenses/artistic-license-2.0", + "https://www.perlfoundation.org/artistic-license-20.html" + ], + "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "boost-1.0", + "short_name": "Boost 1.0", + "name": "Boost Software License 1.0", + "category": "Permissive", + "owner": "Boost", + "homepage_url": "http://www.boost.org/users/license.html", + "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "BSL-1.0", + "text_urls": [ + "http://www.boost.org/LICENSE_1_0.txt" + ], + "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", + "other_urls": [ + "http://www.boost.org/users/license.html", + "http://www.opensource.org/licenses/BSL-1.0", + "https://opensource.org/licenses/BSL-1.0" + ], + "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." + }, + { + "key": "cc-by-2.5", + "short_name": "CC-BY-2.5", + "name": "Creative Commons Attribution License 2.5", + "category": "Permissive", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by/2.5/", + "is_builtin": true, + "spdx_license_key": "CC-BY-2.5", + "text_urls": [ + "http://creativecommons.org/licenses/by/2.5/legalcode" + ], + "other_urls": [ + "https://creativecommons.org/licenses/by/2.5/legalcode" + ], + "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." + }, + { + "key": "cc0-1.0", + "short_name": "CC0-1.0", + "name": "Creative Commons CC0 1.0 Universal", + "category": "Public Domain", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", + "is_builtin": true, + "spdx_license_key": "CC0-1.0", + "text_urls": [ + "http://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", + "other_urls": [ + "https://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." + }, + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "mit-old-style", + "short_name": "MIT Old Style", + "name": "MIT Old Style", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-mit-old-style", + "text_urls": [ + "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" + ], + "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." + }, + { + "key": "zlib", + "short_name": "ZLIB License", + "name": "ZLIB License", + "category": "Permissive", + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "notes": "Per SPDX.org, this is OSI certified", + "is_builtin": true, + "spdx_license_key": "Zlib", + "text_urls": [ + "http://www.gzip.org/zlib/zlib_license.html" + ], + "osi_url": "http://www.opensource.org/licenses/zlib-license.php", + "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", + "other_urls": [ + "http://www.opensource.org/licenses/Zlib", + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "minimum_coverage": 50, + "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." + } + ], + "license_rule_references": [ + { + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50 + }, + { + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 981, + "rule_relevance": 100 + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50 + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 14, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" ], - "keywords": [ - "package manager", - "modules", - "install", - "package.json" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" ], - "homepage_url": "https://docs.npmjs.com/", - "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "size": null, - "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": "http://github.com/npm/npm/issues", - "code_view_url": null, - "vcs_url": "git+https://github.com/npm/npm.git@fc7bbf03e39cc48a8924b90696d28345a6a90f3c", - "copyright": null, - "declared_license_expression": "artistic-2.0", - "declared_license_expression_spdx": "Artistic-2.0", - "license_detections": [ - { - "license_expression": "artistic-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 50.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "artistic-2.0", - "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "matched_text": "Artistic-2.0" - } - ] - } + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/npm", - "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "api_data_url": "https://registry.npmjs.org/npm/2.13.5", - "package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "scan/package.json" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 176, + "rule_relevance": 100 + }, + { + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "referenced_filenames": [ + "LICENSE_1_0.txt" ], - "datasource_ids": [ - "npm_package_json" + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 32, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" ], - "purl": "pkg:npm/npm@2.13.5" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 71, + "rule_relevance": 100 } ], "tallies": { @@ -4214,6 +4226,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4223,8 +4237,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "files_count": 26, "dirs_count": 9, "size_count": 58647, @@ -4249,6 +4261,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4258,10 +4274,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 7, "dirs_count": 1, "size_count": 4227, @@ -4286,6 +4298,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4295,10 +4311,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 7, "dirs_count": 0, "size_count": 4227, @@ -4323,6 +4335,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "lgpl-2.1-plus", "detected_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ @@ -4349,7 +4365,7 @@ "license_clues": [], "percentage_of_license_text": 79.62, "for_license_detections": [ - "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" + "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4366,10 +4382,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -4394,6 +4406,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "cc-by-2.5", "detected_license_expression_spdx": "CC-BY-2.5", "license_detections": [ @@ -4420,7 +4436,7 @@ "license_clues": [], "percentage_of_license_text": 19.72, "for_license_detections": [ - "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4" + "cc_by_2_5-26ed35f7-744b-aeec-b973-783eeb6928b4" ], "copyrights": [ { @@ -4443,10 +4459,6 @@ "end_line": 10 } ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -4471,6 +4483,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "lgpl-2.1-plus", "detected_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ @@ -4497,7 +4513,7 @@ "license_clues": [], "percentage_of_license_text": 78.62, "for_license_detections": [ - "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" + "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4514,10 +4530,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -4542,6 +4554,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4557,10 +4573,6 @@ "end_line": 4 } ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -4585,6 +4597,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4600,10 +4616,6 @@ "end_line": 3 } ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -4628,6 +4640,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "lgpl-2.1-plus", "detected_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ @@ -4654,7 +4670,7 @@ "license_clues": [], "percentage_of_license_text": 78.12, "for_license_detections": [ - "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" + "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4671,10 +4687,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -4699,6 +4711,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4714,10 +4730,6 @@ "end_line": 3 } ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -4742,6 +4754,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4751,10 +4767,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -4779,6 +4791,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4788,10 +4804,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 3, "dirs_count": 0, "size_count": 1896, @@ -4816,6 +4828,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -4853,7 +4869,7 @@ "license_clues": [], "percentage_of_license_text": 42.86, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -4870,10 +4886,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -4898,6 +4910,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -4924,7 +4940,7 @@ "license_clues": [], "percentage_of_license_text": 69.57, "for_license_detections": [ - "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" + "zlib-866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -4941,10 +4957,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -4969,6 +4981,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -5006,7 +5022,7 @@ "license_clues": [], "percentage_of_license_text": 20.34, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -5023,10 +5039,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -5051,6 +5063,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "cc0-1.0", "detected_license_expression_spdx": "CC0-1.0", "license_detections": [ @@ -5077,15 +5093,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4" + "cc0_1_0-c7a96db7-de74-527f-da8d-b573175736b4" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -5110,43 +5122,6 @@ "is_media": false, "is_source": false, "is_script": false, - "detected_license_expression": "artistic-2.0", - "detected_license_expression_spdx": "Artistic-2.0", - "license_detections": [ - { - "license_expression": "artistic-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 198, - "end_line": 198, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 0.1, - "for_license_detections": [ - "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3" - ], - "copyrights": [], - "holders": [], - "authors": [ - { - "author": "name' Isaac Z.", - "start_line": 16, - "end_line": 17 - } - ], "package_data": [ { "type": "npm", @@ -8168,6 +8143,43 @@ "for_packages": [ "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "artistic-2.0", + "detected_license_expression_spdx": "Artistic-2.0", + "license_detections": [ + { + "license_expression": "artistic-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 198, + "end_line": 198, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 0.1, + "for_license_detections": [ + "artistic_2_0-8755d5fd-6521-04e7-ace1-4344b99647e3" + ], + "copyrights": [], + "holders": [], + "authors": [ + { + "author": "name' Isaac Z.", + "start_line": 16, + "end_line": 17 + } + ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -8192,6 +8204,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -8201,10 +8217,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 13, "dirs_count": 5, "size_count": 7951, @@ -8229,6 +8241,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -8238,10 +8254,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 1, "dirs_count": 0, "size_count": 2054, @@ -8266,6 +8278,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "gpl-2.0-plus WITH ada-linking-exception", "detected_license_expression_spdx": "GPL-2.0-or-later WITH LicenseRef-scancode-ada-linking-exception", "license_detections": [ @@ -8292,7 +8308,7 @@ "license_clues": [], "percentage_of_license_text": 94.12, "for_license_detections": [ - "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c" + "gpl_2_0_plus_with_ada_linking_exception-ab43ac21-eeae-978d-b391-58e77ab54a8c" ], "copyrights": [ { @@ -8309,10 +8325,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -8337,6 +8349,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -8374,7 +8390,7 @@ "license_clues": [], "percentage_of_license_text": 42.86, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -8391,10 +8407,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -8419,6 +8431,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -8456,7 +8472,7 @@ "license_clues": [], "percentage_of_license_text": 40.0, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -8473,10 +8489,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -8501,6 +8513,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -8538,7 +8554,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -8555,10 +8571,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -8583,6 +8595,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -8592,10 +8608,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 2, "dirs_count": 0, "size_count": 863, @@ -8620,6 +8632,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -8641,10 +8657,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -8669,6 +8681,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "boost-1.0", "detected_license_expression_spdx": "BSL-1.0", "license_detections": [ @@ -8695,7 +8711,7 @@ "license_clues": [], "percentage_of_license_text": 88.89, "for_license_detections": [ - "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011" + "boost_1_0-b015a903-1844-66d2-fd10-6e5e24a7b011" ], "copyrights": [ { @@ -8712,10 +8728,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -8740,6 +8752,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -8749,10 +8765,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 1, "dirs_count": 0, "size_count": 1774, @@ -8777,6 +8789,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -8803,7 +8819,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389" + "zlib-b242753c-a31d-3db4-b77a-92bdef5c5389" ], "copyrights": [ { @@ -8826,10 +8842,6 @@ "end_line": 12 } ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -8854,6 +8866,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -8863,10 +8879,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 2, "dirs_count": 0, "size_count": 353, @@ -8891,6 +8903,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -8917,7 +8933,7 @@ "license_clues": [], "percentage_of_license_text": 44.44, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -8934,10 +8950,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -8962,6 +8974,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -8988,7 +9004,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9005,10 +9021,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -9033,6 +9045,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -9042,10 +9058,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 1, "dirs_count": 0, "size_count": 649, @@ -9070,6 +9082,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "mit-old-style", "detected_license_expression_spdx": "LicenseRef-scancode-mit-old-style", "license_detections": [ @@ -9096,7 +9112,7 @@ "license_clues": [], "percentage_of_license_text": 79.78, "for_license_detections": [ - "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a" + "mit_old_style-41d50a44-94c9-224f-adc2-02743727be1a" ], "copyrights": [ { @@ -9113,10 +9129,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -9141,6 +9153,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -9167,7 +9183,7 @@ "license_clues": [], "percentage_of_license_text": 84.21, "for_license_detections": [ - "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" + "zlib-866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -9184,10 +9200,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -9212,6 +9224,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -9249,7 +9265,7 @@ "license_clues": [], "percentage_of_license_text": 37.5, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9266,10 +9282,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, @@ -9294,6 +9306,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -9331,7 +9347,7 @@ "license_clues": [], "percentage_of_license_text": 20.34, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9348,10 +9364,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "files_count": 0, "dirs_count": 0, "size_count": 0, diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json index abcb976a0ff..90d8201046e 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json @@ -1,1843 +1,79 @@ { - "license_detections": [ + "packages": [ { - "identifier": "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4", - "license_expression": "cc0-1.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "npm", + "namespace": null, + "name": "npm", + "version": "2.13.5", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "a package manager for JavaScript", + "release_date": null, + "parties": [ { - "score": 99.69, - "start_line": 1, - "end_line": 98, - "matched_length": 978, - "match_coverage": 99.69, - "matcher": "3-seq", - "license_expression": "cc0-1.0", - "rule_identifier": "cc0-1.0_155.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" - } - ] - }, - { - "identifier": "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3", - "license_expression": "artistic-2.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "author", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me" + }, { - "score": 100.0, - "start_line": 198, - "end_line": 198, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" - } - ] - }, - { - "identifier": "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2", - "license_expression": "zlib", - "occurrence_count": 9, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": null + }, { - "score": 100.0, - "start_line": 3, - "end_line": 3, - "matched_length": 12, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" - } - ] - }, - { - "identifier": "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23", - "license_expression": "zlib", - "occurrence_count": 2, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Steve Steiner", + "email": "ssteinerX@gmail.com", + "url": null + }, { - "score": 100.0, - "start_line": 6, - "end_line": 23, - "matched_length": 144, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" - } - ] - }, - { - "identifier": "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c", - "license_expression": "lgpl-2.1-plus", - "occurrence_count": 3, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Mikeal Rogers", + "email": "mikeal.rogers@gmail.com", + "url": null + }, { - "score": 100.0, - "start_line": 7, - "end_line": 20, - "matched_length": 125, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" - } - ] - }, - { - "identifier": "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4", - "license_expression": "cc-by-2.5", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Aaron Blohowiak", + "email": "aaron.blohowiak@gmail.com", + "url": null + }, { - "score": 100.0, - "start_line": 4, - "end_line": 5, - "matched_length": 14, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "cc-by-2.5", - "rule_identifier": "cc-by-2.5_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" - } - ] - }, - { - "identifier": "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c", - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Martyn Smith", + "email": "martyn@dollyfish.net.nz", + "url": null + }, { - "score": 100.0, - "start_line": 6, - "end_line": 25, - "matched_length": 176, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" - } - ] - }, - { - "identifier": "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011", - "license_expression": "boost-1.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Charlie Robbins", + "email": "charlie.robbins@gmail.com", + "url": null + }, { - "score": 100.0, - "start_line": 4, - "end_line": 5, - "matched_length": 32, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "boost-1.0", - "rule_identifier": "boost-1.0_21.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" - } - ] - }, - { - "identifier": "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389", - "license_expression": "zlib", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Francisco Treacy", + "email": "francisco.treacy@gmail.com", + "url": null + }, { - "score": 100.0, - "start_line": 17, - "end_line": 31, - "matched_length": 132, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "zlib", - "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE" - } - ] - }, - { - "identifier": "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a", - "license_expression": "mit-old-style", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 9, - "end_line": 15, - "matched_length": 71, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit-old-style", - "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" - } - ] - } - ], - "license_references": [ - { - "key": "ada-linking-exception", - "short_name": "Ada linking exception to GPL 2.0 or later", - "name": "Ada linking exception to GPL 2.0 or later", - "category": "Copyleft Limited", - "owner": "Dmitriy Anisimkov", - "is_builtin": true, - "is_exception": true, - "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", - "other_urls": [ - "http://zlib-ada.sourceforge.net/", - "http://ada-ru.org/" - ], - "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", - "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." - }, - { - "key": "artistic-2.0", - "short_name": "Artistic 2.0", - "name": "Artistic License 2.0", - "category": "Copyleft Limited", - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", - "is_builtin": true, - "spdx_license_key": "Artistic-2.0", - "osi_license_key": "Artistic-2.0", - "text_urls": [ - "https://www.perlfoundation.org/artistic_license_2_0", - "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" - ], - "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", - "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", - "other_urls": [ - "http://www.perlfoundation.org/artistic_license_2_0", - "https://opensource.org/licenses/artistic-license-2.0", - "https://www.opensource.org/licenses/artistic-license-2.0", - "https://www.perlfoundation.org/artistic-license-20.html" - ], - "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "boost-1.0", - "short_name": "Boost 1.0", - "name": "Boost Software License 1.0", - "category": "Permissive", - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", - "is_builtin": true, - "spdx_license_key": "BSL-1.0", - "text_urls": [ - "http://www.boost.org/LICENSE_1_0.txt" - ], - "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", - "other_urls": [ - "http://www.boost.org/users/license.html", - "http://www.opensource.org/licenses/BSL-1.0", - "https://opensource.org/licenses/BSL-1.0" - ], - "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." - }, - { - "key": "cc-by-2.5", - "short_name": "CC-BY-2.5", - "name": "Creative Commons Attribution License 2.5", - "category": "Permissive", - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by/2.5/", - "is_builtin": true, - "spdx_license_key": "CC-BY-2.5", - "text_urls": [ - "http://creativecommons.org/licenses/by/2.5/legalcode" - ], - "other_urls": [ - "https://creativecommons.org/licenses/by/2.5/legalcode" - ], - "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." - }, - { - "key": "cc0-1.0", - "short_name": "CC0-1.0", - "name": "Creative Commons CC0 1.0 Universal", - "category": "Public Domain", - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", - "is_builtin": true, - "spdx_license_key": "CC0-1.0", - "text_urls": [ - "http://creativecommons.org/publicdomain/zero/1.0/legalcode" - ], - "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", - "other_urls": [ - "https://creativecommons.org/publicdomain/zero/1.0/legalcode" - ], - "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." - }, - { - "key": "gpl-2.0-plus", - "short_name": "GPL 2.0 or later", - "name": "GNU General Public License 2.0 or later", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "GPL-2.0-or-later", - "other_spdx_license_keys": [ - "GPL-2.0+", - "GPL 2.0+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" - ], - "other_urls": [ - "http://www.opensource.org/licenses/GPL-2.0", - "https://opensource.org/licenses/GPL-2.0", - "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" - ], - "minimum_coverage": 99, - "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." - }, - { - "key": "lgpl-2.1-plus", - "short_name": "LGPL 2.1 or later", - "name": "GNU Lesser General Public License 2.1 or later", - "category": "Copyleft Limited", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "LGPL-2.1-or-later", - "other_spdx_license_keys": [ - "LGPL-2.1+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" - ], - "other_urls": [ - "http://www.gnu.org/copyleft/lesser.html", - "http://www.opensource.org/licenses/LGPL-2.1", - "https://opensource.org/licenses/LGPL-2.1", - "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" - ], - "minimum_coverage": 99, - "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" - }, - { - "key": "mit-old-style", - "short_name": "MIT Old Style", - "name": "MIT Old Style", - "category": "Permissive", - "owner": "MIT", - "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "is_builtin": true, - "spdx_license_key": "LicenseRef-scancode-mit-old-style", - "text_urls": [ - "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" - ], - "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." - }, - { - "key": "zlib", - "short_name": "ZLIB License", - "name": "ZLIB License", - "category": "Permissive", - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "notes": "Per SPDX.org, this is OSI certified", - "is_builtin": true, - "spdx_license_key": "Zlib", - "text_urls": [ - "http://www.gzip.org/zlib/zlib_license.html" - ], - "osi_url": "http://www.opensource.org/licenses/zlib-license.php", - "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", - "other_urls": [ - "http://www.opensource.org/licenses/Zlib", - "http://www.zlib.net/zlib_license.html", - "https://opensource.org/licenses/Zlib" - ], - "minimum_coverage": 50, - "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." - } - ], - "license_rule_references": [ - { - "license_expression": "cc0-1.0", - "rule_identifier": "cc0-1.0_155.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100 - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50 - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "cc-by-2.5", - "rule_identifier": "cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100 - }, - { - "license_expression": "boost-1.0", - "rule_identifier": "boost-1.0_21.RULE", - "referenced_filenames": [ - "LICENSE_1_0.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "mit-old-style", - "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100 - } - ], - "dependencies": [ - { - "purl": "pkg:npm/abbrev", - "extracted_requirement": "~1.0.7", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/abbrev?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/ansi", - "extracted_requirement": "~0.3.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansi?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/ansicolors", - "extracted_requirement": "~0.3.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansicolors?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/ansistyles", - "extracted_requirement": "~0.1.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansistyles?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/archy", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/archy?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/async-some", - "extracted_requirement": "~1.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/async-some?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/block-stream", - "extracted_requirement": "0.0.8", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/block-stream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/char-spinner", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/char-spinner?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/chmodr", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/chmodr?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/chownr", - "extracted_requirement": "0.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/chownr?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/cmd-shim", - "extracted_requirement": "~2.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/cmd-shim?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/columnify", - "extracted_requirement": "~1.5.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/columnify?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/config-chain", - "extracted_requirement": "~1.1.9", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/config-chain?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/dezalgo", - "extracted_requirement": "~1.0.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/dezalgo?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/editor", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/editor?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/fs-vacuum", - "extracted_requirement": "~1.2.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fs-vacuum?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/fs-write-stream-atomic", - "extracted_requirement": "~1.0.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fs-write-stream-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/fstream", - "extracted_requirement": "~1.0.7", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fstream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/fstream-npm", - "extracted_requirement": "~1.0.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fstream-npm?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/github-url-from-git", - "extracted_requirement": "~1.4.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/github-url-from-git?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/github-url-from-username-repo", - "extracted_requirement": "~1.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/github-url-from-username-repo?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/glob", - "extracted_requirement": "~5.0.14", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/glob?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/graceful-fs", - "extracted_requirement": "~4.1.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/graceful-fs?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/hosted-git-info", - "extracted_requirement": "~2.1.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/hosted-git-info?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/inflight", - "extracted_requirement": "~1.0.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/inflight?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/inherits", - "extracted_requirement": "~2.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/inherits?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/ini", - "extracted_requirement": "~1.3.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ini?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/init-package-json", - "extracted_requirement": "~1.7.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/init-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/lockfile", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/lockfile?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/lru-cache", - "extracted_requirement": "~2.6.5", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/lru-cache?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/minimatch", - "extracted_requirement": "~2.0.10", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/minimatch?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/mkdirp", - "extracted_requirement": "~0.5.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/mkdirp?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/node-gyp", - "extracted_requirement": "~2.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/node-gyp?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/nopt", - "extracted_requirement": "~3.0.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/nopt?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/normalize-git-url", - "extracted_requirement": "~3.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/normalize-git-url?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/normalize-package-data", - "extracted_requirement": "~2.3.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/normalize-package-data?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-cache-filename", - "extracted_requirement": "~1.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-cache-filename?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-install-checks", - "extracted_requirement": "~1.0.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-install-checks?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-package-arg", - "extracted_requirement": "~4.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-package-arg?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-registry-client", - "extracted_requirement": "~6.5.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-client?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-user-validate", - "extracted_requirement": "~0.1.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-user-validate?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npmlog", - "extracted_requirement": "~1.2.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npmlog?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/once", - "extracted_requirement": "~1.3.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/once?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/opener", - "extracted_requirement": "~1.4.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/opener?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/osenv", - "extracted_requirement": "~0.1.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/osenv?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/path-is-inside", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/path-is-inside?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/read", - "extracted_requirement": "~1.0.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/read?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/read-installed", - "extracted_requirement": "~4.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/read-installed?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/read-package-json", - "extracted_requirement": "~2.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/read-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/readable-stream", - "extracted_requirement": "~1.1.13", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/readable-stream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/realize-package-specifier", - "extracted_requirement": "~3.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/realize-package-specifier?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/request", - "extracted_requirement": "~2.60.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/request?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/retry", - "extracted_requirement": "~0.6.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/retry?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/rimraf", - "extracted_requirement": "~2.4.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/rimraf?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/semver", - "extracted_requirement": "~5.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/semver?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/sha", - "extracted_requirement": "~1.3.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/sha?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/slide", - "extracted_requirement": "~1.1.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/slide?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/sorted-object", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/sorted-object?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/spdx", - "extracted_requirement": "~0.4.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/spdx?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/tar", - "extracted_requirement": "~2.1.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/tar?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/text-table", - "extracted_requirement": "~0.2.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/text-table?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/uid-number", - "extracted_requirement": "0.0.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/uid-number?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/umask", - "extracted_requirement": "~1.1.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/umask?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/validate-npm-package-name", - "extracted_requirement": "~2.2.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/validate-npm-package-name?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/which", - "extracted_requirement": "~1.1.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/which?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/wrappy", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/wrappy?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/write-file-atomic", - "extracted_requirement": "~1.1.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/write-file-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/validate-npm-package-license", - "extracted_requirement": "*", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/validate-npm-package-license?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/deep-equal", - "extracted_requirement": "~1.0.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/deep-equal?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/marked", - "extracted_requirement": "~0.3.3", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/marked?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/marked-man", - "extracted_requirement": "~0.1.5", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/marked-man?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/nock", - "extracted_requirement": "~2.10.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/nock?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-registry-couchapp", - "extracted_requirement": "~2.6.7", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-couchapp?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-registry-mock", - "extracted_requirement": "~1.0.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-mock?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/require-inject", - "extracted_requirement": "~1.2.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/require-inject?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/sprintf-js", - "extracted_requirement": "~1.0.2", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/sprintf-js?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/tap", - "extracted_requirement": "~1.3.1", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/tap?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - } - ], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "npm", - "version": "2.13.5", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": "a package manager for JavaScript", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me" - }, - { - "type": "person", - "role": "contributor", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Steve Steiner", - "email": "ssteinerX@gmail.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Mikeal Rogers", - "email": "mikeal.rogers@gmail.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Aaron Blohowiak", - "email": "aaron.blohowiak@gmail.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Martyn Smith", - "email": "martyn@dollyfish.net.nz", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Charlie Robbins", - "email": "charlie.robbins@gmail.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Francisco Treacy", - "email": "francisco.treacy@gmail.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Cliffano Subagio", - "email": "cliffano@gmail.com", - "url": null - }, + "type": "person", + "role": "contributor", + "name": "Cliffano Subagio", + "email": "cliffano@gmail.com", + "url": null + }, { "type": "person", "role": "contributor", @@ -3829,189 +2065,1965 @@ { "type": "person", "role": "contributor", - "name": "Nick Heiner", - "email": "nick.heiner@opower.com", + "name": "Nick Heiner", + "email": "nick.heiner@opower.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "James Talmage", + "email": "james@talmage.io", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "jane arc", + "email": "jane@uber.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Joseph Dykstra", + "email": "josephdykstra@gmail.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Joshua Egan", + "email": "josh-egan@users.noreply.github.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Thomas Cort", + "email": "thomasc@ssimicro.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Thaddee Tyl", + "email": "thaddee.tyl@gmail.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Steve Klabnik", + "email": "steve@steveklabnik.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Andrew Murray", + "email": "radarhere@gmail.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Stephan B\u00f6nnemann", + "email": "stephan@excellenteasy.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Kyle M. Tarplee", + "email": "kyle.tarplee@numerica.us", "url": null }, { "type": "person", "role": "contributor", - "name": "James Talmage", - "email": "james@talmage.io", + "name": "Derek Peterson", + "email": "derekpetey@gmail.com", "url": null }, { "type": "person", "role": "contributor", - "name": "jane arc", - "email": "jane@uber.com", + "name": "Greg Whiteley", + "email": "greg.whiteley@atomos.com", "url": null }, { "type": "person", "role": "contributor", - "name": "Joseph Dykstra", - "email": "josephdykstra@gmail.com", + "name": "murgatroid99", + "email": "mlumish@google.com", "url": null }, { "type": "person", - "role": "contributor", - "name": "Joshua Egan", - "email": "josh-egan@users.noreply.github.com", + "role": "maintainer", + "name": "isaacs", + "email": "isaacs@npmjs.com", "url": null }, { "type": "person", - "role": "contributor", - "name": "Thomas Cort", - "email": "thomasc@ssimicro.com", + "role": "maintainer", + "name": "othiym23", + "email": "ogd@aoaioxxysz.net", "url": null }, { "type": "person", - "role": "contributor", - "name": "Thaddee Tyl", - "email": "thaddee.tyl@gmail.com", + "role": "maintainer", + "name": "iarna", + "email": "me@re-becca.org", "url": null }, { "type": "person", - "role": "contributor", - "name": "Steve Klabnik", - "email": "steve@steveklabnik.com", + "role": "maintainer", + "name": "zkat", + "email": "kat@sykosomatic.org", "url": null - }, + } + ], + "keywords": [ + "package manager", + "modules", + "install", + "package.json" + ], + "homepage_url": "https://docs.npmjs.com/", + "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "size": null, + "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "http://github.com/npm/npm/issues", + "code_view_url": null, + "vcs_url": "git+https://github.com/npm/npm.git@fc7bbf03e39cc48a8924b90696d28345a6a90f3c", + "copyright": null, + "declared_license_expression": "artistic-2.0", + "declared_license_expression_spdx": "Artistic-2.0", + "license_detections": [ + { + "license_expression": "artistic-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 50.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "matched_text": "Artistic-2.0" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['Artistic-2.0']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/npm", + "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "api_data_url": "https://registry.npmjs.org/npm/2.13.5", + "package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "scan/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/npm@2.13.5" + } + ], + "dependencies": [ + { + "purl": "pkg:npm/abbrev", + "extracted_requirement": "~1.0.7", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/abbrev?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/ansi", + "extracted_requirement": "~0.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/ansi?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/ansicolors", + "extracted_requirement": "~0.3.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/ansicolors?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/ansistyles", + "extracted_requirement": "~0.1.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/ansistyles?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/archy", + "extracted_requirement": "~1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/archy?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/async-some", + "extracted_requirement": "~1.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/async-some?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/block-stream", + "extracted_requirement": "0.0.8", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/block-stream?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/char-spinner", + "extracted_requirement": "~1.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/char-spinner?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/chmodr", + "extracted_requirement": "~1.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/chmodr?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/chownr", + "extracted_requirement": "0.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/chownr?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/cmd-shim", + "extracted_requirement": "~2.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/cmd-shim?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/columnify", + "extracted_requirement": "~1.5.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/columnify?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/config-chain", + "extracted_requirement": "~1.1.9", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/config-chain?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/dezalgo", + "extracted_requirement": "~1.0.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/dezalgo?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/editor", + "extracted_requirement": "~1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/editor?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/fs-vacuum", + "extracted_requirement": "~1.2.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/fs-vacuum?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/fs-write-stream-atomic", + "extracted_requirement": "~1.0.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/fs-write-stream-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/fstream", + "extracted_requirement": "~1.0.7", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/fstream?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/fstream-npm", + "extracted_requirement": "~1.0.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/fstream-npm?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/github-url-from-git", + "extracted_requirement": "~1.4.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/github-url-from-git?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/github-url-from-username-repo", + "extracted_requirement": "~1.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/github-url-from-username-repo?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/glob", + "extracted_requirement": "~5.0.14", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/glob?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/graceful-fs", + "extracted_requirement": "~4.1.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/graceful-fs?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/hosted-git-info", + "extracted_requirement": "~2.1.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/hosted-git-info?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/inflight", + "extracted_requirement": "~1.0.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/inflight?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/inherits", + "extracted_requirement": "~2.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/inherits?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/ini", + "extracted_requirement": "~1.3.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/ini?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/init-package-json", + "extracted_requirement": "~1.7.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/init-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/lockfile", + "extracted_requirement": "~1.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/lockfile?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/lru-cache", + "extracted_requirement": "~2.6.5", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/lru-cache?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/minimatch", + "extracted_requirement": "~2.0.10", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/minimatch?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/mkdirp", + "extracted_requirement": "~0.5.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/mkdirp?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/node-gyp", + "extracted_requirement": "~2.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/node-gyp?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/nopt", + "extracted_requirement": "~3.0.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/nopt?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/normalize-git-url", + "extracted_requirement": "~3.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/normalize-git-url?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/normalize-package-data", + "extracted_requirement": "~2.3.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/normalize-package-data?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-cache-filename", + "extracted_requirement": "~1.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-cache-filename?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-install-checks", + "extracted_requirement": "~1.0.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-install-checks?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-package-arg", + "extracted_requirement": "~4.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-package-arg?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-registry-client", + "extracted_requirement": "~6.5.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-registry-client?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-user-validate", + "extracted_requirement": "~0.1.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-user-validate?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npmlog", + "extracted_requirement": "~1.2.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npmlog?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/once", + "extracted_requirement": "~1.3.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/once?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/opener", + "extracted_requirement": "~1.4.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/opener?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/osenv", + "extracted_requirement": "~0.1.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/osenv?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/path-is-inside", + "extracted_requirement": "~1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/path-is-inside?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/read", + "extracted_requirement": "~1.0.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/read?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/read-installed", + "extracted_requirement": "~4.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/read-installed?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/read-package-json", + "extracted_requirement": "~2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/read-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/readable-stream", + "extracted_requirement": "~1.1.13", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/readable-stream?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/realize-package-specifier", + "extracted_requirement": "~3.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/realize-package-specifier?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/request", + "extracted_requirement": "~2.60.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/request?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/retry", + "extracted_requirement": "~0.6.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/retry?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/rimraf", + "extracted_requirement": "~2.4.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/rimraf?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/semver", + "extracted_requirement": "~5.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/semver?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sha", + "extracted_requirement": "~1.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sha?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/slide", + "extracted_requirement": "~1.1.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/slide?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sorted-object", + "extracted_requirement": "~1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sorted-object?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/spdx", + "extracted_requirement": "~0.4.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/spdx?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/tar", + "extracted_requirement": "~2.1.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/tar?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/text-table", + "extracted_requirement": "~0.2.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/text-table?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/uid-number", + "extracted_requirement": "0.0.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/uid-number?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/umask", + "extracted_requirement": "~1.1.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/umask?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/validate-npm-package-name", + "extracted_requirement": "~2.2.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/validate-npm-package-name?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/which", + "extracted_requirement": "~1.1.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/which?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/wrappy", + "extracted_requirement": "~1.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/wrappy?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/write-file-atomic", + "extracted_requirement": "~1.1.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/write-file-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/validate-npm-package-license", + "extracted_requirement": "*", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/validate-npm-package-license?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/deep-equal", + "extracted_requirement": "~1.0.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/deep-equal?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/marked", + "extracted_requirement": "~0.3.3", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/marked?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/marked-man", + "extracted_requirement": "~0.1.5", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/marked-man?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/nock", + "extracted_requirement": "~2.10.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/nock?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-registry-couchapp", + "extracted_requirement": "~2.6.7", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-registry-couchapp?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-registry-mock", + "extracted_requirement": "~1.0.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-registry-mock?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/require-inject", + "extracted_requirement": "~1.2.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/require-inject?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sprintf-js", + "extracted_requirement": "~1.0.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sprintf-js?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/tap", + "extracted_requirement": "~1.3.1", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/tap?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + } + ], + "license_detections": [ + { + "identifier": "cc0_1_0-c7a96db7-de74-527f-da8d-b573175736b4", + "license_expression": "cc0-1.0", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "Andrew Murray", - "email": "radarhere@gmail.com", - "url": null - }, + "score": 99.69, + "start_line": 1, + "end_line": 98, + "matched_length": 978, + "match_coverage": 99.69, + "matcher": "3-seq", + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" + } + ] + }, + { + "identifier": "artistic_2_0-8755d5fd-6521-04e7-ace1-4344b99647e3", + "license_expression": "artistic-2.0", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "Stephan B\u00f6nnemann", - "email": "stephan@excellenteasy.com", - "url": null - }, + "score": 100.0, + "start_line": 198, + "end_line": 198, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" + } + ] + }, + { + "identifier": "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2", + "license_expression": "zlib", + "count": 9, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "Kyle M. Tarplee", - "email": "kyle.tarplee@numerica.us", - "url": null - }, + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + } + ] + }, + { + "identifier": "zlib-866b02ed-ff4b-379e-e254-8ebc15ceae23", + "license_expression": "zlib", + "count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "Derek Peterson", - "email": "derekpetey@gmail.com", - "url": null - }, + "score": 100.0, + "start_line": 6, + "end_line": 23, + "matched_length": 144, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" + } + ] + }, + { + "identifier": "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c", + "license_expression": "lgpl-2.1-plus", + "count": 3, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "Greg Whiteley", - "email": "greg.whiteley@atomos.com", - "url": null - }, + "score": 100.0, + "start_line": 7, + "end_line": 20, + "matched_length": 125, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" + } + ] + }, + { + "identifier": "cc_by_2_5-26ed35f7-744b-aeec-b973-783eeb6928b4", + "license_expression": "cc-by-2.5", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "murgatroid99", - "email": "mlumish@google.com", - "url": null - }, + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 14, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" + } + ] + }, + { + "identifier": "gpl_2_0_plus_with_ada_linking_exception-ab43ac21-eeae-978d-b391-58e77ab54a8c", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "maintainer", - "name": "isaacs", - "email": "isaacs@npmjs.com", - "url": null - }, + "score": 100.0, + "start_line": 6, + "end_line": 25, + "matched_length": 176, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" + } + ] + }, + { + "identifier": "boost_1_0-b015a903-1844-66d2-fd10-6e5e24a7b011", + "license_expression": "boost-1.0", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "maintainer", - "name": "othiym23", - "email": "ogd@aoaioxxysz.net", - "url": null - }, + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 32, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" + } + ] + }, + { + "identifier": "zlib-b242753c-a31d-3db4-b77a-92bdef5c5389", + "license_expression": "zlib", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "maintainer", - "name": "iarna", - "email": "me@re-becca.org", - "url": null - }, + "score": 100.0, + "start_line": 17, + "end_line": 31, + "matched_length": 132, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE" + } + ] + }, + { + "identifier": "mit_old_style-41d50a44-94c9-224f-adc2-02743727be1a", + "license_expression": "mit-old-style", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "maintainer", - "name": "zkat", - "email": "kat@sykosomatic.org", - "url": null + "score": 100.0, + "start_line": 9, + "end_line": 15, + "matched_length": 71, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" } + ] + } + ], + "license_references": [ + { + "key": "ada-linking-exception", + "short_name": "Ada linking exception to GPL 2.0 or later", + "name": "Ada linking exception to GPL 2.0 or later", + "category": "Copyleft Limited", + "owner": "Dmitriy Anisimkov", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", + "other_urls": [ + "http://zlib-ada.sourceforge.net/", + "http://ada-ru.org/" + ], + "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", + "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." + }, + { + "key": "artistic-2.0", + "short_name": "Artistic 2.0", + "name": "Artistic License 2.0", + "category": "Copyleft Limited", + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "Artistic-2.0", + "osi_license_key": "Artistic-2.0", + "text_urls": [ + "https://www.perlfoundation.org/artistic_license_2_0", + "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" + ], + "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", + "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", + "other_urls": [ + "http://www.perlfoundation.org/artistic_license_2_0", + "https://opensource.org/licenses/artistic-license-2.0", + "https://www.opensource.org/licenses/artistic-license-2.0", + "https://www.perlfoundation.org/artistic-license-20.html" + ], + "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "boost-1.0", + "short_name": "Boost 1.0", + "name": "Boost Software License 1.0", + "category": "Permissive", + "owner": "Boost", + "homepage_url": "http://www.boost.org/users/license.html", + "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "BSL-1.0", + "text_urls": [ + "http://www.boost.org/LICENSE_1_0.txt" + ], + "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", + "other_urls": [ + "http://www.boost.org/users/license.html", + "http://www.opensource.org/licenses/BSL-1.0", + "https://opensource.org/licenses/BSL-1.0" + ], + "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." + }, + { + "key": "cc-by-2.5", + "short_name": "CC-BY-2.5", + "name": "Creative Commons Attribution License 2.5", + "category": "Permissive", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by/2.5/", + "is_builtin": true, + "spdx_license_key": "CC-BY-2.5", + "text_urls": [ + "http://creativecommons.org/licenses/by/2.5/legalcode" + ], + "other_urls": [ + "https://creativecommons.org/licenses/by/2.5/legalcode" + ], + "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." + }, + { + "key": "cc0-1.0", + "short_name": "CC0-1.0", + "name": "Creative Commons CC0 1.0 Universal", + "category": "Public Domain", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", + "is_builtin": true, + "spdx_license_key": "CC0-1.0", + "text_urls": [ + "http://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", + "other_urls": [ + "https://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." + }, + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "mit-old-style", + "short_name": "MIT Old Style", + "name": "MIT Old Style", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-mit-old-style", + "text_urls": [ + "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" + ], + "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." + }, + { + "key": "zlib", + "short_name": "ZLIB License", + "name": "ZLIB License", + "category": "Permissive", + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "notes": "Per SPDX.org, this is OSI certified", + "is_builtin": true, + "spdx_license_key": "Zlib", + "text_urls": [ + "http://www.gzip.org/zlib/zlib_license.html" + ], + "osi_url": "http://www.opensource.org/licenses/zlib-license.php", + "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", + "other_urls": [ + "http://www.opensource.org/licenses/Zlib", + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "minimum_coverage": 50, + "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." + } + ], + "license_rule_references": [ + { + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50 + }, + { + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 981, + "rule_relevance": 100 + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50 + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 14, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" ], - "keywords": [ - "package manager", - "modules", - "install", - "package.json" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" ], - "homepage_url": "https://docs.npmjs.com/", - "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "size": null, - "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": "http://github.com/npm/npm/issues", - "code_view_url": null, - "vcs_url": "git+https://github.com/npm/npm.git@fc7bbf03e39cc48a8924b90696d28345a6a90f3c", - "copyright": null, - "declared_license_expression": "artistic-2.0", - "declared_license_expression_spdx": "Artistic-2.0", - "license_detections": [ - { - "license_expression": "artistic-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 50.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "artistic-2.0", - "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "matched_text": "Artistic-2.0" - } - ] - } + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/npm", - "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "api_data_url": "https://registry.npmjs.org/npm/2.13.5", - "package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "scan/package.json" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 176, + "rule_relevance": 100 + }, + { + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "referenced_filenames": [ + "LICENSE_1_0.txt" ], - "datasource_ids": [ - "npm_package_json" + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 32, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" ], - "purl": "pkg:npm/npm@2.13.5" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 71, + "rule_relevance": 100 } ], "tallies": { @@ -4467,6 +4479,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4476,8 +4490,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "facets": [], @@ -4505,6 +4517,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4514,10 +4530,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [], @@ -4545,6 +4557,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4554,10 +4570,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [], @@ -4585,6 +4597,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "lgpl-2.1-plus", "detected_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ @@ -4611,7 +4627,7 @@ "license_clues": [], "percentage_of_license_text": 79.62, "for_license_detections": [ - "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" + "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4628,10 +4644,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [ { @@ -4667,6 +4679,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "cc-by-2.5", "detected_license_expression_spdx": "CC-BY-2.5", "license_detections": [ @@ -4693,7 +4709,7 @@ "license_clues": [], "percentage_of_license_text": 19.72, "for_license_detections": [ - "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4" + "cc_by_2_5-26ed35f7-744b-aeec-b973-783eeb6928b4" ], "copyrights": [ { @@ -4716,10 +4732,6 @@ "end_line": 10 } ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [ { @@ -4760,6 +4772,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "lgpl-2.1-plus", "detected_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ @@ -4786,7 +4802,7 @@ "license_clues": [], "percentage_of_license_text": 78.62, "for_license_detections": [ - "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" + "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4803,10 +4819,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [ { @@ -4842,6 +4854,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4857,10 +4873,6 @@ "end_line": 4 } ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [ @@ -4890,6 +4902,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4905,10 +4921,6 @@ "end_line": 3 } ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [ @@ -4938,6 +4950,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "lgpl-2.1-plus", "detected_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ @@ -4964,7 +4980,7 @@ "license_clues": [], "percentage_of_license_text": 78.12, "for_license_detections": [ - "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" + "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4981,10 +4997,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [ { @@ -5020,6 +5032,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -5035,10 +5051,6 @@ "end_line": 3 } ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [ @@ -5068,6 +5080,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -5077,10 +5093,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [ { @@ -5121,6 +5133,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -5130,10 +5146,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [], @@ -5161,6 +5173,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -5198,7 +5214,7 @@ "license_clues": [], "percentage_of_license_text": 42.86, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -5215,10 +5231,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [ @@ -5248,6 +5260,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -5274,7 +5290,7 @@ "license_clues": [], "percentage_of_license_text": 69.57, "for_license_detections": [ - "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" + "zlib-866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -5291,10 +5307,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [ { "email": "jloup@gzip.org", @@ -5341,6 +5353,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -5378,7 +5394,7 @@ "license_clues": [], "percentage_of_license_text": 20.34, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -5395,10 +5411,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [ @@ -5428,6 +5440,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "cc0-1.0", "detected_license_expression_spdx": "CC0-1.0", "license_detections": [ @@ -5454,15 +5470,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4" + "cc0_1_0-c7a96db7-de74-527f-da8d-b573175736b4" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [ @@ -5492,43 +5504,6 @@ "is_media": false, "is_source": false, "is_script": false, - "detected_license_expression": "artistic-2.0", - "detected_license_expression_spdx": "Artistic-2.0", - "license_detections": [ - { - "license_expression": "artistic-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 198, - "end_line": 198, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 0.1, - "for_license_detections": [ - "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3" - ], - "copyrights": [], - "holders": [], - "authors": [ - { - "author": "name' Isaac Z.", - "start_line": 16, - "end_line": 17 - } - ], "package_data": [ { "type": "npm", @@ -8550,6 +8525,43 @@ "for_packages": [ "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "artistic-2.0", + "detected_license_expression_spdx": "Artistic-2.0", + "license_detections": [ + { + "license_expression": "artistic-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 198, + "end_line": 198, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 0.1, + "for_license_detections": [ + "artistic_2_0-8755d5fd-6521-04e7-ace1-4344b99647e3" + ], + "copyrights": [], + "holders": [], + "authors": [ + { + "author": "name' Isaac Z.", + "start_line": 16, + "end_line": 17 + } + ], "emails": [ { "email": "i@izs.me", @@ -8861,6 +8873,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -8870,10 +8886,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [], @@ -8901,6 +8913,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -8910,10 +8926,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [], @@ -8941,6 +8953,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "gpl-2.0-plus WITH ada-linking-exception", "detected_license_expression_spdx": "GPL-2.0-or-later WITH LicenseRef-scancode-ada-linking-exception", "license_detections": [ @@ -8967,7 +8983,7 @@ "license_clues": [], "percentage_of_license_text": 94.12, "for_license_detections": [ - "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c" + "gpl_2_0_plus_with_ada_linking_exception-ab43ac21-eeae-978d-b391-58e77ab54a8c" ], "copyrights": [ { @@ -8984,10 +9000,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [ @@ -9017,6 +9029,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -9054,7 +9070,7 @@ "license_clues": [], "percentage_of_license_text": 42.86, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9071,10 +9087,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [ @@ -9104,6 +9116,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -9141,7 +9157,7 @@ "license_clues": [], "percentage_of_license_text": 40.0, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9158,10 +9174,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [ @@ -9191,6 +9203,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -9228,7 +9244,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9245,10 +9261,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [ @@ -9278,6 +9290,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -9287,10 +9303,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [], @@ -9318,6 +9330,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -9339,10 +9355,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [ @@ -9372,6 +9384,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "boost-1.0", "detected_license_expression_spdx": "BSL-1.0", "license_detections": [ @@ -9398,7 +9414,7 @@ "license_clues": [], "percentage_of_license_text": 88.89, "for_license_detections": [ - "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011" + "boost_1_0-b015a903-1844-66d2-fd10-6e5e24a7b011" ], "copyrights": [ { @@ -9415,10 +9431,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [ { @@ -9454,6 +9466,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -9463,10 +9479,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [], @@ -9494,6 +9506,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -9520,7 +9536,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389" + "zlib-b242753c-a31d-3db4-b77a-92bdef5c5389" ], "copyrights": [ { @@ -9543,10 +9559,6 @@ "end_line": 12 } ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [ { @@ -9592,6 +9604,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -9601,10 +9617,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [], @@ -9632,6 +9644,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -9658,7 +9674,7 @@ "license_clues": [], "percentage_of_license_text": 44.44, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9675,10 +9691,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [ @@ -9708,6 +9720,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -9734,7 +9750,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9751,10 +9767,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [ @@ -9784,6 +9796,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -9793,10 +9809,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [], @@ -9824,6 +9836,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "mit-old-style", "detected_license_expression_spdx": "LicenseRef-scancode-mit-old-style", "license_detections": [ @@ -9850,7 +9866,7 @@ "license_clues": [], "percentage_of_license_text": 79.78, "for_license_detections": [ - "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a" + "mit_old_style-41d50a44-94c9-224f-adc2-02743727be1a" ], "copyrights": [ { @@ -9867,10 +9883,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [ { @@ -9906,6 +9918,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -9932,7 +9948,7 @@ "license_clues": [], "percentage_of_license_text": 84.21, "for_license_detections": [ - "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" + "zlib-866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -9949,10 +9965,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [ { "email": "jloup@gzip.org", @@ -9993,6 +10005,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -10030,7 +10046,7 @@ "license_clues": [], "percentage_of_license_text": 37.5, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -10047,10 +10063,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [ @@ -10080,6 +10092,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -10117,7 +10133,7 @@ "license_clues": [], "percentage_of_license_text": 20.34, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -10134,10 +10150,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "emails": [], "urls": [], "facets": [ diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json index 15b27ec954f..c1e258df620 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json @@ -1,1843 +1,79 @@ { - "license_detections": [ + "packages": [ { - "identifier": "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4", - "license_expression": "cc0-1.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "npm", + "namespace": null, + "name": "npm", + "version": "2.13.5", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "a package manager for JavaScript", + "release_date": null, + "parties": [ { - "score": 99.69, - "start_line": 1, - "end_line": 98, - "matched_length": 978, - "match_coverage": 99.69, - "matcher": "3-seq", - "license_expression": "cc0-1.0", - "rule_identifier": "cc0-1.0_155.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" - } - ] - }, - { - "identifier": "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3", - "license_expression": "artistic-2.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "author", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me" + }, { - "score": 100.0, - "start_line": 198, - "end_line": 198, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" - } - ] - }, - { - "identifier": "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2", - "license_expression": "zlib", - "occurrence_count": 9, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": null + }, { - "score": 100.0, - "start_line": 3, - "end_line": 3, - "matched_length": 12, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" - } - ] - }, - { - "identifier": "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23", - "license_expression": "zlib", - "occurrence_count": 2, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Steve Steiner", + "email": "ssteinerX@gmail.com", + "url": null + }, { - "score": 100.0, - "start_line": 6, - "end_line": 23, - "matched_length": 144, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" - } - ] - }, - { - "identifier": "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c", - "license_expression": "lgpl-2.1-plus", - "occurrence_count": 3, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Mikeal Rogers", + "email": "mikeal.rogers@gmail.com", + "url": null + }, { - "score": 100.0, - "start_line": 7, - "end_line": 20, - "matched_length": 125, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" - } - ] - }, - { - "identifier": "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4", - "license_expression": "cc-by-2.5", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Aaron Blohowiak", + "email": "aaron.blohowiak@gmail.com", + "url": null + }, { - "score": 100.0, - "start_line": 4, - "end_line": 5, - "matched_length": 14, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "cc-by-2.5", - "rule_identifier": "cc-by-2.5_4.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" - } - ] - }, - { - "identifier": "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c", - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Martyn Smith", + "email": "martyn@dollyfish.net.nz", + "url": null + }, { - "score": 100.0, - "start_line": 6, - "end_line": 25, - "matched_length": 176, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" - } - ] - }, - { - "identifier": "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011", - "license_expression": "boost-1.0", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Charlie Robbins", + "email": "charlie.robbins@gmail.com", + "url": null + }, { - "score": 100.0, - "start_line": 4, - "end_line": 5, - "matched_length": 32, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "boost-1.0", - "rule_identifier": "boost-1.0_21.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" - } - ] - }, - { - "identifier": "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389", - "license_expression": "zlib", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ + "type": "person", + "role": "contributor", + "name": "Francisco Treacy", + "email": "francisco.treacy@gmail.com", + "url": null + }, { - "score": 100.0, - "start_line": 17, - "end_line": 31, - "matched_length": 132, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "zlib", - "rule_identifier": "zlib.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE" - } - ] - }, - { - "identifier": "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a", - "license_expression": "mit-old-style", - "occurrence_count": 1, - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 9, - "end_line": 15, - "matched_length": 71, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "mit-old-style", - "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" - } - ] - } - ], - "license_references": [ - { - "key": "ada-linking-exception", - "short_name": "Ada linking exception to GPL 2.0 or later", - "name": "Ada linking exception to GPL 2.0 or later", - "category": "Copyleft Limited", - "owner": "Dmitriy Anisimkov", - "is_builtin": true, - "is_exception": true, - "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", - "other_urls": [ - "http://zlib-ada.sourceforge.net/", - "http://ada-ru.org/" - ], - "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", - "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." - }, - { - "key": "artistic-2.0", - "short_name": "Artistic 2.0", - "name": "Artistic License 2.0", - "category": "Copyleft Limited", - "owner": "Perl Foundation", - "homepage_url": "http://www.perlfoundation.org/", - "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", - "is_builtin": true, - "spdx_license_key": "Artistic-2.0", - "osi_license_key": "Artistic-2.0", - "text_urls": [ - "https://www.perlfoundation.org/artistic_license_2_0", - "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" - ], - "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", - "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", - "other_urls": [ - "http://www.perlfoundation.org/artistic_license_2_0", - "https://opensource.org/licenses/artistic-license-2.0", - "https://www.opensource.org/licenses/artistic-license-2.0", - "https://www.perlfoundation.org/artistic-license-20.html" - ], - "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - }, - { - "key": "boost-1.0", - "short_name": "Boost 1.0", - "name": "Boost Software License 1.0", - "category": "Permissive", - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", - "is_builtin": true, - "spdx_license_key": "BSL-1.0", - "text_urls": [ - "http://www.boost.org/LICENSE_1_0.txt" - ], - "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", - "other_urls": [ - "http://www.boost.org/users/license.html", - "http://www.opensource.org/licenses/BSL-1.0", - "https://opensource.org/licenses/BSL-1.0" - ], - "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." - }, - { - "key": "cc-by-2.5", - "short_name": "CC-BY-2.5", - "name": "Creative Commons Attribution License 2.5", - "category": "Permissive", - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by/2.5/", - "is_builtin": true, - "spdx_license_key": "CC-BY-2.5", - "text_urls": [ - "http://creativecommons.org/licenses/by/2.5/legalcode" - ], - "other_urls": [ - "https://creativecommons.org/licenses/by/2.5/legalcode" - ], - "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." - }, - { - "key": "cc0-1.0", - "short_name": "CC0-1.0", - "name": "Creative Commons CC0 1.0 Universal", - "category": "Public Domain", - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", - "is_builtin": true, - "spdx_license_key": "CC0-1.0", - "text_urls": [ - "http://creativecommons.org/publicdomain/zero/1.0/legalcode" - ], - "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", - "other_urls": [ - "https://creativecommons.org/publicdomain/zero/1.0/legalcode" - ], - "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." - }, - { - "key": "gpl-2.0-plus", - "short_name": "GPL 2.0 or later", - "name": "GNU General Public License 2.0 or later", - "category": "Copyleft", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "GPL-2.0-or-later", - "other_spdx_license_keys": [ - "GPL-2.0+", - "GPL 2.0+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" - ], - "other_urls": [ - "http://www.opensource.org/licenses/GPL-2.0", - "https://opensource.org/licenses/GPL-2.0", - "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" - ], - "minimum_coverage": 99, - "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." - }, - { - "key": "lgpl-2.1-plus", - "short_name": "LGPL 2.1 or later", - "name": "GNU Lesser General Public License 2.1 or later", - "category": "Copyleft Limited", - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", - "is_builtin": true, - "spdx_license_key": "LGPL-2.1-or-later", - "other_spdx_license_keys": [ - "LGPL-2.1+" - ], - "text_urls": [ - "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" - ], - "other_urls": [ - "http://www.gnu.org/copyleft/lesser.html", - "http://www.opensource.org/licenses/LGPL-2.1", - "https://opensource.org/licenses/LGPL-2.1", - "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" - ], - "minimum_coverage": 99, - "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" - }, - { - "key": "mit-old-style", - "short_name": "MIT Old Style", - "name": "MIT Old Style", - "category": "Permissive", - "owner": "MIT", - "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", - "is_builtin": true, - "spdx_license_key": "LicenseRef-scancode-mit-old-style", - "text_urls": [ - "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" - ], - "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." - }, - { - "key": "zlib", - "short_name": "ZLIB License", - "name": "ZLIB License", - "category": "Permissive", - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "notes": "Per SPDX.org, this is OSI certified", - "is_builtin": true, - "spdx_license_key": "Zlib", - "text_urls": [ - "http://www.gzip.org/zlib/zlib_license.html" - ], - "osi_url": "http://www.opensource.org/licenses/zlib-license.php", - "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", - "other_urls": [ - "http://www.opensource.org/licenses/Zlib", - "http://www.zlib.net/zlib_license.html", - "https://opensource.org/licenses/Zlib" - ], - "minimum_coverage": 50, - "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." - } - ], - "license_rule_references": [ - { - "license_expression": "cc0-1.0", - "rule_identifier": "cc0-1.0_155.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100 - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50 - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "cc-by-2.5", - "rule_identifier": "cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100 - }, - { - "license_expression": "boost-1.0", - "rule_identifier": "boost-1.0_21.RULE", - "referenced_filenames": [ - "LICENSE_1_0.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "mit-old-style", - "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100 - } - ], - "dependencies": [ - { - "purl": "pkg:npm/abbrev", - "extracted_requirement": "~1.0.7", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/abbrev?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/ansi", - "extracted_requirement": "~0.3.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansi?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/ansicolors", - "extracted_requirement": "~0.3.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansicolors?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/ansistyles", - "extracted_requirement": "~0.1.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ansistyles?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/archy", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/archy?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/async-some", - "extracted_requirement": "~1.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/async-some?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/block-stream", - "extracted_requirement": "0.0.8", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/block-stream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/char-spinner", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/char-spinner?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/chmodr", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/chmodr?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/chownr", - "extracted_requirement": "0.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/chownr?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/cmd-shim", - "extracted_requirement": "~2.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/cmd-shim?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/columnify", - "extracted_requirement": "~1.5.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/columnify?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/config-chain", - "extracted_requirement": "~1.1.9", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/config-chain?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/dezalgo", - "extracted_requirement": "~1.0.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/dezalgo?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/editor", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/editor?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/fs-vacuum", - "extracted_requirement": "~1.2.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fs-vacuum?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/fs-write-stream-atomic", - "extracted_requirement": "~1.0.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fs-write-stream-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/fstream", - "extracted_requirement": "~1.0.7", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fstream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/fstream-npm", - "extracted_requirement": "~1.0.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/fstream-npm?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/github-url-from-git", - "extracted_requirement": "~1.4.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/github-url-from-git?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/github-url-from-username-repo", - "extracted_requirement": "~1.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/github-url-from-username-repo?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/glob", - "extracted_requirement": "~5.0.14", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/glob?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/graceful-fs", - "extracted_requirement": "~4.1.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/graceful-fs?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/hosted-git-info", - "extracted_requirement": "~2.1.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/hosted-git-info?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/inflight", - "extracted_requirement": "~1.0.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/inflight?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/inherits", - "extracted_requirement": "~2.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/inherits?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/ini", - "extracted_requirement": "~1.3.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/ini?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/init-package-json", - "extracted_requirement": "~1.7.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/init-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/lockfile", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/lockfile?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/lru-cache", - "extracted_requirement": "~2.6.5", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/lru-cache?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/minimatch", - "extracted_requirement": "~2.0.10", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/minimatch?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/mkdirp", - "extracted_requirement": "~0.5.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/mkdirp?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/node-gyp", - "extracted_requirement": "~2.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/node-gyp?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/nopt", - "extracted_requirement": "~3.0.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/nopt?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/normalize-git-url", - "extracted_requirement": "~3.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/normalize-git-url?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/normalize-package-data", - "extracted_requirement": "~2.3.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/normalize-package-data?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-cache-filename", - "extracted_requirement": "~1.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-cache-filename?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-install-checks", - "extracted_requirement": "~1.0.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-install-checks?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-package-arg", - "extracted_requirement": "~4.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-package-arg?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-registry-client", - "extracted_requirement": "~6.5.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-client?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-user-validate", - "extracted_requirement": "~0.1.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-user-validate?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npmlog", - "extracted_requirement": "~1.2.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npmlog?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/once", - "extracted_requirement": "~1.3.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/once?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/opener", - "extracted_requirement": "~1.4.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/opener?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/osenv", - "extracted_requirement": "~0.1.3", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/osenv?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/path-is-inside", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/path-is-inside?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/read", - "extracted_requirement": "~1.0.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/read?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/read-installed", - "extracted_requirement": "~4.0.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/read-installed?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/read-package-json", - "extracted_requirement": "~2.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/read-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/readable-stream", - "extracted_requirement": "~1.1.13", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/readable-stream?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/realize-package-specifier", - "extracted_requirement": "~3.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/realize-package-specifier?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/request", - "extracted_requirement": "~2.60.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/request?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/retry", - "extracted_requirement": "~0.6.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/retry?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/rimraf", - "extracted_requirement": "~2.4.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/rimraf?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/semver", - "extracted_requirement": "~5.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/semver?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/sha", - "extracted_requirement": "~1.3.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/sha?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/slide", - "extracted_requirement": "~1.1.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/slide?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/sorted-object", - "extracted_requirement": "~1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/sorted-object?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/spdx", - "extracted_requirement": "~0.4.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/spdx?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/tar", - "extracted_requirement": "~2.1.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/tar?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/text-table", - "extracted_requirement": "~0.2.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/text-table?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/uid-number", - "extracted_requirement": "0.0.6", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/uid-number?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/umask", - "extracted_requirement": "~1.1.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/umask?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/validate-npm-package-name", - "extracted_requirement": "~2.2.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/validate-npm-package-name?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/which", - "extracted_requirement": "~1.1.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/which?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/wrappy", - "extracted_requirement": "~1.0.1", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/wrappy?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/write-file-atomic", - "extracted_requirement": "~1.1.2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/write-file-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/validate-npm-package-license", - "extracted_requirement": "*", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/validate-npm-package-license?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/deep-equal", - "extracted_requirement": "~1.0.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/deep-equal?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/marked", - "extracted_requirement": "~0.3.3", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/marked?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/marked-man", - "extracted_requirement": "~0.1.5", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/marked-man?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/nock", - "extracted_requirement": "~2.10.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/nock?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-registry-couchapp", - "extracted_requirement": "~2.6.7", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-couchapp?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/npm-registry-mock", - "extracted_requirement": "~1.0.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/npm-registry-mock?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/require-inject", - "extracted_requirement": "~1.2.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/require-inject?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/sprintf-js", - "extracted_requirement": "~1.0.2", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/sprintf-js?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - }, - { - "purl": "pkg:npm/tap", - "extracted_requirement": "~1.3.1", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false, - "resolved_package": {}, - "extra_data": {}, - "dependency_uid": "pkg:npm/tap?uuid=fixed-uid-done-for-testing-5642512d1758", - "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_path": "scan/package.json", - "datasource_id": "npm_package_json" - } - ], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "npm", - "version": "2.13.5", - "qualifiers": {}, - "subpath": null, - "primary_language": "JavaScript", - "description": "a package manager for JavaScript", - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me" - }, - { - "type": "person", - "role": "contributor", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Steve Steiner", - "email": "ssteinerX@gmail.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Mikeal Rogers", - "email": "mikeal.rogers@gmail.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Aaron Blohowiak", - "email": "aaron.blohowiak@gmail.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Martyn Smith", - "email": "martyn@dollyfish.net.nz", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Charlie Robbins", - "email": "charlie.robbins@gmail.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Francisco Treacy", - "email": "francisco.treacy@gmail.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Cliffano Subagio", - "email": "cliffano@gmail.com", - "url": null - }, + "type": "person", + "role": "contributor", + "name": "Cliffano Subagio", + "email": "cliffano@gmail.com", + "url": null + }, { "type": "person", "role": "contributor", @@ -3829,189 +2065,1965 @@ { "type": "person", "role": "contributor", - "name": "Nick Heiner", - "email": "nick.heiner@opower.com", + "name": "Nick Heiner", + "email": "nick.heiner@opower.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "James Talmage", + "email": "james@talmage.io", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "jane arc", + "email": "jane@uber.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Joseph Dykstra", + "email": "josephdykstra@gmail.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Joshua Egan", + "email": "josh-egan@users.noreply.github.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Thomas Cort", + "email": "thomasc@ssimicro.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Thaddee Tyl", + "email": "thaddee.tyl@gmail.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Steve Klabnik", + "email": "steve@steveklabnik.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Andrew Murray", + "email": "radarhere@gmail.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Stephan B\u00f6nnemann", + "email": "stephan@excellenteasy.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Kyle M. Tarplee", + "email": "kyle.tarplee@numerica.us", "url": null }, { "type": "person", "role": "contributor", - "name": "James Talmage", - "email": "james@talmage.io", + "name": "Derek Peterson", + "email": "derekpetey@gmail.com", "url": null }, { "type": "person", "role": "contributor", - "name": "jane arc", - "email": "jane@uber.com", + "name": "Greg Whiteley", + "email": "greg.whiteley@atomos.com", "url": null }, { "type": "person", "role": "contributor", - "name": "Joseph Dykstra", - "email": "josephdykstra@gmail.com", + "name": "murgatroid99", + "email": "mlumish@google.com", "url": null }, { "type": "person", - "role": "contributor", - "name": "Joshua Egan", - "email": "josh-egan@users.noreply.github.com", + "role": "maintainer", + "name": "isaacs", + "email": "isaacs@npmjs.com", "url": null }, { "type": "person", - "role": "contributor", - "name": "Thomas Cort", - "email": "thomasc@ssimicro.com", + "role": "maintainer", + "name": "othiym23", + "email": "ogd@aoaioxxysz.net", "url": null }, { "type": "person", - "role": "contributor", - "name": "Thaddee Tyl", - "email": "thaddee.tyl@gmail.com", + "role": "maintainer", + "name": "iarna", + "email": "me@re-becca.org", "url": null }, { "type": "person", - "role": "contributor", - "name": "Steve Klabnik", - "email": "steve@steveklabnik.com", + "role": "maintainer", + "name": "zkat", + "email": "kat@sykosomatic.org", "url": null - }, + } + ], + "keywords": [ + "package manager", + "modules", + "install", + "package.json" + ], + "homepage_url": "https://docs.npmjs.com/", + "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "size": null, + "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "http://github.com/npm/npm/issues", + "code_view_url": null, + "vcs_url": "git+https://github.com/npm/npm.git@fc7bbf03e39cc48a8924b90696d28345a6a90f3c", + "copyright": null, + "declared_license_expression": "artistic-2.0", + "declared_license_expression_spdx": "Artistic-2.0", + "license_detections": [ + { + "license_expression": "artistic-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 50.0, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "matched_text": "Artistic-2.0" + } + ] + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "['Artistic-2.0']", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/npm", + "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", + "api_data_url": "https://registry.npmjs.org/npm/2.13.5", + "package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_paths": [ + "scan/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/npm@2.13.5" + } + ], + "dependencies": [ + { + "purl": "pkg:npm/abbrev", + "extracted_requirement": "~1.0.7", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/abbrev?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/ansi", + "extracted_requirement": "~0.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/ansi?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/ansicolors", + "extracted_requirement": "~0.3.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/ansicolors?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/ansistyles", + "extracted_requirement": "~0.1.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/ansistyles?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/archy", + "extracted_requirement": "~1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/archy?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/async-some", + "extracted_requirement": "~1.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/async-some?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/block-stream", + "extracted_requirement": "0.0.8", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/block-stream?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/char-spinner", + "extracted_requirement": "~1.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/char-spinner?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/chmodr", + "extracted_requirement": "~1.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/chmodr?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/chownr", + "extracted_requirement": "0.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/chownr?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/cmd-shim", + "extracted_requirement": "~2.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/cmd-shim?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/columnify", + "extracted_requirement": "~1.5.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/columnify?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/config-chain", + "extracted_requirement": "~1.1.9", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/config-chain?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/dezalgo", + "extracted_requirement": "~1.0.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/dezalgo?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/editor", + "extracted_requirement": "~1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/editor?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/fs-vacuum", + "extracted_requirement": "~1.2.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/fs-vacuum?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/fs-write-stream-atomic", + "extracted_requirement": "~1.0.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/fs-write-stream-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/fstream", + "extracted_requirement": "~1.0.7", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/fstream?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/fstream-npm", + "extracted_requirement": "~1.0.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/fstream-npm?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/github-url-from-git", + "extracted_requirement": "~1.4.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/github-url-from-git?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/github-url-from-username-repo", + "extracted_requirement": "~1.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/github-url-from-username-repo?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/glob", + "extracted_requirement": "~5.0.14", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/glob?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/graceful-fs", + "extracted_requirement": "~4.1.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/graceful-fs?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/hosted-git-info", + "extracted_requirement": "~2.1.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/hosted-git-info?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/inflight", + "extracted_requirement": "~1.0.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/inflight?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/inherits", + "extracted_requirement": "~2.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/inherits?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/ini", + "extracted_requirement": "~1.3.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/ini?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/init-package-json", + "extracted_requirement": "~1.7.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/init-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/lockfile", + "extracted_requirement": "~1.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/lockfile?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/lru-cache", + "extracted_requirement": "~2.6.5", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/lru-cache?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/minimatch", + "extracted_requirement": "~2.0.10", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/minimatch?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/mkdirp", + "extracted_requirement": "~0.5.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/mkdirp?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/node-gyp", + "extracted_requirement": "~2.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/node-gyp?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/nopt", + "extracted_requirement": "~3.0.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/nopt?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/normalize-git-url", + "extracted_requirement": "~3.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/normalize-git-url?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/normalize-package-data", + "extracted_requirement": "~2.3.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/normalize-package-data?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-cache-filename", + "extracted_requirement": "~1.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-cache-filename?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-install-checks", + "extracted_requirement": "~1.0.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-install-checks?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-package-arg", + "extracted_requirement": "~4.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-package-arg?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-registry-client", + "extracted_requirement": "~6.5.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-registry-client?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-user-validate", + "extracted_requirement": "~0.1.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-user-validate?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npmlog", + "extracted_requirement": "~1.2.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npmlog?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/once", + "extracted_requirement": "~1.3.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/once?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/opener", + "extracted_requirement": "~1.4.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/opener?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/osenv", + "extracted_requirement": "~0.1.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/osenv?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/path-is-inside", + "extracted_requirement": "~1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/path-is-inside?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/read", + "extracted_requirement": "~1.0.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/read?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/read-installed", + "extracted_requirement": "~4.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/read-installed?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/read-package-json", + "extracted_requirement": "~2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/read-package-json?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/readable-stream", + "extracted_requirement": "~1.1.13", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/readable-stream?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/realize-package-specifier", + "extracted_requirement": "~3.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/realize-package-specifier?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/request", + "extracted_requirement": "~2.60.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/request?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/retry", + "extracted_requirement": "~0.6.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/retry?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/rimraf", + "extracted_requirement": "~2.4.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/rimraf?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/semver", + "extracted_requirement": "~5.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/semver?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sha", + "extracted_requirement": "~1.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sha?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/slide", + "extracted_requirement": "~1.1.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/slide?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sorted-object", + "extracted_requirement": "~1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sorted-object?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/spdx", + "extracted_requirement": "~0.4.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/spdx?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/tar", + "extracted_requirement": "~2.1.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/tar?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/text-table", + "extracted_requirement": "~0.2.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/text-table?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/uid-number", + "extracted_requirement": "0.0.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/uid-number?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/umask", + "extracted_requirement": "~1.1.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/umask?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/validate-npm-package-name", + "extracted_requirement": "~2.2.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/validate-npm-package-name?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/which", + "extracted_requirement": "~1.1.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/which?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/wrappy", + "extracted_requirement": "~1.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/wrappy?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/write-file-atomic", + "extracted_requirement": "~1.1.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/write-file-atomic?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/validate-npm-package-license", + "extracted_requirement": "*", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/validate-npm-package-license?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/deep-equal", + "extracted_requirement": "~1.0.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/deep-equal?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/marked", + "extracted_requirement": "~0.3.3", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/marked?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/marked-man", + "extracted_requirement": "~0.1.5", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/marked-man?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/nock", + "extracted_requirement": "~2.10.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/nock?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-registry-couchapp", + "extracted_requirement": "~2.6.7", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-registry-couchapp?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/npm-registry-mock", + "extracted_requirement": "~1.0.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/npm-registry-mock?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/require-inject", + "extracted_requirement": "~1.2.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/require-inject?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/sprintf-js", + "extracted_requirement": "~1.0.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/sprintf-js?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/tap", + "extracted_requirement": "~1.3.1", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/tap?uuid=fixed-uid-done-for-testing-5642512d1758", + "for_package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", + "datafile_path": "scan/package.json", + "datasource_id": "npm_package_json" + } + ], + "license_detections": [ + { + "identifier": "cc0_1_0-c7a96db7-de74-527f-da8d-b573175736b4", + "license_expression": "cc0-1.0", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "Andrew Murray", - "email": "radarhere@gmail.com", - "url": null - }, + "score": 99.69, + "start_line": 1, + "end_line": 98, + "matched_length": 978, + "match_coverage": 99.69, + "matcher": "3-seq", + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE" + } + ] + }, + { + "identifier": "artistic_2_0-8755d5fd-6521-04e7-ace1-4344b99647e3", + "license_expression": "artistic-2.0", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "Stephan B\u00f6nnemann", - "email": "stephan@excellenteasy.com", - "url": null - }, + "score": 100.0, + "start_line": 198, + "end_line": 198, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" + } + ] + }, + { + "identifier": "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2", + "license_expression": "zlib", + "count": 9, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "Kyle M. Tarplee", - "email": "kyle.tarplee@numerica.us", - "url": null - }, + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE" + } + ] + }, + { + "identifier": "zlib-866b02ed-ff4b-379e-e254-8ebc15ceae23", + "license_expression": "zlib", + "count": 2, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "Derek Peterson", - "email": "derekpetey@gmail.com", - "url": null - }, + "score": 100.0, + "start_line": 6, + "end_line": 23, + "matched_length": 144, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE" + } + ] + }, + { + "identifier": "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c", + "license_expression": "lgpl-2.1-plus", + "count": 3, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "Greg Whiteley", - "email": "greg.whiteley@atomos.com", - "url": null - }, + "score": 100.0, + "start_line": 7, + "end_line": 20, + "matched_length": 125, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE" + } + ] + }, + { + "identifier": "cc_by_2_5-26ed35f7-744b-aeec-b973-783eeb6928b4", + "license_expression": "cc-by-2.5", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "contributor", - "name": "murgatroid99", - "email": "mlumish@google.com", - "url": null - }, + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 14, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE" + } + ] + }, + { + "identifier": "gpl_2_0_plus_with_ada_linking_exception-ab43ac21-eeae-978d-b391-58e77ab54a8c", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "maintainer", - "name": "isaacs", - "email": "isaacs@npmjs.com", - "url": null - }, + "score": 100.0, + "start_line": 6, + "end_line": 25, + "matched_length": 176, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE" + } + ] + }, + { + "identifier": "boost_1_0-b015a903-1844-66d2-fd10-6e5e24a7b011", + "license_expression": "boost-1.0", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "maintainer", - "name": "othiym23", - "email": "ogd@aoaioxxysz.net", - "url": null - }, + "score": 100.0, + "start_line": 4, + "end_line": 5, + "matched_length": 32, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE" + } + ] + }, + { + "identifier": "zlib-b242753c-a31d-3db4-b77a-92bdef5c5389", + "license_expression": "zlib", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "maintainer", - "name": "iarna", - "email": "me@re-becca.org", - "url": null - }, + "score": 100.0, + "start_line": 17, + "end_line": 31, + "matched_length": 132, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib.LICENSE" + } + ] + }, + { + "identifier": "mit_old_style-41d50a44-94c9-224f-adc2-02743727be1a", + "license_expression": "mit-old-style", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ { - "type": "person", - "role": "maintainer", - "name": "zkat", - "email": "kat@sykosomatic.org", - "url": null + "score": 100.0, + "start_line": 9, + "end_line": 15, + "matched_length": 71, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE" } + ] + } + ], + "license_references": [ + { + "key": "ada-linking-exception", + "short_name": "Ada linking exception to GPL 2.0 or later", + "name": "Ada linking exception to GPL 2.0 or later", + "category": "Copyleft Limited", + "owner": "Dmitriy Anisimkov", + "is_builtin": true, + "is_exception": true, + "spdx_license_key": "LicenseRef-scancode-ada-linking-exception", + "other_urls": [ + "http://zlib-ada.sourceforge.net/", + "http://ada-ru.org/" + ], + "standard_notice": "---------------------------------------------------------------------------\n---\n-- This library 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 (at --\n-- 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-- General Public License for more details. --\n-- --\n-- You should have received a copy of the GNU General Public License --\n-- along with this library; if not, write to the Free Software Foundation,\n--\n-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --\n-- --\n-- As a special exception, if other files instantiate generics from this --\n-- unit, or you link this unit with other files to produce an executable,\n--\n-- this unit does not by itself cause the resulting executable to be --\n-- covered by the GNU General Public License. This exception does not --\n-- however invalidate any other reasons why the executable file might be --\n-- covered by the GNU Public License. --\n---------------------------------------------------------------------------\n---\n", + "text": "As a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." + }, + { + "key": "artistic-2.0", + "short_name": "Artistic 2.0", + "name": "Artistic License 2.0", + "category": "Copyleft Limited", + "owner": "Perl Foundation", + "homepage_url": "http://www.perlfoundation.org/", + "notes": "Per SPDX.org, this version was released 2006 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "Artistic-2.0", + "osi_license_key": "Artistic-2.0", + "text_urls": [ + "https://www.perlfoundation.org/artistic_license_2_0", + "https://www.perlfoundation.org/attachment/legal/artistic-2_0.txt" + ], + "osi_url": "https://www.opensource.org/licenses/artistic-license-2.0.php", + "faq_url": "https://www.perlfoundation.org/artistic-2-0-notes", + "other_urls": [ + "http://www.perlfoundation.org/artistic_license_2_0", + "https://opensource.org/licenses/artistic-license-2.0", + "https://www.opensource.org/licenses/artistic-license-2.0", + "https://www.perlfoundation.org/artistic-license-20.html" + ], + "text": "The Artistic License 2.0\n\nCopyright (c) 2000-2006, The Perl Foundation.\n\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThis license establishes the terms under which a given free software\nPackage may be copied, modified, distributed, and/or redistributed.\nThe intent is that the Copyright Holder maintains some artistic\ncontrol over the development of that Package while still keeping the\nPackage available as open source and free software.\n\nYou are always permitted to make arrangements wholly outside of this\nlicense directly with the Copyright Holder of a given Package. If the\nterms of this license do not permit the full use that you propose to\nmake of the Package, you should contact the Copyright Holder and seek\na different licensing arrangement.\n\nDefinitions\n\n\"Copyright Holder\" means the individual(s) or organization(s)\nnamed in the copyright notice for the entire Package.\n\n\"Contributor\" means any party that has contributed code or other\nmaterial to the Package, in accordance with the Copyright Holder's\nprocedures.\n\n\"You\" and \"your\" means any person who would like to copy,\ndistribute, or modify the Package.\n\n\"Package\" means the collection of files distributed by the\nCopyright Holder, and derivatives of that collection and/or of\nthose files. A given Package may consist of either the Standard\nVersion, or a Modified Version.\n\n\"Distribute\" means providing a copy of the Package or making it\naccessible to anyone else, or in the case of a company or\norganization, to others outside of your company or organization.\n\n\"Distributor Fee\" means any fee that you charge for Distributing\nthis Package or providing support for this Package to another\nparty. It does not mean licensing fees.\n\n\"Standard Version\" refers to the Package if it has not been\nmodified, or has been modified only in ways explicitly requested\nby the Copyright Holder.\n\n\"Modified Version\" means the Package, if it has been changed, and\nsuch changes were not explicitly requested by the Copyright\nHolder.\n\n\"Original License\" means this Artistic License as Distributed with\nthe Standard Version of the Package, in its current version or as\nit may be modified by The Perl Foundation in the future.\n\n\"Source\" form means the source code, documentation source, and\nconfiguration files for the Package.\n\n\"Compiled\" form means the compiled bytecode, object code, binary,\nor any other form resulting from mechanical transformation or\ntranslation of the Source form.\n\n\nPermission for Use and Modification Without Distribution\n\n(1) You are permitted to use the Standard Version and create and use\nModified Versions for any purpose without restriction, provided that\nyou do not Distribute the Modified Version.\n\n\nPermissions for Redistribution of the Standard Version\n\n(2) You may Distribute verbatim copies of the Source form of the\nStandard Version of this Package in any medium without restriction,\neither gratis or for a Distributor Fee, provided that you duplicate\nall of the original copyright notices and associated disclaimers. At\nyour discretion, such verbatim copies may or may not include a\nCompiled form of the Package.\n\n(3) You may apply any bug fixes, portability changes, and other\nmodifications made available from the Copyright Holder. The resulting\nPackage will still be considered the Standard Version, and as such\nwill be subject to the Original License.\n\n\nDistribution of Modified Versions of the Package as Source\n\n(4) You may Distribute your Modified Version as Source (either gratis\nor for a Distributor Fee, and with or without a Compiled form of the\nModified Version) provided that you clearly document how it differs\nfrom the Standard Version, including, but not limited to, documenting\nany non-standard features, executables, or modules, and provided that\nyou do at least ONE of the following:\n\n(a) make the Modified Version available to the Copyright Holder\nof the Standard Version, under the Original License, so that the\nCopyright Holder may include your modifications in the Standard\nVersion.\n\n(b) ensure that installation of your Modified Version does not\nprevent the user installing or running the Standard Version. In\naddition, the Modified Version must bear a name that is different\nfrom the name of the Standard Version.\n\n(c) allow anyone who receives a copy of the Modified Version to\nmake the Source form of the Modified Version available to others\nunder\n\n(i) the Original License or\n\n(ii) a license that permits the licensee to freely copy,\nmodify and redistribute the Modified Version using the same\nlicensing terms that apply to the copy that the licensee\nreceived, and requires that the Source form of the Modified\nVersion, and of any works derived from it, be made freely\navailable in that license fees are prohibited but Distributor\nFees are allowed.\n\n\nDistribution of Compiled Forms of the Standard Version\nor Modified Versions without the Source\n\n(5) You may Distribute Compiled forms of the Standard Version without\nthe Source, provided that you include complete instructions on how to\nget the Source of the Standard Version. Such instructions must be\nvalid at the time of your distribution. If these instructions, at any\ntime while you are carrying out such distribution, become invalid, you\nmust provide new instructions on demand or cease further distribution.\nIf you provide valid instructions or cease distribution within thirty\ndays after you become aware that the instructions are invalid, then\nyou do not forfeit any of your rights under this license.\n\n(6) You may Distribute a Modified Version in Compiled form without\nthe Source, provided that you comply with Section 4 with respect to\nthe Source of the Modified Version.\n\n\nAggregating or Linking the Package\n\n(7) You may aggregate the Package (either the Standard Version or\nModified Version) with other packages and Distribute the resulting\naggregation provided that you do not charge a licensing fee for the\nPackage. Distributor Fees are permitted, and licensing fees for other\ncomponents in the aggregation are permitted. The terms of this license\napply to the use and Distribution of the Standard or Modified Versions\nas included in the aggregation.\n\n(8) You are permitted to link Modified and Standard Versions with\nother works, to embed the Package in a larger work of your own, or to\nbuild stand-alone binary or bytecode versions of applications that\ninclude the Package, and Distribute the result without restriction,\nprovided the result does not expose a direct interface to the Package.\n\n\nItems That are Not Considered Part of a Modified Version\n\n(9) Works (including, but not limited to, modules and scripts) that\nmerely extend or make use of the Package, do not, by themselves, cause\nthe Package to be a Modified Version. In addition, such works are not\nconsidered parts of the Package itself, and are not subject to the\nterms of this license.\n\n\nGeneral Provisions\n\n(10) Any use, modification, and distribution of the Standard or\nModified Versions is governed by this Artistic License. By using,\nmodifying or distributing the Package, you accept this license. Do not\nuse, modify, or distribute the Package, if you do not accept this\nlicense.\n\n(11) If your Modified Version has been derived from a Modified\nVersion made by someone other than you, you are nevertheless required\nto ensure that your Modified Version complies with the requirements of\nthis license.\n\n(12) This license does not grant you the right to use any trademark,\nservice mark, tradename, or logo of the Copyright Holder.\n\n(13) This license includes the non-exclusive, worldwide,\nfree-of-charge patent license to make, have made, use, offer to sell,\nsell, import and otherwise transfer the Package with respect to any\npatent claims licensable by the Copyright Holder that are necessarily\ninfringed by the Package. If you institute patent litigation\n(including a cross-claim or counterclaim) against any party alleging\nthat the Package constitutes direct or contributory patent\ninfringement, then this Artistic License to you shall terminate on the\ndate that such litigation is filed.\n\n(14) Disclaimer of Warranty:\nTHE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS \"AS\nIS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\nNON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL\nLAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "key": "boost-1.0", + "short_name": "Boost 1.0", + "name": "Boost Software License 1.0", + "category": "Permissive", + "owner": "Boost", + "homepage_url": "http://www.boost.org/users/license.html", + "notes": "Per SPDX.org, this version was released 17 August 2003 This license is OSI\ncertifified.\n", + "is_builtin": true, + "spdx_license_key": "BSL-1.0", + "text_urls": [ + "http://www.boost.org/LICENSE_1_0.txt" + ], + "osi_url": "http://www.opensource.org/licenses/bsl1.0.html", + "other_urls": [ + "http://www.boost.org/users/license.html", + "http://www.opensource.org/licenses/BSL-1.0", + "https://opensource.org/licenses/BSL-1.0" + ], + "text": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE." + }, + { + "key": "cc-by-2.5", + "short_name": "CC-BY-2.5", + "name": "Creative Commons Attribution License 2.5", + "category": "Permissive", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/licenses/by/2.5/", + "is_builtin": true, + "spdx_license_key": "CC-BY-2.5", + "text_urls": [ + "http://creativecommons.org/licenses/by/2.5/legalcode" + ], + "other_urls": [ + "https://creativecommons.org/licenses/by/2.5/legalcode" + ], + "text": "Attribution 2.5\n\nCREATIVE 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.\nLicense\n\nTHE 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.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.\n\n1. Definitions\n\n\"Collective Work\" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.\n\"Derivative Work\" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image (\"synching\") will be considered a Derivative Work for the purpose of this License.\n\"Licensor\" means the individual or entity that offers the Work under the terms of this License.\n\"Original Author\" means the individual or entity who created the Work.\n\"Work\" means the copyrightable work of authorship offered under the terms of this License.\n\"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.\n2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.\n\n3. 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:\n\nto reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;\nto create and reproduce Derivative Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;\nto distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.\nFor the avoidance of doubt, where the work is a musical composition:\n\nPerformance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.\nMechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work (\"cover version\") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).\nWebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).\nThe above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.\n\n4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:\n\nYou may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(b), as requested.\nIf you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must 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 (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, 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 in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., \"French translation of the Work by Original Author,\" or \"Screenplay based on original Work by Original Author\"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.\n5. Representations, Warranties and Disclaimer\n\nUNLESS 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.\n\n6. 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.\n\n7. Termination\n\nThis License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.\nSubject 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.\n8. Miscellaneous\n\nEach time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.\nEach time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.\nIf 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.\nNo 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.\nThis 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.\nCreative 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.\n\nExcept for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use 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.\n\nCreative Commons may be contacted at http://creativecommons.org/." + }, + { + "key": "cc0-1.0", + "short_name": "CC0-1.0", + "name": "Creative Commons CC0 1.0 Universal", + "category": "Public Domain", + "owner": "Creative Commons", + "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", + "is_builtin": true, + "spdx_license_key": "CC0-1.0", + "text_urls": [ + "http://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "faq_url": "http://wiki.creativecommons.org/CC0_FAQ", + "other_urls": [ + "https://creativecommons.org/publicdomain/zero/1.0/legalcode" + ], + "text": "Creative Commons Legal Code\n\nCC0 1.0 Universal\n\nCREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\nLEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\nATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\nINFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\nREGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\nPROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\nTHE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\nHEREUNDER.\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work of\nauthorship and/or a database (each, a \"Work\").\n\nCertain owners wish to permanently relinquish those rights to a Work for\nthe purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without fear\nof later claims of infringement build upon, modify, incorporate in other\nworks, reuse and redistribute as freely as possible in any form whatsoever\nand for any purposes, including without limitation commercial purposes.\nThese owners may contribute to the Commons to promote the ideal of a free\nculture and the further production of creative, cultural and scientific\nworks, or to gain reputation or greater distribution for their Work in\npart through the use and efforts of others.\n\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\nis an owner of Copyright and Related Rights in the Work, voluntarily\nelects to apply CC0 to the Work and publicly distribute the Work under its\nterms, with knowledge of his or her Copyright and Related Rights in the\nWork and the meaning and intended legal effect of CC0 on those rights.\n\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright and\nRelated Rights\"). Copyright and Related Rights include, but are not\nlimited to, the following:\n\ni. the right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\nii. moral rights retained by the original author(s) and/or performer(s);\niii. publicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\niv. rights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\nv. rights protecting the extraction, dissemination, use and reuse of data\nin a Work;\nvi. database rights (such as those arising under Directive 96/9/EC of the\nEuropean Parliament and of the Council of 11 March 1996 on the legal\nprotection of databases, and under any national implementation\nthereof, including any amended or successor version of such\ndirective); and\nvii. other similar, equivalent or corresponding rights throughout the\nworld based on applicable law or treaty, and any national\nimplementations thereof.\n\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all of\nAffirmer's Copyright and Related Rights and associated claims and causes\nof action, whether now known or unknown (including existing as well as\nfuture claims and causes of action), in the Work (i) in all territories\nworldwide, (ii) for the maximum duration provided by applicable law or\ntreaty (including future time extensions), (iii) in any current or future\nmedium and for any number of copies, and (iv) for any purpose whatsoever,\nincluding without limitation commercial, advertising or promotional\npurposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\nmember of the public at large and to the detriment of Affirmer's heirs and\nsuccessors, fully intending that such Waiver shall not be subject to\nrevocation, rescission, cancellation, termination, or any other legal or\nequitable action to disrupt the quiet enjoyment of the Work by the public\nas contemplated by Affirmer's express Statement of Purpose.\n\n3. Public License Fallback. Should any part of the Waiver for any reason\nbe judged legally invalid or ineffective under applicable law, then the\nWaiver shall be preserved to the maximum extent permitted taking into\naccount Affirmer's express Statement of Purpose. In addition, to the\nextent the Waiver is so judged Affirmer hereby grants to each affected\nperson a royalty-free, non transferable, non sublicensable, non exclusive,\nirrevocable and unconditional license to exercise Affirmer's Copyright and\nRelated Rights in the Work (i) in all territories worldwide, (ii) for the\nmaximum duration provided by applicable law or treaty (including future\ntime extensions), (iii) in any current or future medium and for any number\nof copies, and (iv) for any purpose whatsoever, including without\nlimitation commercial, advertising or promotional purposes (the\n\"License\"). The License shall be deemed effective as of the date CC0 was\napplied by Affirmer to the Work. Should any part of the License for any\nreason be judged legally invalid or ineffective under applicable law, such\npartial invalidity or ineffectiveness shall not invalidate the remainder\nof the License, and in such case Affirmer hereby affirms that he or she\nwill not (i) exercise any of his or her remaining Copyright and Related\nRights in the Work or (ii) assert any associated claims and causes of\naction with respect to the Work, in either case contrary to Affirmer's\nexpress Statement of Purpose.\n\n4. Limitations and Disclaimers.\n\na. No trademark or patent rights held by Affirmer are waived, abandoned,\nsurrendered, licensed or otherwise affected by this document.\nb. Affirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties of\ntitle, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy, or\nthe present or absence of errors, whether or not discoverable, all to\nthe greatest extent permissible under applicable law.\nc. Affirmer disclaims responsibility for clearing rights of other persons\nthat may apply to the Work or any use thereof, including without\nlimitation any person's Copyright and Related Rights in the Work.\nFurther, Affirmer disclaims responsibility for obtaining any necessary\nconsents, permissions or other rights required for any use of the\nWork.\nd. Affirmer understands and acknowledges that Creative Commons is not a\nparty to this document and has no duty or obligation with respect to\nthis CC0 or use of the Work." + }, + { + "key": "gpl-2.0-plus", + "short_name": "GPL 2.0 or later", + "name": "GNU General Public License 2.0 or later", + "category": "Copyleft", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", + "notes": "Per SPDX.org, this license was released June 1991 This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "GPL-2.0-or-later", + "other_spdx_license_keys": [ + "GPL-2.0+", + "GPL 2.0+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "other_urls": [ + "http://www.opensource.org/licenses/GPL-2.0", + "https://opensource.org/licenses/GPL-2.0", + "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html" + ], + "minimum_coverage": 99, + "text": "This program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 2 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 51 Franklin\nStreet, Fifth Floor, Boston, MA 02110-1301, USA.\n\nGNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\nWe protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nGNU GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\n\nb) You must cause any work that you distribute or publish, that in\nwhole or in part contains or is derived from the Program or any\npart thereof, to be licensed as a whole at no charge to all third\nparties under the terms of this License.\n\nc) If the modified program normally reads commands interactively\nwhen run, you must cause it, when started running for such\ninteractive use in the most ordinary way, to print or display an\nannouncement including an appropriate copyright notice and a\nnotice that there is no warranty (or else, saying that you provide\na warranty) and that users may redistribute the program under\nthese conditions, and telling the user how to view a copy of this\nLicense. (Exception: if the Program itself is interactive but\ndoes not normally print such an announcement, your work based on\nthe Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\na) Accompany it with the complete corresponding machine-readable\nsource code, which must be distributed under the terms of Sections\n1 and 2 above on a medium customarily used for software interchange; or,\n\nb) Accompany it with a written offer, valid for at least three\nyears, to give any third party, for a charge no more than your\ncost of physically performing source distribution, a complete\nmachine-readable copy of the corresponding source code, to be\ndistributed under the terms of Sections 1 and 2 above on a medium\ncustomarily used for software interchange; or,\n\nc) Accompany it with the information you received as to the offer\nto distribute corresponding source code. (This alternative is\nallowed only for noncommercial distribution and only if you\nreceived the program in object code or executable form with such\nan offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\nGnomovision version 69, Copyright (C) year name of author\nGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the program\n`Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n, 1 April 1989\nTy Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs. If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License." + }, + { + "key": "lgpl-2.1-plus", + "short_name": "LGPL 2.1 or later", + "name": "GNU Lesser General Public License 2.1 or later", + "category": "Copyleft Limited", + "owner": "Free Software Foundation (FSF)", + "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", + "notes": "Per SPDX.org, this license was released February 1999. This license is OSI\ncertified.\n", + "is_builtin": true, + "spdx_license_key": "LGPL-2.1-or-later", + "other_spdx_license_keys": [ + "LGPL-2.1+" + ], + "text_urls": [ + "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "other_urls": [ + "http://www.gnu.org/copyleft/lesser.html", + "http://www.opensource.org/licenses/LGPL-2.1", + "https://opensource.org/licenses/LGPL-2.1", + "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html" + ], + "minimum_coverage": 99, + "text": "This library is free software; you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation; either version 2.1 of the License, or (at your option) any\nlater version.\n\nThis library is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this library; if not, write to the Free Software Foundation, Inc., 51\nFranklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nVersion 2.1, February 1999\n\nCopyright (C) 1991, 1999 Free Software Foundation, Inc.\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\nas the successor of the GNU Library Public License, version 2, hence\nthe version number 2.1.]\n\nPreamble\n\nThe licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\nThis license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\nWhen we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\nTo protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\nFor example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\nWe protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\nTo protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\n\nFinally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\nMost GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\nWhen a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\nWe call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\nFor example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard. To achieve this, non-free programs must be\nallowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\nIn other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\nAlthough the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\n\nGNU LESSER GENERAL PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\nA \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\nThe \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n\"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\nYou may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n\n2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\na) The modified work must itself be a software library.\n\nb) You must cause the files modified to carry prominent notices\nstating that you changed the files and the date of any change.\n\nc) You must cause the whole of the work to be licensed at no\ncharge to all third parties under the terms of this License.\n\nd) If a facility in the modified Library refers to a function or a\ntable of data to be supplied by an application program that uses\nthe facility, other than as an argument passed when the facility\nis invoked, then you must make a good faith effort to ensure that,\nin the event an application does not supply such function or\ntable, the facility still operates, and performs whatever part of\nits purpose remains meaningful.\n\n(For example, a function in a library to compute square roots has\na purpose that is entirely well-defined independent of the\napplication. Therefore, Subsection 2d requires that any\napplication-supplied function or table used by this function must\nbe optional: if the application does not supply it, the square\nroot function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\n\nOnce this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\nThis option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\nIf distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\nHowever, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\nWhen a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\nIf such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\nOtherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n\n6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\nYou must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\na) Accompany the work with the complete corresponding\nmachine-readable source code for the Library including whatever\nchanges were used in the work (which must be distributed under\nSections 1 and 2 above); and, if the work is an executable linked\nwith the Library, with the complete machine-readable \"work that\nuses the Library\", as object code and/or source code, so that the\nuser can modify the Library and then relink to produce a modified\nexecutable containing the modified Library. (It is understood\nthat the user who changes the contents of definitions files in the\nLibrary will not necessarily be able to recompile the application\nto use the modified definitions.)\n\nb) Use a suitable shared library mechanism for linking with the\nLibrary. A suitable mechanism is one that (1) uses at run time a\ncopy of the library already present on the user's computer system,\nrather than copying library functions into the executable, and (2)\nwill operate properly with a modified version of the library, if\nthe user installs one, as long as the modified version is\ninterface-compatible with the version that the work was made with.\n\nc) Accompany the work with a written offer, valid for at\nleast three years, to give the same user the materials\nspecified in Subsection 6a, above, for a charge no more\nthan the cost of performing this distribution.\n\nd) If distribution of the work is made by offering access to copy\nfrom a designated place, offer equivalent access to copy the above\nspecified materials from the same place.\n\ne) Verify that the user has already received a copy of these\nmaterials or that you have already sent this user a copy.\n\nFor an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\nIt may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n\n7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\na) Accompany the combined library with a copy of the same work\nbased on the Library, uncombined with any other library\nfacilities. This must be distributed under the terms of the\nSections above.\n\nb) Give prominent notice with the combined library of the fact\nthat part of it is a work based on the Library, and explaining\nwhere to find the accompanying uncombined form of the same work.\n\n8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n\n11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded. In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n\n14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS\n\n\nHow to Apply These Terms to Your New Libraries\n\nIf you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\nTo apply these terms, attach the following notices to the library. It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary. Here is a sample; alter the names:\n\nYoyodyne, Inc., hereby disclaims all copyright interest in the\nlibrary `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n, 1 April 1990\nTy Coon, President of Vice\n\nThat's all there is to it!" + }, + { + "key": "mit-old-style", + "short_name": "MIT Old Style", + "name": "MIT Old Style", + "category": "Permissive", + "owner": "MIT", + "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", + "is_builtin": true, + "spdx_license_key": "LicenseRef-scancode-mit-old-style", + "text_urls": [ + "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style" + ], + "text": "Permission to use, copy, modify, distribute, and sell this software and\nits documentation for any purpose is hereby granted without fee, provided that\nthe above copyright notice appear in all copies and that both that\ncopyright notice and this permission notice appear in supporting\ndocumentation. No representations are made about the suitability of this\nsoftware for any purpose. It is provided \"as is\" without express or\nimplied warranty." + }, + { + "key": "zlib", + "short_name": "ZLIB License", + "name": "ZLIB License", + "category": "Permissive", + "owner": "zlib", + "homepage_url": "http://www.zlib.net/", + "notes": "Per SPDX.org, this is OSI certified", + "is_builtin": true, + "spdx_license_key": "Zlib", + "text_urls": [ + "http://www.gzip.org/zlib/zlib_license.html" + ], + "osi_url": "http://www.opensource.org/licenses/zlib-license.php", + "faq_url": "http://www.gzip.org/zlib/zlib-faq.html", + "other_urls": [ + "http://www.opensource.org/licenses/Zlib", + "http://www.zlib.net/zlib_license.html", + "https://opensource.org/licenses/Zlib" + ], + "minimum_coverage": 50, + "text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." + } + ], + "license_rule_references": [ + { + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50 + }, + { + "license_expression": "cc0-1.0", + "rule_identifier": "cc0-1.0_155.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 981, + "rule_relevance": 100 + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 3, + "rule_relevance": 50 + }, + { + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "rule_length": 4, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "cc-by-2.5", + "rule_identifier": "cc-by-2.5_4.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 14, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_59.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 125, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_17.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 144, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" ], - "keywords": [ - "package manager", - "modules", - "install", - "package.json" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" ], - "homepage_url": "https://docs.npmjs.com/", - "download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "size": null, - "sha1": "a124386bce4a90506f28ad4b1d1a804a17baaf32", - "md5": null, - "sha256": null, - "sha512": null, - "bug_tracking_url": "http://github.com/npm/npm/issues", - "code_view_url": null, - "vcs_url": "git+https://github.com/npm/npm.git@fc7bbf03e39cc48a8924b90696d28345a6a90f3c", - "copyright": null, - "declared_license_expression": "artistic-2.0", - "declared_license_expression_spdx": "Artistic-2.0", - "license_detections": [ - { - "license_expression": "artistic-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 50.0, - "start_line": 1, - "end_line": 1, - "matched_length": 3, - "match_coverage": 100.0, - "matcher": "1-hash", - "license_expression": "artistic-2.0", - "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "matched_text": "Artistic-2.0" - } - ] - } + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" ], - "other_license_expression": null, - "other_license_expression_spdx": null, - "other_license_detections": [], - "extracted_license_statement": "['Artistic-2.0']", - "notice_text": null, - "source_packages": [], - "extra_data": {}, - "repository_homepage_url": "https://www.npmjs.com/package/npm", - "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", - "api_data_url": "https://registry.npmjs.org/npm/2.13.5", - "package_uid": "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758", - "datafile_paths": [ - "scan/package.json" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "referenced_filenames": [], + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 176, + "rule_relevance": 100 + }, + { + "license_expression": "boost-1.0", + "rule_identifier": "boost-1.0_21.RULE", + "referenced_filenames": [ + "LICENSE_1_0.txt" ], - "datasource_ids": [ - "npm_package_json" + "is_license_text": false, + "is_license_notice": true, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 32, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib.LICENSE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 132, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" ], - "purl": "pkg:npm/npm@2.13.5" + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "zlib", + "rule_identifier": "zlib_5.RULE", + "referenced_filenames": [ + "zlib.h" + ], + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": true, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 12, + "rule_relevance": 100 + }, + { + "license_expression": "mit-old-style", + "rule_identifier": "mit-old-style_cmr-no_1.RULE", + "referenced_filenames": [], + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "rule_length": 71, + "rule_relevance": 100 } ], "tallies": { @@ -4214,6 +4226,8 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4223,8 +4237,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "tallies": { "detected_license_expression": [ { @@ -4429,6 +4441,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4438,10 +4454,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -4542,6 +4554,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4551,10 +4567,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -4655,6 +4667,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "lgpl-2.1-plus", "detected_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ @@ -4681,7 +4697,7 @@ "license_clues": [], "percentage_of_license_text": 79.62, "for_license_detections": [ - "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" + "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4698,10 +4714,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -4758,6 +4770,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "cc-by-2.5", "detected_license_expression_spdx": "CC-BY-2.5", "license_detections": [ @@ -4784,7 +4800,7 @@ "license_clues": [], "percentage_of_license_text": 19.72, "for_license_detections": [ - "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4" + "cc_by_2_5-26ed35f7-744b-aeec-b973-783eeb6928b4" ], "copyrights": [ { @@ -4807,10 +4823,6 @@ "end_line": 10 } ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -4867,6 +4879,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "lgpl-2.1-plus", "detected_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ @@ -4893,7 +4909,7 @@ "license_clues": [], "percentage_of_license_text": 78.62, "for_license_detections": [ - "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" + "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -4910,10 +4926,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -4970,6 +4982,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -4985,10 +5001,6 @@ "end_line": 4 } ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -5045,6 +5057,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -5060,10 +5076,6 @@ "end_line": 3 } ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -5120,6 +5132,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "lgpl-2.1-plus", "detected_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ @@ -5146,7 +5162,7 @@ "license_clues": [], "percentage_of_license_text": 78.12, "for_license_detections": [ - "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" + "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -5163,10 +5179,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -5223,6 +5235,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -5238,10 +5254,6 @@ "end_line": 3 } ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -5298,6 +5310,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -5307,10 +5323,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -5367,6 +5379,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -5376,10 +5392,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -5456,6 +5468,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -5493,7 +5509,7 @@ "license_clues": [], "percentage_of_license_text": 42.86, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -5510,10 +5526,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -5570,6 +5582,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -5596,7 +5612,7 @@ "license_clues": [], "percentage_of_license_text": 69.57, "for_license_detections": [ - "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" + "zlib-866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -5613,10 +5629,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -5673,6 +5685,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -5710,7 +5726,7 @@ "license_clues": [], "percentage_of_license_text": 20.34, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -5727,10 +5743,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -5787,6 +5799,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "cc0-1.0", "detected_license_expression_spdx": "CC0-1.0", "license_detections": [ @@ -5813,15 +5829,11 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4" + "cc0_1_0-c7a96db7-de74-527f-da8d-b573175736b4" ], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -5878,43 +5890,6 @@ "is_media": false, "is_source": false, "is_script": false, - "detected_license_expression": "artistic-2.0", - "detected_license_expression_spdx": "Artistic-2.0", - "license_detections": [ - { - "license_expression": "artistic-2.0", - "detection_log": [ - "not-combined" - ], - "matches": [ - { - "score": 100.0, - "start_line": 198, - "end_line": 198, - "matched_length": 4, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "artistic-2.0", - "rule_identifier": "artistic-2.0_46.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" - } - ] - } - ], - "license_clues": [], - "percentage_of_license_text": 0.1, - "for_license_detections": [ - "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3" - ], - "copyrights": [], - "holders": [], - "authors": [ - { - "author": "name' Isaac Z.", - "start_line": 16, - "end_line": 17 - } - ], "package_data": [ { "type": "npm", @@ -8936,6 +8911,43 @@ "for_packages": [ "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" ], + "detected_license_expression": "artistic-2.0", + "detected_license_expression_spdx": "Artistic-2.0", + "license_detections": [ + { + "license_expression": "artistic-2.0", + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 198, + "end_line": 198, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "artistic-2.0", + "rule_identifier": "artistic-2.0_46.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE" + } + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 0.1, + "for_license_detections": [ + "artistic_2_0-8755d5fd-6521-04e7-ace1-4344b99647e3" + ], + "copyrights": [], + "holders": [], + "authors": [ + { + "author": "name' Isaac Z.", + "start_line": 16, + "end_line": 17 + } + ], "tallies": { "detected_license_expression": [ { @@ -8992,6 +9004,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -9001,10 +9017,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -9141,6 +9153,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -9150,10 +9166,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -9209,6 +9221,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "gpl-2.0-plus WITH ada-linking-exception", "detected_license_expression_spdx": "GPL-2.0-or-later WITH LicenseRef-scancode-ada-linking-exception", "license_detections": [ @@ -9235,7 +9251,7 @@ "license_clues": [], "percentage_of_license_text": 94.12, "for_license_detections": [ - "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c" + "gpl_2_0_plus_with_ada_linking_exception-ab43ac21-eeae-978d-b391-58e77ab54a8c" ], "copyrights": [ { @@ -9252,10 +9268,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -9312,6 +9324,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -9349,7 +9365,7 @@ "license_clues": [], "percentage_of_license_text": 42.86, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9366,10 +9382,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -9426,6 +9438,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -9463,7 +9479,7 @@ "license_clues": [], "percentage_of_license_text": 40.0, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9480,10 +9496,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -9540,6 +9552,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -9577,7 +9593,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -9594,10 +9610,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -9654,6 +9666,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -9663,10 +9679,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -9731,6 +9743,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -9752,10 +9768,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -9812,6 +9824,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "boost-1.0", "detected_license_expression_spdx": "BSL-1.0", "license_detections": [ @@ -9838,7 +9854,7 @@ "license_clues": [], "percentage_of_license_text": 88.89, "for_license_detections": [ - "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011" + "boost_1_0-b015a903-1844-66d2-fd10-6e5e24a7b011" ], "copyrights": [ { @@ -9855,10 +9871,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -9915,6 +9927,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -9924,10 +9940,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -9988,6 +10000,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -10014,7 +10030,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389" + "zlib-b242753c-a31d-3db4-b77a-92bdef5c5389" ], "copyrights": [ { @@ -10037,10 +10053,6 @@ "end_line": 12 } ], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -10097,6 +10109,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -10106,10 +10122,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -10170,6 +10182,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -10196,7 +10212,7 @@ "license_clues": [], "percentage_of_license_text": 44.44, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -10213,10 +10229,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -10273,6 +10285,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -10299,7 +10315,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -10316,10 +10332,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -10376,6 +10388,10 @@ "is_media": false, "is_source": false, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": null, "detected_license_expression_spdx": null, "license_detections": [], @@ -10385,10 +10401,6 @@ "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -10449,6 +10461,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "mit-old-style", "detected_license_expression_spdx": "LicenseRef-scancode-mit-old-style", "license_detections": [ @@ -10475,7 +10491,7 @@ "license_clues": [], "percentage_of_license_text": 79.78, "for_license_detections": [ - "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a" + "mit_old_style-41d50a44-94c9-224f-adc2-02743727be1a" ], "copyrights": [ { @@ -10492,10 +10508,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -10552,6 +10564,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -10578,7 +10594,7 @@ "license_clues": [], "percentage_of_license_text": 84.21, "for_license_detections": [ - "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" + "zlib-866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -10595,10 +10611,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -10655,6 +10667,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -10692,7 +10708,7 @@ "license_clues": [], "percentage_of_license_text": 37.5, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -10709,10 +10725,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { @@ -10769,6 +10781,10 @@ "is_media": false, "is_source": true, "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" + ], "detected_license_expression": "zlib", "detected_license_expression_spdx": "Zlib", "license_detections": [ @@ -10806,7 +10822,7 @@ "license_clues": [], "percentage_of_license_text": 20.34, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -10823,10 +10839,6 @@ } ], "authors": [], - "package_data": [], - "for_packages": [ - "pkg:npm/npm@2.13.5?uuid=fixed-uid-done-for-testing-5642512d1758" - ], "tallies": { "detected_license_expression": [ { diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines b/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines index 89f1f1f3c5f..36159a160be 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines +++ b/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines @@ -35,9 +35,9 @@ { "license_detections": [ { - "identifier": "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4", + "identifier": "cc0_1_0-c7a96db7-de74-527f-da8d-b573175736b4", "license_expression": "cc0-1.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -56,9 +56,9 @@ ] }, { - "identifier": "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3", + "identifier": "artistic_2_0-8755d5fd-6521-04e7-ace1-4344b99647e3", "license_expression": "artistic-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -77,9 +77,9 @@ ] }, { - "identifier": "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2", + "identifier": "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2", "license_expression": "zlib", - "occurrence_count": 9, + "count": 9, "detection_log": [ "not-combined" ], @@ -98,9 +98,9 @@ ] }, { - "identifier": "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23", + "identifier": "zlib-866b02ed-ff4b-379e-e254-8ebc15ceae23", "license_expression": "zlib", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -119,9 +119,9 @@ ] }, { - "identifier": "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c", + "identifier": "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c", "license_expression": "lgpl-2.1-plus", - "occurrence_count": 3, + "count": 3, "detection_log": [ "not-combined" ], @@ -140,9 +140,9 @@ ] }, { - "identifier": "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4", + "identifier": "cc_by_2_5-26ed35f7-744b-aeec-b973-783eeb6928b4", "license_expression": "cc-by-2.5", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -161,9 +161,9 @@ ] }, { - "identifier": "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c", + "identifier": "gpl_2_0_plus_with_ada_linking_exception-ab43ac21-eeae-978d-b391-58e77ab54a8c", "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -182,9 +182,9 @@ ] }, { - "identifier": "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011", + "identifier": "boost_1_0-b015a903-1844-66d2-fd10-6e5e24a7b011", "license_expression": "boost-1.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -203,9 +203,9 @@ ] }, { - "identifier": "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389", + "identifier": "zlib-b242753c-a31d-3db4-b77a-92bdef5c5389", "license_expression": "zlib", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -224,9 +224,9 @@ ] }, { - "identifier": "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a", + "identifier": "mit_old_style-41d50a44-94c9-224f-adc2-02743727be1a", "license_expression": "mit-old-style", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -1004,7 +1004,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4" + "cc0_1_0-c7a96db7-de74-527f-da8d-b573175736b4" ], "copyrights": [], "holders": [], @@ -1068,7 +1068,7 @@ "license_clues": [], "percentage_of_license_text": 0.1, "for_license_detections": [ - "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3" + "artistic_2_0-8755d5fd-6521-04e7-ace1-4344b99647e3" ], "copyrights": [], "holders": [], @@ -1233,7 +1233,7 @@ "license_clues": [], "percentage_of_license_text": 42.86, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -1309,7 +1309,7 @@ "license_clues": [], "percentage_of_license_text": 69.57, "for_license_detections": [ - "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" + "zlib-866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -1396,7 +1396,7 @@ "license_clues": [], "percentage_of_license_text": 20.34, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -1556,7 +1556,7 @@ "license_clues": [], "percentage_of_license_text": 79.62, "for_license_detections": [ - "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" + "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -1632,7 +1632,7 @@ "license_clues": [], "percentage_of_license_text": 19.72, "for_license_detections": [ - "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4" + "cc_by_2_5-26ed35f7-744b-aeec-b973-783eeb6928b4" ], "copyrights": [ { @@ -1714,7 +1714,7 @@ "license_clues": [], "percentage_of_license_text": 78.62, "for_license_detections": [ - "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" + "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -1886,7 +1886,7 @@ "license_clues": [], "percentage_of_license_text": 78.12, "for_license_detections": [ - "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" + "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -2063,7 +2063,7 @@ "license_clues": [], "percentage_of_license_text": 42.86, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2150,7 +2150,7 @@ "license_clues": [], "percentage_of_license_text": 40.0, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2237,7 +2237,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2313,7 +2313,7 @@ "license_clues": [], "percentage_of_license_text": 84.21, "for_license_detections": [ - "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" + "zlib-866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -2400,7 +2400,7 @@ "license_clues": [], "percentage_of_license_text": 37.5, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2487,7 +2487,7 @@ "license_clues": [], "percentage_of_license_text": 20.34, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2605,7 +2605,7 @@ "license_clues": [], "percentage_of_license_text": 94.12, "for_license_detections": [ - "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c" + "gpl_2_0_plus_with_ada_linking_exception-ab43ac21-eeae-978d-b391-58e77ab54a8c" ], "copyrights": [ { @@ -2777,7 +2777,7 @@ "license_clues": [], "percentage_of_license_text": 88.89, "for_license_detections": [ - "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011" + "boost_1_0-b015a903-1844-66d2-fd10-6e5e24a7b011" ], "copyrights": [ { @@ -2895,7 +2895,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389" + "zlib-b242753c-a31d-3db4-b77a-92bdef5c5389" ], "copyrights": [ { @@ -3019,7 +3019,7 @@ "license_clues": [], "percentage_of_license_text": 44.44, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -3095,7 +3095,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -3213,7 +3213,7 @@ "license_clues": [], "percentage_of_license_text": 79.78, "for_license_detections": [ - "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a" + "mit_old_style-41d50a44-94c9-224f-adc2-02743727be1a" ], "copyrights": [ { diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json index 85c78ff8465..20098c441eb 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json @@ -1,9 +1,9 @@ { "license_detections": [ { - "identifier": "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4", + "identifier": "cc0_1_0-c7a96db7-de74-527f-da8d-b573175736b4", "license_expression": "cc0-1.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -22,9 +22,9 @@ ] }, { - "identifier": "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3", + "identifier": "artistic_2_0-8755d5fd-6521-04e7-ace1-4344b99647e3", "license_expression": "artistic-2.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -43,9 +43,9 @@ ] }, { - "identifier": "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2", + "identifier": "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2", "license_expression": "zlib", - "occurrence_count": 9, + "count": 9, "detection_log": [ "not-combined" ], @@ -64,9 +64,9 @@ ] }, { - "identifier": "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23", + "identifier": "zlib-866b02ed-ff4b-379e-e254-8ebc15ceae23", "license_expression": "zlib", - "occurrence_count": 2, + "count": 2, "detection_log": [ "not-combined" ], @@ -85,9 +85,9 @@ ] }, { - "identifier": "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c", + "identifier": "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c", "license_expression": "lgpl-2.1-plus", - "occurrence_count": 3, + "count": 3, "detection_log": [ "not-combined" ], @@ -106,9 +106,9 @@ ] }, { - "identifier": "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4", + "identifier": "cc_by_2_5-26ed35f7-744b-aeec-b973-783eeb6928b4", "license_expression": "cc-by-2.5", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -127,9 +127,9 @@ ] }, { - "identifier": "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c", + "identifier": "gpl_2_0_plus_with_ada_linking_exception-ab43ac21-eeae-978d-b391-58e77ab54a8c", "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -148,9 +148,9 @@ ] }, { - "identifier": "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011", + "identifier": "boost_1_0-b015a903-1844-66d2-fd10-6e5e24a7b011", "license_expression": "boost-1.0", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -169,9 +169,9 @@ ] }, { - "identifier": "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389", + "identifier": "zlib-b242753c-a31d-3db4-b77a-92bdef5c5389", "license_expression": "zlib", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -190,9 +190,9 @@ ] }, { - "identifier": "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a", + "identifier": "mit_old_style-41d50a44-94c9-224f-adc2-02743727be1a", "license_expression": "mit-old-style", - "occurrence_count": 1, + "count": 1, "detection_log": [ "not-combined" ], @@ -1032,7 +1032,7 @@ "license_clues": [], "percentage_of_license_text": 79.62, "for_license_detections": [ - "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" + "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -1104,7 +1104,7 @@ "license_clues": [], "percentage_of_license_text": 19.72, "for_license_detections": [ - "cc_by_2_5#26ed35f7-744b-aeec-b973-783eeb6928b4" + "cc_by_2_5-26ed35f7-744b-aeec-b973-783eeb6928b4" ], "copyrights": [ { @@ -1182,7 +1182,7 @@ "license_clues": [], "percentage_of_license_text": 78.62, "for_license_detections": [ - "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" + "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -1342,7 +1342,7 @@ "license_clues": [], "percentage_of_license_text": 78.12, "for_license_detections": [ - "lgpl_2_1_plus#126b3e65-1401-e7e2-8359-60042a41771c" + "lgpl_2_1_plus-126b3e65-1401-e7e2-8359-60042a41771c" ], "copyrights": [ { @@ -1545,7 +1545,7 @@ "license_clues": [], "percentage_of_license_text": 42.86, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -1617,7 +1617,7 @@ "license_clues": [], "percentage_of_license_text": 69.57, "for_license_detections": [ - "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" + "zlib-866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -1700,7 +1700,7 @@ "license_clues": [], "percentage_of_license_text": 20.34, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -1772,7 +1772,7 @@ "license_clues": [], "percentage_of_license_text": 100.0, "for_license_detections": [ - "cc0_1_0#c7a96db7-de74-527f-da8d-b573175736b4" + "cc0_1_0-c7a96db7-de74-527f-da8d-b573175736b4" ], "copyrights": [], "holders": [], @@ -1832,7 +1832,7 @@ "license_clues": [], "percentage_of_license_text": 0.1, "for_license_detections": [ - "artistic_2_0#8755d5fd-6521-04e7-ace1-4344b99647e3" + "artistic_2_0-8755d5fd-6521-04e7-ace1-4344b99647e3" ], "copyrights": [], "holders": [], @@ -1974,7 +1974,7 @@ "license_clues": [], "percentage_of_license_text": 94.12, "for_license_detections": [ - "gpl_2_0_plus_with_ada_linking_exception#ab43ac21-eeae-978d-b391-58e77ab54a8c" + "gpl_2_0_plus_with_ada_linking_exception-ab43ac21-eeae-978d-b391-58e77ab54a8c" ], "copyrights": [ { @@ -2057,7 +2057,7 @@ "license_clues": [], "percentage_of_license_text": 42.86, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2140,7 +2140,7 @@ "license_clues": [], "percentage_of_license_text": 40.0, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2223,7 +2223,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2383,7 +2383,7 @@ "license_clues": [], "percentage_of_license_text": 88.89, "for_license_detections": [ - "boost_1_0#b015a903-1844-66d2-fd10-6e5e24a7b011" + "boost_1_0-b015a903-1844-66d2-fd10-6e5e24a7b011" ], "copyrights": [ { @@ -2493,7 +2493,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "zlib#b242753c-a31d-3db4-b77a-92bdef5c5389" + "zlib-b242753c-a31d-3db4-b77a-92bdef5c5389" ], "copyrights": [ { @@ -2609,7 +2609,7 @@ "license_clues": [], "percentage_of_license_text": 44.44, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2681,7 +2681,7 @@ "license_clues": [], "percentage_of_license_text": 50.0, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -2791,7 +2791,7 @@ "license_clues": [], "percentage_of_license_text": 79.78, "for_license_detections": [ - "mit_old_style#41d50a44-94c9-224f-adc2-02743727be1a" + "mit_old_style-41d50a44-94c9-224f-adc2-02743727be1a" ], "copyrights": [ { @@ -2863,7 +2863,7 @@ "license_clues": [], "percentage_of_license_text": 84.21, "for_license_detections": [ - "zlib#866b02ed-ff4b-379e-e254-8ebc15ceae23" + "zlib-866b02ed-ff4b-379e-e254-8ebc15ceae23" ], "copyrights": [ { @@ -2946,7 +2946,7 @@ "license_clues": [], "percentage_of_license_text": 37.5, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { @@ -3029,7 +3029,7 @@ "license_clues": [], "percentage_of_license_text": 20.34, "for_license_detections": [ - "zlib#9c6f31cf-0e74-9f00-c846-b76477e312c2" + "zlib-9c6f31cf-0e74-9f00-c846-b76477e312c2" ], "copyrights": [ { From b10a3992a7c0c8147c871fbbf85c5c61f6e9aa21 Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Tue, 20 Dec 2022 06:06:26 +0530 Subject: [PATCH 10/11] Update license rules reference data * Add rule text to reference data * Add rule url to reference data * make rule references unique * reorder rule references data * regenerate test expectations Signed-off-by: Ayan Sinha Mahapatra --- src/licensedcode/detection.py | 54 +- src/licensedcode/licenses_reference.py | 24 +- src/licensedcode/models.py | 71 +- .../filtered-expected.json | 10 +- .../filtered-expected2.json | 10 +- .../filtered-expected3.json | 10 +- ...e-reference-works-with-clues.expected.json | 270 ++- ...-matched-text-with-reference.expected.json | 54 +- .../scan-with-reference.expected.json | 54 +- .../license-expression/scan.expected.json | 20 +- .../spdx-expressions.expected.json | 20 +- .../license-ref-see-copying.expected.json | 24 +- .../license_reference/scan-ref.expected.json | 24 +- ...-unknown-reference-copyright.expected.json | 46 +- ...unknown-ref-to-key-file-root.expected.json | 112 +- .../license_url/license_url.expected.json | 9 +- .../package/package.expected.json | 28 +- .../scan/e2fsprogs-expected.json | 20 +- .../scan/ffmpeg-license.expected.json | 172 +- .../sqlite/sqlite.expected.json | 1623 +---------------- .../text/scan-diag.expected.json | 20 +- .../plugin_license/text/scan.expected.json | 20 +- .../text_long_lines/scan-diag.expected.json | 20 +- .../text_long_lines/scan.expected.json | 20 +- ...n-unknown-intro-dual-license.expected.json | 40 +- ...tro-eclipse-foundation-tycho.expected.json | 476 ++--- ...own-intro-eclipse-foundation.expected.json | 20 +- ...nown-intro-long-gaps-between.expected.json | 40 +- ...intro-with-imperfect-matches.expected.json | 40 +- .../policy-codebase.expected.json | 50 +- .../plugin_license_text/scan.expected.json | 78 +- .../activemq-camel.expected.json | 22 +- .../google-built-collection.expected.json | 20 +- .../flutter_playtabs_bridge.expected.json | 78 +- .../nanopb.expected.json | 62 +- .../reference-to-package/base.expected.json | 48 +- .../fusiondirectory.expected.json | 1082 +++-------- .../google_appengine_sdk.expected.json | 210 +-- .../paddlenlp.expected.json | 140 +- .../physics.expected.json | 222 +-- .../reference-to-package/samba.expected.json | 386 ++-- tests/scancode/data/info/all.expected.json | 26 +- .../data/info/all.rooted.expected.json | 26 +- .../scancode/data/license_text/test.expected | 10 +- .../plugin_only_findings/basic.expected.json | 26 +- .../component-package-build-expected.json | 90 +- .../component-package-expected.json | 90 +- .../license-holder-rollup-expected.json | 60 +- ...iple-same-holder-and-license-expected.json | 40 +- ...t-counted-in-license-holders-expected.json | 84 +- .../package-fileset-expected.json | 64 +- .../package-manifest-expected.json | 30 +- ...rectory-with-minority-origin-expected.json | 40 +- ...return-nested-local-majority-expected.json | 84 +- .../data/score/basic-expected.json | 30 +- ...consistent_licenses_copyleft-expected.json | 40 +- .../score/no_license_ambiguity-expected.json | 76 +- .../data/score/no_license_text-expected.json | 10 +- ...nflicting_license_categories.expected.json | 70 +- .../summary/end-2-end/bug-1141.expected.json | 20 +- .../holders/clear_holder.expected.json | 80 +- .../holders/combined_holders.expected.json | 80 +- .../license_ambiguity/ambiguous.expected.json | 20 +- .../unambiguous.expected.json | 40 +- .../multiple_package_data.expected.json | 100 +- .../single_file/single_file.expected.json | 10 +- .../summary-without-holder-pypi.expected.json | 142 +- ...holder_from_package_resource.expected.json | 20 +- .../with_package_data.expected.json | 70 +- .../without_package_data.expected.json | 40 +- .../tallies/end-2-end/bug-1141.expected.json | 20 +- .../full_tallies/tallies.expected.json | 270 +-- .../tallies_by_facet.expected.json | 270 +-- .../tallies_details.expected.json | 270 +-- ...lies_key_files-details.expected.json-lines | 250 +-- .../tallies_key_files.expected.json | 250 +-- 76 files changed, 2119 insertions(+), 6478 deletions(-) diff --git a/src/licensedcode/detection.py b/src/licensedcode/detection.py index 108c7891f2f..732a02defc6 100644 --- a/src/licensedcode/detection.py +++ b/src/licensedcode/detection.py @@ -26,16 +26,17 @@ from licensedcode.cache import get_cache from licensedcode.match import LicenseMatch from licensedcode.match import set_matched_lines -from licensedcode.models import Rule +from licensedcode.models import UnDetectedRule from licensedcode.models import BasicRule -from licensedcode.models import SpdxRule from licensedcode.models import compute_relevance +from licensedcode.models import get_rule_object_from_match from licensedcode.spans import Span from licensedcode.tokenize import query_tokenizer from licensedcode.query import Query from licensedcode.query import LINES_THRESHOLD from licensedcode.licenses_reference import extract_license_rules_reference_data + """ LicenseDetection data structure and processing. @@ -612,24 +613,8 @@ def matches_from_license_match_mappings(license_match_mappings): license_matches = [] for license_match_mapping in license_match_mappings: - matcher = license_match_mapping["matcher"] - rule_identifier = license_match_mapping["rule_identifier"] - if matcher == "1-spdx-id": - rule = SpdxRule( - license_expression=license_match_mapping["license_expression"], - text=license_match_mapping.get("matched_text", None), - length=license_match_mapping["matched_length"], - ) - elif rule_identifier == 'package-manifest-unknown': - rule = UnDetectedRule( - license_expression=license_match_mapping["license_expression"], - text=license_match_mapping.get("matched_text", None), - length=license_match_mapping["matched_length"], - ) - else: - rule = get_index().rules_by_id[rule_identifier] - - license_rule_reference = rule.get_reference_data(matcher=matcher) + rule = get_rule_object_from_match(license_match_mapping) + license_rule_reference = rule.get_reference_data() license_matches.append( LicenseMatchFromResult.from_license_match_mapping( license_match_mapping=license_match_mapping, @@ -1182,35 +1167,6 @@ def get_undetected_matches(query_string): return matches -@attr.s(slots=True, repr=False) -class UnDetectedRule(Rule): - """ - A specialized rule object that is used for the special case of extracted - license statements without any valid license detection. - - Since there is a license where there is a non empty extracted license - statement (typically found in a package manifest), if there is no license - detected by scancode, it would be incorrect to not point out that there - is a license (though undetected). - """ - - def __attrs_post_init__(self, *args, **kwargs): - self.identifier = 'package-manifest-' + self.license_expression - expression = self.licensing.parse(self.license_expression) - self.license_expression = expression.render() - self.license_expression_object = expression - self.is_license_tag = True - self.is_small = False - self.relevance = 100 - self.has_stored_relevance = True - - def load(self): - raise NotImplementedError - - def dump(self): - raise NotImplementedError - - def get_matches_from_detections(license_detections): """ Return a `license_matches` list of LicenseMatch objects from a diff --git a/src/licensedcode/licenses_reference.py b/src/licensedcode/licenses_reference.py index 8ae6e961a27..66582654c5e 100644 --- a/src/licensedcode/licenses_reference.py +++ b/src/licensedcode/licenses_reference.py @@ -11,6 +11,8 @@ import logging from license_expression import Licensing +from licensedcode.models import get_rule_object_from_match + TRACE_REFERENCE = os.environ.get('SCANCODE_DEBUG_LICENSE_REFERENCE', False) TRACE_EXTRACT = os.environ.get('SCANCODE_DEBUG_LICENSE_REFERENCE_EXTRACT', False) @@ -208,17 +210,13 @@ def get_unique_rule_references(rules_data): """ Get a list of unique Rule data from a list of Rule data. """ - rule_identifiers = set() - rules_references = [] + rules_references_by_identifier = {} for rule_data in rules_data: - rule_identifier = rule_data['rule_identifier'] - if rule_identifier not in rule_identifiers: - rule_identifiers.update(rule_identifier) - rules_references.append(rule_data) + rules_references_by_identifier[rule_identifier] = rule_data - return rules_references + return rules_references_by_identifier.values() def extract_license_rules_reference_data(license_detections=None, license_matches=None): @@ -273,17 +271,21 @@ def extract_license_rules_reference_data(license_detections=None, license_matche def get_reference_data(match): + rule = get_rule_object_from_match(license_match_mapping=match) + ref_data = {} - ref_data['license_expression'] = match['license_expression'] ref_data['rule_identifier'] = match['rule_identifier'] - ref_data['referenced_filenames'] = match.pop('referenced_filenames') + ref_data['license_expression'] = match['license_expression'] + ref_data['rule_url'] = rule.rule_url + ref_data['rule_relevance'] = match.pop('rule_relevance') + ref_data['rule_length'] = match.pop('rule_length') ref_data['is_license_text'] = match.pop('is_license_text') ref_data['is_license_notice'] = match.pop('is_license_notice') ref_data['is_license_reference'] = match.pop('is_license_reference') ref_data['is_license_tag'] = match.pop('is_license_tag') ref_data['is_license_intro'] = match.pop('is_license_intro') - ref_data['rule_length'] = match.pop('rule_length') - ref_data['rule_relevance'] = match.pop('rule_relevance') + ref_data['referenced_filenames'] = match.pop('referenced_filenames') + ref_data['rule_text'] = rule.text _ = match.pop('licenses') diff --git a/src/licensedcode/models.py b/src/licensedcode/models.py index 202583d3d5d..25a6a257a9d 100644 --- a/src/licensedcode/models.py +++ b/src/licensedcode/models.py @@ -33,6 +33,7 @@ from licensedcode import MIN_MATCH_HIGH_LENGTH from licensedcode import MIN_MATCH_LENGTH from licensedcode import SMALL_RULE +from licensedcode.cache import get_index from licensedcode.frontmatter import SaneYAMLHandler from licensedcode.frontmatter import FrontmatterPost from licensedcode.frontmatter import dumps_frontmatter @@ -1577,6 +1578,18 @@ class BasicRule: 'position is using the magic -1 key.') ) + @property + def rule_url(self): + if 'spdx-license-identifier' in self.identifier: + return None + elif self.identifier == 'package-manifest-unknown': + return None + elif self.is_from_license: + return SCANCODE_LICENSE_RULE_URL.format(self.identifier) + else: + return SCANCODE_RULE_URL.format(self.identifier) + + def rule_file( self, rules_data_dir=rules_data_dir, @@ -1772,20 +1785,13 @@ def get_min_high_matched_length(self, unique=False): return (self.min_high_matched_length_unique if unique else self.min_high_matched_length) - def get_reference_data(self, matcher=None): + def get_reference_data(self): data = {} data['license_expression'] = self.license_expression data['rule_identifier'] = self.identifier - if matcher: - if matcher == "1-spdx-id": - data['rule_url'] = None - elif self.is_from_license: - data['rule_url'] = SCANCODE_LICENSE_RULE_URL.format(self.identifier) - else: - data['rule_url'] = SCANCODE_RULE_URL.format(self.identifier) - + data['rule_url'] = self.rule_url data['referenced_filenames'] = self.referenced_filenames data['is_license_text'] = self.is_license_text data['is_license_notice'] = self.is_license_notice @@ -2228,6 +2234,24 @@ def set_relevance(self): self.relevance = computed_relevance +def get_rule_object_from_match(license_match_mapping): + rule_identifier = license_match_mapping["rule_identifier"] + if 'spdx-license-identifier' in rule_identifier: + return SpdxRule( + license_expression=license_match_mapping["license_expression"], + text=license_match_mapping.get("matched_text", None), + length=license_match_mapping["matched_length"], + ) + elif rule_identifier == 'package-manifest-unknown': + return UnDetectedRule( + license_expression=license_match_mapping["license_expression"], + text=license_match_mapping.get("matched_text", None), + length=license_match_mapping["matched_length"], + ) + else: + return get_index().rules_by_id[rule_identifier] + + def compute_relevance(length): """ Return a computed ``relevance`` given a ``length`` and a threshold. @@ -2445,6 +2469,35 @@ def compute_unique_id(self): return hashlib.md5(self.text.encode('utf-8')).hexdigest() +@attr.s(slots=True, repr=False) +class UnDetectedRule(Rule): + """ + A specialized rule object that is used for the special case of extracted + license statements without any valid license detection. + + Since there is a license where there is a non empty extracted license + statement (typically found in a package manifest), if there is no license + detected by scancode, it would be incorrect to not point out that there + is a license (though undetected). + """ + + def __attrs_post_init__(self, *args, **kwargs): + self.identifier = 'package-manifest-' + self.license_expression + expression = self.licensing.parse(self.license_expression) + self.license_expression = expression.render() + self.license_expression_object = expression + self.is_license_tag = True + self.is_small = False + self.relevance = 100 + self.has_stored_relevance = True + + def load(self): + raise NotImplementedError + + def dump(self): + raise NotImplementedError + + def _print_rule_stats(): """ Print rules statistics. diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected.json index 14410dadcbf..58164a889d6 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected.json @@ -47,16 +47,18 @@ ], "license_rule_references": [ { - "license_expression": "apache-1.1", "rule_identifier": "apache-1.1_63.RULE", - "referenced_filenames": [], + "license_expression": "apache-1.1", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-1.1_63.RULE", + "rule_relevance": 100, + "rule_length": 367, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 367, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "is licensed under the\nApache Software License, Version 1.1, which is reproduced below.\n\n/*\n* The Apache Software License, Version 1.1\n*\n*\n* Copyright (c) The Apache Software Foundation. All rights\n* 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. The end-user documentation included with the redistribution,\n* if any, must include the following acknowledgment:\n* \"This product includes software developed by the\n* Apache Software Foundation (http://www.apache.org/).\"\n* Alternately, this acknowledgment may appear in the software itself,\n* if and wherever such third-party acknowledgments normally appear.\n*\n* 4. The names \"Xerces\" and \"Apache Software Foundation\" must\n* not be used to endorse or promote products derived from this\n* software without prior written permission. For written\n* permission, please contact apache@apache.org.\n*\n* 5. Products derived from this software may not be called \"Apache\",\n* nor may \"Apache\" appear in their name, without prior written\n* permission of the Apache Software Foundation.\n*\n* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR\n* ITS 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.\n* ====================================================================\n*\n* This software consists of voluntary contributions made by many\n* individuals on behalf of the Apache Software Foundation and was\n* originally based on software copyright (c) 1999, International\n* Business Machines, Inc., http://www.ibm.com. For more\n* information on the Apache Software Foundation, please see\n* ." } ], "files": [ diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json index bf9acb9110a..637c503a560 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json @@ -39,16 +39,18 @@ ], "license_rule_references": [ { - "license_expression": "pygres-2.2", "rule_identifier": "pygres-2.2_2.RULE", - "referenced_filenames": [], + "license_expression": "pygres-2.2", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pygres-2.2_2.RULE", + "rule_relevance": 100, + "rule_length": 145, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 145, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose, without fee, and without a written\nagreement is hereby granted, provided that the above copyright notice and\nthis paragraph and the following two paragraphs appear in all copies or in\nany new file that contains a substantial portion of this file.\n\nIN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,\nSPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,\nARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE\nAUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED\nTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN \"AS IS\" BASIS, AND THE\nAUTHOR HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,\nENHANCEMENTS, OR MODIFICATIONS." } ], "files": [ diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json index c0d3ceaad0e..8041d3aa681 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json @@ -40,16 +40,18 @@ ], "license_rule_references": [ { - "license_expression": "pcre", "rule_identifier": "pcre.LICENSE", - "referenced_filenames": [], + "license_expression": "pcre", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pcre.LICENSE", + "rule_relevance": 100, + "rule_length": 303, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 303, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "PCRE LICENCE\n------------\n\nPCRE is a library of functions to support regular expressions whose\nsyntax and semantics are as close as possible to those of the Perl 5\nlanguage.\n\nWritten by: Philip Hazel \nUniversity of Cambridge Computing Service, Cambridge, England.\nPhone: +44 1223 334714.\nCopyright (c) 1997-2001 University of Cambridge\n\nPermission is granted to anyone to use this software for any purpose on\nany computer system, and to redistribute it freely, subject to the\nfollowing restrictions:\n\n1. This software is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n2. The origin of this software must not be misrepresented, either by\nexplicit claim or by omission. In practice, this means that if you use\nPCRE in software which you distribute to others, commercially or\notherwise, you must put a sentence like this\n\"Regular expression support is provided by the PCRE library package,\nwhich is open source software, written by Philip Hazel, and copyright by\nthe University of Cambridge, England\"\n\nsomewhere reasonably visible in your documentation and in any relevant\nfiles or online help data or similar.\n\nA reference to the ftp site for the source, that is, to\nftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\nshould also be given in the documentation.\n\n3. Altered versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n4. If PCRE is embedded in any software that is released under the GNU\nGeneral Purpose Licence (GPL), or Lesser General Purpose Licence (LGPL),\nthen the terms of that licence shall supersede any condition above with\nwhich it is incompatible.\n\nThe documentation for PCRE, supplied in the \"doc\" directory, is\ndistributed under the same terms as the software itself.\n\nEnd PCRE LICENCE" } ], "files": [ diff --git a/tests/licensedcode/data/licenses_reference_reporting/license-reference-works-with-clues.expected.json b/tests/licensedcode/data/licenses_reference_reporting/license-reference-works-with-clues.expected.json index d94829e4c10..5081ac0c172 100644 --- a/tests/licensedcode/data/licenses_reference_reporting/license-reference-works-with-clues.expected.json +++ b/tests/licensedcode/data/licenses_reference_reporting/license-reference-works-with-clues.expected.json @@ -661,328 +661,270 @@ ], "license_rule_references": [ { - "license_expression": "python", "rule_identifier": "python_not_not-a-license_269.RULE", - "referenced_filenames": [], + "license_expression": "python", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_not_not-a-license_269.RULE", + "rule_relevance": 100, + "rule_length": 35, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "All Python releases are Open Source (see http://www.opensource.org for\nthe Open Source Definition). Historically, most, but not all, Python\nreleases have also been GPL-compatible; the table below summarizes\nthe various releases." }, { - "license_expression": "other-copyleft", "rule_identifier": "other-copyleft_24.RULE", - "referenced_filenames": [], + "license_expression": "other-copyleft", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-copyleft_24.RULE", + "rule_relevance": 80, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 80 + "referenced_filenames": [], + "rule_text": "GPL-compatible" }, { - "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_200.RULE", - "referenced_filenames": [], + "license_expression": "gpl-1.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_200.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_351.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 85 + "rule_text": "under the GPL" }, { - "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl-1.0-plus_351.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "gpl-1.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", + "rule_relevance": 85, "rule_length": 2, - "rule_relevance": 85 - }, - { - "license_expression": "other-copyleft", - "rule_identifier": "other-copyleft_24.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 80 + "referenced_filenames": [], + "rule_text": "the GPL" }, { - "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_194.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "gpl-1.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_194.RULE", + "rule_relevance": 100, "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "other-copyleft", - "rule_identifier": "other-copyleft_24.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 80 - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_351.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 85 + "rule_text": "released under the GPL" }, { - "license_expression": "python", "rule_identifier": "python_2019.RULE", - "referenced_filenames": [], + "license_expression": "python", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/python_2019.RULE", + "rule_relevance": 100, + "rule_length": 1530, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1530, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON\n===============================================================\n\nPYTHON SOFTWARE FOUNDATION LICENSE VERSION 2\n--------------------------------------------\n\n1. This LICENSE AGREEMENT is between the Python Software Foundation\n(\"PSF\"), and the Individual or Organization (\"Licensee\") accessing and\notherwise using this software (\"Python\") in source or binary form and\nits associated documentation.\n\n2. Subject to the terms and conditions of this License Agreement, PSF hereby\ngrants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,\nanalyze, test, perform and/or display publicly, prepare derivative works,\ndistribute, and otherwise use Python alone or in any derivative version,\nprovided, however, that PSF's License Agreement and PSF's notice of copyright,\ni.e., \"Copyright (c) Python Software Foundation;\nAll Rights Reserved\" are retained in Python alone or in any derivative version\nprepared by Licensee.\n\n3. In the event Licensee prepares a derivative work that is based on\nor incorporates Python or any part thereof, and wants to make\nthe derivative work available to others as provided herein, then\nLicensee hereby agrees to include in any such work a brief summary of\nthe changes made to Python.\n\n4. PSF is making Python available to Licensee on an \"AS IS\"\nbasis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\nFOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS\nA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,\nOR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n6. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n7. Nothing in this License Agreement shall be deemed to create any\nrelationship of agency, partnership, or joint venture between PSF and\nLicensee. This License Agreement does not grant permission to use PSF\ntrademarks or trade name in a trademark sense to endorse or promote\nproducts or services of Licensee, or any third party.\n\n8. By copying, installing or otherwise using Python, Licensee\nagrees to be bound by the terms and conditions of this License\nAgreement.\n\n\nBEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0\n-------------------------------------------\n\nBEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1\n\n1. This LICENSE AGREEMENT is between BeOpen.com (\"BeOpen\"), having an\noffice at 160 Saratoga Avenue, Santa Clara, CA 95051, and the\nIndividual or Organization (\"Licensee\") accessing and otherwise using\nthis software in source or binary form and its associated\ndocumentation (\"the Software\").\n\n2. Subject to the terms and conditions of this BeOpen Python License\nAgreement, BeOpen hereby grants Licensee a non-exclusive,\nroyalty-free, world-wide license to reproduce, analyze, test, perform\nand/or display publicly, prepare derivative works, distribute, and\notherwise use the Software alone or in any derivative version,\nprovided, however, that the BeOpen Python License is retained in the\nSoftware, alone or in any derivative version prepared by Licensee.\n\n3. BeOpen is making the Software available to Licensee on an \"AS IS\"\nbasis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE\nSOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS\nAS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY\nDERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n5. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n6. This License Agreement shall be governed by and interpreted in all\nrespects by the law of the State of California, excluding conflict of\nlaw provisions. Nothing in this License Agreement shall be deemed to\ncreate any relationship of agency, partnership, or joint venture\nbetween BeOpen and Licensee. This License Agreement does not grant\npermission to use BeOpen trademarks or trade names in a trademark\nsense to endorse or promote products or services of Licensee, or any\nthird party. As an exception, the \"BeOpen Python\" logos available at\nhttp://www.pythonlabs.com/logos.html may be used according to the\npermissions granted on that web page.\n\n7. By copying, installing or otherwise using the software, Licensee\nagrees to be bound by the terms and conditions of this License\nAgreement.\n\n\nCNRI LICENSE AGREEMENT FOR PYTHON 1.6.1\n---------------------------------------\n\n1. This LICENSE AGREEMENT is between the Corporation for National\nResearch Initiatives, having an office at 1895 Preston White Drive,\nReston, VA 20191 (\"CNRI\"), and the Individual or Organization\n(\"Licensee\") accessing and otherwise using Python 1.6.1 software in\nsource or binary form and its associated documentation.\n\n2. Subject to the terms and conditions of this License Agreement, CNRI\nhereby grants Licensee a nonexclusive, royalty-free, world-wide\nlicense to reproduce, analyze, test, perform and/or display publicly,\nprepare derivative works, distribute, and otherwise use Python 1.6.1\nalone or in any derivative version, provided, however, that CNRI's\nLicense Agreement and CNRI's notice of copyright, i.e., \"Copyright (c)\n1995-2001 Corporation for National Research Initiatives; All Rights\nReserved\" are retained in Python 1.6.1 alone or in any derivative\nversion prepared by Licensee. Alternately, in lieu of CNRI's License\nAgreement, Licensee may substitute the following text (omitting the\nquotes): \"Python 1.6.1 is made available subject to the terms and\nconditions in CNRI's License Agreement. This Agreement together with\nPython 1.6.1 may be located on the Internet using the following\nunique, persistent identifier (known as a handle): 1895.22/1013. This\nAgreement may also be obtained from a proxy server on the Internet\nusing the following URL: http://hdl.handle.net/1895.22/1013\".\n\n3. In the event Licensee prepares a derivative work that is based on\nor incorporates Python 1.6.1 or any part thereof, and wants to make\nthe derivative work available to others as provided herein, then\nLicensee hereby agrees to include in any such work a brief summary of\nthe changes made to Python 1.6.1.\n\n4. CNRI is making Python 1.6.1 available to Licensee on an \"AS IS\"\nbasis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR\nIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND\nDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS\nFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT\nINFRINGE ANY THIRD PARTY RIGHTS.\n\n5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\n1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS\nA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,\nOR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.\n\n6. This License Agreement will automatically terminate upon a material\nbreach of its terms and conditions.\n\n7. This License Agreement shall be governed by the federal\nintellectual property law of the United States, including without\nlimitation the federal copyright law, and, to the extent such\nU.S. federal law does not apply, by the law of the Commonwealth of\nVirginia, excluding Virginia's conflict of law provisions.\nNotwithstanding the foregoing, with regard to derivative works based\non Python 1.6.1 that incorporate non-separable material that was\npreviously distributed under the GNU General Public License (GPL), the\nlaw of the Commonwealth of Virginia shall govern this License\nAgreement only as to issues arising under or with respect to\nParagraphs 4, 5, and 7 of this License Agreement. Nothing in this\nLicense Agreement shall be deemed to create any relationship of\nagency, partnership, or joint venture between CNRI and Licensee. This\nLicense Agreement does not grant permission to use CNRI trademarks or\ntrade name in a trademark sense to endorse or promote products or\nservices of Licensee, or any third party.\n\n8. By clicking on the \"ACCEPT\" button where indicated, or by copying,\ninstalling or otherwise using Python 1.6.1, Licensee agrees to be\nbound by the terms and conditions of this License Agreement.\n\nACCEPT\n\n\nCWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2\n--------------------------------------------------\n\nCopyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,\nThe Netherlands. All rights reserved.\n\nPermission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose and without fee is hereby granted,\nprovided that the above copyright notice appear in all copies and that\nboth that copyright notice and this permission notice appear in\nsupporting documentation, and that the name of Stichting Mathematisch\nCentrum or CWI not be used in advertising or publicity pertaining to\ndistribution of the software without specific, written prior\npermission.\n\nSTICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO\nTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE\nFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\nOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." }, { - "license_expression": "python-cwi", "rule_identifier": "python-cwi.LICENSE", - "referenced_filenames": [], + "license_expression": "python-cwi", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/python-cwi.LICENSE", + "rule_relevance": 100, + "rule_length": 145, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 145, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose and without fee is hereby granted,\nprovided that the above copyright notice appear in all copies and that\nboth that copyright notice and this permission notice appear in\nsupporting documentation, and that the name of Stichting Mathematisch\nCentrum or CWI not be used in advertising or publicity pertaining to\ndistribution of the software without specific, written prior\npermission.\n\nSTICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO\nTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE\nFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\nOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." }, { - "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_50.RULE", - "referenced_filenames": [], + "license_expression": "unknown-license-reference", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_50.RULE", + "rule_relevance": 100, + "rule_length": 6, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "is licensed under the following terms:" }, { - "license_expression": "bzip2-libbzip-2010", "rule_identifier": "bzip2-libbzip-2010.LICENSE", - "referenced_filenames": [], + "license_expression": "bzip2-libbzip-2010", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE", + "rule_relevance": 100, + "rule_length": 233, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 233, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100 + "rule_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. The origin of this software must not be misrepresented; you must\nnot claim that you wrote the original software. If you use this\nsoftware in a product, an acknowledgment in the product\ndocumentation would be appreciated but is not required.\n\n3. Altered source versions must be plainly marked as such, and must\nnot be misrepresented as being the original software.\n\n4. The name of the author may not be used to endorse or promote\nproducts derived from this software without specific prior written\npermission.\n\nTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS\nOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\nWHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." }, { - "license_expression": "sleepycat", "rule_identifier": "sleepycat_5.RULE", - "referenced_filenames": [], + "license_expression": "sleepycat", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/sleepycat_5.RULE", + "rule_relevance": 100, + "rule_length": 174, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 174, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in the\ndocumentation and/or other materials provided with the distribution.\n3. Redistributions in any form must be accompanied by information on\nhow to obtain complete source code for the DB software and any\naccompanying software that uses the DB software. The source code\nmust either be included in the distribution or be available for no\nmore than the cost of distribution plus a nominal fee, and must be\nfreely redistributable under reasonable conditions. For an\nexecutable file, complete source code means the source code for all\nmodules it contains. It does not include source code for modules or\nfiles that typically accompany the major components of the operating\nsystem on which the executable file runs." }, { - "license_expression": "bsd-simplified", "rule_identifier": "bsd-simplified_242.RULE", - "referenced_filenames": [], + "license_expression": "bsd-simplified", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_242.RULE", + "rule_relevance": 100, + "rule_length": 175, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 175, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in the\ndocumentation and/or other materials provided with the distribution.\n\nThis software is provided by ``as is'' and\nany express or implied warranties, including, but not limited to, the\nimplied warranties of merchantability and fitness for a particular purpose\nare disclaimed. in no event shall be liable\nfor any direct, indirect, incidental, special, exemplary, or consequential\ndamages (including, but not limited to, procurement of substitute goods\nor services; loss of use, data, or profits; or business interruption)\nhowever caused and on any theory of liability, whether in contract, strict\nliability, or tort (including negligence or otherwise) arising in any way\nout of the use of this software, even if advised of the possibility of\nsuch damage." }, { - "license_expression": "bsd-new", "rule_identifier": "bsd-new_19.RULE", - "referenced_filenames": [], + "license_expression": "bsd-new", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_19.RULE", + "rule_relevance": 100, + "rule_length": 213, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 213, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_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." }, { - "license_expression": "bsd-new", "rule_identifier": "bsd-new_943.RULE", - "referenced_filenames": [], + "license_expression": "bsd-new", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_943.RULE", + "rule_relevance": 100, + "rule_length": 213, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 213, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100 + "rule_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in the\ndocumentation and/or other materials provided with the distribution.\n3. Neither the name of the University nor the names of its contributors\nmay be used to endorse or promote products derived from this software\nwithout specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY HARVARD AND ITS CONTRIBUTORS ``AS IS'' AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL HARVARD OR ITS CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\nOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\nOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE." }, { - "license_expression": "openssl-ssleay", "rule_identifier": "openssl-ssleay_43.RULE", - "referenced_filenames": [], + "license_expression": "openssl-ssleay", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_43.RULE", + "rule_relevance": 100, + "rule_length": 56, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 56, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "The OpenSSL toolkit stays under a dual license, i.e. both the conditions of\nthe OpenSSL License and the original SSLeay license apply to the toolkit.\nSee below for the actual license texts. Actually both licenses are BSD-style\nOpen Source licenses. In case of any license issues related to OpenSSL\nplease contact openssl-core@openssl.org." }, { - "license_expression": "openssl-ssleay", "rule_identifier": "openssl-ssleay_2.RULE", - "referenced_filenames": [], + "license_expression": "openssl-ssleay", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl-ssleay_2.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "OpenSSL License" }, { - "license_expression": "openssl", "rule_identifier": "openssl_1.RULE", - "referenced_filenames": [], + "license_expression": "openssl", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/openssl_1.RULE", + "rule_relevance": 100, + "rule_length": 332, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 332, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_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*/" }, { - "license_expression": "ssleay-windows", "rule_identifier": "ssleay-windows.LICENSE", - "referenced_filenames": [], + "license_expression": "ssleay-windows", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ssleay-windows.LICENSE", + "rule_relevance": 100, + "rule_length": 453, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 453, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100 + "rule_text": "This package is an SSL implementation written by Eric Young (eay@cryptsoft.com).\nThe implementation was written so as to conform with Netscapes SSL.\n\nThis library is free for commercial and non-commercial use as long as\nthe following conditions are aheared to. The following conditions\napply to all code found in this distribution, be it the RC4, RSA,\nlhash, DES, etc., code; not just the SSL code. The SSL documentation\nincluded with this distribution is covered by the same copyright terms\nexcept that the holder is Tim Hudson (tjh@cryptsoft.com).\n\nCopyright remains Eric Young's, and as such any Copyright notices in\nthe code are not to be removed.\nIf this package is used in a product, Eric Young should be given attribution\nas the author of the parts of the library used.\nThis can be in the form of a textual message at program startup or\nin documentation (online or textual) provided with the package.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n1. Redistributions of source code must retain the copyright\nnotice, this list of conditions and the following disclaimer.\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in the\ndocumentation and/or other materials provided with the distribution.\n3. All advertising materials mentioning features or use of this software\nmust display the following acknowledgement:\n\"This product includes cryptographic software written by\nEric Young (eay@cryptsoft.com)\"\nThe word 'cryptographic' can be left out if the rouines from the library\nbeing used are not cryptographic related :-).\n4. If you include any Windows specific code (or a derivative thereof) from\nthe apps directory (application code) you must include an acknowledgement:\n\"This product includes software written by Tim Hudson (tjh@cryptsoft.com)\"\n\nTHIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\nOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\nOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE.\n\nThe licence and distribution terms for any publically available version or\nderivative of this code cannot be changed. i.e. this code cannot simply be\ncopied and put under another distribution licence\n[including the GNU Public Licence.]" }, { - "license_expression": "tcl", "rule_identifier": "tcl.LICENSE", - "referenced_filenames": [], + "license_expression": "tcl", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/tcl.LICENSE", + "rule_relevance": 100, + "rule_length": 345, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 345, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_50.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100 + "rule_text": "This software is copyrighted by the Regents of the University of\nCalifornia, Sun Microsystems, Inc., Scriptics Corporation, ActiveState\nCorporation and other parties. The following terms apply to all files\nassociated with the software unless explicitly disclaimed in\nindividual files.\n\nThe authors hereby grant permission to use, copy, modify, distribute,\nand license this software and its documentation for any purpose, provided\nthat existing copyright notices are retained in all copies and that this\nnotice is included verbatim in any distributions. No written agreement,\nlicense, or royalty fee is required for any of the authorized uses.\nModifications to this software may be copyrighted by their authors\nand need not follow the licensing terms described here, provided that\nthe new terms are clearly indicated on the first page of each file where\nthey apply.\n\nIN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY\nFOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES\nARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY\nDERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,\nINCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.\nTHIS SOFTWARE IS PROVIDED ON AN \"AS IS\" BASIS, AND THE AUTHORS AND\nDISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT,\nUPDATES, ENHANCEMENTS, OR MODIFICATIONS.\n\nGOVERNMENT USE: If you are acquiring this software on behalf of the\nU.S. government, the Government shall have only \"Restricted Rights\"\nin the software and related documentation as defined in the Federal\nAcquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you\nare acquiring the software on behalf of the Department of Defense, the\nsoftware shall be classified as \"Commercial Computer Software\" and the\nGovernment shall have only \"Restricted Rights\" as defined in Clause\n252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the\nauthors grant the U.S. Government and others acting in its behalf\npermission to use and distribute the software in accordance with the\nterms specified in this license." }, { - "license_expression": "tcl", "rule_identifier": "tcl_14.RULE", - "referenced_filenames": [], + "license_expression": "tcl", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/tcl_14.RULE", + "rule_relevance": 100, + "rule_length": 341, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 341, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This software is copyrighted by the Regents of the University of\nCalifornia, Sun Microsystems, Inc., and other parties. The following terms\napply to all files associated with the software unless explicitly\ndisclaimed in individual files.\n\nThe authors hereby grant permission to use, copy, modify, distribute,\nand license this software and its documentation for any purpose,\nprovided that existing copyright notices are retained in all copies\nand that this notice is included verbatim in any distributions. No\nwritten agreement, license, or royalty fee is required for any of the\nauthorized uses. Modifications to this software may be copyrighted by\ntheir authors and need not follow the licensing terms described here,\nprovided that the new terms are clearly indicated on the first page\nof each file where they apply.\n\nIN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY\nFOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES\nARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY\nDERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.\n\nTHE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,\nINCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND\nNON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN \"AS IS\" BASIS, AND\nTHE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE\nMAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.\n\nGOVERNMENT USE: If you are acquiring this software on behalf of the\nU.S. government, the Government shall have only \"Restricted Rights\"\nin the software and related documentation as defined in the Federal\nAcquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you\nare acquiring the software on behalf of the Department of Defense,\nthe software shall be classified as \"Commercial Computer Software\"\nand the Government shall have only \"Restricted Rights\" as defined in\nClause 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing,\nthe authors grant the U.S. Government and others acting in its behalf\npermission to use and distribute the software in accordance with the\nterms specified in this license." } ], "files": [ diff --git a/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json b/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json index 2c87c14a544..307d4293114 100644 --- a/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json +++ b/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json @@ -260,66 +260,62 @@ ], "license_rule_references": [ { - "license_expression": "artistic-2.0 OR mit", "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "referenced_filenames": [], + "license_expression": "artistic-2.0 OR mit", + "rule_url": null, + "rule_relevance": 100, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Artistic-2.0 OR MIT" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "rule_relevance": 100, + "rule_length": 119, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100 + "referenced_filenames": [ + "NOTICE" + ], + "rule_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\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless 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." }, { - "license_expression": "mit OR bsd-simplified", "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, + "license_expression": "mit OR bsd-simplified", + "rule_url": null, + "rule_relevance": 100, "rule_length": 8, - "rule_relevance": 100 - }, - { - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "SPDX-License-Identifier: MIT or BSD-2-Clause" }, { - "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "referenced_filenames": [], + "license_expression": "artistic-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "license: Artistic-2.0" } ], "files": [ diff --git a/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json b/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json index 24246ccebad..1158fef8505 100644 --- a/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json +++ b/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json @@ -260,66 +260,62 @@ ], "license_rule_references": [ { - "license_expression": "artistic-2.0 OR mit", "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "referenced_filenames": [], + "license_expression": "artistic-2.0 OR mit", + "rule_url": null, + "rule_relevance": 100, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Artistic-2.0 OR MIT" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "rule_relevance": 100, + "rule_length": 119, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100 + "referenced_filenames": [ + "NOTICE" + ], + "rule_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\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless 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." }, { - "license_expression": "mit OR bsd-simplified", "rule_identifier": "spdx-license-identifier: mit OR bsd-simplified", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, + "license_expression": "mit OR bsd-simplified", + "rule_url": null, + "rule_relevance": 100, "rule_length": 8, - "rule_relevance": 100 - }, - { - "license_expression": "artistic-2.0 OR mit", - "rule_identifier": "spdx-license-identifier: artistic-2.0 OR mit", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": null }, { - "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "referenced_filenames": [], + "license_expression": "artistic-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "license: Artistic-2.0" } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json b/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json index cf80bedb295..75556c015b7 100644 --- a/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json @@ -132,28 +132,32 @@ ], "license_rule_references": [ { - "license_expression": "apache-1.0", "rule_identifier": "apache-1.0.LICENSE", - "referenced_filenames": [], + "license_expression": "apache-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", + "rule_relevance": 100, + "rule_length": 368, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 368, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the\ndistribution.\n\n3. All advertising materials mentioning features or use of this\nsoftware must display the following acknowledgment:\n\"This product includes software developed by the Apache Group\nfor use in the Apache HTTP server project (http://www.apache.org/).\"\n\n4. The names \"Apache Server\" and \"Apache Group\" must not be used to\nendorse or promote products derived from this software without\nprior written permission. For written permission, please contact\napache@apache.org.\n\n5. Products derived from this software may not be called \"Apache\"\nnor may \"Apache\" appear in their names without prior written\npermission of the Apache Group.\n\n6. Redistributions of any form whatsoever must retain the following\nacknowledgment:\n\"This product includes software developed by the Apache Group\nfor use in the Apache HTTP server project (http://www.apache.org/).\"\n\nTHIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\nEXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\nITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\nSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\nOF THE POSSIBILITY OF SUCH DAMAGE.\n====================================================================\n\nThis software consists of voluntary contributions made by many\nindividuals on behalf of the Apache Group and was originally based\non public domain software written at the National Center for\nSupercomputing Applications, University of Illinois, Urbana-Champaign.\nFor more information on the Apache Group and the Apache HTTP server\nproject, please see ." }, { - "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "referenced_filenames": [], + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_url": null, + "rule_relevance": 100, + "rule_length": 13, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": null } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json b/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json index 046e0024516..31eabac0a90 100644 --- a/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json +++ b/tests/licensedcode/data/plugin_license/license-expression/spdx-expressions.expected.json @@ -87,28 +87,32 @@ ], "license_rule_references": [ { - "license_expression": "zlib", "rule_identifier": "spdx-license-identifier: zlib", - "referenced_filenames": [], + "license_expression": "zlib", + "rule_url": null, + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "https://licenses.nuget.org/Zlib" }, { - "license_expression": "apache-2.0", "rule_identifier": "spdx-license-identifier: apache-2.0", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": null, + "rule_relevance": 100, + "rule_length": 6, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "SPDX-License-Identifier: Apache-2.0" } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json b/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json index 9b25d8134ab..6539ad4ecb3 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/license-ref-see-copying.expected.json @@ -74,30 +74,34 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "license: Apache-2.0" }, { - "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_91.RULE", - "referenced_filenames": [ - "COPYING" - ], + "license_expression": "unknown-license-reference", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_91.RULE", + "rule_relevance": 100, + "rule_length": 8, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100 + "referenced_filenames": [ + "COPYING" + ], + "rule_text": "This is free software. See COPYING for details." } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json b/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json index c4d5c9cebd1..edc4954c195 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/scan-ref.expected.json @@ -69,30 +69,34 @@ ], "license_rule_references": [ { - "license_expression": "mit", "rule_identifier": "mit_66.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_66.RULE", + "rule_relevance": 100, + "rule_length": 10, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "that is licensed under [MIT](http://opensource.org/licenses/MIT)." }, { - "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_25.RULE", - "referenced_filenames": [ - "LICENSE" - ], + "license_expression": "unknown-license-reference", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_25.RULE", + "rule_relevance": 100, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [ + "LICENSE" + ], + "rule_text": "license\": \"SEE LICENSE IN LICENSE" } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json b/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json index 78582d43911..dbf2adb3185 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/scan-unknown-reference-copyright.expected.json @@ -83,58 +83,50 @@ ], "license_rule_references": [ { - "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_30.RULE", - "referenced_filenames": [ - "Copyright" - ], + "license_expression": "unknown-license-reference", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_30.RULE", + "rule_relevance": 100, + "rule_length": 8, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100 + "referenced_filenames": [ + "Copyright" + ], + "rule_text": "See Copyright for the status of this software." }, { - "license_expression": "x11-xconsortium-veillard", "rule_identifier": "x11-xconsortium-veillard.LICENSE", - "referenced_filenames": [], + "license_expression": "x11-xconsortium-veillard", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE", + "rule_relevance": 100, + "rule_length": 199, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 199, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_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 fur- nished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nExcept as contained in this notice, the name of Daniel Veillard 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 him." }, { + "rule_identifier": "unknown-license-reference_108.RULE", "license_expression": "unknown-license-reference", - "rule_identifier": "unknown-license-reference_30.RULE", - "referenced_filenames": [ - "Copyright" - ], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_108.RULE", + "rule_relevance": 100, + "rule_length": 9, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "unknown-license-reference_108.RULE", "referenced_filenames": [ "Copyright" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100 + "rule_text": "Copy: See Copyright for the status of this software." } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json b/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json index 223c2dd816d..c06f31befff 100644 --- a/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json +++ b/tests/licensedcode/data/plugin_license/license_reference/unknown-ref-to-key-file-root.expected.json @@ -164,134 +164,106 @@ ], "license_rule_references": [ { - "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see-license_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], + "license_expression": "unknown-license-reference", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 + "referenced_filenames": [ + "LICENSE" + ], + "rule_text": "See LICENSE" }, { - "license_expression": "mit", "rule_identifier": "mit_26.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "The MIT License (MIT)" }, { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." }, { - "license_expression": "unknown-license-reference", - "rule_identifier": "unknown-license-reference_see-license_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "rule_identifier": "mit_1114.RULE", + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1114.RULE", + "rule_relevance": 100, "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "unknown-license-reference_see-license_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit_1114.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 + "rule_text": "'MIT, Copyright" }, { - "license_expression": "mit", "rule_identifier": "mit_30.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "License: MIT" }, { - "license_expression": "mit", "rule_identifier": "mit_31.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_31.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "License: MIT license" }, { - "license_expression": "mit", "rule_identifier": "mit_1187.RULE", - "referenced_filenames": [ - "LICENSE" - ], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_1187.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "unknown-license-reference_see-license_1.RULE", "referenced_filenames": [ "LICENSE" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 + "rule_text": "License: MIT (see LICENSE)" } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json b/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json index e5b92106fb7..c3f14e7ad63 100644 --- a/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json +++ b/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json @@ -42,16 +42,17 @@ ], "license_rule_references": [ { - "license_expression": "apache-1.0", "rule_identifier": "apache-1.0.LICENSE", - "referenced_filenames": [], + "license_expression": "apache-1.0", + "rule_relevance": 100, + "rule_length": 368, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 368, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the\ndistribution.\n\n3. All advertising materials mentioning features or use of this\nsoftware must display the following acknowledgment:\n\"This product includes software developed by the Apache Group\nfor use in the Apache HTTP server project (http://www.apache.org/).\"\n\n4. The names \"Apache Server\" and \"Apache Group\" must not be used to\nendorse or promote products derived from this software without\nprior written permission. For written permission, please contact\napache@apache.org.\n\n5. Products derived from this software may not be called \"Apache\"\nnor may \"Apache\" appear in their names without prior written\npermission of the Apache Group.\n\n6. Redistributions of any form whatsoever must retain the following\nacknowledgment:\n\"This product includes software developed by the Apache Group\nfor use in the Apache HTTP server project (http://www.apache.org/).\"\n\nTHIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\nEXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\nITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\nSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\nOF THE POSSIBILITY OF SUCH DAMAGE.\n====================================================================\n\nThis software consists of voluntary contributions made by many\nindividuals on behalf of the Apache Group and was originally based\non public domain software written at the National Center for\nSupercomputing Applications, University of Illinois, Urbana-Champaign.\nFor more information on the Apache Group and the Apache HTTP server\nproject, please see ." } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/package/package.expected.json b/tests/licensedcode/data/plugin_license/package/package.expected.json index 51e35baf671..c5477866a52 100644 --- a/tests/licensedcode/data/plugin_license/package/package.expected.json +++ b/tests/licensedcode/data/plugin_license/package/package.expected.json @@ -180,40 +180,30 @@ ], "license_rule_references": [ { - "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100 - }, - { "license_expression": "mit", - "rule_identifier": "spdx-license-identifier: mit", - "referenced_filenames": [], + "rule_relevance": 100, + "rule_length": 1, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "MIT" }, { - "license_expression": "mit", "rule_identifier": "mit_272.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "\"licenses\": [ { \"type\": \"MIT\"," } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json b/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json index 2b98a00a431..bf0e890a8a4 100644 --- a/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json +++ b/tests/licensedcode/data/plugin_license/scan/e2fsprogs-expected.json @@ -92,28 +92,32 @@ ], "license_rule_references": [ { - "license_expression": "lgpl-2.0-plus", "rule_identifier": "lgpl-2.0-plus_65.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-2.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_65.RULE", + "rule_relevance": 100, + "rule_length": 139, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 139, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "** NOTE! The following LGPL license applies to the tdb\n** library. This does NOT imply that all of Samba is released\n** under the LGPL\n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA" }, { - "license_expression": "gpl-2.0 AND patent-disclaimer", "rule_identifier": "gpl-2.0_and_patent-disclaimer_3.RULE", - "referenced_filenames": [], + "license_expression": "gpl-2.0 AND patent-disclaimer", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_and_patent-disclaimer_3.RULE", + "rule_relevance": 100, + "rule_length": 185, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 185, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "* This program is free software; you can redistribute it and/or modify it\n* under the terms of version 2 of the GNU General Public License as\n* published by the Free Software Foundation.\n*\n* This program is distributed in the hope that it would be useful, but\n* WITHOUT ANY WARRANTY; without even the implied warranty of\n* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n*\n* Further, this software is distributed without any warranty that it is\n* free of the rightful claim of any third person regarding infringement\n* or the like. Any license provided herein, whether implied or\n* otherwise, applies only to this software file. Patent licenses, if\n* any, provided herein do not apply to combinations of this program with\n* other software, or any other product whatsoever.\n*\n* You should have received a copy of the GNU General Public License along\n* with this program; if not, write the Free Software Foundation, Inc.,\n* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n*\n* Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,\n* Mountain View, CA 94043, or:\n*\n* http://www.sgi.com\n*\n* For further information regarding this notice, see:\n*\n* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/" } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json b/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json index bdecf4b68d1..08062e81807 100644 --- a/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json +++ b/tests/licensedcode/data/plugin_license/scan/ffmpeg-license.expected.json @@ -561,202 +561,206 @@ ], "license_rule_references": [ { - "license_expression": "lgpl-2.1-plus AND other-permissive AND gpl-2.0-plus", "rule_identifier": "lgpl-2.1-plus_and__other-permissive_and_gpl-2.0-plus_1.RULE", - "referenced_filenames": [ - "COPYING.LGPLv2.1", - "COPYING.GPLv2" - ], + "license_expression": "lgpl-2.1-plus AND other-permissive AND gpl-2.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_and__other-permissive_and_gpl-2.0-plus_1.RULE", + "rule_relevance": 100, + "rule_length": 110, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 110, - "rule_relevance": 100 + "referenced_filenames": [ + "COPYING.LGPLv2.1", + "COPYING.GPLv2" + ], + "rule_text": "# License\n\nMost files in FFmpeg are under the GNU Lesser General Public License version 2.1\nor later (LGPL v2.1+). Read the file `COPYING.LGPLv2.1` for details. Some other\nfiles have MIT/X11/BSD-style licenses. In combination the LGPL v2.1+ applies to\nFFmpeg.\n\nSome optional parts of FFmpeg are licensed under the GNU General Public License\nversion 2 or later (GPL v2+). See the file `COPYING.GPLv2` for details. None of\nthese parts are used by default, you have to explicitly pass `--enable-gpl` to\nconfigure to activate them. In this case, FFmpeg's license changes to GPL v2+.\n\nSpecifically, the GPL parts of FFmpeg are:" }, { - "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_word_only.RULE", - "referenced_filenames": [], + "license_expression": "gpl-1.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE", + "rule_relevance": 50, + "rule_length": 1, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 50 + "referenced_filenames": [], + "rule_text": "GPL" }, { - "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_134.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-3.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_134.RULE", + "rule_relevance": 100, + "rule_length": 6, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "version 3 of the (L)GPL" }, { - "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_130.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-3.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_130.RULE", + "rule_relevance": 99, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 99 + "referenced_filenames": [], + "rule_text": "--enable-version3" }, { - "license_expression": "lgpl-3.0 AND gpl-3.0", "rule_identifier": "lgpl-3.0_and_gpl-3.0_2.RULE", - "referenced_filenames": [ - "COPYING.LGPLv3", - "COPYING.GPLv3" - ], + "license_expression": "lgpl-3.0 AND gpl-3.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_and_gpl-3.0_2.RULE", + "rule_relevance": 100, + "rule_length": 25, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 25, - "rule_relevance": 100 + "referenced_filenames": [ + "COPYING.LGPLv3", + "COPYING.GPLv3" + ], + "rule_text": "Read the file `COPYING.LGPLv3` or, if you have enabled GPL parts,\n`COPYING.GPLv3` to learn the exact legal terms that apply in this case." }, { - "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_235.RULE", - "referenced_filenames": [], + "license_expression": "unknown-license-reference", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_235.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": true, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "under other licensing terms" }, { - "license_expression": "ijg", "rule_identifier": "ijg_28.RULE", - "referenced_filenames": [], + "license_expression": "ijg", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/ijg_28.RULE", + "rule_relevance": 100, + "rule_length": 12, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "taken from libjpeg, see the top of the files for licensing details." }, { - "license_expression": "mit", "rule_identifier": "mit_576.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_576.RULE", + "rule_relevance": 100, + "rule_length": 5, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "is under the expat license." }, { - "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_70.RULE", - "referenced_filenames": [], + "license_expression": "gpl-1.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_70.RULE", + "rule_relevance": 90, + "rule_length": 2, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 90 + "referenced_filenames": [], + "rule_text": "under GPL" }, { - "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_870.RULE", - "referenced_filenames": [], + "license_expression": "gpl-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_870.RULE", + "rule_relevance": 100, + "rule_length": 20, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 20, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "When combining them with FFmpeg, FFmpeg needs to be licensed as GPL as well by\npassing `--enable-gpl` to configure." }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_411.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_411.RULE", + "rule_relevance": 100, + "rule_length": 8, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_130.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 99 + "rule_text": "libraries are under the Apache License 2.0." }, { - "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "referenced_filenames": [], + "license_expression": "gpl-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", + "rule_relevance": 100, + "rule_length": 1, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "GPLv2" }, { - "license_expression": "lgpl-2.0-plus", "rule_identifier": "lgpl_bare_single_word.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-2.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl_bare_single_word.RULE", + "rule_relevance": 75, + "rule_length": 1, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 75 + "referenced_filenames": [], + "rule_text": "LGPL" }, { - "license_expression": "proprietary-license", "rule_identifier": "proprietary-license_490.RULE", - "referenced_filenames": [], + "license_expression": "proprietary-license", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/proprietary-license_490.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl_bare_single_word.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 75 + "rule_text": "--enable-nonfree" } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json index 78987770168..0b30899d3da 100644 --- a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json +++ b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json @@ -41,1636 +41,17 @@ ], "license_rule_references": [ { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, + "rule_relevance": 100, "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", - "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 - }, - { - "license_expression": "blessing", - "rule_identifier": "blessing.LICENSE", "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 + "rule_text": "The author disclaims copyright to this source code.\nIn place of a legal notice, here is a blessing:\nMay you do good and not evil.\nMay you find forgiveness for yourself and forgive others.\nMay you share freely, never taking more than you give." } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json b/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json index d24bd0b5532..30bcb95f3af 100644 --- a/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json +++ b/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json @@ -135,28 +135,32 @@ ], "license_rule_references": [ { - "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "referenced_filenames": [], + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_url": null, + "rule_relevance": 100, + "rule_length": 13, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" }, { - "license_expression": "fsf-ap", "rule_identifier": "fsf-ap.LICENSE", - "referenced_filenames": [], + "license_expression": "fsf-ap", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE", + "rule_relevance": 100, + "rule_length": 35, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Copying and distribution of this file, with or without modification, are\npermitted in any medium without royalty provided the copyright notice\nand this notice are preserved. This file is offered as-is, without any\nwarranty." } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/text/scan.expected.json b/tests/licensedcode/data/plugin_license/text/scan.expected.json index 9a9386290f7..1eb288f6969 100644 --- a/tests/licensedcode/data/plugin_license/text/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/text/scan.expected.json @@ -135,28 +135,32 @@ ], "license_rule_references": [ { - "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "referenced_filenames": [], + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_url": null, + "rule_relevance": 100, + "rule_length": 13, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" }, { - "license_expression": "fsf-ap", "rule_identifier": "fsf-ap.LICENSE", - "referenced_filenames": [], + "license_expression": "fsf-ap", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/fsf-ap.LICENSE", + "rule_relevance": 100, + "rule_length": 35, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Copying and distribution of this file, with or without modification, are\npermitted in any medium without royalty provided the copyright notice\nand this notice are preserved. This file is offered as-is, without any\nwarranty." } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json b/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json index 125a3674e6c..5ccbae1e7d8 100644 --- a/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json +++ b/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json @@ -132,28 +132,32 @@ ], "license_rule_references": [ { - "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "referenced_filenames": [], + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_url": null, + "rule_relevance": 100, + "rule_length": 13, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" }, { - "license_expression": "unlicense", "rule_identifier": "unlicense.LICENSE", - "referenced_filenames": [], + "license_expression": "unlicense", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE", + "rule_relevance": 100, + "rule_length": 198, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 198, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or\ndistribute this software, either in source code form or as a compiled\nbinary, for any purpose, commercial or non-commercial, and by any\nmeans.\n\nIn jurisdictions that recognize copyright laws, the author or authors\nof this software dedicate any and all copyright interest in the\nsoftware to the public domain. We make this dedication for the benefit\nof the public at large and to the detriment of our heirs and\nsuccessors. We intend this dedication to be an overt act of\nrelinquishment in perpetuity of all present and future rights to this\nsoftware under copyright law.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\nOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\nFor more information, please refer to " } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json b/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json index 125a3674e6c..5ccbae1e7d8 100644 --- a/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json @@ -132,28 +132,32 @@ ], "license_rule_references": [ { - "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "referenced_filenames": [], + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_url": null, + "rule_relevance": 100, + "rule_length": 13, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" }, { - "license_expression": "unlicense", "rule_identifier": "unlicense.LICENSE", - "referenced_filenames": [], + "license_expression": "unlicense", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unlicense.LICENSE", + "rule_relevance": 100, + "rule_length": 198, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 198, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or\ndistribute this software, either in source code form or as a compiled\nbinary, for any purpose, commercial or non-commercial, and by any\nmeans.\n\nIn jurisdictions that recognize copyright laws, the author or authors\nof this software dedicate any and all copyright interest in the\nsoftware to the public domain. We make this dedication for the benefit\nof the public at large and to the detriment of our heirs and\nsuccessors. We intend this dedication to be an overt act of\nrelinquishment in perpetuity of all present and future rights to this\nsoftware under copyright law.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\nOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\nFor more information, please refer to " } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json index af1340bee9d..5b6b4dcaace 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-dual-license.expected.json @@ -99,52 +99,60 @@ ], "license_rule_references": [ { - "license_expression": "unknown-license-reference", "rule_identifier": "lead-in_unknown_30.RULE", - "referenced_filenames": [], + "license_expression": "unknown-license-reference", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lead-in_unknown_30.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": true, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Dual licensed under" }, { - "license_expression": "wtfpl-2.0", "rule_identifier": "spdx_license_id_wtfpl_for_wtfpl-2.0.RULE", - "referenced_filenames": [], + "license_expression": "wtfpl-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_wtfpl_for_wtfpl-2.0.RULE", + "rule_relevance": 50, + "rule_length": 1, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 50 + "referenced_filenames": [], + "rule_text": "wtfpl" }, { - "license_expression": "wtfpl-2.0", "rule_identifier": "wtfpl-2.0_27.RULE", - "referenced_filenames": [], + "license_expression": "wtfpl-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/wtfpl-2.0_27.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "www.wtfpl.net" }, { - "license_expression": "mit", "rule_identifier": "mit_64.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_64.RULE", + "rule_relevance": 100, + "rule_length": 6, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "[MIT](https://opensource.org/licenses/MIT)" } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json index 9068097665d..422a1b3cd7d 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation-tycho.expected.json @@ -650,537 +650,275 @@ ], "license_rule_references": [ { - "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_3.RULE", - "referenced_filenames": [], + "license_expression": "epl-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_3.RULE", + "rule_relevance": 100, + "rule_length": 151, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 151, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "License\n\nThe Eclipse Foundation makes available all content in this plug-in (\"Content\"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 (\"EPL\"). A copy of the EPL is available at http://www.eclipse.org/legal/epl-v10.html. For purposes of the EPL, \"Program\" will mean the Content.\n\nIf you did not receive this Content directly from the Eclipse Foundation, the Content is being redistributed by another party (\"Redistributor\") and different terms and conditions may apply to your use of any object code in the Content. Check the Redistributor's license that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise indicated below, the terms and conditions of the EPL still apply to any source code in the Content and such source code may be obtained at http://www.eclipse.org." }, { - "license_expression": "epl-1.0", "rule_identifier": "epl-1.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "epl-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-1.0_7.RULE", + "rule_relevance": 100, "rule_length": 8, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache_no-version_1.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 95 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_322.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_1112.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 38, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_842.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100 + "rule_text": "https://www.eclipse.org/legal/epl-v10.html" }, { + "rule_identifier": "apache_no-version_1.RULE", "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_689.RULE", - "referenced_filenames": [ - "LICENSE-2.0.txt", - "NOTICE.TXT" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 65, - "rule_relevance": 100 - }, - { - "license_expression": "epl-1.0", - "rule_identifier": "epl-1.0_3.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 151, - "rule_relevance": 100 - }, - { - "license_expression": "epl-1.0", - "rule_identifier": "epl-1.0_7.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache_no-version_1.RULE", + "rule_relevance": 95, + "rule_length": 14, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache_no-version_1.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 14, - "rule_relevance": 95 + "rule_text": "This product includes software developed by the Apache Software Foundation (http://www.apache.org/)" }, { - "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_35.RULE", - "referenced_filenames": [], + "license_expression": "unknown-license-reference", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE", + "rule_relevance": 100, + "rule_length": 6, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "subject to the terms and conditions" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_322.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_322.RULE", + "rule_relevance": 100, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_1112.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 38, - "rule_relevance": 100 + "rule_text": "Apache Software License 2.0" }, { + "rule_identifier": "apache-2.0_1112.RULE", "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_842.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1112.RULE", + "rule_relevance": 100, + "rule_length": 38, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_182.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_322.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "rule_text": "is subject to the terms and conditions of the Apache Software License 2.0. A copy of the license is contained\nin the file LICENSE and is also available at http://www.apache.org/licenses/LICENSE-2.0.html" }, { + "rule_identifier": "apache-2.0_842.RULE", "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_1112.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_842.RULE", + "rule_relevance": 100, + "rule_length": 35, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 38, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_20.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100 + "rule_text": "This Font Software is licensed under the Apache License, Version 2.0.\nThis license is available with a FAQ at: https://www.apache.org/licenses/LICENSE-2.0 https://www.apache.org/licenses/LICENSE-2.0" }, { + "rule_identifier": "apache-2.0_689.RULE", "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_1112.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_689.RULE", + "rule_relevance": 100, + "rule_length": 65, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 38, - "rule_relevance": 100 + "referenced_filenames": [ + "LICENSE-2.0.txt", + "NOTICE.TXT" + ], + "rule_text": "code is subject to the terms and\nconditions of the Apache License, Version 2.0. A copy of the license is\ncontained in the file LICENSE-2.0.txt and is also available at http://\nwww.apache.org/licenses/LICENSE-2.0.html.\n\nThe Apache attribution notice file NOTICE.TXT is included with the Content in\naccordance with 4d of the Apache License, Version 2.0" }, { + "rule_identifier": "apache-2.0_182.RULE", "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_842.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_182.RULE", + "rule_relevance": 100, + "rule_length": 6, "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, + "is_license_notice": false, + "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_1112.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 38, - "rule_relevance": 100 + "rule_text": "The Apache License, Version 2.0" }, { + "rule_identifier": "apache-2.0_20.RULE", "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_842.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_20.RULE", + "rule_relevance": 100, + "rule_length": 9, "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, + "is_license_notice": false, + "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 35, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_35.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100 + "rule_text": "http://www.apache.org/licenses/LICENSE-2.0.html" }, { - "license_expression": "epl-2.0 OR apache-2.0", "rule_identifier": "epl-2.0_or_apache-2.0_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "epl-2.0 OR apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_or_apache-2.0_2.RULE", + "rule_relevance": 100, "rule_length": 50, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_1112.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 38, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "* This program and the accompanying materials are made available under the\n* terms of the Eclipse Public License 2.0 which is available at\n* http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0\n* which is available at https://www.apache.org/licenses/LICENSE-2.0." }, { - "license_expression": "epl-2.0", "rule_identifier": "epl-2.0_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "epl-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_4.RULE", + "rule_relevance": 100, "rule_length": 69, - "rule_relevance": 100 - }, - { - "license_expression": "epl-1.0", - "rule_identifier": "epl-1.0_3.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 151, - "rule_relevance": 100 - }, - { - "license_expression": "epl-1.0", - "rule_identifier": "epl-1.0_7.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100 + "rule_text": "Unless otherwise indicated, all Content made available by the Eclipse\nFoundation is provided to you under the terms and conditions of the\nEclipse Public License Version 2.0 (EPL). A copy of the EPL is\nprovided with this Content and is also available at https://www\n.eclipse.org/legal/epl-2.0 https://www.eclipse.org/legal/epl-2.0 .\nFor purposes of the EPL, Program will mean the Content." }, { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100 - }, - { - "license_expression": "cpl-1.0", "rule_identifier": "cpl-1.0_5.RULE", - "referenced_filenames": [], + "license_expression": "cpl-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_5.RULE", + "rule_relevance": 100, + "rule_length": 6, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Common Public License Version 1.0" }, { - "license_expression": "cpl-1.0", "rule_identifier": "cpl-1.0_14.RULE", - "referenced_filenames": [], + "license_expression": "cpl-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_14.RULE", + "rule_relevance": 100, + "rule_length": 24, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 24, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_35.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100 + "rule_text": "Common Public License Version 1.0 (available at https://www.eclipse.org/legal/cpl-v10.html" }, { - "license_expression": "bsd-new", "rule_identifier": "bsd-new_119.RULE", - "referenced_filenames": [], + "license_expression": "bsd-new", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_119.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "The \"New\" BSD License:" }, { - "license_expression": "bsd-new", "rule_identifier": "bsd-new_103.RULE", - "referenced_filenames": [], + "license_expression": "bsd-new", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_103.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "New BSD License (BSD)" }, { - "license_expression": "bsd-new", "rule_identifier": "bsd-new_172.RULE", - "referenced_filenames": [], + "license_expression": "bsd-new", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_172.RULE", + "rule_relevance": 99, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99 + "referenced_filenames": [], + "rule_text": "__license__ = 'BSD license'" }, { - "license_expression": "bsd-new", "rule_identifier": "bsd-new_860.RULE", - "referenced_filenames": [], + "license_expression": "bsd-new", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_860.RULE", + "rule_relevance": 100, + "rule_length": 211, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 211, - "rule_relevance": 100 - }, - { - "license_expression": "epl-1.0", - "rule_identifier": "epl-1.0_3.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 151, - "rule_relevance": 100 - }, - { - "license_expression": "epl-1.0", - "rule_identifier": "epl-1.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_35.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 6, - "rule_relevance": 100 + "rule_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list of\nconditions and the following disclaimer. Redistributions in binary form must reproduce\nthe above copyright notice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the distribution.\n\nNeither the name of Hamcrest nor the names of its contributors may be used to endorse\nor promote products derived from this software without specific prior written\npermission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT\nSHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\nINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\nTO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\nBUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY\nWAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGE." }, { + "rule_identifier": "cpl-1.0_24.RULE", "license_expression": "cpl-1.0", - "rule_identifier": "cpl-1.0_5.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cpl-1.0_24.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100 - }, - { - "license_expression": "cpl-1.0", - "rule_identifier": "cpl-1.0_14.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 24, - "rule_relevance": 100 - }, - { - "license_expression": "cpl-1.0", - "rule_identifier": "cpl-1.0_24.RULE", "referenced_filenames": [ "cpl-v10.html" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "cpl-v10.html" } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json index b4c05cc3c3c..846fb722821 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-eclipse-foundation.expected.json @@ -56,28 +56,32 @@ ], "license_rule_references": [ { - "license_expression": "epl-2.0", "rule_identifier": "epl-2.0_56.RULE", - "referenced_filenames": [], + "license_expression": "epl-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/epl-2.0_56.RULE", + "rule_relevance": 100, + "rule_length": 31, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 31, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "* This program and the accompanying materials are made\n* available under the terms of the Eclipse Public License 2.0\n* which is available at https://www.eclipse.org/legal/epl-2.0/" }, { - "license_expression": "epl-2.0", "rule_identifier": "spdx-license-identifier: epl-2.0", - "referenced_filenames": [], + "license_expression": "epl-2.0", + "rule_url": null, + "rule_relevance": 100, + "rule_length": 6, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "SPDX-License-Identifier: EPL-2.0" } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json index 6c0cb594b0f..8d6051acbd6 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-long-gaps-between.expected.json @@ -100,52 +100,46 @@ ], "license_rule_references": [ { - "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_4.RULE", - "referenced_filenames": [], + "license_expression": "unknown-license-reference", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_4.RULE", + "rule_relevance": 100, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": true, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "licensed under the following terms" }, { - "license_expression": "x11-lucent", "rule_identifier": "x11-lucent_1.RULE", - "referenced_filenames": [], + "license_expression": "x11-lucent", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/x11-lucent_1.RULE", + "rule_relevance": 100, + "rule_length": 93, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 93, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_4.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 5, - "rule_relevance": 100 + "rule_text": "Permission to use, copy, modify, and distribute this software for any\npurpose without fee is hereby granted, provided that this entire notice\nis included in all copies of any software which is or includes a copy\nor modification of this software and in all copies of the supporting\ndocumentation for such software.\nTHIS SOFTWARE IS BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\nWARRANTY. IN PARTICULAR, NEITHER THE AUTHORS NOR LUCENT TECHNOLOGIES MAKE ANY\nREPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY\nOF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." }, { - "license_expression": "bzip2-libbzip-2010", "rule_identifier": "bzip2-libbzip-2010.LICENSE", - "referenced_filenames": [], + "license_expression": "bzip2-libbzip-2010", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bzip2-libbzip-2010.LICENSE", + "rule_relevance": 100, + "rule_length": 233, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 233, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. The origin of this software must not be misrepresented; you must\nnot claim that you wrote the original software. If you use this\nsoftware in a product, an acknowledgment in the product\ndocumentation would be appreciated but is not required.\n\n3. Altered source versions must be plainly marked as such, and must\nnot be misrepresented as being the original software.\n\n4. The name of the author may not be used to endorse or promote\nproducts derived from this software without specific prior written\npermission.\n\nTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS\nOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\nWHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json index edff9a9b029..e758dbff518 100644 --- a/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json +++ b/tests/licensedcode/data/plugin_license/unknown_intro/scan-unknown-intro-with-imperfect-matches.expected.json @@ -81,52 +81,60 @@ ], "license_rule_references": [ { - "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_2.RULE", - "referenced_filenames": [], + "license_expression": "unknown-license-reference", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE", + "rule_relevance": 50, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": true, - "rule_length": 2, - "rule_relevance": 50 + "referenced_filenames": [], + "rule_text": "Licensed under" }, { - "license_expression": "mit", "rule_identifier": "mit_21.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_21.RULE", + "rule_relevance": 100, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "http://spdx.org/licenses/MIT" }, { - "license_expression": "mit", "rule_identifier": "mit_31.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_31.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "License: MIT license" }, { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license_policy/policy-codebase.expected.json b/tests/licensedcode/data/plugin_license_policy/policy-codebase.expected.json index 0473e5c3343..72b323f7b24 100644 --- a/tests/licensedcode/data/plugin_license_policy/policy-codebase.expected.json +++ b/tests/licensedcode/data/plugin_license_policy/policy-codebase.expected.json @@ -166,64 +166,74 @@ ], "license_rule_references": [ { - "license_expression": "broadcom-commercial", "rule_identifier": "broadcom-commercial.LICENSE", - "referenced_filenames": [], + "license_expression": "broadcom-commercial", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/broadcom-commercial.LICENSE", + "rule_relevance": 100, + "rule_length": 42, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 42, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Confidential Property of Broadcom Corporation\n\nTHIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE\nAGREEMENT BETWEEN THE USER AND BROADCOM. YOU HAVE NO RIGHT TO USE OR\nEXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT." }, { - "license_expression": "bsd-1988", "rule_identifier": "bsd-1988.LICENSE", - "referenced_filenames": [], + "license_expression": "bsd-1988", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-1988.LICENSE", + "rule_relevance": 100, + "rule_length": 120, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 120, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Redistribution and use in source and binary forms are permitted provided that:\n\n(1) source distributions retain this entire copyright notice and comment, and\n\n(2) distributions including binaries display the following acknowledgement:\n``This product includes software developed by copyright holder and its\ncontributors'' in the documentation or other materials provided with the\ndistribution and in all advertising materials mentioning features or use of this\nsoftware.\n\nNeither the name of the {copyright-holder} nor the names of its contributors may\nbe used to endorse or promote products derived from this software without\nspecific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED\nWARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE." }, { - "license_expression": "esri-devkit", "rule_identifier": "esri-devkit.LICENSE", - "referenced_filenames": [], + "license_expression": "esri-devkit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/esri-devkit.LICENSE", + "rule_relevance": 100, + "rule_length": 51, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 51, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Copyright 2006 ESRI\n\nAll rights reserved under the copyright laws of the United States\nand applicable international laws, treaties, and conventions.\n\nYou may freely redistribute and use this sample code, with or\nwithout modification, provided you include the original copyright\nnotice and use restrictions.\n\nSee use restrictions at /arcgis/developerkit/userestrictions." }, { - "license_expression": "oracle-java-ee-sdk-2010", "rule_identifier": "oracle-java-ee-sdk-2010.LICENSE", - "referenced_filenames": [], + "license_expression": "oracle-java-ee-sdk-2010", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/oracle-java-ee-sdk-2010.LICENSE", + "rule_relevance": 100, + "rule_length": 1668, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1668, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Oracle Technology Network Developer License Terms for JAVA EE SDK\n\nExport Controls on the Programs Selecting the \"Accept License Agreement\" button is a confirmation of your agreement that you comply, now and during the trial term, with each of the following statements:\n\n-You are not a citizen, national, or resident of, and are not under control of, the government of Cuba, Iran, Sudan, Libya, North Korea, Syria, nor any country to which the United States has prohibited export.\n\n-You will not download or otherwise export or re-export the Programs, directly or indirectly, to the above mentioned countries nor to citizens, nationals or residents of those countries.\n\n-You are not listed on the United States Department of Treasury lists of Specially Designated Nationals, Specially Designated Terrorists, and Specially Designated Narcotic Traffickers, nor are you listed on the United States Department of Commerce Table of Denial Orders.\n\nYou will not download or otherwise export or re-export the Programs, directly or indirectly, to persons on the above mentioned lists.\n\nYou will not use the Programs for, and will not allow the Programs to be used for, any purposes prohibited by United States law, including, without limitation, for the development, design, manufacture or production of nuclear, chemical or biological weapons of mass destruction.\n\nEXPORT RESTRICTIONS You agree that U.S. export control laws and other applicable export and import laws govern your use of the programs, including technical data; additional information can be found on Oracle\u00ae's Global Trade Compliance web site (http://www.oracle.com/products/export).\n\nYou agree that neither the programs nor any 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.\n\nOracle Employees: Under no circumstances are Oracle Employees authorized to download software for the purpose of distributing it to customers. Oracle products are available to employees for internal use or demonstration purposes only. In keeping with Oracle's trade compliance obligations under U.S. and applicable multilateral law, failure to comply with this policy could result in disciplinary action up to and including termination.\n\nNote: You are bound by the Oracle Technology Network (\"OTN\") License Agreement terms. The OTN License Agreement terms also apply to all updates you receive under your Technology Track subscription.\n\nThe OTN License Agreement terms below supercede any shrinkwrap license on the OTN Technology Track software CDs and previous OTN License terms (including the Oracle Program License as modified by the OTN Program Use Certificate).\n\nOracle Technology Network Development License Agreement for JAVA EE SDK\n\n\"We,\" \"us,\" and \"our\" refers to Oracle America, Inc., for and on behalf of itself and its subsidiaries and affiliates under common control. \"You\" and \"your\" refers to the individual or entity that wishes to use the programs from Oracle. \"Programs\" refers to the Java EE SDK software product you wish to download and use and program documentation. \"License\" refers to your right to use the programs under the terms of this agreement. This agreement is governed by the substantive and procedural laws of California. You and Oracle agree to submit to the exclusive jurisdiction of, and venue in, the courts of San Francisco, San Mateo, or Santa Clara counties in California in any dispute arising out of or relating to this agreement.\n\nWe are willing to license the programs to you only upon the condition that you accept all of the terms contained in this agreement. Read the terms carefully and select the \"Accept\" button at the bottom of the page to confirm your acceptance. If you are not willing to be bound by these terms, select the \"Do Not Accept\" button and the registration process will not continue.\n\nLicense Rights\n\nWe grant you a nonexclusive, nontransferable limited license to use the programs for purposes of developing your applications. If you want to use the programs for any purpose other than as expressly permitted under this agreement you must contact us, or an Oracle reseller, to obtain the appropriate license. We may audit your use of the programs. Program documentation is provided with the programs.\n\nOwnership and Restrictions\n\nWe retain all ownership and intellectual property rights in the programs. You may make a sufficient number of copies of the programs for the licensed use and one copy of the programs for backup purposes.\n\nYou may not:\n\n\u00b7 use the programs for any purpose other than as provided above;\n\u00b7 distribute the programs;\n\u00b7 charge your end users for use of the programs;\n\u00b7 remove or modify any program markings or any notice of our proprietary rights;\n\u00b7 use the programs to provide third party training on the content and/or functionality of the programs;\n\u00b7 assign this agreement or give the programs, program access or an interest in the programs to any individual or entity;\n\u00b7 cause or permit reverse engineering (unless required by law for interoperability), disassembly or decompilation of the programs;\n\u00b7 disclose results of any program benchmark tests without our prior consent; or,\n\u00b7 use any Oracle name, trademark or logo.\n\nExport\n\nYou agree that U.S. export control laws and other applicable export and import laws govern your use of the programs, including technical data; additional information can be found on Oracle's Global Trade Compliance web site located at http://www.oracle.com/products/export/index.html. You agree that neither the programs nor any 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.\n\nDisclaimer of Warranty and Exclusive Remedies\n\nTHE PROGRAMS ARE PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND. WE FURTHER DISCLAIM ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. IN NO EVENT SHALL WE BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR DAMAGES FOR LOSS OF PROFITS, REVENUE, DATA OR DATA USE, INCURRED BY YOU OR ANY THIRD PARTY, WHETHER IN AN ACTION IN CONTRACT OR TORT, EVEN IF WE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. OUR ENTIRE LIABILITY FOR DAMAGES HEREUNDER SHALL IN NO EVENT EXCEED ONE THOUSAND DOLLARS (U.S. $1,000).\n\nNo Technical Support\n\nOur technical support organization will not provide technical support, phone support, or updates to you for the programs licensed under this agreement.\n\nRestricted Rights\n\nIf you distribute a license to the United States government, the programs, including documentation, shall be considered commercial computer software and you will place a legend, in addition to applicable copyright notices, on the documentation, and on the media label, substantially similar to the following:\n\nNOTICE OF RESTRICTED RIGHTS\n\n\"Programs delivered subject to the DOD FAR Supplement are 'commercial computer software' and use, duplication, and disclosure of the programs, including documentation, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement. Otherwise, programs delivered subject to the Federal Acquisition Regulations are 'restricted computer software' and use, duplication, and disclosure of the programs, including documentation, shall be subject to the restrictions in FAR 52.227-19, Commercial Computer Software-Restricted Rights (June 1987). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.\"\n\nEnd of Agreement\n\nYou may terminate this agreement by destroying all copies of the programs. We have the right to terminate your right to use the programs if you fail to comply with any of the terms of this agreement, in which case you shall destroy all copies of the programs.\n\nRelationship Between the Parties\n\nThe relationship between you and us is that of licensee/licensor. Neither party will represent that it has any authority to assume or create any obligation, express or implied, on behalf of the other party, nor to represent the other party as agent, employee, franchisee, or in any other capacity. Nothing in this agreement shall be construed to limit either party's right to independently develop or distribute software that is functionally similar to the other party's products, so long as proprietary information of the other party is not included in such software.\n\nOpen Source\n\n\"Open Source\" software - software available without charge for use, modification and distribution - is often licensed under terms that require the user to make the user's modifications to the Open Source software or any software that the user 'combines' with the Open Source software freely available in source code form. If you use Open Source software in conjunction with the programs, you must ensure that your use does not: (i) create, or purport to create, obligations of us with respect to the Oracle programs; or (ii) grant, or purport to grant, to any third party any rights to or immunities under our intellectual property or proprietary rights in the Oracle. For example, you may not develop a software program using an Oracle program and an Open Source program where such use results in a program file(s) that contains code from both the Oracle program and the Open Source program (including without limitation libraries) if the Open Source program is licensed under a license that requires any \"modifications\" be made freely available. You also may not combine the Oracle program with programs licensed under the GNU General Public License (\"GPL\") in any manner that could cause, or could be interpreted or asserted to cause, the Oracle program, or any modifications thereto, to become subject to the terms of the GPL.\n\nEntire Agreement\n\nYou agree that this agreement is the complete agreement for the programs and licenses, and this agreement supersedes all prior or contemporaneous agreements or representations. If any term of this agreement is found to be invalid or unenforceable, the remaining provisions will remain effective.\n\nLast updated: 05/10/2010 Should you have any questions concerning this License Agreement, or if you desire to contact Oracle for any reason, please write: Oracle America, Inc. 500 Oracle Parkway, Redwood City, CA 94065\n\nOracle may contact you to ask if you had a satisfactory experience installing and using this OTN software download." }, { - "license_expression": "rh-eula", "rule_identifier": "rh-eula.LICENSE", - "referenced_filenames": [], + "license_expression": "rh-eula", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/rh-eula.LICENSE", + "rule_relevance": 100, + "rule_length": 1283, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1283, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "END USER LICENSE AGREEMENT\nRED HAT\u00ae ENTERPRISE LINUX\u00ae AND RED HAT APPLICATIONS\n\nThis end user license agreement (\"EULA\") governs the use of any of the versions\nof Red Hat Enterprise Linux, any Red Hat Applications (as set forth at\nwww.redhat.com/licenses/products), and any related updates, source code,\nappearance, structure and organization (the \"Programs\"), regardless of the\ndelivery mechanism.\n\n\n1. License Grant. Subject to the following terms, Red Hat, Inc. (\"Red Hat\")\ngrants to you (\"User\") a perpetual, worldwide license to the Programs\npursuant to the GNU General Public License v.2. The Programs are either a\nmodular operating system or an application consisting of hundreds of\nsoftware components. With the exception of certain image files identified\nin Section 2 below, the license agreement for each software component is\nlocated in the software component's source code and permits User to run,\ncopy, modify, and redistribute (subject to certain obligations in some\ncases) the software component, in both source code and binary code forms.\nThis EULA pertains solely to the Programs and does not limit User's rights\nunder, or grant User rights that supersede, the license terms of any\nparticular component.\n\n2. Intellectual Property Rights. The Programs and each of their components are\nowned by Red Hat and others and are protected under copyright law and under\nother laws as applicable. Title to the Programs and any component, or to any\ncopy, modification, or merged portion shall remain with the aforementioned,\nsubject to the applicable license. The \"Red Hat\" trademark and the\n\"Shadowman\" logo are registered trademarks of Red Hat in the U.S. and other\ncountries. This EULA does not permit User to distribute the Programs or\ntheir components using Red Hat's trademarks, regardless of whether the copy\nhas been modified. User should read the information found at\nhttp://www.redhat.com/about/corporate/trademark/ before distributing a copy\nof the Programs. User may make a commercial redistribution of the Programs\nonly if, (a) a separate agreement with Red Hat authorizing such commercial\nredistribution is executed or other written permission is granted by Red Hat\nor (b) User modifies any files identified as \"REDHAT-LOGOS\" to remove and\nreplace all images containing the \"Red Hat\" trademark or the \"Shadowman\"\nlogo. Merely deleting these files may corrupt the Programs.\n\n3. Limited Warranty. Except as specifically stated in this Section 3, a\nseparate agreement with Red Hat, or a license for a particular component, to\nthe maximum extent permitted under applicable law, the Programs and the\ncomponents are provided and licensed \"as is\" without warranty of any kind,\nexpressed or implied, including the implied warranties of merchantability,\nnon-infringement or fitness for a particular purpose. Red Hat warrants that\nthe media on which the Programs and the components are furnished will be\nfree from defects in materials and manufacture under normal use for a period\nof 30 days from the date of delivery to User. Red Hat does not warrant that\nthe functions contained in the Programs will meet User's requirements or\nthat the operation of the Programs will be entirely error free, appear\nprecisely as described in the accompanying documentation, or comply with\nregulatory requirements. This warranty extends only to the party that\npurchases services pertaining to the Programs from Red Hat or a Red Hat\nauthorized distributor.\n\n4. Limitation of Remedies and Liability. To the maximum extent permitted by\napplicable law, User's exclusive remedy under this EULA is to return any\ndefective media within 30 days of delivery along with a copy of User's\npayment receipt and Red Hat, at its option, will replace it or refund the\nmoney paid by User for the media. To the maximum extent permitted under\napplicable law, neither Red Hat, any Red Hat authorized distributor, nor the\nlicensor of any component provided to User under this EULA will be liable to\nUser for any incidental or consequential damages, including lost profits or\nlost savings arising out of the use or inability to use the Programs or any\ncomponent, even if Red Hat, such authorized distributor or licensor has been\nadvised of the possibility of such damages. In no event shall Red Hat's\nliability, an authorized distributor\u2019s liability or the liability of the\nlicensor of a component provided to User under this EULA exceed the amount\nthat User paid to Red Hat under this EULA during the twelve months preceding\nthe action.\n\n5. Export Control. As required by the laws of the United States and other\ncountries, User represents and warrants that it: (a) understands that the\nPrograms and their components may be subject to export controls under the\nU.S. Commerce Department\u2019s Export Administration Regulations (\"EAR\"); (b) is\nnot located in a prohibited destination country under the EAR or\nU.S. sanctions regulations (currently Cuba, Iran, Iraq, North Korea, Sudan\nand Syria, subject to change as posted by the United States government); (c)\nwill not export, re-export, or transfer the Programs to any prohibited\ndestination or persons or entities on the U.S. Bureau of Industry and\nSecurity Denied Parties List or Entity List, or the U.S. Office of Foreign\nAssets Control list of Specially Designated Nationals and Blocked Persons,\nor any similar lists maintained by other countries, without the necessary\nexport license(s) or authorizations(s); (d) will not use or transfer the\nPrograms for use in connection with any nuclear, chemical or biological\nweapons, missile technology, or military end-uses where prohibited by an\napplicable arms embargo, unless authorized by the relevant government agency\nby regulation or specific license; (e) understands and agrees that if it is\nin the United States and exports or transfers the Programs to eligible end\nusers, it will, to the extent required by EAR Section 740.17(e), submit\nsemi-annual reports to the Commerce Department\u2019s Bureau of Industry and\nSecurity, which include the name and address (including country) of each\ntransferee; and (f) understands that countries including the United States\nmay restrict the import, use, or export of encryption products (which may\ninclude the Programs and the components) and agrees that it shall be solely\nresponsible for compliance with any such import, use, or export\nrestrictions.\n\n6. Third Party Programs. Red Hat may distribute third party software programs\nwith the Programs that are not part of the Programs. These third party\nprograms are not required to run the Programs, are provided as a convenience\nto User, and are subject to their own license terms. The license terms\neither accompany the third party software programs or can be viewed at\nhttp://www.redhat.com/licenses/thirdparty/eula.html. If User does not agree\nto abide by the applicable license terms for the third party software\nprograms, then User may not install them. If User wishes to install the\nthird party software programs on more than one system or transfer the third\nparty software programs to another party, then User must contact the\nlicensor of the applicable third party software programs.\n\n7. General. In the case of a discrepancy between the Spanish version and the\nEnglish version of this EULA, the English version shall prevail. If any\nprovision of this agreement is held to be unenforceable, that shall not\naffect the enforceability of the remaining provisions. This agreement shall\nbe governed by the laws of the State of New York and of the United States,\nwithout regard to any conflict of laws provisions. The rights and\nobligations of the parties to this EULA shall not be governed by the United\nNations Convention on the International Sale of Goods.\n\nCopyright \u00a9 2007 Red Hat, Inc. All rights reserved. \"Red Hat\" and the Red Hat\n\"Shadowman\" logo are registered trademarks of Red Hat, Inc. \"Linux\" is a\nregistered trademark of Linus Torvalds. All other trademarks are the property of\ntheir respective owners." } ], "files": [ diff --git a/tests/licensedcode/data/plugin_license_text/scan.expected.json b/tests/licensedcode/data/plugin_license_text/scan.expected.json index abc6cbd1400..bd33aa6ffd7 100644 --- a/tests/licensedcode/data/plugin_license_text/scan.expected.json +++ b/tests/licensedcode/data/plugin_license_text/scan.expected.json @@ -213,92 +213,62 @@ ], "license_rule_references": [ { - "license_expression": "apache-1.0", "rule_identifier": "apache-1.0.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 368, - "rule_relevance": 100 - }, - { "license_expression": "apache-1.0", - "rule_identifier": "apache-1.0.LICENSE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", + "rule_relevance": 100, + "rule_length": 368, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 368, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in\nthe documentation and/or other materials provided with the\ndistribution.\n\n3. All advertising materials mentioning features or use of this\nsoftware must display the following acknowledgment:\n\"This product includes software developed by the Apache Group\nfor use in the Apache HTTP server project (http://www.apache.org/).\"\n\n4. The names \"Apache Server\" and \"Apache Group\" must not be used to\nendorse or promote products derived from this software without\nprior written permission. For written permission, please contact\napache@apache.org.\n\n5. Products derived from this software may not be called \"Apache\"\nnor may \"Apache\" appear in their names without prior written\npermission of the Apache Group.\n\n6. Redistributions of any form whatsoever must retain the following\nacknowledgment:\n\"This product includes software developed by the Apache Group\nfor use in the Apache HTTP server project (http://www.apache.org/).\"\n\nTHIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY\nEXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR\nITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\nSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\nOF THE POSSIBILITY OF SUCH DAMAGE.\n====================================================================\n\nThis software consists of voluntary contributions made by many\nindividuals on behalf of the Apache Group and was originally based\non public domain software written at the National Center for\nSupercomputing Applications, University of Illinois, Urbana-Champaign.\nFor more information on the Apache Group and the Apache HTTP server\nproject, please see ." }, { - "license_expression": "ja-sig", "rule_identifier": "ja-sig.LICENSE", - "referenced_filenames": [], + "license_expression": "ja-sig", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/ja-sig.LICENSE", + "rule_relevance": 100, + "rule_length": 212, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 212, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\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 and/or\nother materials provided with the distribution.\n\n3. Redistributions of any form whatsoever must retain the following\nacknowledgment:\n\"This product includes software developed by the JA-SIG Collaborative\n(http://www.ja-sig.org/).\"\n\nThis software is provided by the JA-SIG collaborative \"as is\" and any expressed\nor implied warranties, including, but not limited to, the implied warranties of\nmerchantability and fitness for a particular purpose are disclaimed. In no event\nshall the JA-SIG collaborative or its contributors be liable for any direct,\nindirect, incidental, special, exemplary, or consequential damages (including,\nbut not limited to, procurement of substitute goods or services; loss of use,\ndata, or 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." }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "rule_relevance": 100, + "rule_length": 119, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100 + "referenced_filenames": [ + "NOTICE" + ], + "rule_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\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless 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." }, { - "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", "rule_identifier": "spdx-license-identifier: gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", - "referenced_filenames": [], + "license_expression": "gpl-2.0 WITH linux-syscall-exception-gpl OR linux-openib", + "rule_url": null, + "rule_relevance": 100, + "rule_length": 13, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 13, - "rule_relevance": 100 - }, - { - "license_expression": "ja-sig", - "rule_identifier": "ja-sig.LICENSE", "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 212, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100 + "rule_text": "SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-Openib) */" } ], "files": [ diff --git a/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json b/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json index 31bf6b048d1..33a34991fbb 100644 --- a/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json +++ b/tests/packagedcode/data/license_detection/license-as-manifest-comment/activemq-camel.expected.json @@ -279,32 +279,20 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_2.RULE", - "referenced_filenames": [ - "NOTICE" - ], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_2.RULE", + "rule_relevance": 100, + "rule_length": 119, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_2.RULE", "referenced_filenames": [ "NOTICE" ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 119, - "rule_relevance": 100 + "rule_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\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless 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." } ], "files": [ diff --git a/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json b/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json index 47fafe61bc3..401720115c5 100644 --- a/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json +++ b/tests/packagedcode/data/license_detection/license-beside-manifest/google-built-collection.expected.json @@ -162,28 +162,18 @@ ], "license_rule_references": [ { - "license_expression": "bsd-new", "rule_identifier": "bsd-new_166.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 212, - "rule_relevance": 100 - }, - { "license_expression": "bsd-new", - "rule_identifier": "bsd-new_166.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_166.RULE", + "rule_relevance": 100, + "rule_length": 212, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 212, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_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." } ], "files": [ diff --git a/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json b/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json index f28b2e15912..62b826b4fa1 100644 --- a/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json +++ b/tests/packagedcode/data/license_detection/reference-at-manifest/flutter_playtabs_bridge.expected.json @@ -181,94 +181,48 @@ ], "license_rule_references": [ { - "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "unknown-license-reference", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_1.RULE", + "rule_relevance": 100, "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit_14.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", "referenced_filenames": [ "LICENSE" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "license:file = ../LICENSE" }, { - "license_expression": "mit", "rule_identifier": "mit_14.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "MIT license" }, { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "unknown-license-reference_see_license_at_manifest_1.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], "files": [ diff --git a/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json b/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json index 0fe822ff715..a5bb12cdc7a 100644 --- a/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json +++ b/tests/packagedcode/data/license_detection/reference-at-manifest/nanopb.expected.json @@ -191,70 +191,34 @@ ], "license_rule_references": [ { - "license_expression": "zlib", "rule_identifier": "zlib_in_manifest.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_in_manifest.RULE", + "rule_relevance": 100, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_in_manifest.RULE", "referenced_filenames": [ "LICENSE.txt" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "rule_text": ":type = zlib, :file = LICENSE.txt" }, { + "rule_identifier": "zlib.LICENSE", "license_expression": "zlib", - "rule_identifier": "zlib_in_manifest.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], - "is_license_text": false, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "rule_relevance": 100, + "rule_length": 132, + "is_license_text": true, "is_license_notice": false, - "is_license_reference": true, + "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." } ], "files": [ diff --git a/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json index 4dae2731c05..b62a7846b22 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/base.expected.json @@ -173,54 +173,34 @@ ], "license_rule_references": [ { - "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], + "license_expression": "bsd-new", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "rule_relevance": 99, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99 + "referenced_filenames": [], + "rule_text": "License :: OSI Approved :: BSD License" }, { - "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_1.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], + "license_expression": "free-unknown", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE", + "rule_relevance": 100, + "rule_length": 11, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99 + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "rule_text": "This file is distributed under the same license as the package." } ], "files": [ diff --git a/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json index 5b56a55fd91..fa326036344 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/fusiondirectory.expected.json @@ -5659,1076 +5659,480 @@ ], "license_rule_references": [ { - "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_22.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "License: GPL-2+" }, { - "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], + "license_expression": "free-unknown", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "rule_relevance": 100, + "rule_length": 12, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "rule_text": "This file is distributed under the same license as the PACKAGE package." }, { - "license_expression": "bsd-new", "rule_identifier": "bsd-new_195.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, + "license_expression": "bsd-new", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE", + "rule_relevance": 100, "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "license BSD-3-Clause" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1066.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1066.RULE", + "rule_relevance": 100, + "rule_length": 30, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 30, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "## License\nThis project is distributed under the Apache license, Version 2.0: http://www.apache.org/licenses/LICENSE-2.\n[license-image]: https://img.shields.io/badge/license-apache%20v2-brightgreen.svg" }, { - "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], + "license_expression": "free-unknown", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", + "rule_relevance": 100, + "rule_length": 10, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100 + "referenced_filenames": [ + "INHERIT_LICENSE_FROM_PACKAGE" + ], + "rule_text": "This file is distributed under the same license as the" }, { - "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_166.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-3.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_166.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "License: LGPL-3+" }, { - "license_expression": "public-domain", "rule_identifier": "pypi_public_domain.RULE", - "referenced_filenames": [], + "license_expression": "public-domain", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_public_domain.RULE", + "rule_relevance": 99, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99 + "referenced_filenames": [], + "rule_text": "License :: Public Domain" }, { - "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_67.RULE", - "referenced_filenames": [], + "license_expression": "gpl-2.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_67.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "GPL 2+" }, { - "license_expression": "mit", "rule_identifier": "mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_437.RULE", + "rule_relevance": 100, "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "License: Expat" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "bsd-original", "rule_identifier": "bsd-original_43.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-3.0-plus", - "rule_identifier": "gpl-3.0-plus_89.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_64.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_10.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { "license_expression": "bsd-original", - "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_22.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_1038.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/GPL-2" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 136, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-3.0-plus", - "rule_identifier": "gpl-3.0-plus_92.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-3.0-plus", - "rule_identifier": "gpl-3.0-plus_512.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/GPL-3" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 136, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_108.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_43.RULE", + "rule_relevance": 100, "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_418.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/LGPL-2.1" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 146, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit_437.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_195.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "bsd-new_577.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 213, - "rule_relevance": 100 - }, - { - "license_expression": "bsd-original", - "rule_identifier": "bsd-original_43.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "bsd-original", - "rule_identifier": "bsd-original_71.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 236, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_166.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_189.RULE", - "referenced_filenames": [ - "/usr/share/common-licenses/LGPL-3" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 105, - "rule_relevance": 100 - }, - { - "license_expression": "public-domain", - "rule_identifier": "pypi_public_domain.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99 - }, - { - "license_expression": "other-permissive", - "rule_identifier": "other-permissive_325.RULE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 40, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "bsd-simplified", - "rule_identifier": "bsd-simplified_136.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "License: BSD 4-clause" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], + "rule_identifier": "gpl-3.0-plus_89.RULE", + "license_expression": "gpl-3.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_89.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, + "is_license_reference": true, + "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "GPL 3+" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], + "rule_identifier": "lgpl-2.1-plus_64.RULE", + "license_expression": "lgpl-2.1-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_64.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, + "is_license_reference": true, + "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "LGPL-2.1+" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], + "rule_identifier": "lgpl-3.0-plus_36.RULE", + "license_expression": "lgpl-3.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_36.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "lgpl 3+" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], + "rule_identifier": "bsd-new_10.RULE", + "license_expression": "bsd-new", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_10.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, + "is_license_reference": true, + "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "BSD-3-Clause" }, { - "license_expression": "lgpl-3.0", - "rule_identifier": "lgpl-3.0_37.RULE", - "referenced_filenames": [], + "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "license_expression": "bsd-original", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_bsd-4-clause_for_bsd-original.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, + "is_license_reference": true, + "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "bsd-4-clause" }, { + "rule_identifier": "gpl-2.0-plus_1038.RULE", "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_1038.RULE", + "rule_relevance": 100, + "rule_length": 136, "is_license_text": false, - "is_license_notice": false, + "is_license_notice": true, "is_license_reference": false, - "is_license_tag": true, + "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [ + "/usr/share/common-licenses/GPL-2" + ], + "rule_text": "This package is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis package is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this package; if not, write to the Free Software\nFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\nOn Debian systems, the complete text of the GNU General\nPublic License 2 can be found in `/usr/share/common-licenses/GPL-2'." }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], + "rule_identifier": "gpl-3.0-plus_92.RULE", + "license_expression": "gpl-3.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_92.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "License: GPL-3+" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], + "rule_identifier": "gpl-3.0-plus_512.RULE", + "license_expression": "gpl-3.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_512.RULE", + "rule_relevance": 100, + "rule_length": 136, "is_license_text": false, - "is_license_notice": false, + "is_license_notice": true, "is_license_reference": false, - "is_license_tag": true, + "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [ + "/usr/share/common-licenses/GPL-3" + ], + "rule_text": "This package is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 3 of the License, or\n(at your option) any later version.\n.\nThis package is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n.\nYou should have received a copy of the GNU General Public License\nalong with this package; if not, write to the Free Software\nFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n.\nOn Debian systems, the complete text of the GNU General\nPublic License 3 can be found in `/usr/share/common-licenses/GPL-3'." }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], + "rule_identifier": "lgpl-2.1-plus_108.RULE", + "license_expression": "lgpl-2.1-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_108.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "License: LGPL-2.1+" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], + "rule_identifier": "lgpl-2.1-plus_418.RULE", + "license_expression": "lgpl-2.1-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_418.RULE", + "rule_relevance": 100, + "rule_length": 146, "is_license_text": false, - "is_license_notice": false, + "is_license_notice": true, "is_license_reference": false, - "is_license_tag": true, + "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [ + "/usr/share/common-licenses/LGPL-2.1" + ], + "rule_text": "This library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston,\nMA 02110-1301 USA\n\nOn Debian systems, the full text of the GNU Lesser General Public\nLicense version 2,1 can be found in the file\n`/usr/share/common-licenses/LGPL-2.1'." }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, + "rule_identifier": "mit.LICENSE", + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, + "is_license_text": true, "is_license_notice": false, "is_license_reference": false, - "is_license_tag": true, + "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, + "rule_identifier": "bsd-new_577.RULE", + "license_expression": "bsd-new", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_577.RULE", + "rule_relevance": 100, + "rule_length": 213, + "is_license_text": true, "is_license_notice": false, "is_license_reference": false, - "is_license_tag": true, + "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\nlist of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\nthis list of conditions and the following disclaimer in the documentation\nand/or other materials provided with the distribution.\n\n* Neither the name of the copyright holder nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, + "rule_identifier": "bsd-original_71.RULE", + "license_expression": "bsd-original", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original_71.RULE", + "rule_relevance": 100, + "rule_length": 236, + "is_license_text": true, "is_license_notice": false, "is_license_reference": false, - "is_license_tag": true, + "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Redistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n.\n- Redistributions of source code must retain the above copyright notice,\nthis list of conditions and the following disclaimer.\n- Redistributions in binary form must reproduce the above copyright notice,\nthis list of conditions and the following disclaimer in the documentation\nand/or other materials provided with the distribution.\n- All advertising materials mentioning features or use of this software must\ndisplay the following acknowledgement: \u201cThis product includes software\ndeveloped by the .\u201d\n- Neither the name of the author(s) nor the names of this program's\ncontributors may be used to endorse or promote products derived from this\nsoftware without specific prior written permission.\n.\nTHIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) \u201cAS IS\u201d AND ANY EXPRESS OR IMPLIED\nWARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\nEVENT SHALL THE REGENTS OR CONTRIBUTORS 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,\nOR 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." }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], + "rule_identifier": "lgpl-3.0-plus_189.RULE", + "license_expression": "lgpl-3.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_189.RULE", + "rule_relevance": 100, + "rule_length": 105, "is_license_text": false, - "is_license_notice": false, + "is_license_notice": true, "is_license_reference": false, - "is_license_tag": true, + "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [ + "/usr/share/common-licenses/LGPL-3" + ], + "rule_text": "This library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 3 of the License, or (at your option) any later version.\n.\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n.\nOn Debian systems, the complete text of the GNU Lesser General\nPublic License 3 can be found in `/usr/share/common-licenses/LGPL-3'." }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], - "is_license_text": false, + "rule_identifier": "other-permissive_325.RULE", + "license_expression": "other-permissive", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_325.RULE", + "rule_relevance": 100, + "rule_length": 40, + "is_license_text": true, "is_license_notice": false, "is_license_reference": false, - "is_license_tag": true, + "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This file is in the public domain. You may use and modify it as\nyou see fit, as long as this copyright message is included and\nthat there is an indication as to what modifications have been\nmade (if any)." }, { - "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], + "license_expression": "gpl-2.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_687.RULE", + "rule_relevance": 100, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "* @license GPL v2 or later" }, { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_687.RULE", - "referenced_filenames": [], + "rule_identifier": "bsd-simplified_136.RULE", + "license_expression": "bsd-simplified", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-simplified_136.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "license = 'BSD 2-Clause'" }, { - "license_expression": "mit", - "rule_identifier": "mit_221.RULE", - "referenced_filenames": [], + "rule_identifier": "lgpl-3.0_37.RULE", + "license_expression": "lgpl-3.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_37.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, + "is_license_reference": false, + "is_license_tag": true, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 90 + "referenced_filenames": [], + "rule_text": "license: LGPL v3" }, { - "license_expression": "other-permissive", - "rule_identifier": "other-permissive_16.RULE", - "referenced_filenames": [], + "rule_identifier": "mit_221.RULE", + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_221.RULE", + "rule_relevance": 90, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "public-domain", - "rule_identifier": "pypi_public_domain.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 99 + "rule_text": "license MIT/X11" }, { - "license_expression": "bsd-original", - "rule_identifier": "spdx_license_id_bsd-4-clause_for_bsd-original.RULE", - "referenced_filenames": [], + "rule_identifier": "other-permissive_16.RULE", + "license_expression": "other-permissive", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_16.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "BSD-like" }, { - "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_bare_word_only.RULE", - "referenced_filenames": [], + "license_expression": "gpl-1.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_word_only.RULE", + "rule_relevance": 50, + "rule_length": 1, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 50 + "referenced_filenames": [], + "rule_text": "GPL" }, { - "license_expression": "borceux", "rule_identifier": "borceux.LICENSE", - "referenced_filenames": [], + "license_expression": "borceux", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/borceux.LICENSE", + "rule_relevance": 100, + "rule_length": 85, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Copyright 1993 Francis Borceux\nYou may freely use, modify, and/or distribute each of the files in this package without limitation. The package consists of the following files:\n\nREADME\ncompatibility/OldDiagram\ncompatibility/OldMaxiDiagram\ncompatibility/OldMicroDiagram\ncompatibility/OldMiniDiagram\ncompatibility/OldMultipleArrows\ndiagram/Diagram\ndiagram/MaxiDiagram\ndiagram/MicroDiagram\ndiagram/MiniDiagram\ndiagram/MultipleArrows\nuser-guides/Diagram_Mode_d_Emploi\nuser-guides/Diagram_Read_Me\n\nOf course no support is guaranteed, but the author will attempt to assist with problems. Current email address:\nfrancis dot borceux at uclouvain dot be." }, { + "rule_identifier": "free-unknown-package_1.RULE", "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_1.RULE", + "rule_relevance": 100, + "rule_length": 11, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_1.RULE", "referenced_filenames": [ "INHERIT_LICENSE_FROM_PACKAGE" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100 + "rule_text": "This file is distributed under the same license as the package." } ], "files": [ diff --git a/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json index 0bff8d167e0..7317266558a 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/google_appengine_sdk.expected.json @@ -411,238 +411,80 @@ ], "license_rule_references": [ { - "license_expression": "bsd-new", "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99 - }, - { "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_bsd_license.RULE", + "rule_relevance": 99, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99 + "referenced_filenames": [], + "rule_text": "License :: OSI Approved :: BSD License" }, { - "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", "rule_identifier": "apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], + "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", + "rule_relevance": 100, + "rule_length": 85, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_3.RULE", "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" + "LICENSE.txt" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "rule_text": "For license information, see [LICENSE.txt](LICENSE.txt).\n\n[AUTHORS.md](AUTHORS.md) have a list of everyone contributed to NLTK.\n\n\n### Redistributing\n\n- NLTK source code is distributed under the Apache 2.0 License.\n- NLTK documentation is distributed under the Creative Commons\nAttribution-Noncommercial-No Derivative Works 3.0 United States license.\n- NLTK corpora are provided under the terms given in the README file for each\ncorpus; all are redistributable and available for non-commercial use.\n- NLTK may be freely redistributed, subject to the provisions of these licenses." }, { - "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_3.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], + "license_expression": "free-unknown", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_3.RULE", + "rule_relevance": 100, + "rule_length": 12, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_3.RULE", "referenced_filenames": [ "INHERIT_LICENSE_FROM_PACKAGE" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "rule_text": "This file is distributed under the same license as the DJANGO package." }, { - "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], + "license_expression": "free-unknown", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "rule_relevance": 100, + "rule_length": 12, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", "referenced_filenames": [ "INHERIT_LICENSE_FROM_PACKAGE" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "rule_text": "This file is distributed under the same license as the PACKAGE package." }, { - "license_expression": "bsd-new", "rule_identifier": "bsd-new_683.RULE", - "referenced_filenames": [], + "license_expression": "bsd-new", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_683.RULE", + "rule_relevance": 100, + "rule_length": 214, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 214, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0 AND cc-by-nc-nd-3.0 AND other-permissive AND proprietary-license", - "rule_identifier": "apache-2.0_and_cc-by-nc-nd-3.0_and_other-permissive_and_proprietary-license_1.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99 - }, - { - "license_expression": "bsd-new", - "rule_identifier": "pypi_bsd_license.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 99 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_3.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_3.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "rule_text": "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice,\nthis list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in the\ndocumentation and/or other materials provided with the distribution.\n\n3. Neither the name of Django nor the names of its contributors may be used\nto endorse or promote products derived from this software without\nspecific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS 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 COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, 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." } ], "files": [ diff --git a/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json index 03a6acc9ab1..8e2a3f411ed 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/paddlenlp.expected.json @@ -575,166 +575,120 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "apache-2.0" }, { - "license_expression": "apache-2.0", "rule_identifier": "pypi_apache_no-version.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_apache_no-version.RULE", + "rule_relevance": 95, + "rule_length": 6, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 95 + "referenced_filenames": [], + "rule_text": "License :: OSI Approved :: Apache Software License" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_7.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE", + "rule_relevance": 100, + "rule_length": 85, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License." }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_164.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_164.RULE", + "rule_relevance": 100, + "rule_length": 1582, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1582, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_305.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n"License" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n"Licensor" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n"Legal Entity" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n"control" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n"You" (or "Your") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n"Source" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n"Object" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n"Work" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n"Derivative Works" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n"Contribution" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, "submitted"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as "Not a Contribution."\n\n"Contributor" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a "NOTICE" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets "[]"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame "printed page" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." }, { + "rule_identifier": "apache-2.0_305.RULE", "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_83.RULE", - "referenced_filenames": [ - "LICENSE" - ], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_305.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "Apache 2 license" }, { + "rule_identifier": "apache-2.0_83.RULE", "license_expression": "apache-2.0", - "rule_identifier": "pypi_apache_no-version.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_83.RULE", + "rule_relevance": 100, + "rule_length": 9, "is_license_text": false, "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 95 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, + "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100 + "referenced_filenames": [ + "LICENSE" + ], + "rule_text": "is provided under the [Apache-2.0 license](LICENSE)." }, { + "rule_identifier": "apache-2.0_65.RULE", "license_expression": "apache-2.0", - "rule_identifier": "pypi_apache_no-version.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 95 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_65.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "rule_text": "license: Apache-2.0" }, { - "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_4.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], + "license_expression": "free-unknown", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", + "rule_relevance": 100, + "rule_length": 10, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_4.RULE", "referenced_filenames": [ "INHERIT_LICENSE_FROM_PACKAGE" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100 + "rule_text": "This file is distributed under the same license as the" } ], "files": [ diff --git a/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json index e5ccc109b4e..7a10a49cf7d 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/physics.expected.json @@ -343,248 +343,78 @@ ], "license_rule_references": [ { - "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "referenced_filenames": [], + "license_expression": "gpl-3.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", + "rule_relevance": 100, + "rule_length": 5514, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 5514, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "GNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." }, { - "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", - "referenced_filenames": [], + "license_expression": "gpl-3.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", + "rule_relevance": 100, + "rule_length": 102, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either {{version 3}} of the License, or\n(at your option) {{any later version}}.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see ." }, { - "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_203.RULE", - "referenced_filenames": [], + "license_expression": "gpl-3.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_203.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "license GPLv3" }, { - "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_367.RULE", - "referenced_filenames": [ - "LICENSE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "unknown-license-reference", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_367.RULE", + "rule_relevance": 100, "rule_length": 6, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-3.0-plus", - "rule_identifier": "gpl-3.0-plus_290.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" + "LICENSE" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "rule_text": "See LICENSE for the full text" }, { - "license_expression": "free-unknown", "rule_identifier": "free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_2.RULE", + "rule_relevance": 100, "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", - "referenced_filenames": [ - "INHERIT_LICENSE_FROM_PACKAGE" - ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_2.RULE", "referenced_filenames": [ "INHERIT_LICENSE_FROM_PACKAGE" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "rule_text": "This file is distributed under the same license as the PACKAGE package." } ], "files": [ diff --git a/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json b/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json index 41ab90d82de..1c6b847e9a2 100644 --- a/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json +++ b/tests/packagedcode/data/license_detection/reference-to-package/samba.expected.json @@ -1055,438 +1055,258 @@ ], "license_rule_references": [ { - "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_204.RULE", - "referenced_filenames": [], + "license_expression": "gpl-3.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_204.RULE", + "rule_relevance": 100, + "rule_length": 5514, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 5514, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "GNU GENERAL PUBLIC LICENSE\nVersion 3, 29 June 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. \nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\nThe licenses for most software and other practical works are designed\nto take away your freedom to share and change the works. By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users. We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors. You can apply it to\nyour programs, too.\n\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights. Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received. You must make sure that they, too, receive\nor can get the source code. And you must show them these terms so they\nknow their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software. For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\nSome devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so. This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software. The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable. Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts. If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary. To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and\nmodification follow.\n\nTERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this\nLicense. Each licensee is addressed as \"you\". \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy. The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based\non the Program.\n\nTo \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy. Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\nTo \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies. Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License. If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n1. Source Code.\n\nThe \"source code\" for a work means the preferred form of the work\nfor making modifications to it. \"Object code\" means any non-source\nform of a work.\n\nA \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\nThe \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form. A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities. However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work. For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\nThe Corresponding Source for a work in source code form is that\nsame work.\n\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met. This License explicitly affirms your unlimited\npermission to run the unmodified Program. The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work. This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force. You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright. Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under\nthe conditions stated below. Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\nWhen you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified\nit, and giving a relevant date.\n\nb) The work must carry prominent notices stating that it is\nreleased under this License and any conditions added under section\n7. This requirement modifies the requirement in section 4 to\n\"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this\nLicense to anyone who comes into possession of a copy. This\nLicense will therefore apply, along with any applicable section 7\nadditional terms, to the whole of the work, and all its parts,\nregardless of how they are packaged. This License gives no\npermission to license the work in any other way, but it does not\ninvalidate such permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display\nAppropriate Legal Notices; however, if the Program has interactive\ninterfaces that do not display Appropriate Legal Notices, your\nwork need not make them do so.\n\nA compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit. Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\na) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by the\nCorresponding Source fixed on a durable physical medium\ncustomarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product\n(including a physical distribution medium), accompanied by a\nwritten offer, valid for at least three years and valid for as\nlong as you offer spare parts or customer support for that product\nmodel, to give anyone who possesses the object code either (1) a\ncopy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical\nmedium customarily used for software interchange, for a price no\nmore than your reasonable cost of physically performing this\nconveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the\nwritten offer to provide the Corresponding Source. This\nalternative is allowed only occasionally and noncommercially, and\nonly if you received the object code with such an offer, in accord\nwith subsection 6b.\n\nd) Convey the object code by offering access from a designated\nplace (gratis or for a charge), and offer equivalent access to the\nCorresponding Source in the same way through the same place at no\nfurther charge. You need not require recipients to copy the\nCorresponding Source along with the object code. If the place to\ncopy the object code is a network server, the Corresponding Source\nmay be on a different server (operated by you or a third party)\nthat supports equivalent copying facilities, provided you maintain\nclear directions next to the object code saying where to find the\nCorresponding Source. Regardless of what server hosts the\nCorresponding Source, you remain obligated to ensure that it is\navailable for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided\nyou inform other peers where the object code and Corresponding\nSource of the work are being offered to the general public at no\ncharge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling. In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage. For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product. A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source. The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\nIf you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information. But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\nThe requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed. Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n7. Additional Terms.\n\n\"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law. If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit. (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.) You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the\nterms of sections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or\nauthor attributions in that material or in the Appropriate Legal\nNotices displayed by works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or\nrequiring that modified versions of such material be marked in\nreasonable ways as different from the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or\nauthors of the material; or\n\ne) Declining to grant rights under trademark law for use of some\ntrade names, trademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that\nmaterial by anyone who conveys the material (or modified versions of\nit) with contractual assumptions of liability to the recipient, for\nany liability that these contractual assumptions directly impose on\nthose licensors and authors.\n\nAll other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10. If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term. If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly\nprovided under this License. Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\nHowever, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\nTermination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License. If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or\nrun a copy of the Program. Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance. However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work. These actions infringe copyright if you do\nnot accept this License. Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License. You are not responsible\nfor enforcing compliance by third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations. If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License. For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based. The\nwork thus licensed is called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version. For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement). To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients. \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License. You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all. For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work. The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation. If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\nLater license versions may give you additional or different\npermissions. However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\nHow to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program. It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n\nCopyright (C) \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n Copyright (C) \nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License. Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n.\n\nThe GNU General Public License does not permit incorporating your program\ninto proprietary programs. If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library. If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License. But first, please read\n." }, { - "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_32.RULE", - "referenced_filenames": [], + "license_expression": "gpl-3.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_32.RULE", + "rule_relevance": 100, + "rule_length": 1, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "GPLv3" }, { - "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_29.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-3.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_29.RULE", + "rule_relevance": 100, + "rule_length": 1, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "LGPLv3" }, { - "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "referenced_filenames": [], + "license_expression": "gpl-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_bare_single_word.RULE", + "rule_relevance": 100, + "rule_length": 1, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "GPLv2" }, { - "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_627.RULE", - "referenced_filenames": [], + "license_expression": "gpl-2.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_627.RULE", + "rule_relevance": 100, + "rule_length": 30, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 30, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "licensed under the terms of the GNU General Public License\nas published by the Free Software Foundation; either version 2 of the License,\nor (at your option) any later version." }, { - "license_expression": "free-unknown", "rule_identifier": "free-unknown_88.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "free-unknown", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown_88.RULE", + "rule_relevance": 50, "rule_length": 3, - "rule_relevance": 50 - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_33.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "open source license" }, { + "rule_identifier": "gpl-1.0-plus_33.RULE", "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_bare_gnu_gpl.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_33.RULE", + "rule_relevance": 100, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "the GNU General Public License" }, { + "rule_identifier": "gpl_bare_gnu_gpl.RULE", "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_33.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_bare_gnu_gpl.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "GNU GPL" }, { - "license_expression": "lgpl-3.0-plus", "rule_identifier": "lgpl-3.0-plus_103.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-3.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0-plus_103.RULE", + "rule_relevance": 100, + "rule_length": 36, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 36, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "License\n\nThe source code is released 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." }, { - "license_expression": "gpl-3.0", "rule_identifier": "gpl-3.0_12.RULE", - "referenced_filenames": [], + "license_expression": "gpl-3.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0_12.RULE", + "rule_relevance": 100, + "rule_length": 9, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "http://www.gnu.org/licenses/gpl-3.0.html" }, { - "license_expression": "lgpl-3.0", "rule_identifier": "lgpl-3.0_1.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-3.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-3.0_1.RULE", + "rule_relevance": 100, + "rule_length": 9, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "http://www.gnu.org/licenses/lgpl-3.0.html" }, { - "license_expression": "cc-by-sa-3.0", "rule_identifier": "cc-by-sa-3.0_10.RULE", - "referenced_filenames": [], + "license_expression": "cc-by-sa-3.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-3.0_10.RULE", + "rule_relevance": 100, + "rule_length": 16, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 16, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "is licensed under a Creative Commons\n# Attribution-ShareAlike license:\n# http://creativecommons.org/licenses/by-sa/3.0." }, { - "license_expression": "cc-by-sa-4.0", "rule_identifier": "cc-by-sa-4.0_71.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "cc-by-sa-4.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-sa-4.0_71.RULE", + "rule_relevance": 100, "rule_length": 9, - "rule_relevance": 100 - }, - { - "license_expression": "dco-1.1", - "rule_identifier": "dco-1.1_2.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 7, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0", - "rule_identifier": "gpl-2.0_1142.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_236.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-3.0", - "rule_identifier": "gpl-3.0_204.RULE", "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5514, - "rule_relevance": 100 + "rule_text": "https://creativecommons.org/licenses/by-sa/4.0/legalcode" }, { - "license_expression": "gpl-3.0", - "rule_identifier": "gpl-3.0_32.RULE", - "referenced_filenames": [], + "rule_identifier": "dco-1.1_2.RULE", + "license_expression": "dco-1.1", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/dco-1.1_2.RULE", + "rule_relevance": 100, + "rule_length": 7, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-3.0", - "rule_identifier": "lgpl-3.0_29.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100 + "rule_text": "Developer's Certificate of Origin 1.1" }, { + "rule_identifier": "gpl-2.0_1142.RULE", "license_expression": "gpl-2.0", - "rule_identifier": "gpl-2.0_bare_single_word.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus", - "rule_identifier": "gpl-2.0-plus_627.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1142.RULE", + "rule_relevance": 100, + "rule_length": 11, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 30, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown_88.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50 - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_bare_gnu_gpl.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 + "rule_text": "free software licensed under the GNU General Public License version 2." }, { + "rule_identifier": "gpl_236.RULE", "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl-1.0-plus_33.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-3.0-plus", - "rule_identifier": "lgpl-3.0-plus_103.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 36, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-3.0", - "rule_identifier": "gpl-3.0_12.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-3.0", - "rule_identifier": "lgpl-3.0_1.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100 - }, - { - "license_expression": "cc-by-sa-3.0", - "rule_identifier": "cc-by-sa-3.0_10.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_236.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 16, - "rule_relevance": 100 - }, - { - "license_expression": "cc-by-sa-4.0", - "rule_identifier": "cc-by-sa-4.0_71.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100 + "rule_text": "Gnu Public\nLicense" }, { - "license_expression": "dco-1.1", - "rule_identifier": "dco-1.1_2.RULE", - "referenced_filenames": [], + "rule_identifier": "free-unknown-package_4.RULE", + "license_expression": "free-unknown", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/free-unknown-package_4.RULE", + "rule_relevance": 100, + "rule_length": 10, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 7, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0", - "rule_identifier": "gpl-2.0_1142.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_236.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "free-unknown", - "rule_identifier": "free-unknown-package_4.RULE", "referenced_filenames": [ "INHERIT_LICENSE_FROM_PACKAGE" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 10, - "rule_relevance": 100 + "rule_text": "This file is distributed under the same license as the" }, { - "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", - "referenced_filenames": [], + "license_expression": "gpl-3.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", + "rule_relevance": 100, + "rule_length": 102, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either {{version 3}} of the License, or\n(at your option) {{any later version}}.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see ." } ], "files": [ diff --git a/tests/scancode/data/info/all.expected.json b/tests/scancode/data/info/all.expected.json index e77ab1289be..4517960f2e9 100644 --- a/tests/scancode/data/info/all.expected.json +++ b/tests/scancode/data/info/all.expected.json @@ -126,31 +126,35 @@ ], "license_rule_references": [ { - "license_expression": "gpl-2.0 OR bsd-new", "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", - "referenced_filenames": [ - "COPYING", - "README" - ], + "license_expression": "gpl-2.0 OR bsd-new", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_or_bsd-new_aes_1.RULE", + "rule_relevance": 100, + "rule_length": 50, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 50, - "rule_relevance": 100 + "referenced_filenames": [ + "COPYING", + "README" + ], + "rule_text": "*\n* 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\n* published by the Free Software Foundation.\n*\n* Alternatively, this software may be distributed under the terms of BSD\n* license.\n*\n* See README and COPYING for more details." }, { - "license_expression": "bsd-original-uc", "rule_identifier": "bsd-original-uc_3.RULE", - "referenced_filenames": [], + "license_expression": "bsd-original-uc", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original-uc_3.RULE", + "rule_relevance": 100, + "rule_length": 243, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 243, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_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*\tThis product includes software developed by the University of\n*\tCalifornia, 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.\n*" } ], "files": [ diff --git a/tests/scancode/data/info/all.rooted.expected.json b/tests/scancode/data/info/all.rooted.expected.json index 5de98b2fa73..c4c99dd8306 100644 --- a/tests/scancode/data/info/all.rooted.expected.json +++ b/tests/scancode/data/info/all.rooted.expected.json @@ -126,31 +126,35 @@ ], "license_rule_references": [ { - "license_expression": "gpl-2.0 OR bsd-new", "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", - "referenced_filenames": [ - "COPYING", - "README" - ], + "license_expression": "gpl-2.0 OR bsd-new", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_or_bsd-new_aes_1.RULE", + "rule_relevance": 100, + "rule_length": 50, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 50, - "rule_relevance": 100 + "referenced_filenames": [ + "COPYING", + "README" + ], + "rule_text": "*\n* 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\n* published by the Free Software Foundation.\n*\n* Alternatively, this software may be distributed under the terms of BSD\n* license.\n*\n* See README and COPYING for more details." }, { - "license_expression": "bsd-original-uc", "rule_identifier": "bsd-original-uc_3.RULE", - "referenced_filenames": [], + "license_expression": "bsd-original-uc", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original-uc_3.RULE", + "rule_relevance": 100, + "rule_length": 243, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 243, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_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*\tThis product includes software developed by the University of\n*\tCalifornia, 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.\n*" } ], "files": [ diff --git a/tests/scancode/data/license_text/test.expected b/tests/scancode/data/license_text/test.expected index 058a6ed330b..3060fd85200 100644 --- a/tests/scancode/data/license_text/test.expected +++ b/tests/scancode/data/license_text/test.expected @@ -59,16 +59,18 @@ ], "license_rule_references": [ { - "license_expression": "lgpl-2.1", "rule_identifier": "lgpl-2.1_38.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-2.1", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_38.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "license: LGPL-2.1" } ], "files": [ diff --git a/tests/scancode/data/plugin_only_findings/basic.expected.json b/tests/scancode/data/plugin_only_findings/basic.expected.json index de4136534dd..36e6e0f141e 100644 --- a/tests/scancode/data/plugin_only_findings/basic.expected.json +++ b/tests/scancode/data/plugin_only_findings/basic.expected.json @@ -128,31 +128,35 @@ ], "license_rule_references": [ { - "license_expression": "gpl-2.0 OR bsd-new", "rule_identifier": "gpl-2.0_or_bsd-new_aes_1.RULE", - "referenced_filenames": [ - "COPYING", - "README" - ], + "license_expression": "gpl-2.0 OR bsd-new", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_or_bsd-new_aes_1.RULE", + "rule_relevance": 100, + "rule_length": 50, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 50, - "rule_relevance": 100 + "referenced_filenames": [ + "COPYING", + "README" + ], + "rule_text": "*\n* 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\n* published by the Free Software Foundation.\n*\n* Alternatively, this software may be distributed under the terms of BSD\n* license.\n*\n* See README and COPYING for more details." }, { - "license_expression": "bsd-original-uc", "rule_identifier": "bsd-original-uc_3.RULE", - "referenced_filenames": [], + "license_expression": "bsd-original-uc", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-original-uc_3.RULE", + "rule_relevance": 100, + "rule_length": 243, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 243, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_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*\tThis product includes software developed by the University of\n*\tCalifornia, 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.\n*" } ], "files": [ diff --git a/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json b/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json index 98329703c5e..2c68406cc52 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json @@ -292,112 +292,60 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "apache-2.0" }, { - "license_expression": "lgpl-2.0", "rule_identifier": "lgpl-2.0_bare_id.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0_bare_id.RULE", + "rule_relevance": 80, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 80 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "LGPL-2.0" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "license: Apache-2.0" }, { - "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1336.RULE", - "referenced_filenames": [], + "license_expression": "gpl-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1336.RULE", + "rule_relevance": 100, + "rule_length": 9, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Licensed under the GNU General Public License 2.0" } ], "consolidated_components": [ diff --git a/tests/summarycode/data/plugin_consolidate/component-package-expected.json b/tests/summarycode/data/plugin_consolidate/component-package-expected.json index 7b5b4287f28..4458bdf11c2 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-expected.json @@ -247,112 +247,60 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "apache-2.0" }, { - "license_expression": "lgpl-2.0", "rule_identifier": "lgpl-2.0_bare_id.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0_bare_id.RULE", + "rule_relevance": 80, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 80 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "LGPL-2.0" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "license: Apache-2.0" }, { - "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1336.RULE", - "referenced_filenames": [], + "license_expression": "gpl-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1336.RULE", + "rule_relevance": 100, + "rule_length": 9, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Licensed under the GNU General Public License 2.0" } ], "consolidated_components": [ diff --git a/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json b/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json index c27edfcf846..b310ebd0222 100644 --- a/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json +++ b/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json @@ -155,76 +155,60 @@ ], "license_rule_references": [ { - "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_208.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "gpl-1.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE", + "rule_relevance": 100, "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0", - "rule_identifier": "gpl-2.0_840.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-1.0-plus", - "rule_identifier": "gpl_208.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "Licensed under GPL" }, { - "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_840.RULE", - "referenced_filenames": [], + "license_expression": "gpl-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "under GPL-2" }, { - "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_2.RULE", - "referenced_filenames": [], + "license_expression": "unknown-license-reference", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE", + "rule_relevance": 50, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": true, - "rule_length": 2, - "rule_relevance": 50 + "referenced_filenames": [], + "rule_text": "Licensed under" }, { - "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "apache-2.0" } ], "consolidated_components": [ diff --git a/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json b/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json index 13bb541a7a9..2142641b788 100644 --- a/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json +++ b/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json @@ -73,52 +73,18 @@ ], "license_rule_references": [ { - "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_1074.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { "license_expression": "gpl-2.0", - "rule_identifier": "gpl-2.0_1074.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_1074.RULE", + "rule_relevance": 100, "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0", - "rule_identifier": "gpl-2.0_1074.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0", - "rule_identifier": "gpl-2.0_1074.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "rule_text": "License : GPL 2.0" } ], "consolidated_components": [ diff --git a/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json b/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json index 5eb257c8caf..e327a8cf2d7 100644 --- a/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json @@ -143,100 +143,32 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "apache-2.0" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "license: Apache-2.0" } ], "consolidated_components": [ diff --git a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json index eafbfd1f177..1104c23cad3 100644 --- a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json @@ -143,76 +143,32 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "apache-2.0" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "rule_text": "license: Apache-2.0" } ], "consolidated_components": [ diff --git a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json index 4f5df65698d..27ebf71ca2a 100644 --- a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json @@ -143,40 +143,32 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "apache-2.0" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "license: Apache-2.0" } ], "consolidated_components": [], diff --git a/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json b/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json index 3a064623fc2..b6d37e15e44 100644 --- a/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json +++ b/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json @@ -50,52 +50,18 @@ ], "license_rule_references": [ { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 - }, - { "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, "rule_length": 161, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], "consolidated_components": [ diff --git a/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json b/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json index 1ccb5e1bb3e..899fd71e12d 100644 --- a/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json +++ b/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json @@ -155,100 +155,60 @@ ], "license_rule_references": [ { - "license_expression": "unknown-license-reference", "rule_identifier": "license-intro_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, - "rule_length": 2, - "rule_relevance": 50 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_2.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": true, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_2.RULE", + "rule_relevance": 50, "rule_length": 2, - "rule_relevance": 50 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "license-intro_2.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": true, - "rule_length": 2, - "rule_relevance": 50 + "referenced_filenames": [], + "rule_text": "Licensed under" }, { - "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "apache-2.0" }, { - "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_208.RULE", - "referenced_filenames": [], + "license_expression": "gpl-1.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Licensed under GPL" }, { - "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_840.RULE", - "referenced_filenames": [], + "license_expression": "gpl-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "under GPL-2" } ], "consolidated_components": [ diff --git a/tests/summarycode/data/score/basic-expected.json b/tests/summarycode/data/score/basic-expected.json index 91e13d62940..3966b6d91cf 100644 --- a/tests/summarycode/data/score/basic-expected.json +++ b/tests/summarycode/data/score/basic-expected.json @@ -69,40 +69,32 @@ ], "license_rule_references": [ { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." }, { - "license_expression": "mit", "rule_identifier": "mit_30.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "rule_text": "License: MIT" } ], "summary": { diff --git a/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json b/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json index 0b21b1e9824..ca5d85f6975 100644 --- a/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json +++ b/tests/summarycode/data/score/inconsistent_licenses_copyleft-expected.json @@ -115,52 +115,46 @@ ], "license_rule_references": [ { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." }, { - "license_expression": "mit", "rule_identifier": "mit_30.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit.LICENSE", "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "rule_text": "License: MIT" }, { - "license_expression": "gpl-2.0-plus", "rule_identifier": "spdx-license-identifier: gpl-2.0-plus", - "referenced_filenames": [], + "license_expression": "gpl-2.0-plus", + "rule_url": null, + "rule_relevance": 100, + "rule_length": 8, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 8, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": null } ], "summary": { diff --git a/tests/summarycode/data/score/no_license_ambiguity-expected.json b/tests/summarycode/data/score/no_license_ambiguity-expected.json index 7a1e0741b4f..612682efb1a 100644 --- a/tests/summarycode/data/score/no_license_ambiguity-expected.json +++ b/tests/summarycode/data/score/no_license_ambiguity-expected.json @@ -181,91 +181,105 @@ ], "license_rule_references": [ { - "license_expression": "mit OR apache-2.0", "rule_identifier": "mit_or_apache-2.0_14.RULE", - "referenced_filenames": [], + "license_expression": "mit OR apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_or_apache-2.0_14.RULE", + "rule_relevance": 100, + "rule_length": 6, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 6, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "license = \"MIT OR Apache-2.0\"" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_1060.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_1060.RULE", + "rule_relevance": 100, + "rule_length": 48, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 48, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Copyrights in the project are retained by their contributors. No\ncopyright assignment is required to contribute to the project.\n\nFor full authorship information, see the version control history.\n\nExcept as otherwise noted (below and/or in individual files), is\n{{licensed under the Apache License, Version 2.0}} ." }, { - "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_47.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0 OR mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_47.RULE", + "rule_relevance": 100, + "rule_length": 45, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 45, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Except as otherwise noted (below and/or in individual files), is\nlicensed under the {{Apache License, Version 2.0}} or\n or the {{MIT license}}\n or , {{at your option.}}" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_875.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_875.RULE", + "rule_relevance": 100, + "rule_length": 1410, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Apache License\n\nVersion 2.0, January 2004\nhttps://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by the\ncopyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all other\nentities that control, are controlled by, or are under common control\nwith that entity. For the purposes of this definition, \"control\" means\n(i) the power, direct or indirect, to cause the direction or management\nof such entity, whether by contract or otherwise, or (ii) ownership\nof fifty percent (50%) or more of the outstanding shares, or (iii)\nbeneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity exercising\npermissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation source,\nand configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical transformation\nor translation of a Source form, including but not limited to compiled\nobject code, generated documentation, and conversions to other media\ntypes.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a copyright\nnotice that is included in or attached to the work (an example is provided\nin the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object form,\nthat is based on (or derived from) the Work and for which the editorial\nrevisions, annotations, elaborations, or other modifications represent,\nas a whole, an original work of authorship. For the purposes of this\nLicense, Derivative Works shall not include works that remain separable\nfrom, or merely link (or bind by name) to the interfaces of, the Work\nand Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including the\noriginal version of the Work and any modifications or additions to\nthat Work or Derivative Works thereof, that is intentionally submitted\nto Licensor for inclusion in the Work by the copyright owner or by an\nindividual or Legal Entity authorized to submit on behalf of the copyright\nowner. For the purposes of this definition, \"submitted\" means any form of\nelectronic, verbal, or written communication sent to the Licensor or its\nrepresentatives, including but not limited to communication on electronic\nmailing lists, source code control systems, and issue tracking systems\nthat are managed by, or on behalf of, the Licensor for the purpose of\ndiscussing and improving the Work, but excluding communication that is\nconspicuously marked or otherwise designated in writing by the copyright\nowner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty-free, irrevocable copyright license to reproduce, prepare\nDerivative Works of, publicly display, publicly perform, sublicense, and\ndistribute the Work and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty- free, irrevocable (except as stated in this section) patent\nlicense to make, have made, use, offer to sell, sell, import, and\notherwise transfer the Work, where such license applies only to those\npatent claims licensable by such Contributor that are necessarily\ninfringed by their Contribution(s) alone or by combination of\ntheir Contribution(s) with the Work to which such Contribution(s)\nwas submitted. If You institute patent litigation against any entity\n(including a cross-claim or counterclaim in a lawsuit) alleging that the\nWork or a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses granted\nto You under this License for that Work shall terminate as of the date\nsuch litigation is filed.\n\n4. Redistribution.\nYou may reproduce and distribute copies of the Work or Derivative Works\nthereof in any medium, with or without modifications, and in Source or\nObject form, provided that You meet the following conditions:\n\na. You must give any other recipients of the Work or Derivative Works\na copy of this License; and\n\nb. You must cause any modified files to carry prominent notices stating\nthat You changed the files; and\n\nc. You must retain, in the Source form of any Derivative Works that\nYou distribute, all copyright, patent, trademark, and attribution\nnotices from the Source form of the Work, excluding those notices\nthat do not pertain to any part of the Derivative Works; and\n\nd. If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one of\nthe following places: within a NOTICE text file distributed as part\nof the Derivative Works; within the Source form or documentation,\nif provided along with the Derivative Works; or, within a display\ngenerated by the Derivative Works, if and wherever such third-party\nnotices normally appear. The contents of the NOTICE file are for\ninformational purposes only and do not modify the License. You\nmay add Your own attribution notices within Derivative Works that\nYou distribute, alongside or as an addendum to the NOTICE text\nfrom the Work, provided that such additional attribution notices\ncannot be construed as modifying the License. You may add Your own\ncopyright statement to Your modifications and may provide additional\nor different license terms and conditions for use, reproduction, or\ndistribution of Your modifications, or for any such Derivative Works\nas a whole, provided Your use, reproduction, and distribution of the\nWork otherwise complies with the conditions stated in this License.\n\n5. Submission of Contributions.\nUnless You explicitly state otherwise, any Contribution intentionally\nsubmitted for inclusion in the Work by You to the Licensor shall be\nunder the terms and conditions of this License, without any additional\nterms or conditions. Notwithstanding the above, nothing herein shall\nsupersede or modify the terms of any separate license agreement you may\nhave executed with Licensor regarding such Contributions.\n\n6. Trademarks.\nThis License does not grant permission to use the trade names, trademarks,\nservice marks, or product names of the Licensor, except as required for\nreasonable and customary use in describing the origin of the Work and\nreproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty.\nUnless required by applicable law or agreed to in writing, Licensor\nprovides the Work (and each Contributor provides its Contributions) on\nan \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\nexpress or implied, including, without limitation, any warranties or\nconditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR\nA PARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any risks\nassociated with Your exercise of permissions under this License.\n\n8. Limitation of Liability.\nIn no event and under no legal theory, whether in tort (including\nnegligence), contract, or otherwise, unless required by applicable law\n(such as deliberate and grossly negligent acts) or agreed to in writing,\nshall any Contributor be liable to You for damages, including any direct,\nindirect, special, incidental, or consequential damages of any character\narising as a result of this License or out of the use or inability to\nuse the Work (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all other\ncommercial damages or losses), even if such Contributor has been advised\nof the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability.\nWhile redistributing the Work or Derivative Works thereof, You may\nchoose to offer, and charge a fee for, acceptance of support, warranty,\nindemnity, or other liability obligations and/or rights consistent with\nthis License. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf of\nany other Contributor, and only if You agree to indemnify, defend, and\nhold each Contributor harmless for any liability incurred by, or claims\nasserted against, such Contributor by reason of your accepting any such\nwarranty or additional liability.\n\nEND OF TERMS AND CONDITIONS" }, { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." }, { - "license_expression": "mit OR apache-2.0", "rule_identifier": "mit_or_apache-2.0_9.RULE", - "referenced_filenames": [ - "LICENSE-MIT", - "LICENSE" - ], + "license_expression": "mit OR apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_or_apache-2.0_9.RULE", + "rule_relevance": 100, + "rule_length": 26, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 26, - "rule_relevance": 100 + "referenced_filenames": [ + "LICENSE-MIT", + "LICENSE" + ], + "rule_text": "License\n\nThis work is dual-licensed and distributed under the (1) MIT License and (2) Apache License, Version 2.0. Please see LICENSE-MIT and LICENSE." }, { - "license_expression": "mit", "rule_identifier": "mit_154.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_154.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "License\nMIT License (MIT)" } ], "summary": { diff --git a/tests/summarycode/data/score/no_license_text-expected.json b/tests/summarycode/data/score/no_license_text-expected.json index f8cc5a8ca2a..6473b528f4c 100644 --- a/tests/summarycode/data/score/no_license_text-expected.json +++ b/tests/summarycode/data/score/no_license_text-expected.json @@ -48,16 +48,18 @@ ], "license_rule_references": [ { - "license_expression": "mit", "rule_identifier": "mit_30.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "License: MIT" } ], "summary": { diff --git a/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json b/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json index aefcef63f08..8ec465c7874 100644 --- a/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json +++ b/tests/summarycode/data/summary/conflicting_license_categories/conflicting_license_categories.expected.json @@ -302,88 +302,102 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", + "rule_relevance": 100, + "rule_length": 1410, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Apache License\n\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by the\ncopyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all other\nentities that control, are controlled by, or are under common control\nwith that entity. For the purposes of this definition, \"control\" means\n(i) the power, direct or indirect, to cause the direction or management\nof such entity, whether by contract or otherwise, or (ii) ownership\nof fifty percent (50%) or more of the outstanding shares, or (iii)\nbeneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity exercising\npermissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation source,\nand configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical transformation\nor translation of a Source form, including but not limited to compiled\nobject code, generated documentation, and conversions to other media\ntypes.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a copyright\nnotice that is included in or attached to the work (an example is provided\nin the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object form,\nthat is based on (or derived from) the Work and for which the editorial\nrevisions, annotations, elaborations, or other modifications represent,\nas a whole, an original work of authorship. For the purposes of this\nLicense, Derivative Works shall not include works that remain separable\nfrom, or merely link (or bind by name) to the interfaces of, the Work\nand Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including the\noriginal version of the Work and any modifications or additions to\nthat Work or Derivative Works thereof, that is intentionally submitted\nto Licensor for inclusion in the Work by the copyright owner or by an\nindividual or Legal Entity authorized to submit on behalf of the copyright\nowner. For the purposes of this definition, \"submitted\" means any form of\nelectronic, verbal, or written communication sent to the Licensor or its\nrepresentatives, including but not limited to communication on electronic\nmailing lists, source code control systems, and issue tracking systems\nthat are managed by, or on behalf of, the Licensor for the purpose of\ndiscussing and improving the Work, but excluding communication that is\nconspicuously marked or otherwise designated in writing by the copyright\nowner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty-free, irrevocable copyright license to reproduce, prepare\nDerivative Works of, publicly display, publicly perform, sublicense, and\ndistribute the Work and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty- free, irrevocable (except as stated in this section) patent\nlicense to make, have made, use, offer to sell, sell, import, and\notherwise transfer the Work, where such license applies only to those\npatent claims licensable by such Contributor that are necessarily\ninfringed by their Contribution(s) alone or by combination of\ntheir Contribution(s) with the Work to which such Contribution(s)\nwas submitted. If You institute patent litigation against any entity\n(including a cross-claim or counterclaim in a lawsuit) alleging that the\nWork or a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses granted\nto You under this License for that Work shall terminate as of the date\nsuch litigation is filed.\n\n4. Redistribution.\nYou may reproduce and distribute copies of the Work or Derivative Works\nthereof in any medium, with or without modifications, and in Source or\nObject form, provided that You meet the following conditions:\n\na. You must give any other recipients of the Work or Derivative Works\na copy of this License; and\n\nb. You must cause any modified files to carry prominent notices stating\nthat You changed the files; and\n\nc. You must retain, in the Source form of any Derivative Works that\nYou distribute, all copyright, patent, trademark, and attribution\nnotices from the Source form of the Work, excluding those notices\nthat do not pertain to any part of the Derivative Works; and\n\nd. If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one of\nthe following places: within a NOTICE text file distributed as part\nof the Derivative Works; within the Source form or documentation,\nif provided along with the Derivative Works; or, within a display\ngenerated by the Derivative Works, if and wherever such third-party\nnotices normally appear. The contents of the NOTICE file are for\ninformational purposes only and do not modify the License. You\nmay add Your own attribution notices within Derivative Works that\nYou distribute, alongside or as an addendum to the NOTICE text\nfrom the Work, provided that such additional attribution notices\ncannot be construed as modifying the License. You may add Your own\ncopyright statement to Your modifications and may provide additional\nor different license terms and conditions for use, reproduction, or\ndistribution of Your modifications, or for any such Derivative Works\nas a whole, provided Your use, reproduction, and distribution of the\nWork otherwise complies with the conditions stated in this License.\n\n5. Submission of Contributions.\nUnless You explicitly state otherwise, any Contribution intentionally\nsubmitted for inclusion in the Work by You to the Licensor shall be\nunder the terms and conditions of this License, without any additional\nterms or conditions. Notwithstanding the above, nothing herein shall\nsupersede or modify the terms of any separate license agreement you may\nhave executed with Licensor regarding such Contributions.\n\n6. Trademarks.\nThis License does not grant permission to use the trade names, trademarks,\nservice marks, or product names of the Licensor, except as required for\nreasonable and customary use in describing the origin of the Work and\nreproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty.\nUnless required by applicable law or agreed to in writing, Licensor\nprovides the Work (and each Contributor provides its Contributions) on\nan \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\nexpress or implied, including, without limitation, any warranties or\nconditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR\nA PARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any risks\nassociated with Your exercise of permissions under this License.\n\n8. Limitation of Liability.\nIn no event and under no legal theory, whether in tort (including\nnegligence), contract, or otherwise, unless required by applicable law\n(such as deliberate and grossly negligent acts) or agreed to in writing,\nshall any Contributor be liable to You for damages, including any direct,\nindirect, special, incidental, or consequential damages of any character\narising as a result of this License or out of the use or inability to\nuse the Work (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all other\ncommercial damages or losses), even if such Contributor has been advised\nof the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability.\nWhile redistributing the Work or Derivative Works thereof, You may\nchoose to offer, and charge a fee for, acceptance of support, warranty,\nindemnity, or other liability obligations and/or rights consistent with\nthis License. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf of\nany other Contributor, and only if You agree to indemnify, defend, and\nhold each Contributor harmless for any liability incurred by, or claims\nasserted against, such Contributor by reason of your accepting any such\nwarranty or additional liability.\n\nEND OF TERMS AND CONDITIONS" }, { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", + "rule_relevance": 80, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80 + "referenced_filenames": [], + "rule_text": "is licensed under [Apache]" }, { - "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0 OR mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", + "rule_relevance": 100, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "{{apache-2.0 OR MIT}}" }, { - "license_expression": "gpl-1.0-plus", "rule_identifier": "gpl_208.RULE", - "referenced_filenames": [], + "license_expression": "gpl-1.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_208.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Licensed under GPL" }, { - "license_expression": "gpl-2.0", "rule_identifier": "gpl-2.0_840.RULE", - "referenced_filenames": [], + "license_expression": "gpl-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_840.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "under GPL-2" }, { - "license_expression": "gpl-2.0-plus", "rule_identifier": "spdx_license_id_gpl-2.0-or-later_for_gpl-2.0-plus.RULE", - "referenced_filenames": [], + "license_expression": "gpl-2.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_gpl-2.0-or-later_for_gpl-2.0-plus.RULE", + "rule_relevance": 50, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 50 + "referenced_filenames": [], + "rule_text": "gpl-2.0-or-later" } ], "files": [ diff --git a/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json b/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json index 1de5389ab8b..c0355442255 100644 --- a/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json +++ b/tests/summarycode/data/summary/end-2-end/bug-1141.expected.json @@ -134,28 +134,32 @@ ], "license_rule_references": [ { - "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", - "referenced_filenames": [], + "license_expression": "gpl-3.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", + "rule_relevance": 100, + "rule_length": 102, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either {{version 3}} of the License, or\n(at your option) {{any later version}}.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see ." }, { - "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_119.RULE", - "referenced_filenames": [], + "license_expression": "gpl-2.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_119.RULE", + "rule_relevance": 100, + "rule_length": 102, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see ." } ], "files": [ diff --git a/tests/summarycode/data/summary/holders/clear_holder.expected.json b/tests/summarycode/data/summary/holders/clear_holder.expected.json index 8f9d3b670f9..e861b446e16 100644 --- a/tests/summarycode/data/summary/holders/clear_holder.expected.json +++ b/tests/summarycode/data/summary/holders/clear_holder.expected.json @@ -169,100 +169,60 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", + "rule_relevance": 100, + "rule_length": 1410, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Apache License\n\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by the\ncopyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all other\nentities that control, are controlled by, or are under common control\nwith that entity. For the purposes of this definition, \"control\" means\n(i) the power, direct or indirect, to cause the direction or management\nof such entity, whether by contract or otherwise, or (ii) ownership\nof fifty percent (50%) or more of the outstanding shares, or (iii)\nbeneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity exercising\npermissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation source,\nand configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical transformation\nor translation of a Source form, including but not limited to compiled\nobject code, generated documentation, and conversions to other media\ntypes.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a copyright\nnotice that is included in or attached to the work (an example is provided\nin the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object form,\nthat is based on (or derived from) the Work and for which the editorial\nrevisions, annotations, elaborations, or other modifications represent,\nas a whole, an original work of authorship. For the purposes of this\nLicense, Derivative Works shall not include works that remain separable\nfrom, or merely link (or bind by name) to the interfaces of, the Work\nand Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including the\noriginal version of the Work and any modifications or additions to\nthat Work or Derivative Works thereof, that is intentionally submitted\nto Licensor for inclusion in the Work by the copyright owner or by an\nindividual or Legal Entity authorized to submit on behalf of the copyright\nowner. For the purposes of this definition, \"submitted\" means any form of\nelectronic, verbal, or written communication sent to the Licensor or its\nrepresentatives, including but not limited to communication on electronic\nmailing lists, source code control systems, and issue tracking systems\nthat are managed by, or on behalf of, the Licensor for the purpose of\ndiscussing and improving the Work, but excluding communication that is\nconspicuously marked or otherwise designated in writing by the copyright\nowner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty-free, irrevocable copyright license to reproduce, prepare\nDerivative Works of, publicly display, publicly perform, sublicense, and\ndistribute the Work and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty- free, irrevocable (except as stated in this section) patent\nlicense to make, have made, use, offer to sell, sell, import, and\notherwise transfer the Work, where such license applies only to those\npatent claims licensable by such Contributor that are necessarily\ninfringed by their Contribution(s) alone or by combination of\ntheir Contribution(s) with the Work to which such Contribution(s)\nwas submitted. If You institute patent litigation against any entity\n(including a cross-claim or counterclaim in a lawsuit) alleging that the\nWork or a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses granted\nto You under this License for that Work shall terminate as of the date\nsuch litigation is filed.\n\n4. Redistribution.\nYou may reproduce and distribute copies of the Work or Derivative Works\nthereof in any medium, with or without modifications, and in Source or\nObject form, provided that You meet the following conditions:\n\na. You must give any other recipients of the Work or Derivative Works\na copy of this License; and\n\nb. You must cause any modified files to carry prominent notices stating\nthat You changed the files; and\n\nc. You must retain, in the Source form of any Derivative Works that\nYou distribute, all copyright, patent, trademark, and attribution\nnotices from the Source form of the Work, excluding those notices\nthat do not pertain to any part of the Derivative Works; and\n\nd. If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one of\nthe following places: within a NOTICE text file distributed as part\nof the Derivative Works; within the Source form or documentation,\nif provided along with the Derivative Works; or, within a display\ngenerated by the Derivative Works, if and wherever such third-party\nnotices normally appear. The contents of the NOTICE file are for\ninformational purposes only and do not modify the License. You\nmay add Your own attribution notices within Derivative Works that\nYou distribute, alongside or as an addendum to the NOTICE text\nfrom the Work, provided that such additional attribution notices\ncannot be construed as modifying the License. You may add Your own\ncopyright statement to Your modifications and may provide additional\nor different license terms and conditions for use, reproduction, or\ndistribution of Your modifications, or for any such Derivative Works\nas a whole, provided Your use, reproduction, and distribution of the\nWork otherwise complies with the conditions stated in this License.\n\n5. Submission of Contributions.\nUnless You explicitly state otherwise, any Contribution intentionally\nsubmitted for inclusion in the Work by You to the Licensor shall be\nunder the terms and conditions of this License, without any additional\nterms or conditions. Notwithstanding the above, nothing herein shall\nsupersede or modify the terms of any separate license agreement you may\nhave executed with Licensor regarding such Contributions.\n\n6. Trademarks.\nThis License does not grant permission to use the trade names, trademarks,\nservice marks, or product names of the Licensor, except as required for\nreasonable and customary use in describing the origin of the Work and\nreproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty.\nUnless required by applicable law or agreed to in writing, Licensor\nprovides the Work (and each Contributor provides its Contributions) on\nan \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\nexpress or implied, including, without limitation, any warranties or\nconditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR\nA PARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any risks\nassociated with Your exercise of permissions under this License.\n\n8. Limitation of Liability.\nIn no event and under no legal theory, whether in tort (including\nnegligence), contract, or otherwise, unless required by applicable law\n(such as deliberate and grossly negligent acts) or agreed to in writing,\nshall any Contributor be liable to You for damages, including any direct,\nindirect, special, incidental, or consequential damages of any character\narising as a result of this License or out of the use or inability to\nuse the Work (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all other\ncommercial damages or losses), even if such Contributor has been advised\nof the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability.\nWhile redistributing the Work or Derivative Works thereof, You may\nchoose to offer, and charge a fee for, acceptance of support, warranty,\nindemnity, or other liability obligations and/or rights consistent with\nthis License. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf of\nany other Contributor, and only if You agree to indemnify, defend, and\nhold each Contributor harmless for any liability incurred by, or claims\nasserted against, such Contributor by reason of your accepting any such\nwarranty or additional liability.\n\nEND OF TERMS AND CONDITIONS" }, { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", + "rule_relevance": 80, "rule_length": 4, - "rule_relevance": 80 - }, - { - "license_expression": "apache-2.0 OR mit", - "rule_identifier": "apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_73.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80 + "rule_text": "is licensed under [Apache]" }, { - "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "apache-2.0 OR mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", + "rule_relevance": 100, "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_73.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80 - }, - { - "license_expression": "apache-2.0 OR mit", - "rule_identifier": "apache-2.0_or_mit_36.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "rule_text": "{{apache-2.0 OR MIT}}" } ], "files": [ diff --git a/tests/summarycode/data/summary/holders/combined_holders.expected.json b/tests/summarycode/data/summary/holders/combined_holders.expected.json index b336232e374..0c45e3b8425 100644 --- a/tests/summarycode/data/summary/holders/combined_holders.expected.json +++ b/tests/summarycode/data/summary/holders/combined_holders.expected.json @@ -165,100 +165,60 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", + "rule_relevance": 100, + "rule_length": 1410, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Apache License\n\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by the\ncopyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all other\nentities that control, are controlled by, or are under common control\nwith that entity. For the purposes of this definition, \"control\" means\n(i) the power, direct or indirect, to cause the direction or management\nof such entity, whether by contract or otherwise, or (ii) ownership\nof fifty percent (50%) or more of the outstanding shares, or (iii)\nbeneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity exercising\npermissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation source,\nand configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical transformation\nor translation of a Source form, including but not limited to compiled\nobject code, generated documentation, and conversions to other media\ntypes.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a copyright\nnotice that is included in or attached to the work (an example is provided\nin the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object form,\nthat is based on (or derived from) the Work and for which the editorial\nrevisions, annotations, elaborations, or other modifications represent,\nas a whole, an original work of authorship. For the purposes of this\nLicense, Derivative Works shall not include works that remain separable\nfrom, or merely link (or bind by name) to the interfaces of, the Work\nand Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including the\noriginal version of the Work and any modifications or additions to\nthat Work or Derivative Works thereof, that is intentionally submitted\nto Licensor for inclusion in the Work by the copyright owner or by an\nindividual or Legal Entity authorized to submit on behalf of the copyright\nowner. For the purposes of this definition, \"submitted\" means any form of\nelectronic, verbal, or written communication sent to the Licensor or its\nrepresentatives, including but not limited to communication on electronic\nmailing lists, source code control systems, and issue tracking systems\nthat are managed by, or on behalf of, the Licensor for the purpose of\ndiscussing and improving the Work, but excluding communication that is\nconspicuously marked or otherwise designated in writing by the copyright\nowner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty-free, irrevocable copyright license to reproduce, prepare\nDerivative Works of, publicly display, publicly perform, sublicense, and\ndistribute the Work and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty- free, irrevocable (except as stated in this section) patent\nlicense to make, have made, use, offer to sell, sell, import, and\notherwise transfer the Work, where such license applies only to those\npatent claims licensable by such Contributor that are necessarily\ninfringed by their Contribution(s) alone or by combination of\ntheir Contribution(s) with the Work to which such Contribution(s)\nwas submitted. If You institute patent litigation against any entity\n(including a cross-claim or counterclaim in a lawsuit) alleging that the\nWork or a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses granted\nto You under this License for that Work shall terminate as of the date\nsuch litigation is filed.\n\n4. Redistribution.\nYou may reproduce and distribute copies of the Work or Derivative Works\nthereof in any medium, with or without modifications, and in Source or\nObject form, provided that You meet the following conditions:\n\na. You must give any other recipients of the Work or Derivative Works\na copy of this License; and\n\nb. You must cause any modified files to carry prominent notices stating\nthat You changed the files; and\n\nc. You must retain, in the Source form of any Derivative Works that\nYou distribute, all copyright, patent, trademark, and attribution\nnotices from the Source form of the Work, excluding those notices\nthat do not pertain to any part of the Derivative Works; and\n\nd. If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one of\nthe following places: within a NOTICE text file distributed as part\nof the Derivative Works; within the Source form or documentation,\nif provided along with the Derivative Works; or, within a display\ngenerated by the Derivative Works, if and wherever such third-party\nnotices normally appear. The contents of the NOTICE file are for\ninformational purposes only and do not modify the License. You\nmay add Your own attribution notices within Derivative Works that\nYou distribute, alongside or as an addendum to the NOTICE text\nfrom the Work, provided that such additional attribution notices\ncannot be construed as modifying the License. You may add Your own\ncopyright statement to Your modifications and may provide additional\nor different license terms and conditions for use, reproduction, or\ndistribution of Your modifications, or for any such Derivative Works\nas a whole, provided Your use, reproduction, and distribution of the\nWork otherwise complies with the conditions stated in this License.\n\n5. Submission of Contributions.\nUnless You explicitly state otherwise, any Contribution intentionally\nsubmitted for inclusion in the Work by You to the Licensor shall be\nunder the terms and conditions of this License, without any additional\nterms or conditions. Notwithstanding the above, nothing herein shall\nsupersede or modify the terms of any separate license agreement you may\nhave executed with Licensor regarding such Contributions.\n\n6. Trademarks.\nThis License does not grant permission to use the trade names, trademarks,\nservice marks, or product names of the Licensor, except as required for\nreasonable and customary use in describing the origin of the Work and\nreproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty.\nUnless required by applicable law or agreed to in writing, Licensor\nprovides the Work (and each Contributor provides its Contributions) on\nan \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\nexpress or implied, including, without limitation, any warranties or\nconditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR\nA PARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any risks\nassociated with Your exercise of permissions under this License.\n\n8. Limitation of Liability.\nIn no event and under no legal theory, whether in tort (including\nnegligence), contract, or otherwise, unless required by applicable law\n(such as deliberate and grossly negligent acts) or agreed to in writing,\nshall any Contributor be liable to You for damages, including any direct,\nindirect, special, incidental, or consequential damages of any character\narising as a result of this License or out of the use or inability to\nuse the Work (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all other\ncommercial damages or losses), even if such Contributor has been advised\nof the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability.\nWhile redistributing the Work or Derivative Works thereof, You may\nchoose to offer, and charge a fee for, acceptance of support, warranty,\nindemnity, or other liability obligations and/or rights consistent with\nthis License. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf of\nany other Contributor, and only if You agree to indemnify, defend, and\nhold each Contributor harmless for any liability incurred by, or claims\nasserted against, such Contributor by reason of your accepting any such\nwarranty or additional liability.\n\nEND OF TERMS AND CONDITIONS" }, { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", + "rule_relevance": 80, "rule_length": 4, - "rule_relevance": 80 - }, - { - "license_expression": "apache-2.0 OR mit", - "rule_identifier": "apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_73.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80 + "rule_text": "is licensed under [Apache]" }, { - "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "apache-2.0 OR mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", + "rule_relevance": 100, "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_73.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80 - }, - { - "license_expression": "apache-2.0 OR mit", - "rule_identifier": "apache-2.0_or_mit_36.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "rule_text": "{{apache-2.0 OR MIT}}" } ], "files": [ diff --git a/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json b/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json index 73a1987245f..b877579810b 100644 --- a/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json +++ b/tests/summarycode/data/summary/license_ambiguity/ambiguous.expected.json @@ -133,28 +133,32 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", + "rule_relevance": 100, + "rule_length": 1410, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Apache License\n\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by the\ncopyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all other\nentities that control, are controlled by, or are under common control\nwith that entity. For the purposes of this definition, \"control\" means\n(i) the power, direct or indirect, to cause the direction or management\nof such entity, whether by contract or otherwise, or (ii) ownership\nof fifty percent (50%) or more of the outstanding shares, or (iii)\nbeneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity exercising\npermissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation source,\nand configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical transformation\nor translation of a Source form, including but not limited to compiled\nobject code, generated documentation, and conversions to other media\ntypes.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a copyright\nnotice that is included in or attached to the work (an example is provided\nin the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object form,\nthat is based on (or derived from) the Work and for which the editorial\nrevisions, annotations, elaborations, or other modifications represent,\nas a whole, an original work of authorship. For the purposes of this\nLicense, Derivative Works shall not include works that remain separable\nfrom, or merely link (or bind by name) to the interfaces of, the Work\nand Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including the\noriginal version of the Work and any modifications or additions to\nthat Work or Derivative Works thereof, that is intentionally submitted\nto Licensor for inclusion in the Work by the copyright owner or by an\nindividual or Legal Entity authorized to submit on behalf of the copyright\nowner. For the purposes of this definition, \"submitted\" means any form of\nelectronic, verbal, or written communication sent to the Licensor or its\nrepresentatives, including but not limited to communication on electronic\nmailing lists, source code control systems, and issue tracking systems\nthat are managed by, or on behalf of, the Licensor for the purpose of\ndiscussing and improving the Work, but excluding communication that is\nconspicuously marked or otherwise designated in writing by the copyright\nowner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty-free, irrevocable copyright license to reproduce, prepare\nDerivative Works of, publicly display, publicly perform, sublicense, and\ndistribute the Work and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty- free, irrevocable (except as stated in this section) patent\nlicense to make, have made, use, offer to sell, sell, import, and\notherwise transfer the Work, where such license applies only to those\npatent claims licensable by such Contributor that are necessarily\ninfringed by their Contribution(s) alone or by combination of\ntheir Contribution(s) with the Work to which such Contribution(s)\nwas submitted. If You institute patent litigation against any entity\n(including a cross-claim or counterclaim in a lawsuit) alleging that the\nWork or a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses granted\nto You under this License for that Work shall terminate as of the date\nsuch litigation is filed.\n\n4. Redistribution.\nYou may reproduce and distribute copies of the Work or Derivative Works\nthereof in any medium, with or without modifications, and in Source or\nObject form, provided that You meet the following conditions:\n\na. You must give any other recipients of the Work or Derivative Works\na copy of this License; and\n\nb. You must cause any modified files to carry prominent notices stating\nthat You changed the files; and\n\nc. You must retain, in the Source form of any Derivative Works that\nYou distribute, all copyright, patent, trademark, and attribution\nnotices from the Source form of the Work, excluding those notices\nthat do not pertain to any part of the Derivative Works; and\n\nd. If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one of\nthe following places: within a NOTICE text file distributed as part\nof the Derivative Works; within the Source form or documentation,\nif provided along with the Derivative Works; or, within a display\ngenerated by the Derivative Works, if and wherever such third-party\nnotices normally appear. The contents of the NOTICE file are for\ninformational purposes only and do not modify the License. You\nmay add Your own attribution notices within Derivative Works that\nYou distribute, alongside or as an addendum to the NOTICE text\nfrom the Work, provided that such additional attribution notices\ncannot be construed as modifying the License. You may add Your own\ncopyright statement to Your modifications and may provide additional\nor different license terms and conditions for use, reproduction, or\ndistribution of Your modifications, or for any such Derivative Works\nas a whole, provided Your use, reproduction, and distribution of the\nWork otherwise complies with the conditions stated in this License.\n\n5. Submission of Contributions.\nUnless You explicitly state otherwise, any Contribution intentionally\nsubmitted for inclusion in the Work by You to the Licensor shall be\nunder the terms and conditions of this License, without any additional\nterms or conditions. Notwithstanding the above, nothing herein shall\nsupersede or modify the terms of any separate license agreement you may\nhave executed with Licensor regarding such Contributions.\n\n6. Trademarks.\nThis License does not grant permission to use the trade names, trademarks,\nservice marks, or product names of the Licensor, except as required for\nreasonable and customary use in describing the origin of the Work and\nreproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty.\nUnless required by applicable law or agreed to in writing, Licensor\nprovides the Work (and each Contributor provides its Contributions) on\nan \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\nexpress or implied, including, without limitation, any warranties or\nconditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR\nA PARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any risks\nassociated with Your exercise of permissions under this License.\n\n8. Limitation of Liability.\nIn no event and under no legal theory, whether in tort (including\nnegligence), contract, or otherwise, unless required by applicable law\n(such as deliberate and grossly negligent acts) or agreed to in writing,\nshall any Contributor be liable to You for damages, including any direct,\nindirect, special, incidental, or consequential damages of any character\narising as a result of this License or out of the use or inability to\nuse the Work (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all other\ncommercial damages or losses), even if such Contributor has been advised\nof the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability.\nWhile redistributing the Work or Derivative Works thereof, You may\nchoose to offer, and charge a fee for, acceptance of support, warranty,\nindemnity, or other liability obligations and/or rights consistent with\nthis License. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf of\nany other Contributor, and only if You agree to indemnify, defend, and\nhold each Contributor harmless for any liability incurred by, or claims\nasserted against, such Contributor by reason of your accepting any such\nwarranty or additional liability.\n\nEND OF TERMS AND CONDITIONS" }, { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." } ], "files": [ diff --git a/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json b/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json index b5e9d993742..28ddc9c6553 100644 --- a/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json +++ b/tests/summarycode/data/summary/license_ambiguity/unambiguous.expected.json @@ -165,52 +165,60 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", + "rule_relevance": 100, + "rule_length": 1410, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Apache License\n\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by the\ncopyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all other\nentities that control, are controlled by, or are under common control\nwith that entity. For the purposes of this definition, \"control\" means\n(i) the power, direct or indirect, to cause the direction or management\nof such entity, whether by contract or otherwise, or (ii) ownership\nof fifty percent (50%) or more of the outstanding shares, or (iii)\nbeneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity exercising\npermissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation source,\nand configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical transformation\nor translation of a Source form, including but not limited to compiled\nobject code, generated documentation, and conversions to other media\ntypes.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a copyright\nnotice that is included in or attached to the work (an example is provided\nin the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object form,\nthat is based on (or derived from) the Work and for which the editorial\nrevisions, annotations, elaborations, or other modifications represent,\nas a whole, an original work of authorship. For the purposes of this\nLicense, Derivative Works shall not include works that remain separable\nfrom, or merely link (or bind by name) to the interfaces of, the Work\nand Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including the\noriginal version of the Work and any modifications or additions to\nthat Work or Derivative Works thereof, that is intentionally submitted\nto Licensor for inclusion in the Work by the copyright owner or by an\nindividual or Legal Entity authorized to submit on behalf of the copyright\nowner. For the purposes of this definition, \"submitted\" means any form of\nelectronic, verbal, or written communication sent to the Licensor or its\nrepresentatives, including but not limited to communication on electronic\nmailing lists, source code control systems, and issue tracking systems\nthat are managed by, or on behalf of, the Licensor for the purpose of\ndiscussing and improving the Work, but excluding communication that is\nconspicuously marked or otherwise designated in writing by the copyright\nowner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty-free, irrevocable copyright license to reproduce, prepare\nDerivative Works of, publicly display, publicly perform, sublicense, and\ndistribute the Work and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty- free, irrevocable (except as stated in this section) patent\nlicense to make, have made, use, offer to sell, sell, import, and\notherwise transfer the Work, where such license applies only to those\npatent claims licensable by such Contributor that are necessarily\ninfringed by their Contribution(s) alone or by combination of\ntheir Contribution(s) with the Work to which such Contribution(s)\nwas submitted. If You institute patent litigation against any entity\n(including a cross-claim or counterclaim in a lawsuit) alleging that the\nWork or a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses granted\nto You under this License for that Work shall terminate as of the date\nsuch litigation is filed.\n\n4. Redistribution.\nYou may reproduce and distribute copies of the Work or Derivative Works\nthereof in any medium, with or without modifications, and in Source or\nObject form, provided that You meet the following conditions:\n\na. You must give any other recipients of the Work or Derivative Works\na copy of this License; and\n\nb. You must cause any modified files to carry prominent notices stating\nthat You changed the files; and\n\nc. You must retain, in the Source form of any Derivative Works that\nYou distribute, all copyright, patent, trademark, and attribution\nnotices from the Source form of the Work, excluding those notices\nthat do not pertain to any part of the Derivative Works; and\n\nd. If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one of\nthe following places: within a NOTICE text file distributed as part\nof the Derivative Works; within the Source form or documentation,\nif provided along with the Derivative Works; or, within a display\ngenerated by the Derivative Works, if and wherever such third-party\nnotices normally appear. The contents of the NOTICE file are for\ninformational purposes only and do not modify the License. You\nmay add Your own attribution notices within Derivative Works that\nYou distribute, alongside or as an addendum to the NOTICE text\nfrom the Work, provided that such additional attribution notices\ncannot be construed as modifying the License. You may add Your own\ncopyright statement to Your modifications and may provide additional\nor different license terms and conditions for use, reproduction, or\ndistribution of Your modifications, or for any such Derivative Works\nas a whole, provided Your use, reproduction, and distribution of the\nWork otherwise complies with the conditions stated in this License.\n\n5. Submission of Contributions.\nUnless You explicitly state otherwise, any Contribution intentionally\nsubmitted for inclusion in the Work by You to the Licensor shall be\nunder the terms and conditions of this License, without any additional\nterms or conditions. Notwithstanding the above, nothing herein shall\nsupersede or modify the terms of any separate license agreement you may\nhave executed with Licensor regarding such Contributions.\n\n6. Trademarks.\nThis License does not grant permission to use the trade names, trademarks,\nservice marks, or product names of the Licensor, except as required for\nreasonable and customary use in describing the origin of the Work and\nreproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty.\nUnless required by applicable law or agreed to in writing, Licensor\nprovides the Work (and each Contributor provides its Contributions) on\nan \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\nexpress or implied, including, without limitation, any warranties or\nconditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR\nA PARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any risks\nassociated with Your exercise of permissions under this License.\n\n8. Limitation of Liability.\nIn no event and under no legal theory, whether in tort (including\nnegligence), contract, or otherwise, unless required by applicable law\n(such as deliberate and grossly negligent acts) or agreed to in writing,\nshall any Contributor be liable to You for damages, including any direct,\nindirect, special, incidental, or consequential damages of any character\narising as a result of this License or out of the use or inability to\nuse the Work (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all other\ncommercial damages or losses), even if such Contributor has been advised\nof the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability.\nWhile redistributing the Work or Derivative Works thereof, You may\nchoose to offer, and charge a fee for, acceptance of support, warranty,\nindemnity, or other liability obligations and/or rights consistent with\nthis License. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf of\nany other Contributor, and only if You agree to indemnify, defend, and\nhold each Contributor harmless for any liability incurred by, or claims\nasserted against, such Contributor by reason of your accepting any such\nwarranty or additional liability.\n\nEND OF TERMS AND CONDITIONS" }, { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", + "rule_relevance": 80, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80 + "referenced_filenames": [], + "rule_text": "is licensed under [Apache]" }, { - "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0 OR mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", + "rule_relevance": 100, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "{{apache-2.0 OR MIT}}" } ], "files": [ diff --git a/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json b/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json index cfb4275ccc5..2b193f19ee9 100644 --- a/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json +++ b/tests/summarycode/data/summary/multiple_package_data/multiple_package_data.expected.json @@ -381,124 +381,116 @@ ], "license_rule_references": [ { - "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": null, + "rule_relevance": 100, + "rule_length": 1, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "MIT" }, { - "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "apache-2.0" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", + "rule_relevance": 100, + "rule_length": 1410, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "spdx-license-identifier: mit", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100 + "rule_text": "Apache License\n\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by the\ncopyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all other\nentities that control, are controlled by, or are under common control\nwith that entity. For the purposes of this definition, \"control\" means\n(i) the power, direct or indirect, to cause the direction or management\nof such entity, whether by contract or otherwise, or (ii) ownership\nof fifty percent (50%) or more of the outstanding shares, or (iii)\nbeneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity exercising\npermissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation source,\nand configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical transformation\nor translation of a Source form, including but not limited to compiled\nobject code, generated documentation, and conversions to other media\ntypes.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a copyright\nnotice that is included in or attached to the work (an example is provided\nin the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object form,\nthat is based on (or derived from) the Work and for which the editorial\nrevisions, annotations, elaborations, or other modifications represent,\nas a whole, an original work of authorship. For the purposes of this\nLicense, Derivative Works shall not include works that remain separable\nfrom, or merely link (or bind by name) to the interfaces of, the Work\nand Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including the\noriginal version of the Work and any modifications or additions to\nthat Work or Derivative Works thereof, that is intentionally submitted\nto Licensor for inclusion in the Work by the copyright owner or by an\nindividual or Legal Entity authorized to submit on behalf of the copyright\nowner. For the purposes of this definition, \"submitted\" means any form of\nelectronic, verbal, or written communication sent to the Licensor or its\nrepresentatives, including but not limited to communication on electronic\nmailing lists, source code control systems, and issue tracking systems\nthat are managed by, or on behalf of, the Licensor for the purpose of\ndiscussing and improving the Work, but excluding communication that is\nconspicuously marked or otherwise designated in writing by the copyright\nowner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty-free, irrevocable copyright license to reproduce, prepare\nDerivative Works of, publicly display, publicly perform, sublicense, and\ndistribute the Work and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty- free, irrevocable (except as stated in this section) patent\nlicense to make, have made, use, offer to sell, sell, import, and\notherwise transfer the Work, where such license applies only to those\npatent claims licensable by such Contributor that are necessarily\ninfringed by their Contribution(s) alone or by combination of\ntheir Contribution(s) with the Work to which such Contribution(s)\nwas submitted. If You institute patent litigation against any entity\n(including a cross-claim or counterclaim in a lawsuit) alleging that the\nWork or a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses granted\nto You under this License for that Work shall terminate as of the date\nsuch litigation is filed.\n\n4. Redistribution.\nYou may reproduce and distribute copies of the Work or Derivative Works\nthereof in any medium, with or without modifications, and in Source or\nObject form, provided that You meet the following conditions:\n\na. You must give any other recipients of the Work or Derivative Works\na copy of this License; and\n\nb. You must cause any modified files to carry prominent notices stating\nthat You changed the files; and\n\nc. You must retain, in the Source form of any Derivative Works that\nYou distribute, all copyright, patent, trademark, and attribution\nnotices from the Source form of the Work, excluding those notices\nthat do not pertain to any part of the Derivative Works; and\n\nd. If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one of\nthe following places: within a NOTICE text file distributed as part\nof the Derivative Works; within the Source form or documentation,\nif provided along with the Derivative Works; or, within a display\ngenerated by the Derivative Works, if and wherever such third-party\nnotices normally appear. The contents of the NOTICE file are for\ninformational purposes only and do not modify the License. You\nmay add Your own attribution notices within Derivative Works that\nYou distribute, alongside or as an addendum to the NOTICE text\nfrom the Work, provided that such additional attribution notices\ncannot be construed as modifying the License. You may add Your own\ncopyright statement to Your modifications and may provide additional\nor different license terms and conditions for use, reproduction, or\ndistribution of Your modifications, or for any such Derivative Works\nas a whole, provided Your use, reproduction, and distribution of the\nWork otherwise complies with the conditions stated in this License.\n\n5. Submission of Contributions.\nUnless You explicitly state otherwise, any Contribution intentionally\nsubmitted for inclusion in the Work by You to the Licensor shall be\nunder the terms and conditions of this License, without any additional\nterms or conditions. Notwithstanding the above, nothing herein shall\nsupersede or modify the terms of any separate license agreement you may\nhave executed with Licensor regarding such Contributions.\n\n6. Trademarks.\nThis License does not grant permission to use the trade names, trademarks,\nservice marks, or product names of the Licensor, except as required for\nreasonable and customary use in describing the origin of the Work and\nreproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty.\nUnless required by applicable law or agreed to in writing, Licensor\nprovides the Work (and each Contributor provides its Contributions) on\nan \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\nexpress or implied, including, without limitation, any warranties or\nconditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR\nA PARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any risks\nassociated with Your exercise of permissions under this License.\n\n8. Limitation of Liability.\nIn no event and under no legal theory, whether in tort (including\nnegligence), contract, or otherwise, unless required by applicable law\n(such as deliberate and grossly negligent acts) or agreed to in writing,\nshall any Contributor be liable to You for damages, including any direct,\nindirect, special, incidental, or consequential damages of any character\narising as a result of this License or out of the use or inability to\nuse the Work (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all other\ncommercial damages or losses), even if such Contributor has been advised\nof the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability.\nWhile redistributing the Work or Derivative Works thereof, You may\nchoose to offer, and charge a fee for, acceptance of support, warranty,\nindemnity, or other liability obligations and/or rights consistent with\nthis License. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf of\nany other Contributor, and only if You agree to indemnify, defend, and\nhold each Contributor harmless for any liability incurred by, or claims\nasserted against, such Contributor by reason of your accepting any such\nwarranty or additional liability.\n\nEND OF TERMS AND CONDITIONS" }, { - "license_expression": "mit", "rule_identifier": "mit_30.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "License: MIT" }, { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", + "rule_relevance": 80, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80 + "referenced_filenames": [], + "rule_text": "is licensed under [Apache]" }, { - "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "apache-2.0 OR mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", + "rule_relevance": 100, "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "{{apache-2.0 OR MIT}}" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "license: Apache-2.0" } ], "files": [ diff --git a/tests/summarycode/data/summary/single_file/single_file.expected.json b/tests/summarycode/data/summary/single_file/single_file.expected.json index 3b4ed27ba4e..cb8322cf972 100644 --- a/tests/summarycode/data/summary/single_file/single_file.expected.json +++ b/tests/summarycode/data/summary/single_file/single_file.expected.json @@ -66,16 +66,18 @@ ], "license_rule_references": [ { - "license_expression": "jetty", "rule_identifier": "jetty.LICENSE", - "referenced_filenames": [], + "license_expression": "jetty", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/jetty.LICENSE", + "rule_relevance": 100, + "rule_length": 996, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 996, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Jetty License\n$Revision: 584 $\n\nPreamble:\nThe intent of this document is to state the conditions under which the Jetty\nPackage may be copied, such that the Copyright Holder maintains some semblance\nof control over the development of the package, while giving the users of the\npackage the right to use, distribute and make reasonable modifications to the\nPackage in accordance with the goals and ideals of the Open Source concept as\ndescribed at http://www.opensource.org.\n\nIt is the intent of this license to allow commercial usage of the Jetty package,\nso long as the source code is distributed or suitable visible credit given or\nother arrangements made with the copyright holders.\n\nDefinitions:\n* \"Jetty\" refers to the collection of Java classes that are distributed as a\nHTTP server with servlet capabilities and associated utilities.\n\n* \"Package\" refers to the collection of files distributed by the Copyright\nHolder, and derivatives of that collection of files created through textual\nmodification.\n\n* \"Standard Version\" refers to such a Package if it has not been modified,\nor has been modified in accordance with the wishes of the Copyright Holder.\n\n* \"Copyright Holder\" is whoever is named in the copyright or copyrights for\nthe package. Mort Bay Consulting Pty. Ltd. (Australia) is the \"Copyright Holder\" for\nthe Jetty package.\n\n* \"You\" is you, if you're thinking about copying or distributing this\nPackage.\n\n* \"Reasonable copying fee\" is whatever you can justify on the basis of media\ncost, duplication charges, time of people involved, and so on. (You will not be\nrequired to justify it to the Copyright Holder, but only to the computing\ncommunity at large as a market that must bear the fee.)\n\n* \"Freely Available\" means that no fee is charged for the item itself,\nthough there may be fees involved in handling the item. It also means that\nrecipients of the item may redistribute it under the same conditions they\nreceived it.\n\n0. The Jetty Package is Copyright (c) Mort Bay Consulting Pty. Ltd. (Australia)\nand others. Individual files in this package may contain additional copyright\nnotices. The javax.servlet packages are copyright Sun Microsystems Inc.\n\n1. The Standard Version of the Jetty package is available from\nhttp://jetty.mortbay.org.\n\n2. You may make and distribute verbatim copies of the source form of the\nStandard Version of this Package without restriction, provided that you include\nthis license and all of the original copyright notices and associated\ndisclaimers.\n\n3. You may make and distribute verbatim copies of the compiled form of the\nStandard Version of this Package without restriction, provided that you include\nthis license.\n\n4. You may apply bug fixes, portability fixes and other modifications derived\nfrom the Public Domain or from the Copyright Holder. A Package modified in such\na way shall still be considered the Standard Version.\n\n5. You may otherwise modify your copy of this Package in any way, provided that\nyou insert a prominent notice in each changed file stating how and when you\nchanged that file, and provided that you do at least ONE of the following:\n\na) Place your modifications in the Public Domain or otherwise make them\nFreely Available, such as by posting said modifications to Usenet or an\nequivalent medium, or placing the modifications on a major archive site such as\nftp.uu.net, or by allowing the Copyright Holder to include your modifications in\nthe Standard Version of the Package.\n\nb) Use the modified Package only within your corporation or organization.\n\nc) Rename any non-standard classes so the names do not conflict with\nstandard classes, which must also be provided, and provide a separate manual\npage for each non-standard class that clearly documents how it differs from the\nStandard Version.\n\nd) Make other arrangements with the Copyright Holder.\n\n6. You may distribute modifications or subsets of this Package in source code or\ncompiled form, provided that you do at least ONE of the following:\n\na) Distribute this license and all original copyright messages, together\nwith instructions (in the about dialog, manual page or equivalent) on where to\nget the complete Standard Version.\n\nb) Accompany the distribution with the machine-readable source of the\nPackage with your modifications. The modified package must include this license\nand all of the original copyright notices and associated disclaimers, together\nwith instructions on where to get the complete Standard Version.\n\nc) Make other arrangements with the Copyright Holder.\n\n7. You may charge a reasonable copying fee for any distribution of this Package.\nYou may charge any fee you choose for support of this Package. You may not\ncharge a fee for this Package itself. However, you may distribute this Package\nin aggregate with other (possibly commercial) programs as part of a larger\n(possibly commercial) software distribution provided that you meet the other\ndistribution requirements of this license.\n\n8. Input to or the output produced from the programs of this Package do not\nautomatically fall under the copyright of this Package, but belong to whomever\ngenerated them, and may be sold commercially, and may be aggregated with this\nPackage.\n\n9. Any program subroutines supplied by you and linked into this Package shall\nnot be considered part of this Package.\n\n10. The name of the Copyright Holder may not be used to endorse or promote\nproducts derived from this software without specific prior written permission.\n\n11. This license may change with each release of a Standard Version of the\nPackage. You may choose to use the license associated with version you are using\nor the license of the latest Standard Version.\n\n12. THIS PACKAGE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR IMPLIED\nWARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n\n13. If any superior law implies a warranty, the sole remedy under such shall be,\nat the Copyright Holders option either\na) return of any price paid or\nb) use or reasonable endeavours to repair or replace the software.\n\n14. This license shall be read under the laws of Australia.\n\nThe End\nThis license was derived from the Artistic license published on\nhttp://www.opensource.com" } ], "files": [ diff --git a/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json b/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json index ed230967d5d..e380cf767e3 100644 --- a/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json +++ b/tests/summarycode/data/summary/summary_without_holder/summary-without-holder-pypi.expected.json @@ -302,164 +302,76 @@ ], "license_rule_references": [ { - "license_expression": "mit", "rule_identifier": "spdx-license-identifier: mit", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": null, + "rule_relevance": 100, + "rule_length": 1, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "MIT" }, { - "license_expression": "mit", "rule_identifier": "pypi_mit_license.RULE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/pypi_mit_license.RULE", + "rule_relevance": 100, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "License :: OSI Approved :: MIT License" }, { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "spdx-license-identifier: mit", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100 + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." }, { - "license_expression": "mit", - "rule_identifier": "pypi_mit_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "mit", "rule_identifier": "mit_30.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { "license_expression": "mit", - "rule_identifier": "pypi_mit_license.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULE", + "rule_relevance": 100, + "rule_length": 2, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "License: MIT" }, { - "license_expression": "unknown-license-reference", "rule_identifier": "unknown-license-reference_see_license_at_manifest_2.RULE", - "referenced_filenames": [ - "LICENSE.txt" - ], + "license_expression": "unknown-license-reference", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see_license_at_manifest_2.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "unknown-license-reference", - "rule_identifier": "unknown-license-reference_see_license_at_manifest_2.RULE", "referenced_filenames": [ "LICENSE.txt" ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "spdx-license-identifier: mit", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 1, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "pypi_mit_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "mit_30.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 2, - "rule_relevance": 100 - }, - { - "license_expression": "mit", - "rule_identifier": "pypi_mit_license.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "rule_text": "license:file = ../LICENSE.txt" } ], "files": [ diff --git a/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json b/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json index 1c34e2604e4..4fd27e94c6d 100644 --- a/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json +++ b/tests/summarycode/data/summary/use_holder_from_package_resource/use_holder_from_package_resource.expected.json @@ -171,28 +171,18 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_7.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100 - }, - { "license_expression": "apache-2.0", - "rule_identifier": "apache-2.0_7.RULE", - "referenced_filenames": [], + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_7.RULE", + "rule_relevance": 100, + "rule_length": 85, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 85, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License." } ], "files": [ diff --git a/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json b/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json index a696692f97b..f855a2b7b61 100644 --- a/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json +++ b/tests/summarycode/data/summary/with_package_data/with_package_data.expected.json @@ -282,88 +282,88 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_apache-2.0_for_apache-2.0.RULE", + "rule_relevance": 100, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "apache-2.0" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", + "rule_relevance": 100, + "rule_length": 1410, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Apache License\n\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by the\ncopyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all other\nentities that control, are controlled by, or are under common control\nwith that entity. For the purposes of this definition, \"control\" means\n(i) the power, direct or indirect, to cause the direction or management\nof such entity, whether by contract or otherwise, or (ii) ownership\nof fifty percent (50%) or more of the outstanding shares, or (iii)\nbeneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity exercising\npermissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation source,\nand configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical transformation\nor translation of a Source form, including but not limited to compiled\nobject code, generated documentation, and conversions to other media\ntypes.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a copyright\nnotice that is included in or attached to the work (an example is provided\nin the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object form,\nthat is based on (or derived from) the Work and for which the editorial\nrevisions, annotations, elaborations, or other modifications represent,\nas a whole, an original work of authorship. For the purposes of this\nLicense, Derivative Works shall not include works that remain separable\nfrom, or merely link (or bind by name) to the interfaces of, the Work\nand Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including the\noriginal version of the Work and any modifications or additions to\nthat Work or Derivative Works thereof, that is intentionally submitted\nto Licensor for inclusion in the Work by the copyright owner or by an\nindividual or Legal Entity authorized to submit on behalf of the copyright\nowner. For the purposes of this definition, \"submitted\" means any form of\nelectronic, verbal, or written communication sent to the Licensor or its\nrepresentatives, including but not limited to communication on electronic\nmailing lists, source code control systems, and issue tracking systems\nthat are managed by, or on behalf of, the Licensor for the purpose of\ndiscussing and improving the Work, but excluding communication that is\nconspicuously marked or otherwise designated in writing by the copyright\nowner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty-free, irrevocable copyright license to reproduce, prepare\nDerivative Works of, publicly display, publicly perform, sublicense, and\ndistribute the Work and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty- free, irrevocable (except as stated in this section) patent\nlicense to make, have made, use, offer to sell, sell, import, and\notherwise transfer the Work, where such license applies only to those\npatent claims licensable by such Contributor that are necessarily\ninfringed by their Contribution(s) alone or by combination of\ntheir Contribution(s) with the Work to which such Contribution(s)\nwas submitted. If You institute patent litigation against any entity\n(including a cross-claim or counterclaim in a lawsuit) alleging that the\nWork or a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses granted\nto You under this License for that Work shall terminate as of the date\nsuch litigation is filed.\n\n4. Redistribution.\nYou may reproduce and distribute copies of the Work or Derivative Works\nthereof in any medium, with or without modifications, and in Source or\nObject form, provided that You meet the following conditions:\n\na. You must give any other recipients of the Work or Derivative Works\na copy of this License; and\n\nb. You must cause any modified files to carry prominent notices stating\nthat You changed the files; and\n\nc. You must retain, in the Source form of any Derivative Works that\nYou distribute, all copyright, patent, trademark, and attribution\nnotices from the Source form of the Work, excluding those notices\nthat do not pertain to any part of the Derivative Works; and\n\nd. If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one of\nthe following places: within a NOTICE text file distributed as part\nof the Derivative Works; within the Source form or documentation,\nif provided along with the Derivative Works; or, within a display\ngenerated by the Derivative Works, if and wherever such third-party\nnotices normally appear. The contents of the NOTICE file are for\ninformational purposes only and do not modify the License. You\nmay add Your own attribution notices within Derivative Works that\nYou distribute, alongside or as an addendum to the NOTICE text\nfrom the Work, provided that such additional attribution notices\ncannot be construed as modifying the License. You may add Your own\ncopyright statement to Your modifications and may provide additional\nor different license terms and conditions for use, reproduction, or\ndistribution of Your modifications, or for any such Derivative Works\nas a whole, provided Your use, reproduction, and distribution of the\nWork otherwise complies with the conditions stated in this License.\n\n5. Submission of Contributions.\nUnless You explicitly state otherwise, any Contribution intentionally\nsubmitted for inclusion in the Work by You to the Licensor shall be\nunder the terms and conditions of this License, without any additional\nterms or conditions. Notwithstanding the above, nothing herein shall\nsupersede or modify the terms of any separate license agreement you may\nhave executed with Licensor regarding such Contributions.\n\n6. Trademarks.\nThis License does not grant permission to use the trade names, trademarks,\nservice marks, or product names of the Licensor, except as required for\nreasonable and customary use in describing the origin of the Work and\nreproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty.\nUnless required by applicable law or agreed to in writing, Licensor\nprovides the Work (and each Contributor provides its Contributions) on\nan \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\nexpress or implied, including, without limitation, any warranties or\nconditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR\nA PARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any risks\nassociated with Your exercise of permissions under this License.\n\n8. Limitation of Liability.\nIn no event and under no legal theory, whether in tort (including\nnegligence), contract, or otherwise, unless required by applicable law\n(such as deliberate and grossly negligent acts) or agreed to in writing,\nshall any Contributor be liable to You for damages, including any direct,\nindirect, special, incidental, or consequential damages of any character\narising as a result of this License or out of the use or inability to\nuse the Work (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all other\ncommercial damages or losses), even if such Contributor has been advised\nof the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability.\nWhile redistributing the Work or Derivative Works thereof, You may\nchoose to offer, and charge a fee for, acceptance of support, warranty,\nindemnity, or other liability obligations and/or rights consistent with\nthis License. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf of\nany other Contributor, and only if You agree to indemnify, defend, and\nhold each Contributor harmless for any liability incurred by, or claims\nasserted against, such Contributor by reason of your accepting any such\nwarranty or additional liability.\n\nEND OF TERMS AND CONDITIONS" }, { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", + "rule_relevance": 80, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80 + "referenced_filenames": [], + "rule_text": "is licensed under [Apache]" }, { - "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "apache-2.0 OR mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", + "rule_relevance": 100, "rule_length": 5, - "rule_relevance": 100 - }, - { - "license_expression": "apache-2.0", - "rule_identifier": "spdx_license_id_apache-2.0_for_apache-2.0.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "{{apache-2.0 OR MIT}}" }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "license: Apache-2.0" } ], "files": [ diff --git a/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json b/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json index 7b20092a750..e8090473cb7 100644 --- a/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json +++ b/tests/summarycode/data/summary/without_package_data/without_package_data.expected.json @@ -165,52 +165,60 @@ ], "license_rule_references": [ { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_93.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_93.RULE", + "rule_relevance": 100, + "rule_length": 1410, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 1410, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Apache License\n\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by the\ncopyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all other\nentities that control, are controlled by, or are under common control\nwith that entity. For the purposes of this definition, \"control\" means\n(i) the power, direct or indirect, to cause the direction or management\nof such entity, whether by contract or otherwise, or (ii) ownership\nof fifty percent (50%) or more of the outstanding shares, or (iii)\nbeneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity exercising\npermissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation source,\nand configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical transformation\nor translation of a Source form, including but not limited to compiled\nobject code, generated documentation, and conversions to other media\ntypes.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a copyright\nnotice that is included in or attached to the work (an example is provided\nin the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object form,\nthat is based on (or derived from) the Work and for which the editorial\nrevisions, annotations, elaborations, or other modifications represent,\nas a whole, an original work of authorship. For the purposes of this\nLicense, Derivative Works shall not include works that remain separable\nfrom, or merely link (or bind by name) to the interfaces of, the Work\nand Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including the\noriginal version of the Work and any modifications or additions to\nthat Work or Derivative Works thereof, that is intentionally submitted\nto Licensor for inclusion in the Work by the copyright owner or by an\nindividual or Legal Entity authorized to submit on behalf of the copyright\nowner. For the purposes of this definition, \"submitted\" means any form of\nelectronic, verbal, or written communication sent to the Licensor or its\nrepresentatives, including but not limited to communication on electronic\nmailing lists, source code control systems, and issue tracking systems\nthat are managed by, or on behalf of, the Licensor for the purpose of\ndiscussing and improving the Work, but excluding communication that is\nconspicuously marked or otherwise designated in writing by the copyright\nowner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty-free, irrevocable copyright license to reproduce, prepare\nDerivative Works of, publicly display, publicly perform, sublicense, and\ndistribute the Work and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License.\nSubject to the terms and conditions of this License, each Contributor\nhereby grants to You a perpetual, worldwide, non-exclusive, no-charge,\nroyalty- free, irrevocable (except as stated in this section) patent\nlicense to make, have made, use, offer to sell, sell, import, and\notherwise transfer the Work, where such license applies only to those\npatent claims licensable by such Contributor that are necessarily\ninfringed by their Contribution(s) alone or by combination of\ntheir Contribution(s) with the Work to which such Contribution(s)\nwas submitted. If You institute patent litigation against any entity\n(including a cross-claim or counterclaim in a lawsuit) alleging that the\nWork or a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses granted\nto You under this License for that Work shall terminate as of the date\nsuch litigation is filed.\n\n4. Redistribution.\nYou may reproduce and distribute copies of the Work or Derivative Works\nthereof in any medium, with or without modifications, and in Source or\nObject form, provided that You meet the following conditions:\n\na. You must give any other recipients of the Work or Derivative Works\na copy of this License; and\n\nb. You must cause any modified files to carry prominent notices stating\nthat You changed the files; and\n\nc. You must retain, in the Source form of any Derivative Works that\nYou distribute, all copyright, patent, trademark, and attribution\nnotices from the Source form of the Work, excluding those notices\nthat do not pertain to any part of the Derivative Works; and\n\nd. If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one of\nthe following places: within a NOTICE text file distributed as part\nof the Derivative Works; within the Source form or documentation,\nif provided along with the Derivative Works; or, within a display\ngenerated by the Derivative Works, if and wherever such third-party\nnotices normally appear. The contents of the NOTICE file are for\ninformational purposes only and do not modify the License. You\nmay add Your own attribution notices within Derivative Works that\nYou distribute, alongside or as an addendum to the NOTICE text\nfrom the Work, provided that such additional attribution notices\ncannot be construed as modifying the License. You may add Your own\ncopyright statement to Your modifications and may provide additional\nor different license terms and conditions for use, reproduction, or\ndistribution of Your modifications, or for any such Derivative Works\nas a whole, provided Your use, reproduction, and distribution of the\nWork otherwise complies with the conditions stated in this License.\n\n5. Submission of Contributions.\nUnless You explicitly state otherwise, any Contribution intentionally\nsubmitted for inclusion in the Work by You to the Licensor shall be\nunder the terms and conditions of this License, without any additional\nterms or conditions. Notwithstanding the above, nothing herein shall\nsupersede or modify the terms of any separate license agreement you may\nhave executed with Licensor regarding such Contributions.\n\n6. Trademarks.\nThis License does not grant permission to use the trade names, trademarks,\nservice marks, or product names of the Licensor, except as required for\nreasonable and customary use in describing the origin of the Work and\nreproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty.\nUnless required by applicable law or agreed to in writing, Licensor\nprovides the Work (and each Contributor provides its Contributions) on\nan \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\nexpress or implied, including, without limitation, any warranties or\nconditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR\nA PARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any risks\nassociated with Your exercise of permissions under this License.\n\n8. Limitation of Liability.\nIn no event and under no legal theory, whether in tort (including\nnegligence), contract, or otherwise, unless required by applicable law\n(such as deliberate and grossly negligent acts) or agreed to in writing,\nshall any Contributor be liable to You for damages, including any direct,\nindirect, special, incidental, or consequential damages of any character\narising as a result of this License or out of the use or inability to\nuse the Work (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all other\ncommercial damages or losses), even if such Contributor has been advised\nof the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability.\nWhile redistributing the Work or Derivative Works thereof, You may\nchoose to offer, and charge a fee for, acceptance of support, warranty,\nindemnity, or other liability obligations and/or rights consistent with\nthis License. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf of\nany other Contributor, and only if You agree to indemnify, defend, and\nhold each Contributor harmless for any liability incurred by, or claims\nasserted against, such Contributor by reason of your accepting any such\nwarranty or additional liability.\n\nEND OF TERMS AND CONDITIONS" }, { - "license_expression": "mit", "rule_identifier": "mit.LICENSE", - "referenced_filenames": [], + "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "rule_relevance": 100, + "rule_length": 161, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 161, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." }, { - "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_73.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE", + "rule_relevance": 80, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 80 + "referenced_filenames": [], + "rule_text": "is licensed under [Apache]" }, { - "license_expression": "apache-2.0 OR mit", "rule_identifier": "apache-2.0_or_mit_36.RULE", - "referenced_filenames": [], + "license_expression": "apache-2.0 OR mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE", + "rule_relevance": 100, + "rule_length": 5, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 5, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "{{apache-2.0 OR MIT}}" } ], "files": [ diff --git a/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json b/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json index 03d8242e230..754ec66e3af 100644 --- a/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json +++ b/tests/summarycode/data/tallies/end-2-end/bug-1141.expected.json @@ -99,28 +99,32 @@ ], "license_rule_references": [ { - "license_expression": "gpl-3.0-plus", "rule_identifier": "gpl-3.0-plus_290.RULE", - "referenced_filenames": [], + "license_expression": "gpl-3.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_290.RULE", + "rule_relevance": 100, + "rule_length": 102, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either {{version 3}} of the License, or\n(at your option) {{any later version}}.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see ." }, { - "license_expression": "gpl-2.0-plus", "rule_identifier": "gpl-2.0-plus_119.RULE", - "referenced_filenames": [], + "license_expression": "gpl-2.0-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_119.RULE", + "rule_relevance": 100, + "rule_length": 102, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 102, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see ." } ], "tallies": { diff --git a/tests/summarycode/data/tallies/full_tallies/tallies.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies.expected.json index f685774ac9b..b70531e0c93 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies.expected.json @@ -3730,300 +3730,162 @@ ], "license_rule_references": [ { - "license_expression": "artistic-2.0", "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], + "license_expression": "artistic-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "rule_relevance": 50, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50 + "referenced_filenames": [], + "rule_text": "artistic-2.0" }, { - "license_expression": "cc0-1.0", "rule_identifier": "cc0-1.0_155.RULE", - "referenced_filenames": [], + "license_expression": "cc0-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE", + "rule_relevance": 100, + "rule_length": 981, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100 - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50 + "rule_text": "Statatement of Purpose\n.\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work\nof authorship and/or a database (each, a \"Work\").\n.\nCertain owners wish to permanently relinquish those rights to a Work\nfor the purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without\nfear of later claims of infringement build upon, modify, incorporate in\nother works, reuse and redistribute as freely as possible in any form\nwhatsoever and for any purposes, including without limitation commercial\npurposes. These owners may contribute to the Commons to promote the ideal\nof a free culture and the further production of creative, cultural and\nscientific works, or to gain reputation or greater distribution for\ntheir Work in part through the use and efforts of others.\n.\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that\nhe or she is an owner of Copyright and Related Rights in the Work,\nvoluntarily elects to apply CC0 to the Work and publicly distribute\nthe Work under its terms, with knowledge of his or her Copyright and\nRelated Rights in the Work and the meaning and intended legal effect\nof CC0 on those rights.\n.\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright\nand Related Rights\"). Copyright and Related Rights include, but are\nnot limited to, the following:\n.\nthe right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\n.\nmoral rights retained by the original author(s) and/or performer(s);\n.\npublicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\n.\nrights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\n.\nrights protecting the extraction, dissemination, use and reuse of data in a Work;\n.\ndatabase rights (such as those arising under Directive 96/9/EC\nof the European Parliament and of the Council of 11 March 1996\non the legal protection of databases, and under any national\nimplementation thereof, including any amended or successor version\nof such directive); and\n.\nother similar, equivalent or corresponding rights throughout the world\nbased on applicable law or treaty, and any national implementations\nthereof.\n.\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all\nof Affirmer's Copyright and Related Rights and associated claims and\ncauses of action, whether now known or unknown (including existing\nas well as future claims and causes of action), in the Work (i) in\nall territories worldwide, (ii) for the maximum duration provided by\napplicable law or treaty (including future time extensions), (iii)\nin any current or future medium and for any number of copies, and (iv)\nfor any purpose whatsoever, including without limitation commercial,\nadvertising or promotional purposes (the \"Waiver\"). Affirmer makes the\nWaiver for the benefit of each member of the public at large and to the\ndetriment of Affirmer's heirs and successors, fully intending that such\nWaiver shall not be subject to revocation, rescission, cancellation,\ntermination, or any other legal or equitable action to disrupt the\nquiet enjoyment of the Work by the public as contemplated by Affirmer's\nexpress Statement of Purpose.\n.\n3. Public License Fallback. Should any part of the Waiver for any\nreason be judged legally invalid or ineffective under applicable law,\nthen the Waiver shall be preserved to the maximum extent permitted\ntaking into account Affirmer's express Statement of Purpose. In\naddition, to the extent the Waiver is so judged Affirmer hereby\ngrants to each affected person a royalty-free, non transferable, non\nsublicensable, non exclusive, irrevocable and unconditional license\nto exercise Affirmer's Copyright and Related Rights in the Work (i)\nin all territories worldwide, (ii) for the maximum duration provided\nby applicable law or treaty (including future time extensions), (iii)\nin any current or future medium and for any number of copies, and (iv)\nfor any purpose whatsoever, including without limitation commercial,\nadvertising or promotional purposes (the \"License\"). The License shall\nbe deemed effective as of the date CC0 was applied by Affirmer to the\nWork. Should any part of the License for any reason be judged legally\ninvalid or ineffective under applicable law, such partial invalidity\nor ineffectiveness shall not invalidate the remainder of the License,\nand in such case Affirmer hereby affirms that he or she will not (i)\nexercise any of his or her remaining Copyright and Related Rights in\nthe Work or (ii) assert any associated claims and causes of action\nwith respect to the Work, in either case contrary to Affirmer's express\nStatement of Purpose.\n.\n4. Limitations and Disclaimers.\n.\nNo trademark or patent rights held by Affirmer are waived,\nabandoned, surrendered, licensed or otherwise affected by this\ndocument.\n.\nAffirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties\nof title, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy,\nor the present or absence of errors, whether or not discoverable,\nall to the greatest extent permissible under applicable law.\n.\nAffirmer disclaims responsibility for clearing rights of other\npersons that may apply to the Work or any use thereof, including\nwithout limitation any person's Copyright and Related Rights in the\nWork. Further, Affirmer disclaims responsibility for obtaining any\nnecessary consents, permissions or other rights required for any\nuse of the Work.\n.\nAffirmer understands and acknowledges that Creative Commons is not\na party to this document and has no duty or obligation with respect\nto this CC0 or use of the Work." }, { - "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "referenced_filenames": [], + "license_expression": "artistic-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "license: Artistic-2.0" }, { - "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", + "rule_relevance": 100, + "rule_length": 12, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [ + "zlib.h" + ], + "rule_text": "For conditions of distribution and use, see copyright notice in zlib.h" }, { - "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", + "rule_relevance": 100, + "rule_length": 144, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This software is provided 'as-is', without any express or implied\nwarranty. In no event will the authors be held liable for any damages\narising from the use of this software.\n\nPermission is granted to anyone to use this software for any purpose,\nincluding commercial applications, and to alter it and redistribute it\nfreely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not\nclaim that you wrote the original software. If you use this software\nin a product, an acknowledgment in the product documentation would be\nappreciated but is not required.\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n3. This notice may not be removed or altered from any source distribution.\n\nJean-loup Gailly Mark Adler\njloup@gzip.org madler@alumni.caltech.edu" }, { - "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-2.1-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", + "rule_relevance": 100, + "rule_length": 125, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org." }, { - "license_expression": "cc-by-2.5", "rule_identifier": "cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "cc-by-2.5", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE", + "rule_relevance": 100, "rule_length": 14, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "* Released under the Creative Commons Attribution License\n* (http://creativecommons.org/licenses/by/2.5)" }, { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "rule_relevance": 100, + "rule_length": 176, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 + "rule_text": "This library is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or (at\nyour option) any later version.\n\nThis library is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nGeneral Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this library; if not, write to the Free Software Foundation\nInc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n\nAs a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." }, { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], + "rule_identifier": "boost-1.0_21.RULE", + "license_expression": "boost-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE", + "rule_relevance": 100, + "rule_length": 32, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100 - }, - { - "license_expression": "boost-1.0", - "rule_identifier": "boost-1.0_21.RULE", "referenced_filenames": [ "LICENSE_1_0.txt" ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100 + "rule_text": "Use, modification and distribution are subject to the Boost Software License, Version 1.0.\n(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)" }, { - "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "referenced_filenames": [], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "rule_relevance": 100, + "rule_length": 132, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." }, { - "license_expression": "mit-old-style", "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], + "license_expression": "mit-old-style", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE", + "rule_relevance": 100, + "rule_length": 71, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission to use, copy, modify, distribute and sell this software\nand its documentation for any purpose is hereby granted without fee,\nprovided that the above copyright notice appear in all copies and\nthat both that copyright notice and this permission notice appear\nin supporting documentation. Christian Michelsen Research AS\nmakes no representations about the suitability of this software for\nany purpose. It is provided \"as is\" without express or implied warranty." } ], "tallies": { diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json index 90d8201046e..a82b6b3a4f5 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_by_facet.expected.json @@ -3730,300 +3730,162 @@ ], "license_rule_references": [ { - "license_expression": "artistic-2.0", "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], + "license_expression": "artistic-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "rule_relevance": 50, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50 + "referenced_filenames": [], + "rule_text": "artistic-2.0" }, { - "license_expression": "cc0-1.0", "rule_identifier": "cc0-1.0_155.RULE", - "referenced_filenames": [], + "license_expression": "cc0-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE", + "rule_relevance": 100, + "rule_length": 981, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100 - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50 + "rule_text": "Statatement of Purpose\n.\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work\nof authorship and/or a database (each, a \"Work\").\n.\nCertain owners wish to permanently relinquish those rights to a Work\nfor the purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without\nfear of later claims of infringement build upon, modify, incorporate in\nother works, reuse and redistribute as freely as possible in any form\nwhatsoever and for any purposes, including without limitation commercial\npurposes. These owners may contribute to the Commons to promote the ideal\nof a free culture and the further production of creative, cultural and\nscientific works, or to gain reputation or greater distribution for\ntheir Work in part through the use and efforts of others.\n.\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that\nhe or she is an owner of Copyright and Related Rights in the Work,\nvoluntarily elects to apply CC0 to the Work and publicly distribute\nthe Work under its terms, with knowledge of his or her Copyright and\nRelated Rights in the Work and the meaning and intended legal effect\nof CC0 on those rights.\n.\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright\nand Related Rights\"). Copyright and Related Rights include, but are\nnot limited to, the following:\n.\nthe right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\n.\nmoral rights retained by the original author(s) and/or performer(s);\n.\npublicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\n.\nrights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\n.\nrights protecting the extraction, dissemination, use and reuse of data in a Work;\n.\ndatabase rights (such as those arising under Directive 96/9/EC\nof the European Parliament and of the Council of 11 March 1996\non the legal protection of databases, and under any national\nimplementation thereof, including any amended or successor version\nof such directive); and\n.\nother similar, equivalent or corresponding rights throughout the world\nbased on applicable law or treaty, and any national implementations\nthereof.\n.\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all\nof Affirmer's Copyright and Related Rights and associated claims and\ncauses of action, whether now known or unknown (including existing\nas well as future claims and causes of action), in the Work (i) in\nall territories worldwide, (ii) for the maximum duration provided by\napplicable law or treaty (including future time extensions), (iii)\nin any current or future medium and for any number of copies, and (iv)\nfor any purpose whatsoever, including without limitation commercial,\nadvertising or promotional purposes (the \"Waiver\"). Affirmer makes the\nWaiver for the benefit of each member of the public at large and to the\ndetriment of Affirmer's heirs and successors, fully intending that such\nWaiver shall not be subject to revocation, rescission, cancellation,\ntermination, or any other legal or equitable action to disrupt the\nquiet enjoyment of the Work by the public as contemplated by Affirmer's\nexpress Statement of Purpose.\n.\n3. Public License Fallback. Should any part of the Waiver for any\nreason be judged legally invalid or ineffective under applicable law,\nthen the Waiver shall be preserved to the maximum extent permitted\ntaking into account Affirmer's express Statement of Purpose. In\naddition, to the extent the Waiver is so judged Affirmer hereby\ngrants to each affected person a royalty-free, non transferable, non\nsublicensable, non exclusive, irrevocable and unconditional license\nto exercise Affirmer's Copyright and Related Rights in the Work (i)\nin all territories worldwide, (ii) for the maximum duration provided\nby applicable law or treaty (including future time extensions), (iii)\nin any current or future medium and for any number of copies, and (iv)\nfor any purpose whatsoever, including without limitation commercial,\nadvertising or promotional purposes (the \"License\"). The License shall\nbe deemed effective as of the date CC0 was applied by Affirmer to the\nWork. Should any part of the License for any reason be judged legally\ninvalid or ineffective under applicable law, such partial invalidity\nor ineffectiveness shall not invalidate the remainder of the License,\nand in such case Affirmer hereby affirms that he or she will not (i)\nexercise any of his or her remaining Copyright and Related Rights in\nthe Work or (ii) assert any associated claims and causes of action\nwith respect to the Work, in either case contrary to Affirmer's express\nStatement of Purpose.\n.\n4. Limitations and Disclaimers.\n.\nNo trademark or patent rights held by Affirmer are waived,\nabandoned, surrendered, licensed or otherwise affected by this\ndocument.\n.\nAffirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties\nof title, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy,\nor the present or absence of errors, whether or not discoverable,\nall to the greatest extent permissible under applicable law.\n.\nAffirmer disclaims responsibility for clearing rights of other\npersons that may apply to the Work or any use thereof, including\nwithout limitation any person's Copyright and Related Rights in the\nWork. Further, Affirmer disclaims responsibility for obtaining any\nnecessary consents, permissions or other rights required for any\nuse of the Work.\n.\nAffirmer understands and acknowledges that Creative Commons is not\na party to this document and has no duty or obligation with respect\nto this CC0 or use of the Work." }, { - "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "referenced_filenames": [], + "license_expression": "artistic-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "license: Artistic-2.0" }, { - "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", + "rule_relevance": 100, + "rule_length": 12, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [ + "zlib.h" + ], + "rule_text": "For conditions of distribution and use, see copyright notice in zlib.h" }, { - "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", + "rule_relevance": 100, + "rule_length": 144, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This software is provided 'as-is', without any express or implied\nwarranty. In no event will the authors be held liable for any damages\narising from the use of this software.\n\nPermission is granted to anyone to use this software for any purpose,\nincluding commercial applications, and to alter it and redistribute it\nfreely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not\nclaim that you wrote the original software. If you use this software\nin a product, an acknowledgment in the product documentation would be\nappreciated but is not required.\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n3. This notice may not be removed or altered from any source distribution.\n\nJean-loup Gailly Mark Adler\njloup@gzip.org madler@alumni.caltech.edu" }, { - "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-2.1-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", + "rule_relevance": 100, + "rule_length": 125, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org." }, { - "license_expression": "cc-by-2.5", "rule_identifier": "cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "cc-by-2.5", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE", + "rule_relevance": 100, "rule_length": 14, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "* Released under the Creative Commons Attribution License\n* (http://creativecommons.org/licenses/by/2.5)" }, { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "rule_relevance": 100, + "rule_length": 176, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 + "rule_text": "This library is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or (at\nyour option) any later version.\n\nThis library is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nGeneral Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this library; if not, write to the Free Software Foundation\nInc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n\nAs a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." }, { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], + "rule_identifier": "boost-1.0_21.RULE", + "license_expression": "boost-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE", + "rule_relevance": 100, + "rule_length": 32, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100 - }, - { - "license_expression": "boost-1.0", - "rule_identifier": "boost-1.0_21.RULE", "referenced_filenames": [ "LICENSE_1_0.txt" ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100 + "rule_text": "Use, modification and distribution are subject to the Boost Software License, Version 1.0.\n(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)" }, { - "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "referenced_filenames": [], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "rule_relevance": 100, + "rule_length": 132, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." }, { - "license_expression": "mit-old-style", "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], + "license_expression": "mit-old-style", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE", + "rule_relevance": 100, + "rule_length": 71, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission to use, copy, modify, distribute and sell this software\nand its documentation for any purpose is hereby granted without fee,\nprovided that the above copyright notice appear in all copies and\nthat both that copyright notice and this permission notice appear\nin supporting documentation. Christian Michelsen Research AS\nmakes no representations about the suitability of this software for\nany purpose. It is provided \"as is\" without express or implied warranty." } ], "tallies": { diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json index c1e258df620..6eb14718f2a 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_details.expected.json @@ -3730,300 +3730,162 @@ ], "license_rule_references": [ { - "license_expression": "artistic-2.0", "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", - "referenced_filenames": [], + "license_expression": "artistic-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", + "rule_relevance": 50, + "rule_length": 3, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50 + "referenced_filenames": [], + "rule_text": "artistic-2.0" }, { - "license_expression": "cc0-1.0", "rule_identifier": "cc0-1.0_155.RULE", - "referenced_filenames": [], + "license_expression": "cc0-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE", + "rule_relevance": 100, + "rule_length": 981, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100 - }, - { - "license_expression": "artistic-2.0", - "rule_identifier": "spdx_license_id_artistic-2.0_for_artistic-2.0.RULE", "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 3, - "rule_relevance": 50 + "rule_text": "Statatement of Purpose\n.\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work\nof authorship and/or a database (each, a \"Work\").\n.\nCertain owners wish to permanently relinquish those rights to a Work\nfor the purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without\nfear of later claims of infringement build upon, modify, incorporate in\nother works, reuse and redistribute as freely as possible in any form\nwhatsoever and for any purposes, including without limitation commercial\npurposes. These owners may contribute to the Commons to promote the ideal\nof a free culture and the further production of creative, cultural and\nscientific works, or to gain reputation or greater distribution for\ntheir Work in part through the use and efforts of others.\n.\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that\nhe or she is an owner of Copyright and Related Rights in the Work,\nvoluntarily elects to apply CC0 to the Work and publicly distribute\nthe Work under its terms, with knowledge of his or her Copyright and\nRelated Rights in the Work and the meaning and intended legal effect\nof CC0 on those rights.\n.\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright\nand Related Rights\"). Copyright and Related Rights include, but are\nnot limited to, the following:\n.\nthe right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\n.\nmoral rights retained by the original author(s) and/or performer(s);\n.\npublicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\n.\nrights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\n.\nrights protecting the extraction, dissemination, use and reuse of data in a Work;\n.\ndatabase rights (such as those arising under Directive 96/9/EC\nof the European Parliament and of the Council of 11 March 1996\non the legal protection of databases, and under any national\nimplementation thereof, including any amended or successor version\nof such directive); and\n.\nother similar, equivalent or corresponding rights throughout the world\nbased on applicable law or treaty, and any national implementations\nthereof.\n.\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all\nof Affirmer's Copyright and Related Rights and associated claims and\ncauses of action, whether now known or unknown (including existing\nas well as future claims and causes of action), in the Work (i) in\nall territories worldwide, (ii) for the maximum duration provided by\napplicable law or treaty (including future time extensions), (iii)\nin any current or future medium and for any number of copies, and (iv)\nfor any purpose whatsoever, including without limitation commercial,\nadvertising or promotional purposes (the \"Waiver\"). Affirmer makes the\nWaiver for the benefit of each member of the public at large and to the\ndetriment of Affirmer's heirs and successors, fully intending that such\nWaiver shall not be subject to revocation, rescission, cancellation,\ntermination, or any other legal or equitable action to disrupt the\nquiet enjoyment of the Work by the public as contemplated by Affirmer's\nexpress Statement of Purpose.\n.\n3. Public License Fallback. Should any part of the Waiver for any\nreason be judged legally invalid or ineffective under applicable law,\nthen the Waiver shall be preserved to the maximum extent permitted\ntaking into account Affirmer's express Statement of Purpose. In\naddition, to the extent the Waiver is so judged Affirmer hereby\ngrants to each affected person a royalty-free, non transferable, non\nsublicensable, non exclusive, irrevocable and unconditional license\nto exercise Affirmer's Copyright and Related Rights in the Work (i)\nin all territories worldwide, (ii) for the maximum duration provided\nby applicable law or treaty (including future time extensions), (iii)\nin any current or future medium and for any number of copies, and (iv)\nfor any purpose whatsoever, including without limitation commercial,\nadvertising or promotional purposes (the \"License\"). The License shall\nbe deemed effective as of the date CC0 was applied by Affirmer to the\nWork. Should any part of the License for any reason be judged legally\ninvalid or ineffective under applicable law, such partial invalidity\nor ineffectiveness shall not invalidate the remainder of the License,\nand in such case Affirmer hereby affirms that he or she will not (i)\nexercise any of his or her remaining Copyright and Related Rights in\nthe Work or (ii) assert any associated claims and causes of action\nwith respect to the Work, in either case contrary to Affirmer's express\nStatement of Purpose.\n.\n4. Limitations and Disclaimers.\n.\nNo trademark or patent rights held by Affirmer are waived,\nabandoned, surrendered, licensed or otherwise affected by this\ndocument.\n.\nAffirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties\nof title, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy,\nor the present or absence of errors, whether or not discoverable,\nall to the greatest extent permissible under applicable law.\n.\nAffirmer disclaims responsibility for clearing rights of other\npersons that may apply to the Work or any use thereof, including\nwithout limitation any person's Copyright and Related Rights in the\nWork. Further, Affirmer disclaims responsibility for obtaining any\nnecessary consents, permissions or other rights required for any\nuse of the Work.\n.\nAffirmer understands and acknowledges that Creative Commons is not\na party to this document and has no duty or obligation with respect\nto this CC0 or use of the Work." }, { - "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "referenced_filenames": [], + "license_expression": "artistic-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "license: Artistic-2.0" }, { - "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", + "rule_relevance": 100, + "rule_length": 12, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [ + "zlib.h" + ], + "rule_text": "For conditions of distribution and use, see copyright notice in zlib.h" }, { - "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", + "rule_relevance": 100, + "rule_length": 144, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This software is provided 'as-is', without any express or implied\nwarranty. In no event will the authors be held liable for any damages\narising from the use of this software.\n\nPermission is granted to anyone to use this software for any purpose,\nincluding commercial applications, and to alter it and redistribute it\nfreely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not\nclaim that you wrote the original software. If you use this software\nin a product, an acknowledgment in the product documentation would be\nappreciated but is not required.\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n3. This notice may not be removed or altered from any source distribution.\n\nJean-loup Gailly Mark Adler\njloup@gzip.org madler@alumni.caltech.edu" }, { - "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-2.1-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", + "rule_relevance": 100, + "rule_length": 125, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org." }, { - "license_expression": "cc-by-2.5", "rule_identifier": "cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "cc-by-2.5", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE", + "rule_relevance": 100, "rule_length": 14, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "* Released under the Creative Commons Attribution License\n* (http://creativecommons.org/licenses/by/2.5)" }, { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "rule_relevance": 100, + "rule_length": 176, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 + "rule_text": "This library is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or (at\nyour option) any later version.\n\nThis library is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nGeneral Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this library; if not, write to the Free Software Foundation\nInc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n\nAs a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." }, { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], + "rule_identifier": "boost-1.0_21.RULE", + "license_expression": "boost-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE", + "rule_relevance": 100, + "rule_length": 32, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100 - }, - { - "license_expression": "boost-1.0", - "rule_identifier": "boost-1.0_21.RULE", "referenced_filenames": [ "LICENSE_1_0.txt" ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100 + "rule_text": "Use, modification and distribution are subject to the Boost Software License, Version 1.0.\n(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)" }, { - "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "referenced_filenames": [], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "rule_relevance": 100, + "rule_length": 132, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." }, { - "license_expression": "mit-old-style", "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], + "license_expression": "mit-old-style", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE", + "rule_relevance": 100, + "rule_length": 71, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission to use, copy, modify, distribute and sell this software\nand its documentation for any purpose is hereby granted without fee,\nprovided that the above copyright notice appear in all copies and\nthat both that copyright notice and this permission notice appear\nin supporting documentation. Christian Michelsen Research AS\nmakes no representations about the suitability of this software for\nany purpose. It is provided \"as is\" without express or implied warranty." } ], "tallies": { diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines b/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines index 36159a160be..83d9b3054b1 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines +++ b/tests/summarycode/data/tallies/full_tallies/tallies_key_files-details.expected.json-lines @@ -437,276 +437,148 @@ { "license_rule_references": [ { - "license_expression": "cc0-1.0", "rule_identifier": "cc0-1.0_155.RULE", - "referenced_filenames": [], + "license_expression": "cc0-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE", + "rule_relevance": 100, + "rule_length": 981, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Statatement of Purpose\n.\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work\nof authorship and/or a database (each, a \"Work\").\n.\nCertain owners wish to permanently relinquish those rights to a Work\nfor the purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without\nfear of later claims of infringement build upon, modify, incorporate in\nother works, reuse and redistribute as freely as possible in any form\nwhatsoever and for any purposes, including without limitation commercial\npurposes. These owners may contribute to the Commons to promote the ideal\nof a free culture and the further production of creative, cultural and\nscientific works, or to gain reputation or greater distribution for\ntheir Work in part through the use and efforts of others.\n.\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that\nhe or she is an owner of Copyright and Related Rights in the Work,\nvoluntarily elects to apply CC0 to the Work and publicly distribute\nthe Work under its terms, with knowledge of his or her Copyright and\nRelated Rights in the Work and the meaning and intended legal effect\nof CC0 on those rights.\n.\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright\nand Related Rights\"). Copyright and Related Rights include, but are\nnot limited to, the following:\n.\nthe right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\n.\nmoral rights retained by the original author(s) and/or performer(s);\n.\npublicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\n.\nrights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\n.\nrights protecting the extraction, dissemination, use and reuse of data in a Work;\n.\ndatabase rights (such as those arising under Directive 96/9/EC\nof the European Parliament and of the Council of 11 March 1996\non the legal protection of databases, and under any national\nimplementation thereof, including any amended or successor version\nof such directive); and\n.\nother similar, equivalent or corresponding rights throughout the world\nbased on applicable law or treaty, and any national implementations\nthereof.\n.\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all\nof Affirmer's Copyright and Related Rights and associated claims and\ncauses of action, whether now known or unknown (including existing\nas well as future claims and causes of action), in the Work (i) in\nall territories worldwide, (ii) for the maximum duration provided by\napplicable law or treaty (including future time extensions), (iii)\nin any current or future medium and for any number of copies, and (iv)\nfor any purpose whatsoever, including without limitation commercial,\nadvertising or promotional purposes (the \"Waiver\"). Affirmer makes the\nWaiver for the benefit of each member of the public at large and to the\ndetriment of Affirmer's heirs and successors, fully intending that such\nWaiver shall not be subject to revocation, rescission, cancellation,\ntermination, or any other legal or equitable action to disrupt the\nquiet enjoyment of the Work by the public as contemplated by Affirmer's\nexpress Statement of Purpose.\n.\n3. Public License Fallback. Should any part of the Waiver for any\nreason be judged legally invalid or ineffective under applicable law,\nthen the Waiver shall be preserved to the maximum extent permitted\ntaking into account Affirmer's express Statement of Purpose. In\naddition, to the extent the Waiver is so judged Affirmer hereby\ngrants to each affected person a royalty-free, non transferable, non\nsublicensable, non exclusive, irrevocable and unconditional license\nto exercise Affirmer's Copyright and Related Rights in the Work (i)\nin all territories worldwide, (ii) for the maximum duration provided\nby applicable law or treaty (including future time extensions), (iii)\nin any current or future medium and for any number of copies, and (iv)\nfor any purpose whatsoever, including without limitation commercial,\nadvertising or promotional purposes (the \"License\"). The License shall\nbe deemed effective as of the date CC0 was applied by Affirmer to the\nWork. Should any part of the License for any reason be judged legally\ninvalid or ineffective under applicable law, such partial invalidity\nor ineffectiveness shall not invalidate the remainder of the License,\nand in such case Affirmer hereby affirms that he or she will not (i)\nexercise any of his or her remaining Copyright and Related Rights in\nthe Work or (ii) assert any associated claims and causes of action\nwith respect to the Work, in either case contrary to Affirmer's express\nStatement of Purpose.\n.\n4. Limitations and Disclaimers.\n.\nNo trademark or patent rights held by Affirmer are waived,\nabandoned, surrendered, licensed or otherwise affected by this\ndocument.\n.\nAffirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties\nof title, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy,\nor the present or absence of errors, whether or not discoverable,\nall to the greatest extent permissible under applicable law.\n.\nAffirmer disclaims responsibility for clearing rights of other\npersons that may apply to the Work or any use thereof, including\nwithout limitation any person's Copyright and Related Rights in the\nWork. Further, Affirmer disclaims responsibility for obtaining any\nnecessary consents, permissions or other rights required for any\nuse of the Work.\n.\nAffirmer understands and acknowledges that Creative Commons is not\na party to this document and has no duty or obligation with respect\nto this CC0 or use of the Work." }, { - "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "referenced_filenames": [], + "license_expression": "artistic-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "license: Artistic-2.0" }, { - "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", + "rule_relevance": 100, + "rule_length": 12, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [ + "zlib.h" + ], + "rule_text": "For conditions of distribution and use, see copyright notice in zlib.h" }, { - "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", + "rule_relevance": 100, + "rule_length": 144, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This software is provided 'as-is', without any express or implied\nwarranty. In no event will the authors be held liable for any damages\narising from the use of this software.\n\nPermission is granted to anyone to use this software for any purpose,\nincluding commercial applications, and to alter it and redistribute it\nfreely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not\nclaim that you wrote the original software. If you use this software\nin a product, an acknowledgment in the product documentation would be\nappreciated but is not required.\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n3. This notice may not be removed or altered from any source distribution.\n\nJean-loup Gailly Mark Adler\njloup@gzip.org madler@alumni.caltech.edu" }, { - "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-2.1-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", + "rule_relevance": 100, + "rule_length": 125, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org." }, { - "license_expression": "cc-by-2.5", "rule_identifier": "cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "cc-by-2.5", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE", + "rule_relevance": 100, "rule_length": 14, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "* Released under the Creative Commons Attribution License\n* (http://creativecommons.org/licenses/by/2.5)" }, { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "rule_relevance": 100, + "rule_length": 176, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 + "rule_text": "This library is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or (at\nyour option) any later version.\n\nThis library is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nGeneral Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this library; if not, write to the Free Software Foundation\nInc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n\nAs a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." }, { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], + "rule_identifier": "boost-1.0_21.RULE", + "license_expression": "boost-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE", + "rule_relevance": 100, + "rule_length": 32, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100 - }, - { - "license_expression": "boost-1.0", - "rule_identifier": "boost-1.0_21.RULE", "referenced_filenames": [ "LICENSE_1_0.txt" ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100 + "rule_text": "Use, modification and distribution are subject to the Boost Software License, Version 1.0.\n(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)" }, { - "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "referenced_filenames": [], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "rule_relevance": 100, + "rule_length": 132, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." }, { - "license_expression": "mit-old-style", "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], + "license_expression": "mit-old-style", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE", + "rule_relevance": 100, + "rule_length": 71, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission to use, copy, modify, distribute and sell this software\nand its documentation for any purpose is hereby granted without fee,\nprovided that the above copyright notice appear in all copies and\nthat both that copyright notice and this permission notice appear\nin supporting documentation. Christian Michelsen Research AS\nmakes no representations about the suitability of this software for\nany purpose. It is provided \"as is\" without express or implied warranty." } ] }, diff --git a/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json b/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json index 20098c441eb..a7ecf22e344 100644 --- a/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json +++ b/tests/summarycode/data/tallies/full_tallies/tallies_key_files.expected.json @@ -399,276 +399,148 @@ ], "license_rule_references": [ { - "license_expression": "cc0-1.0", "rule_identifier": "cc0-1.0_155.RULE", - "referenced_filenames": [], + "license_expression": "cc0-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc0-1.0_155.RULE", + "rule_relevance": 100, + "rule_length": 981, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 981, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Statatement of Purpose\n.\nThe laws of most jurisdictions throughout the world automatically confer\nexclusive Copyright and Related Rights (defined below) upon the creator\nand subsequent owner(s) (each and all, an \"owner\") of an original work\nof authorship and/or a database (each, a \"Work\").\n.\nCertain owners wish to permanently relinquish those rights to a Work\nfor the purpose of contributing to a commons of creative, cultural and\nscientific works (\"Commons\") that the public can reliably and without\nfear of later claims of infringement build upon, modify, incorporate in\nother works, reuse and redistribute as freely as possible in any form\nwhatsoever and for any purposes, including without limitation commercial\npurposes. These owners may contribute to the Commons to promote the ideal\nof a free culture and the further production of creative, cultural and\nscientific works, or to gain reputation or greater distribution for\ntheir Work in part through the use and efforts of others.\n.\nFor these and/or other purposes and motivations, and without any\nexpectation of additional consideration or compensation, the person\nassociating CC0 with a Work (the \"Affirmer\"), to the extent that\nhe or she is an owner of Copyright and Related Rights in the Work,\nvoluntarily elects to apply CC0 to the Work and publicly distribute\nthe Work under its terms, with knowledge of his or her Copyright and\nRelated Rights in the Work and the meaning and intended legal effect\nof CC0 on those rights.\n.\n1. Copyright and Related Rights. A Work made available under CC0 may be\nprotected by copyright and related or neighboring rights (\"Copyright\nand Related Rights\"). Copyright and Related Rights include, but are\nnot limited to, the following:\n.\nthe right to reproduce, adapt, distribute, perform, display,\ncommunicate, and translate a Work;\n.\nmoral rights retained by the original author(s) and/or performer(s);\n.\npublicity and privacy rights pertaining to a person's image or\nlikeness depicted in a Work;\n.\nrights protecting against unfair competition in regards to a Work,\nsubject to the limitations in paragraph 4(a), below;\n.\nrights protecting the extraction, dissemination, use and reuse of data in a Work;\n.\ndatabase rights (such as those arising under Directive 96/9/EC\nof the European Parliament and of the Council of 11 March 1996\non the legal protection of databases, and under any national\nimplementation thereof, including any amended or successor version\nof such directive); and\n.\nother similar, equivalent or corresponding rights throughout the world\nbased on applicable law or treaty, and any national implementations\nthereof.\n.\n2. Waiver. To the greatest extent permitted by, but not in contravention\nof, applicable law, Affirmer hereby overtly, fully, permanently,\nirrevocably and unconditionally waives, abandons, and surrenders all\nof Affirmer's Copyright and Related Rights and associated claims and\ncauses of action, whether now known or unknown (including existing\nas well as future claims and causes of action), in the Work (i) in\nall territories worldwide, (ii) for the maximum duration provided by\napplicable law or treaty (including future time extensions), (iii)\nin any current or future medium and for any number of copies, and (iv)\nfor any purpose whatsoever, including without limitation commercial,\nadvertising or promotional purposes (the \"Waiver\"). Affirmer makes the\nWaiver for the benefit of each member of the public at large and to the\ndetriment of Affirmer's heirs and successors, fully intending that such\nWaiver shall not be subject to revocation, rescission, cancellation,\ntermination, or any other legal or equitable action to disrupt the\nquiet enjoyment of the Work by the public as contemplated by Affirmer's\nexpress Statement of Purpose.\n.\n3. Public License Fallback. Should any part of the Waiver for any\nreason be judged legally invalid or ineffective under applicable law,\nthen the Waiver shall be preserved to the maximum extent permitted\ntaking into account Affirmer's express Statement of Purpose. In\naddition, to the extent the Waiver is so judged Affirmer hereby\ngrants to each affected person a royalty-free, non transferable, non\nsublicensable, non exclusive, irrevocable and unconditional license\nto exercise Affirmer's Copyright and Related Rights in the Work (i)\nin all territories worldwide, (ii) for the maximum duration provided\nby applicable law or treaty (including future time extensions), (iii)\nin any current or future medium and for any number of copies, and (iv)\nfor any purpose whatsoever, including without limitation commercial,\nadvertising or promotional purposes (the \"License\"). The License shall\nbe deemed effective as of the date CC0 was applied by Affirmer to the\nWork. Should any part of the License for any reason be judged legally\ninvalid or ineffective under applicable law, such partial invalidity\nor ineffectiveness shall not invalidate the remainder of the License,\nand in such case Affirmer hereby affirms that he or she will not (i)\nexercise any of his or her remaining Copyright and Related Rights in\nthe Work or (ii) assert any associated claims and causes of action\nwith respect to the Work, in either case contrary to Affirmer's express\nStatement of Purpose.\n.\n4. Limitations and Disclaimers.\n.\nNo trademark or patent rights held by Affirmer are waived,\nabandoned, surrendered, licensed or otherwise affected by this\ndocument.\n.\nAffirmer offers the Work as-is and makes no representations or\nwarranties of any kind concerning the Work, express, implied,\nstatutory or otherwise, including without limitation warranties\nof title, merchantability, fitness for a particular purpose, non\ninfringement, or the absence of latent or other defects, accuracy,\nor the present or absence of errors, whether or not discoverable,\nall to the greatest extent permissible under applicable law.\n.\nAffirmer disclaims responsibility for clearing rights of other\npersons that may apply to the Work or any use thereof, including\nwithout limitation any person's Copyright and Related Rights in the\nWork. Further, Affirmer disclaims responsibility for obtaining any\nnecessary consents, permissions or other rights required for any\nuse of the Work.\n.\nAffirmer understands and acknowledges that Creative Commons is not\na party to this document and has no duty or obligation with respect\nto this CC0 or use of the Work." }, { - "license_expression": "artistic-2.0", "rule_identifier": "artistic-2.0_46.RULE", - "referenced_filenames": [], + "license_expression": "artistic-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/artistic-2.0_46.RULE", + "rule_relevance": 100, + "rule_length": 4, "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "license: Artistic-2.0" }, { - "license_expression": "zlib", "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_5.RULE", + "rule_relevance": 100, + "rule_length": 12, "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [ + "zlib.h" + ], + "rule_text": "For conditions of distribution and use, see copyright notice in zlib.h" }, { - "license_expression": "zlib", "rule_identifier": "zlib_17.RULE", - "referenced_filenames": [], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/zlib_17.RULE", + "rule_relevance": 100, + "rule_length": 144, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This software is provided 'as-is', without any express or implied\nwarranty. In no event will the authors be held liable for any damages\narising from the use of this software.\n\nPermission is granted to anyone to use this software for any purpose,\nincluding commercial applications, and to alter it and redistribute it\nfreely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not\nclaim that you wrote the original software. If you use this software\nin a product, an acknowledgment in the product documentation would be\nappreciated but is not required.\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n3. This notice may not be removed or altered from any source distribution.\n\nJean-loup Gailly Mark Adler\njloup@gzip.org madler@alumni.caltech.edu" }, { - "license_expression": "lgpl-2.1-plus", "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], + "license_expression": "lgpl-2.1-plus", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_59.RULE", + "rule_relevance": 100, + "rule_length": 125, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org." }, { - "license_expression": "cc-by-2.5", "rule_identifier": "cc-by-2.5_4.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, + "license_expression": "cc-by-2.5", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/cc-by-2.5_4.RULE", + "rule_relevance": 100, "rule_length": 14, - "rule_relevance": 100 - }, - { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "* Released under the Creative Commons Attribution License\n* (http://creativecommons.org/licenses/by/2.5)" }, { - "license_expression": "lgpl-2.1-plus", - "rule_identifier": "lgpl-2.1-plus_59.RULE", - "referenced_filenames": [], + "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "license_expression": "gpl-2.0-plus WITH ada-linking-exception", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0-plus_with_ada-linking-exception_1.RULE", + "rule_relevance": 100, + "rule_length": 176, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 125, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_17.RULE", "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 144, - "rule_relevance": 100 + "rule_text": "This library is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or (at\nyour option) any later version.\n\nThis library is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nGeneral Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this library; if not, write to the Free Software Foundation\nInc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n\nAs a special exception, if other files instantiate generics from this\nunit, or you link this unit with other files to produce an executable,\nthis unit does not by itself cause the resulting executable to be\ncovered by the GNU General Public License. This exception does not\nhowever invalidate any other reasons why the executable file might be\ncovered by the GNU Public License." }, { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "rule_identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "referenced_filenames": [], + "rule_identifier": "boost-1.0_21.RULE", + "license_expression": "boost-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/boost-1.0_21.RULE", + "rule_relevance": 100, + "rule_length": 32, "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 176, - "rule_relevance": 100 - }, - { - "license_expression": "boost-1.0", - "rule_identifier": "boost-1.0_21.RULE", "referenced_filenames": [ "LICENSE_1_0.txt" ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 32, - "rule_relevance": 100 + "rule_text": "Use, modification and distribution are subject to the Boost Software License, Version 1.0.\n(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)" }, { - "license_expression": "zlib", "rule_identifier": "zlib.LICENSE", - "referenced_filenames": [], + "license_expression": "zlib", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/zlib.LICENSE", + "rule_relevance": 100, + "rule_length": 132, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 132, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 - }, - { - "license_expression": "zlib", - "rule_identifier": "zlib_5.RULE", - "referenced_filenames": [ - "zlib.h" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "This software is provided 'as-is', without any express or implied warranty. In no\nevent will the authors be held liable for any damages arising from the use of this\nsoftware.\n\nPermission is granted to anyone to use this software for any purpose, including\ncommercial applications, and to alter it and redistribute it freely, subject to\nthe following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not claim that\nyou wrote the original software. If you use this software in a product, an\nacknowledgment in the product documentation would be appreciated but is not\nrequired.\n\n2. Altered source versions must be plainly marked as such, and must not be\nmisrepresented as being the original software.\n\n3. This notice may not be removed or altered from any source distribution." }, { - "license_expression": "mit-old-style", "rule_identifier": "mit-old-style_cmr-no_1.RULE", - "referenced_filenames": [], + "license_expression": "mit-old-style", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit-old-style_cmr-no_1.RULE", + "rule_relevance": 100, + "rule_length": 71, "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, - "rule_length": 71, - "rule_relevance": 100 + "referenced_filenames": [], + "rule_text": "Permission to use, copy, modify, distribute and sell this software\nand its documentation for any purpose is hereby granted without fee,\nprovided that the above copyright notice appear in all copies and\nthat both that copyright notice and this permission notice appear\nin supporting documentation. Christian Michelsen Research AS\nmakes no representations about the suitability of this software for\nany purpose. It is provided \"as is\" without express or implied warranty." } ], "tallies": { From 279c305887c234593827a4bf13dd2d781dfdf0d6 Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Tue, 20 Dec 2022 06:25:42 +0530 Subject: [PATCH 11/11] Fix test failures Signed-off-by: Ayan Sinha Mahapatra --- ...tional_license_combined_test.expected.json | 332 +++++++++++------- ...ional_license_directory_test.expected.json | 137 +++++--- ...ditional_license_plugin_test.expected.json | 78 ++-- .../license_url/license_url.expected.json | 1 + .../package/package.expected.json | 2 + .../sqlite/sqlite.expected.json | 1 + .../unicodepath/unicodepath.expected-mac.json | 41 ++- .../unicodepath.expected-mac.json--quiet | 41 ++- .../unicodepath.expected-mac.json--verbose | 41 ++- .../unicodepath.expected-mac.json-q | 41 ++- .../unicodepath.expected-mac.json-v | 41 ++- .../unicodepath.expected-mac14.json | 41 ++- .../unicodepath.expected-mac14.json--quiet | 41 ++- .../unicodepath.expected-mac14.json--verbose | 41 ++- .../unicodepath.expected-mac14.json-q | 41 ++- .../unicodepath.expected-mac14.json-v | 41 ++- .../unicodepath/unicodepath.expected-win.json | 41 ++- .../unicodepath.expected-win.json--quiet | 41 ++- .../unicodepath.expected-win.json--verbose | 41 ++- .../unicodepath.expected-win.json-q | 41 ++- .../unicodepath.expected-win.json-v | 41 ++- 21 files changed, 711 insertions(+), 455 deletions(-) diff --git a/tests/licensedcode/data/additional_licenses/additional_license_combined_test.expected.json b/tests/licensedcode/data/additional_licenses/additional_license_combined_test.expected.json index 9148bc53262..2fe635b7ee9 100644 --- a/tests/licensedcode/data/additional_licenses/additional_license_combined_test.expected.json +++ b/tests/licensedcode/data/additional_licenses/additional_license_combined_test.expected.json @@ -1,4 +1,208 @@ { + "license_detections": [ + { + "identifier": "example_installed_1_and_example_installed_2_and_example1_and_example2_and_apache_2_0-9b30f191-7beb-a9ac-c184-4cbbb6eb3065", + "license_expression": "example-installed-1 AND example-installed-2 AND example1 AND example2 AND apache-2.0", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 11, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "example-installed-1", + "rule_identifier": "example-installed-1.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/example-installed-1.LICENSE" + }, + { + "score": 100.0, + "start_line": 3, + "end_line": 3, + "matched_length": 12, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "example-installed-2", + "rule_identifier": "example-installed-2.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/example-installed-2.LICENSE" + }, + { + "score": 100.0, + "start_line": 5, + "end_line": 5, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "example1", + "rule_identifier": "example1.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/example1.LICENSE" + }, + { + "score": 100.0, + "start_line": 5, + "end_line": 9, + "matched_length": 69, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "example2", + "rule_identifier": "example2.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/example2.LICENSE" + }, + { + "score": 100.0, + "start_line": 12, + "end_line": 12, + "matched_length": 4, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "apache-2.0", + "rule_identifier": "apache-2.0_65.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE" + } + ] + } + ], + "license_references": [ + { + "key": "apache-2.0", + "short_name": "Apache 2.0", + "name": "Apache License 2.0", + "category": "Permissive", + "owner": "Apache Software Foundation", + "homepage_url": "http://www.apache.org/licenses/", + "notes": "Per SPDX.org, this version was released January 2004 This license is OSI\ncertified\n", + "is_builtin": true, + "spdx_license_key": "Apache-2.0", + "other_spdx_license_keys": [ + "LicenseRef-Apache", + "LicenseRef-Apache-2.0" + ], + "osi_license_key": "Apache-2.0", + "text_urls": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "osi_url": "http://opensource.org/licenses/apache2.0.php", + "faq_url": "http://www.apache.org/foundation/licence-FAQ.html", + "other_urls": [ + "http://www.opensource.org/licenses/Apache-2.0", + "https://opensource.org/licenses/Apache-2.0", + "https://www.apache.org/licenses/LICENSE-2.0" + ], + "text": "Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n\"License\" shall mean the terms and conditions for use, reproduction,\nand distribution as defined by Sections 1 through 9 of this document.\n\n\"Licensor\" shall mean the copyright owner or entity authorized by\nthe copyright owner that is granting the License.\n\n\"Legal Entity\" shall mean the union of the acting entity and all\nother entities that control, are controlled by, or are under common\ncontrol with that entity. For the purposes of this definition,\n\"control\" means (i) the power, direct or indirect, to cause the\ndirection or management of such entity, whether by contract or\notherwise, or (ii) ownership of fifty percent (50%) or more of the\noutstanding shares, or (iii) beneficial ownership of such entity.\n\n\"You\" (or \"Your\") shall mean an individual or Legal Entity\nexercising permissions granted by this License.\n\n\"Source\" form shall mean the preferred form for making modifications,\nincluding but not limited to software source code, documentation\nsource, and configuration files.\n\n\"Object\" form shall mean any form resulting from mechanical\ntransformation or translation of a Source form, including but\nnot limited to compiled object code, generated documentation,\nand conversions to other media types.\n\n\"Work\" shall mean the work of authorship, whether in Source or\nObject form, made available under the License, as indicated by a\ncopyright notice that is included in or attached to the work\n(an example is provided in the Appendix below).\n\n\"Derivative Works\" shall mean any work, whether in Source or Object\nform, that is based on (or derived from) the Work and for which the\neditorial revisions, annotations, elaborations, or other modifications\nrepresent, as a whole, an original work of authorship. For the purposes\nof this License, Derivative Works shall not include works that remain\nseparable from, or merely link (or bind by name) to the interfaces of,\nthe Work and Derivative Works thereof.\n\n\"Contribution\" shall mean any work of authorship, including\nthe original version of the Work and any modifications or additions\nto that Work or Derivative Works thereof, that is intentionally\nsubmitted to Licensor for inclusion in the Work by the copyright owner\nor by an individual or Legal Entity authorized to submit on behalf of\nthe copyright owner. For the purposes of this definition, \"submitted\"\nmeans any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems,\nand issue tracking systems that are managed by, or on behalf of, the\nLicensor for the purpose of discussing and improving the Work, but\nexcluding communication that is conspicuously marked or otherwise\ndesignated in writing by the copyright owner as \"Not a Contribution.\"\n\n\"Contributor\" shall mean Licensor and any individual or Legal Entity\non behalf of whom a Contribution has been received by Licensor and\nsubsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\ncopyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the\nWork and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\nthis License, each Contributor hereby grants to You a perpetual,\nworldwide, non-exclusive, no-charge, royalty-free, irrevocable\n(except as stated in this section) patent license to make, have made,\nuse, offer to sell, sell, import, and otherwise transfer the Work,\nwhere such license applies only to those patent claims licensable\nby such Contributor that are necessarily infringed by their\nContribution(s) alone or by combination of their Contribution(s)\nwith the Work to which such Contribution(s) was submitted. If You\ninstitute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work\nor a Contribution incorporated within the Work constitutes direct\nor contributory patent infringement, then any patent licenses\ngranted to You under this License for that Work shall terminate\nas of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\nWork or Derivative Works thereof in any medium, with or without\nmodifications, and in Source or Object form, provided that You\nmeet the following conditions:\n\n(a) You must give any other recipients of the Work or\nDerivative Works a copy of this License; and\n\n(b) You must cause any modified files to carry prominent notices\nstating that You changed the files; and\n\n(c) You must retain, in the Source form of any Derivative Works\nthat You distribute, all copyright, patent, trademark, and\nattribution notices from the Source form of the Work,\nexcluding those notices that do not pertain to any part of\nthe Derivative Works; and\n\n(d) If the Work includes a \"NOTICE\" text file as part of its\ndistribution, then any Derivative Works that You distribute must\ninclude a readable copy of the attribution notices contained\nwithin such NOTICE file, excluding those notices that do not\npertain to any part of the Derivative Works, in at least one\nof the following places: within a NOTICE text file distributed\nas part of the Derivative Works; within the Source form or\ndocumentation, if provided along with the Derivative Works; or,\nwithin a display generated by the Derivative Works, if and\nwherever such third-party notices normally appear. The contents\nof the NOTICE file are for informational purposes only and\ndo not modify the License. You may add Your own attribution\nnotices within Derivative Works that You distribute, alongside\nor as an addendum to the NOTICE text from the Work, provided\nthat such additional attribution notices cannot be construed\nas modifying the License.\n\nYou may add Your own copyright statement to Your modifications and\nmay provide additional or different license terms and conditions\nfor use, reproduction, or distribution of Your modifications, or\nfor any such Derivative Works as a whole, provided Your use,\nreproduction, and distribution of the Work otherwise complies with\nthe conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\nany Contribution intentionally submitted for inclusion in the Work\nby You to the Licensor shall be under the terms and conditions of\nthis License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify\nthe terms of any separate license agreement you may have executed\nwith Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\nnames, trademarks, service marks, or product names of the Licensor,\nexcept as required for reasonable and customary use in describing the\norigin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\nagreed to in writing, Licensor provides the Work (and each\nContributor provides its Contributions) on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied, including, without limitation, any warranties or conditions\nof TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\nPARTICULAR PURPOSE. You are solely responsible for determining the\nappropriateness of using or redistributing the Work and assume any\nrisks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\nwhether in tort (including negligence), contract, or otherwise,\nunless required by applicable law (such as deliberate and grossly\nnegligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special,\nincidental, or consequential damages of any character arising as a\nresult of this License or out of the use or inability to use the\nWork (including but not limited to damages for loss of goodwill,\nwork stoppage, computer failure or malfunction, or any and all\nother commercial damages or losses), even if such Contributor\nhas been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\nthe Work or Derivative Works thereof, You may choose to offer,\nand charge a fee for, acceptance of support, warranty, indemnity,\nor other liability obligations and/or rights consistent with this\nLicense. However, in accepting such obligations, You may act only\non Your own behalf and on Your sole responsibility, not on behalf\nof any other Contributor, and only if You agree to indemnify,\ndefend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason\nof your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following\nboilerplate notice, with the fields enclosed by brackets \"[]\"\nreplaced with your own identifying information. (Don't include\nthe brackets!) The text should be enclosed in the appropriate\ncomment syntax for the file format. We also recommend that a\nfile or class name and description of purpose be included on the\nsame \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." + }, + { + "key": "example-installed-1", + "short_name": "Example Installed License 1", + "name": "Example Installed License 1", + "category": "Permissive", + "owner": "NexB", + "spdx_license_key": "scancode-example-installed1", + "text": "This is a test license that must be installed into ScanCode Toolkit." + }, + { + "key": "example-installed-2", + "short_name": "Example Installed License 2", + "name": "Example Installed License 2", + "category": "Permissive", + "owner": "NexB", + "spdx_license_key": "LicenseRef-scancode-example-installed2", + "text": "This is a test license EXAMPLE2 that must be installed into ScanCode Toolkit." + }, + { + "key": "example1", + "short_name": "Example External License 1", + "name": "Example External License 1", + "category": "Permissive", + "owner": "NexB", + "spdx_license_key": "scancode-example1", + "text": "The quick brown fox jumps over the lazy dog." + }, + { + "key": "example2", + "short_name": "Example External License 2", + "name": "Example External License 2", + "category": "Permissive", + "owner": "NexB", + "spdx_license_key": "scancode-example2", + "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\nsed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\nUt enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi\nut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit\nin voluptate velit esse cillum dolore eu fugiat nulla pariatur.\nExcepteur sint occaecat cupidatat non proident, sunt in culpa qui officia\ndeserunt mollit anim id est laborum." + } + ], + "license_rule_references": [ + { + "rule_identifier": "example-installed-1.LICENSE", + "license_expression": "example-installed-1", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example-installed-1.LICENSE", + "rule_relevance": 100, + "rule_length": 11, + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "referenced_filenames": [], + "rule_text": "This is a test license that must be installed into ScanCode Toolkit." + }, + { + "rule_identifier": "example-installed-2.LICENSE", + "license_expression": "example-installed-2", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example-installed-2.LICENSE", + "rule_relevance": 100, + "rule_length": 12, + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "referenced_filenames": [], + "rule_text": "This is a test license EXAMPLE2 that must be installed into ScanCode Toolkit." + }, + { + "rule_identifier": "example1.LICENSE", + "license_expression": "example1", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example1.LICENSE", + "rule_relevance": 100, + "rule_length": 9, + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "referenced_filenames": [], + "rule_text": "The quick brown fox jumps over the lazy dog." + }, + { + "rule_identifier": "example2.LICENSE", + "license_expression": "example2", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example2.LICENSE", + "rule_relevance": 100, + "rule_length": 69, + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "referenced_filenames": [], + "rule_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\nsed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\nUt enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi\nut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit\nin voluptate velit esse cillum dolore eu fugiat nulla pariatur.\nExcepteur sint occaecat cupidatat non proident, sunt in culpa qui officia\ndeserunt mollit anim id est laborum." + }, + { + "rule_identifier": "apache-2.0_65.RULE", + "license_expression": "apache-2.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", + "rule_relevance": 100, + "rule_length": 4, + "is_license_text": false, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": true, + "is_license_intro": false, + "referenced_filenames": [], + "rule_text": "license: Apache-2.0" + } + ], "files": [ { "path": "additional_license_combined_test.txt", @@ -22,31 +226,6 @@ "license_expression": "example-installed-1", "rule_identifier": "example-installed-1.LICENSE", "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example-installed-1.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100, - "licenses": [ - { - "key": "example-installed-1", - "name": "Example Installed License 1", - "short_name": "Example Installed License 1", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "NexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/example-installed-1", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example-installed-1.LICENSE", - "spdx_license_key": "scancode-example-installed1", - "spdx_url": "https://spdx.org/licenses/scancode-example-installed1" - } - ], "is_builtin": false }, { @@ -59,31 +238,6 @@ "license_expression": "example-installed-2", "rule_identifier": "example-installed-2.LICENSE", "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example-installed-2.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 12, - "rule_relevance": 100, - "licenses": [ - { - "key": "example-installed-2", - "name": "Example Installed License 2", - "short_name": "Example Installed License 2", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "NexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/example-installed-2", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example-installed-2.LICENSE", - "spdx_license_key": "LicenseRef-scancode-example-installed2", - "spdx_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example-installed-2.LICENSE" - } - ], "is_builtin": false }, { @@ -96,31 +250,6 @@ "license_expression": "example1", "rule_identifier": "example1.LICENSE", "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example1.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "licenses": [ - { - "key": "example1", - "name": "Example External License 1", - "short_name": "Example External License 1", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "NexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/example1", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example1.LICENSE", - "spdx_license_key": "scancode-example1", - "spdx_url": "https://spdx.org/licenses/scancode-example1" - } - ], "is_builtin": false }, { @@ -133,31 +262,6 @@ "license_expression": "example2", "rule_identifier": "example2.LICENSE", "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example2.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 69, - "rule_relevance": 100, - "licenses": [ - { - "key": "example2", - "name": "Example External License 2", - "short_name": "Example External License 2", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "NexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/example2", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example2.LICENSE", - "spdx_license_key": "scancode-example2", - "spdx_url": "https://spdx.org/licenses/scancode-example2" - } - ], "is_builtin": false }, { @@ -170,31 +274,6 @@ "license_expression": "apache-2.0", "rule_identifier": "apache-2.0_65.RULE", "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE", - "referenced_filenames": [], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": true, - "is_license_intro": false, - "rule_length": 4, - "rule_relevance": 100, - "licenses": [ - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0" - } - ], "is_builtin": true } ] @@ -202,6 +281,9 @@ ], "license_clues": [], "percentage_of_license_text": 96.33, + "for_license_detections": [ + "example_installed_1_and_example_installed_2_and_example1_and_example2_and_apache_2_0-9b30f191-7beb-a9ac-c184-4cbbb6eb3065" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/additional_licenses/additional_license_directory_test.expected.json b/tests/licensedcode/data/additional_licenses/additional_license_directory_test.expected.json index c70adcd8950..c85a93f21c0 100644 --- a/tests/licensedcode/data/additional_licenses/additional_license_directory_test.expected.json +++ b/tests/licensedcode/data/additional_licenses/additional_license_directory_test.expected.json @@ -1,4 +1,88 @@ { + "license_detections": [ + { + "identifier": "example1_and_example2-450f710c-75c2-24fd-46e3-13bfded8d08e", + "license_expression": "example1 AND example2", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 9, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "example1", + "rule_identifier": "example1.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/example1.LICENSE" + }, + { + "score": 100.0, + "start_line": 1, + "end_line": 5, + "matched_length": 69, + "match_coverage": 100.0, + "matcher": "2-aho", + "license_expression": "example2", + "rule_identifier": "example2.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/example2.LICENSE" + } + ] + } + ], + "license_references": [ + { + "key": "example1", + "short_name": "Example External License 1", + "name": "Example External License 1", + "category": "Permissive", + "owner": "NexB", + "spdx_license_key": "scancode-example1", + "text": "The quick brown fox jumps over the lazy dog." + }, + { + "key": "example2", + "short_name": "Example External License 2", + "name": "Example External License 2", + "category": "Permissive", + "owner": "NexB", + "spdx_license_key": "scancode-example2", + "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\nsed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\nUt enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi\nut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit\nin voluptate velit esse cillum dolore eu fugiat nulla pariatur.\nExcepteur sint occaecat cupidatat non proident, sunt in culpa qui officia\ndeserunt mollit anim id est laborum." + } + ], + "license_rule_references": [ + { + "rule_identifier": "example1.LICENSE", + "license_expression": "example1", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example1.LICENSE", + "rule_relevance": 100, + "rule_length": 9, + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "referenced_filenames": [], + "rule_text": "The quick brown fox jumps over the lazy dog." + }, + { + "rule_identifier": "example2.LICENSE", + "license_expression": "example2", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example2.LICENSE", + "rule_relevance": 100, + "rule_length": 69, + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "referenced_filenames": [], + "rule_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\nsed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\nUt enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi\nut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit\nin voluptate velit esse cillum dolore eu fugiat nulla pariatur.\nExcepteur sint occaecat cupidatat non proident, sunt in culpa qui officia\ndeserunt mollit anim id est laborum." + } + ], "files": [ { "path": "additional_license_directory_test.txt", @@ -22,31 +106,6 @@ "license_expression": "example1", "rule_identifier": "example1.LICENSE", "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example1.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 9, - "rule_relevance": 100, - "licenses": [ - { - "key": "example1", - "name": "Example External License 1", - "short_name": "Example External License 1", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "NexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/example1", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example1.LICENSE", - "spdx_license_key": "scancode-example1", - "spdx_url": "https://spdx.org/licenses/scancode-example1" - } - ], "is_builtin": false }, { @@ -59,31 +118,6 @@ "license_expression": "example2", "rule_identifier": "example2.LICENSE", "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example2.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 69, - "rule_relevance": 100, - "licenses": [ - { - "key": "example2", - "name": "Example External License 2", - "short_name": "Example External License 2", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "NexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/example2", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example2.LICENSE", - "spdx_license_key": "scancode-example2", - "spdx_url": "https://spdx.org/licenses/scancode-example2" - } - ], "is_builtin": false } ] @@ -91,6 +125,9 @@ ], "license_clues": [], "percentage_of_license_text": 95.12, + "for_license_detections": [ + "example1_and_example2-450f710c-75c2-24fd-46e3-13bfded8d08e" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/additional_licenses/additional_license_plugin_test.expected.json b/tests/licensedcode/data/additional_licenses/additional_license_plugin_test.expected.json index bc31e6ee1fb..9d9b955d655 100644 --- a/tests/licensedcode/data/additional_licenses/additional_license_plugin_test.expected.json +++ b/tests/licensedcode/data/additional_licenses/additional_license_plugin_test.expected.json @@ -1,4 +1,54 @@ { + "license_detections": [ + { + "identifier": "example_installed_1-061a0995-e68e-f37e-b163-25a2ec85db12", + "license_expression": "example-installed-1", + "count": 1, + "detection_log": [ + "not-combined" + ], + "matches": [ + { + "score": 100.0, + "start_line": 1, + "end_line": 1, + "matched_length": 11, + "match_coverage": 100.0, + "matcher": "1-hash", + "license_expression": "example-installed-1", + "rule_identifier": "example-installed-1.LICENSE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/example-installed-1.LICENSE" + } + ] + } + ], + "license_references": [ + { + "key": "example-installed-1", + "short_name": "Example Installed License 1", + "name": "Example Installed License 1", + "category": "Permissive", + "owner": "NexB", + "spdx_license_key": "scancode-example-installed1", + "text": "This is a test license that must be installed into ScanCode Toolkit." + } + ], + "license_rule_references": [ + { + "rule_identifier": "example-installed-1.LICENSE", + "license_expression": "example-installed-1", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example-installed-1.LICENSE", + "rule_relevance": 100, + "rule_length": 11, + "is_license_text": true, + "is_license_notice": false, + "is_license_reference": false, + "is_license_tag": false, + "is_license_intro": false, + "referenced_filenames": [], + "rule_text": "This is a test license that must be installed into ScanCode Toolkit." + } + ], "files": [ { "path": "additional_license_plugin_test.txt", @@ -22,31 +72,6 @@ "license_expression": "example-installed-1", "rule_identifier": "example-installed-1.LICENSE", "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example-installed-1.LICENSE", - "referenced_filenames": [], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "is_license_intro": false, - "rule_length": 11, - "rule_relevance": 100, - "licenses": [ - { - "key": "example-installed-1", - "name": "Example Installed License 1", - "short_name": "Example Installed License 1", - "category": "Permissive", - "is_exception": false, - "is_unknown": false, - "owner": "NexB", - "homepage_url": null, - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/example-installed-1", - "scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example-installed-1.LICENSE", - "spdx_license_key": "scancode-example-installed1", - "spdx_url": "https://spdx.org/licenses/scancode-example-installed1" - } - ], "is_builtin": false } ] @@ -54,6 +79,9 @@ ], "license_clues": [], "percentage_of_license_text": 100.0, + "for_license_detections": [ + "example_installed_1-061a0995-e68e-f37e-b163-25a2ec85db12" + ], "scan_errors": [] } ] diff --git a/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json b/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json index c3f14e7ad63..799220f7e97 100644 --- a/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json +++ b/tests/licensedcode/data/plugin_license/license_url/license_url.expected.json @@ -44,6 +44,7 @@ { "rule_identifier": "apache-1.0.LICENSE", "license_expression": "apache-1.0", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-1.0.LICENSE", "rule_relevance": 100, "rule_length": 368, "is_license_text": true, diff --git a/tests/licensedcode/data/plugin_license/package/package.expected.json b/tests/licensedcode/data/plugin_license/package/package.expected.json index c5477866a52..211aa07b66a 100644 --- a/tests/licensedcode/data/plugin_license/package/package.expected.json +++ b/tests/licensedcode/data/plugin_license/package/package.expected.json @@ -182,6 +182,7 @@ { "rule_identifier": "spdx-license-identifier: mit", "license_expression": "mit", + "rule_url": null, "rule_relevance": 100, "rule_length": 1, "is_license_text": false, @@ -195,6 +196,7 @@ { "rule_identifier": "mit_272.RULE", "license_expression": "mit", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_272.RULE", "rule_relevance": 100, "rule_length": 3, "is_license_text": false, diff --git a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json index 0b30899d3da..9f9b9f2f76e 100644 --- a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json +++ b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json @@ -43,6 +43,7 @@ { "rule_identifier": "blessing.LICENSE", "license_expression": "blessing", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/blessing.LICENSE", "rule_relevance": 100, "rule_length": 42, "is_license_text": true, diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-mac.json b/tests/scancode/data/unicodepath/unicodepath.expected-mac.json index 9a6da218b59..f08a91ecf9e 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-mac.json +++ b/tests/scancode/data/unicodepath/unicodepath.expected-mac.json @@ -1,6 +1,9 @@ { - "dependencies": [], "packages": [], + "dependencies": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "files": [ { "path": "unicodepath", @@ -21,16 +24,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 3, @@ -57,16 +61,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -93,16 +98,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -129,16 +135,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-mac.json--quiet b/tests/scancode/data/unicodepath/unicodepath.expected-mac.json--quiet index 9a6da218b59..f08a91ecf9e 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-mac.json--quiet +++ b/tests/scancode/data/unicodepath/unicodepath.expected-mac.json--quiet @@ -1,6 +1,9 @@ { - "dependencies": [], "packages": [], + "dependencies": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "files": [ { "path": "unicodepath", @@ -21,16 +24,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 3, @@ -57,16 +61,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -93,16 +98,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -129,16 +135,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-mac.json--verbose b/tests/scancode/data/unicodepath/unicodepath.expected-mac.json--verbose index 9a6da218b59..f08a91ecf9e 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-mac.json--verbose +++ b/tests/scancode/data/unicodepath/unicodepath.expected-mac.json--verbose @@ -1,6 +1,9 @@ { - "dependencies": [], "packages": [], + "dependencies": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "files": [ { "path": "unicodepath", @@ -21,16 +24,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 3, @@ -57,16 +61,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -93,16 +98,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -129,16 +135,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-mac.json-q b/tests/scancode/data/unicodepath/unicodepath.expected-mac.json-q index 9a6da218b59..f08a91ecf9e 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-mac.json-q +++ b/tests/scancode/data/unicodepath/unicodepath.expected-mac.json-q @@ -1,6 +1,9 @@ { - "dependencies": [], "packages": [], + "dependencies": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "files": [ { "path": "unicodepath", @@ -21,16 +24,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 3, @@ -57,16 +61,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -93,16 +98,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -129,16 +135,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-mac.json-v b/tests/scancode/data/unicodepath/unicodepath.expected-mac.json-v index 9a6da218b59..f08a91ecf9e 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-mac.json-v +++ b/tests/scancode/data/unicodepath/unicodepath.expected-mac.json-v @@ -1,6 +1,9 @@ { - "dependencies": [], "packages": [], + "dependencies": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "files": [ { "path": "unicodepath", @@ -21,16 +24,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 3, @@ -57,16 +61,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -93,16 +98,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -129,16 +135,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json b/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json index 9a6da218b59..f08a91ecf9e 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json +++ b/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json @@ -1,6 +1,9 @@ { - "dependencies": [], "packages": [], + "dependencies": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "files": [ { "path": "unicodepath", @@ -21,16 +24,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 3, @@ -57,16 +61,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -93,16 +98,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -129,16 +135,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json--quiet b/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json--quiet index 9a6da218b59..f08a91ecf9e 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json--quiet +++ b/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json--quiet @@ -1,6 +1,9 @@ { - "dependencies": [], "packages": [], + "dependencies": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "files": [ { "path": "unicodepath", @@ -21,16 +24,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 3, @@ -57,16 +61,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -93,16 +98,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -129,16 +135,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json--verbose b/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json--verbose index 9a6da218b59..f08a91ecf9e 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json--verbose +++ b/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json--verbose @@ -1,6 +1,9 @@ { - "dependencies": [], "packages": [], + "dependencies": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "files": [ { "path": "unicodepath", @@ -21,16 +24,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 3, @@ -57,16 +61,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -93,16 +98,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -129,16 +135,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json-q b/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json-q index 9a6da218b59..f08a91ecf9e 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json-q +++ b/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json-q @@ -1,6 +1,9 @@ { - "dependencies": [], "packages": [], + "dependencies": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "files": [ { "path": "unicodepath", @@ -21,16 +24,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 3, @@ -57,16 +61,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -93,16 +98,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -129,16 +135,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json-v b/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json-v index 9a6da218b59..f08a91ecf9e 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json-v +++ b/tests/scancode/data/unicodepath/unicodepath.expected-mac14.json-v @@ -1,6 +1,9 @@ { - "dependencies": [], "packages": [], + "dependencies": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "files": [ { "path": "unicodepath", @@ -21,16 +24,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 3, @@ -57,16 +61,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -93,16 +98,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -129,16 +135,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-win.json b/tests/scancode/data/unicodepath/unicodepath.expected-win.json index 9a6da218b59..f08a91ecf9e 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-win.json +++ b/tests/scancode/data/unicodepath/unicodepath.expected-win.json @@ -1,6 +1,9 @@ { - "dependencies": [], "packages": [], + "dependencies": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "files": [ { "path": "unicodepath", @@ -21,16 +24,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 3, @@ -57,16 +61,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -93,16 +98,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -129,16 +135,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-win.json--quiet b/tests/scancode/data/unicodepath/unicodepath.expected-win.json--quiet index 9a6da218b59..f08a91ecf9e 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-win.json--quiet +++ b/tests/scancode/data/unicodepath/unicodepath.expected-win.json--quiet @@ -1,6 +1,9 @@ { - "dependencies": [], "packages": [], + "dependencies": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "files": [ { "path": "unicodepath", @@ -21,16 +24,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 3, @@ -57,16 +61,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -93,16 +98,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -129,16 +135,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-win.json--verbose b/tests/scancode/data/unicodepath/unicodepath.expected-win.json--verbose index 9a6da218b59..f08a91ecf9e 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-win.json--verbose +++ b/tests/scancode/data/unicodepath/unicodepath.expected-win.json--verbose @@ -1,6 +1,9 @@ { - "dependencies": [], "packages": [], + "dependencies": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "files": [ { "path": "unicodepath", @@ -21,16 +24,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 3, @@ -57,16 +61,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -93,16 +98,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -129,16 +135,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-win.json-q b/tests/scancode/data/unicodepath/unicodepath.expected-win.json-q index 9a6da218b59..f08a91ecf9e 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-win.json-q +++ b/tests/scancode/data/unicodepath/unicodepath.expected-win.json-q @@ -1,6 +1,9 @@ { - "dependencies": [], "packages": [], + "dependencies": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "files": [ { "path": "unicodepath", @@ -21,16 +24,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 3, @@ -57,16 +61,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -93,16 +98,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -129,16 +135,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, diff --git a/tests/scancode/data/unicodepath/unicodepath.expected-win.json-v b/tests/scancode/data/unicodepath/unicodepath.expected-win.json-v index 9a6da218b59..f08a91ecf9e 100644 --- a/tests/scancode/data/unicodepath/unicodepath.expected-win.json-v +++ b/tests/scancode/data/unicodepath/unicodepath.expected-win.json-v @@ -1,6 +1,9 @@ { - "dependencies": [], "packages": [], + "dependencies": [], + "license_detections": [], + "license_references": [], + "license_rule_references": [], "files": [ { "path": "unicodepath", @@ -21,16 +24,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 3, @@ -57,16 +61,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -93,16 +98,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0, @@ -129,16 +135,17 @@ "is_media": false, "is_source": false, "is_script": false, - "license_detections": [], - "license_clues": [], + "package_data": [], + "for_packages": [], "detected_license_expression": null, "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], "percentage_of_license_text": 0, + "for_license_detections": [], "copyrights": [], "holders": [], "authors": [], - "package_data": [], - "for_packages": [], "emails": [], "urls": [], "files_count": 0,